]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b3b099af
JM
12012-12-04 Joseph Myers <joseph@codesourcery.com>
2
20f0018d
JM
3 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5
b3b099af
JM
6 [BZ #14914]
7 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8 whole low double instead of just low 47 bits when splitting values
9 into two parts.
10
029264d1
AM
112012-12-03 Allan McRae <allan@archlinux.org>
12
13 * manual/stdio.texi (Predefined Printf Handlers): Remove
14 @hsep and @vsep usage.
15
c9d6789e
MF
162012-12-03 Mike Frysinger <vapier@gentoo.org>
17
18 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20
4b7634a5
JL
212012-12-03 Jeff Law <law@redhat.com>
22
23 * time/sys/time.h (settimeofday): Do not mark TV argument
24 as __nonnull.
25
eb6cbd24
MF
262012-12-01 Mike Frysinger <vapier@gentoo.org>
27
28 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29 when currently writing and seek to current position when not.
30 * libio/Makefile (tests): Remove bug-fclose1.
31 * libio/bug-fclose1.c: Delete.
32
f638872a
JM
332012-12-01 Joseph Myers <joseph@codesourcery.com>
34
35 * manual/arith.texi (feenableexcept): Fix typo.
36 (fedisableexcept): Likewise.
37
48085d14
RM
382012-11-30 Roland McGrath <roland@hack.frob.com>
39
40 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41 second, differently-typed declaration, rather than a cast.
42
1a538b9f
SP
432012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44
45 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
46 * include/rpc/svc.h: ... here.
47
d07f2ff1 482012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
49
50 [BZ #13013]
51 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52 depending n and resplen2 to catch cases where answer
53 equals answerp2.
54
c93ec1f0
CD
552012-11-29 Carlos O'Donell <carlos@systemhalted.org>
56
57 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59
37db69de
MF
602012-11-29 Mike Frysinger <vapier@gentoo.org>
61
62 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63
e10c4e4f
RM
642012-11-29 Roland McGrath <roland@hack.frob.com>
65
66 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67
2af1b328
JL
682012-11-28 Jeff Law <law@redhat.com>
69
70 [BZ #13761]
71 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72 dataset_temporary. Track alloca usage into alloca_used.
73 If dataset is large allocate and release it via malloc/free.
74
111db5b1
FW
752012-06-04 Florian Weimer <fweimer@redhat.com>
76
f06cc227 77 [BZ #14197]
111db5b1
FW
78 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
79
dd694abd
DM
802012-11-28 David S. Miller <davem@davemloft.net>
81
82 * sysdeps/sparc/fpu/libm-test-ulps: Update.
83
9984dd01
JM
842012-11-28 Joseph Myers <joseph@codesourcery.com>
85
86 [BZ #14803]
87 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
88 of pi/2 rounded to nearest to 64 bits.
89 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
90 nearest to 64 bits.
91 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
92 bits.
93
14bc93a9
JL
942012-11-28 Jeff Law <law@redhat.com>
95 Martin Osvald <mosvald@redhat.com>
96
97 [BZ #14889]
98 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
99 * sunrpc/svc.c: Include time.h.
100 (__svc_accept_failed): New function.
101 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
102 any reason other than EINTR, call __svc_accept_failed.
103 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
104 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
105
e3c6aa3a
AS
1062012-11-28 Andreas Schwab <schwab@suse.de>
107
108 * scripts/abilist.awk: Also handle indirect functions in .opd
109 section.
110
1bead169
JM
1112012-11-28 Joseph Myers <joseph@codesourcery.com>
112
113 [BZ #13881]
114 * sysdeps/x86/fpu/powl_helper.c: New file.
115 * sysdeps/x86/fpu/Makefile: Likewise.
116 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
117 (p3): New object.
118 (__ieee754_powl): Use __powl_helper for finite arguments except
119 integer exponents below 8.
120 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
121 (p3): New object.
122 (__ieee754_powl): Use __powl_helper for finite arguments except
123 integer exponents below 8.
124 * math/libm-test.inc (pow_test): Add more tests and enable some
125 previously disabled tests.
126 * sysdeps/i386/fpu/libm-test-ulps: Update.
127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
128
0817d63d
SP
1292012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
130 Carlos O'Donell <carlos_odonell@mentor.com>
131
132 * nss/makedb.c (is_prime): Assert that input is odd and greater
133 than 4. Note that fact in a comment too.
134 (next_prime): Add 4 to input.
135
de2fd463
SP
1362012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
137
138 [BZ #11741]
139 * libio/Makefile (tests): Add test case tst-fwrite-error.
140 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
141 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
142 * libio/tst-fwrite-error.c: New test case.
143
c515fb51
L
1442012-11-26 H.J. Lu <hongjiu.lu@intel.com>
145
146 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
147 before casting to void *.
148 * include/libc-internal.h (__pointer_type): New macro.
149 (__integer_if_pointer_type_sub): Likewise.
150 (__integer_if_pointer_type): Likewise.
151 (cast_to_integer): Likewise.
152 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
153 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
154 before casting to atomic64_t.
155 (atomic_exchange_acq): Likewise.
156 (__arch_exchange_and_add_body): Likewise.
157 (__arch_add_body): Likewise.
158 (atomic_add_negative): Likewise.
159 (atomic_add_zero): Likewise.
160
4cf77aa9
JM
1612012-11-26 Joseph Myers <joseph@codesourcery.com>
162
163 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
164 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
165 (add_fdes): Likewise.
166 (linear_search_fdes): Likewise.
167 (binary_search_unencoded_fdes): Likewise.
168
d260b3b4
AS
1692012-11-26 Andreas Schwab <schwab@linux-m68k.org>
170
171 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
172
67060746
AC
1732012-11-24 Adam Conrad <adconrad@0c3.net>
174
175 * configure.in: Autodetect C++ header directories.
176 * configure: Regenerated.
177
800938a1
MF
1782012-11-23 Mike Frysinger <vapier@gentoo.org>
179
180 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
181
4e6e34e6
AS
1822012-11-23 Andreas Schwab <schwab@linux-m68k.org>
183
184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
185
7c7feb47
JM
1862012-11-22 Joseph Myers <joseph@codesourcery.com>
187
7184dcdf
JM
188 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
189 LDBL_MANT_DIG == 106]: Disable some tests.
190 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
191 Likewise.
192 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
193 Likewise.
194
0a42601f
JM
195 [BZ #14871]
196 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
197 input for small inputs. Return +/- pi/2 for large inputs.
198 * math/libm-test.inc (atan_test): Add more tests.
199
79c9b9fe
JM
200 * sysdeps/generic/unwind-dw2-fde-glibc.c
201 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
202 __attribute__ ((unused)).
203
c60d3bf2
JM
204 [BZ #14645]
205 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
206 x * y if x and y are nonzero and z is zero.
207
ef1e0867
JM
208 [BZ #14811]
209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
210 nonzero exponents with absolute value below 0x1p-117 to +/-
211 0x1p-117.
212
1468ded3
JM
213 [BZ #14869]
214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
215 up arguments below 2**-450, not just those below 2**-500.
216 * math/libm-test.inc (hypot_test): Add another test.
217
8e27e3cc
JM
218 [BZ #14868]
219 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
220 Return a+b for ratio over 2**120, not 2**60.
221 * math/libm-test.inc (hypot_test): Add another test.
222
c9c0279b
JM
223 * math/libm-test.inc (clog_test): Use
224 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
225 (clog10_test): Likewise.
226
7c7feb47
JM
227 [BZ #6778]
228 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
229
fff1530e
AS
2302012-11-22 Andreas Schwab <schwab@suse.de>
231
232 * sysdeps/i386/fpu/libm-test-ulps: Update.
233
94558d30
PT
2342012-11-22 Pino Toscano <toscano.pino@tiscali.it>
235
236 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
237 printf output with newline.
238
7e1be741
L
2392012-11-21 H.J. Lu <hongjiu.lu@intel.com>
240
6bfea974
L
241 [BZ #14865]
242 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
243 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
244 -z nodlopen, -z initfirst and -z execstack support.
245 * configure: Regenerated.
246
7e1be741
L
247 * elf/elf.h (DF_1_NODIRECT): New macro.
248 (DF_1_IGNMULDEF): Likewise.
249 (DF_1_NOKSYMS): Likewise.
250 (DF_1_NOHDR): Likewise.
251 (DF_1_EDITED): Likewise.
252 (DF_1_NORELOC): Likewise.
253 (DF_1_SYMINTPOSE): Likewise.
254 (DF_1_GLOBAUDIT): Likewise.
255 (DF_1_SINGLETON): Likewise.
256 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
257 DT_1_SUPPORTED_MASK bits.
258 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
259
105ce2ce
CD
2602012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
261
262 * sysdeps/unix/make-syscalls.sh: Document prefixes.
263
123be9de
TS
2642012-11-20 Thomas Schwinge <thomas@codesourcery.com>
265
d072f3f7
TS
266 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
267 macro.
268
123be9de
TS
269 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
270 (sendmmsg): Move declarations...
271 * socket/sys/socket.h: ... here.
272 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
273 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
274 include it from...
275 * socket/recvmmsg.c: ... this new file.
276 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
277 (sendmmsg): Rename to __sendmmsg, create weak alias and make
278 definition of __sendmmsg hidden.
279 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
280 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
281 Move ENOSYS stub into and include it from...
282 * socket/sendmmsg.c: ... this new file.
283 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
284 (sysdep_routines): Move recvmmsg and sendmmsg...
285 * socket/Makefile (routines): ... here.
286 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
287 (GLIBC_PRIVATE): Add __sendmmsg.
288 * include/sys/socket.h (__sendmmsg): Add declarations.
289 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
290 sendmmsg.
291
cf9a5d18
JM
2922012-11-20 Joseph Myers <joseph@codesourcery.com>
293
294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
295 variable I1 with __attribute__ ((unused)).
296 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
297
ecd4caf9
JM
2982012-11-19 Joseph Myers <joseph@codesourcery.com>
299
be14d48f
JM
300 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
301 DUMMY variables with __attribute__ ((unused)).
302
ecd4caf9
JM
303 * bits/byteswap.h: Include <bits/types.h>.
304 (__bswap_64): Use __uint64_t instead of unsigned long long int.
305
986cab95
PT
3062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
307
308 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
309 string_t. Do not manually set errno.
310 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
311 length with __strnlen. Make sure to both set errno and return it on
312 failure.
313
6d33cc9d
DM
3142012-11-19 David S. Miller <davem@davemloft.net>
315
316 With help from Joseph Myers.
317 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
318 very large arguments properly.
319 * math/libm-test.inc (atan_test): New tests.
320 (atan2_test): New tests.
321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
323
ee663277
JM
3242012-11-19 Joseph Myers <joseph@codesourcery.com>
325
877f2d8e
JM
326 [BZ #14856]
327 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
328 Define to 3.
329
116fc08a
JM
330 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
331 [POSIX] (EADDRNOTAVAIL): Likewise.
332 [POSIX] (EAFNOSUPPORT): Likewise.
333 [POSIX] (EALREADY): Likewise.
334 [POSIX] (ECONNABORTED): Likewise.
335 [POSIX] (ECONNREFUSED): Likewise.
336 [POSIX] (ECONNRESET): Likewise.
337 [POSIX] (EDESTADDRREQ): Likewise.
338 [POSIX] (EDQUOT): Likewise.
339 [POSIX] (EHOSTUNREACH): Likewise.
340 [POSIX] (EIDRM): Likewise.
341 [POSIX] (EISCONN): Likewise.
342 [POSIX] (ELOOP): Likewise.
343 [POSIX] (EMULTIHOP): Likewise.
344 [POSIX] (ENETDOWN): Likewise.
345 [POSIX] (ENETUNREACH): Likewise.
346 [POSIX] (ENOBUFS): Likewise.
347 [POSIX] (ENODATA): Likewise.
348 [POSIX] (ENOLINK): Likewise.
349 [POSIX] (ENOMSG): Likewise.
350 [POSIX] (ENOPROTOOPT): Likewise.
351 [POSIX] (ENOSR): Likewise.
352 [POSIX] (ENOSTR): Likewise.
353 [POSIX] (ENOTCONN): Likewise.
354 [POSIX] (ENOTSOCK): Likewise.
355 [POSIX] (EOPNOTSUPP): Likewise.
356 [POSIX] (EOVERFLOW): Likewise.
357 [POSIX] (EPROTO): Likewise.
358 [POSIX] (EPROTONOSUPPORT): Likewise.
359 [POSIX] (EPROTOTYPE): Likewise.
360 [POSIX] (ESTALE): Likewise.
361 [POSIX] (ETIME): Likewise.
362 [POSIX] (ETXTBSY): Likewise.
363 [POSIX] (EWOULDBLOCK): Likewise.
364 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
365 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
366 [POSIX] (SEEK_CUR): Likewise.
367 [POSIX] (SEEK_END): Likewise.
368 [POSIX || UNIX98] (mode_t): Do not require.
369 [POSIX] (off_t): Likewise.
370 [POSIX] (pid_t): Likewise.
371 [POSIX] (sys/stat.h): Do not allow header.
372 [POSIX] (unistd.h): Likewise.
373 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
374 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
375 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
376 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
377 require.
378 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
379 sigevent): Specify elements.
380 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
381 entry.
382 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
383 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
384
a483863f
JM
385 * conform/data/cpio.h-data [POSIX]: Disable whole file.
386 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
387 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
388 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
389 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
390 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
391 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
392 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
393 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
394 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
395 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
396 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
397 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
398 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
399 Likewise.
400 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
401 Likewise.
402 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
403 Likewise.
404 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
405 Likewise.
406 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
407 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
408 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
409 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
410 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
411 Specify lower bound on value.
412 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
413 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
414 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
415 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
416 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
417 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
418 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
419 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
420 value.
421 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
422 as optional.
423 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
424 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
425 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
426 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
427 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
428 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
429 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
430 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
431 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
432 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
433 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
434 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
435 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
436 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
437 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
438 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
439 entry.
440 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
441 optional.
442 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
443 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
444 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
445 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
446 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
447 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
448 Likewise.
449 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
450 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
451 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
452 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
453 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
454 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
455 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
456 as optional.
457 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
458 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
460 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
461 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
462 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
463 specify as optional.
464 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
465 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
466 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
467 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
468 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
469 [XPG3] (NL_LANGMAX): Likewise.
470 [POSIX || XPG3] (NL_MSGMAX): Likewise.
471 [POSIX || XPG3] (NL_NMAX): Likewise.
472 [POSIX || XPG3] (NL_SETMAX): Likewise.
473 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
474 [XPG3] (NZERO): Likewise.
475 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
476 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
477 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
478 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
479 (REG_ERANGE): Expect.
480 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
481 optional-constant.
482 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
483 Use (void) in prototype.
484 [POSIX] (*_t): Allow.
485 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
486 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
487 (WRDE_BADVAL): Expect.
488
5ba924e3
JM
489 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
490 expect.
491 [XPG3 || XPG4] (O_RSYNC): Likewise.
492 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
493 Likewise.
494 [XPG3 || XPG4] (pthread_sigmask): Likewise.
495 [XPG3 || XPG4] (sigqueue): Likewise.
496 [XPG3 || XPG4] (sigtimedwait): Likewise.
497 [XPG3 || XPG4] (sigwaitinfo): Likewise.
498 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
499 [XPG3 || XPG4] (vsnprintf): Likewise.
500 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
501 Likewise.
502 [XPG3 || XPG4] (blksize_t): Likewise.
503 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
504 Likewise.
505 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
506 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
507 [XPG3 || XPG4] (struct itimerspec): Likewise.
508 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
509 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
510 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
511 [XPG3 || XPG4] (clockid_t): Likewise.
512 [XPG3 || XPG4] (timer_t): Likewise.
513 [XPG3 || XPG4] (clock_getres): Likewise.
514 [XPG3 || XPG4] (clock_gettime): Likewise.
515 [XPG3 || XPG4] (clock_settime): Likewise.
516 [XPG3 || XPG4] (nanosleep): Likewise.
517 [XPG3 || XPG4] (timer_create): Likewise.
518 [XPG3 || XPG4] (timer_delete): Likewise.
519 [XPG3 || XPG4] (timer_gettime): Likewise.
520 [XPG3 || XPG4] (timer_getoverrun): Likewise.
521 [XPG3 || XPG4] (timer_settime): Likewise.
522 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
523 [XPG3 || XPG4] (getlogin_r): Likewise.
524 [XPG3 || XPG4] (pread): Likewise.
525 [XPG3 || XPG4] (pthread_atfork): Likewise.
526 [XPG3 || XPG4] (pwrite): Likewise.
527
ee663277
JM
528 [BZ #14835]
529 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
530 <bits/siginfo.h>.
531
942caa16
PT
5322012-11-19 Pino Toscano <toscano.pino@tiscali.it>
533
e19af380
PT
534 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
535 finalizing MALLSTREAM.
536
942caa16
PT
537 * sysdeps/mach/hurd/syncfs.c: New file.
538
cfde9b46
SP
5392012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
540
541 [BZ #14719]
542 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
543 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
544 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
545 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
546 (_nss_dns_gethostbyname4_r): Likewise.
547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
548 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
549
f6da27e5
PH
5502012-11-19 Peng Haitao <penght@cn.fujitsu.com>
551
552 [BZ #13763]
553 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
554
6665d4a2
SM
5552012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
556
1f51ee92
SM
557 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
558 * elf/cache.c (print_entry): Print ",AArch64" for
559 FLAG_AARCH64_LIB64
560
6665d4a2
SM
561 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
562 * elf/cache.c (print_entry): Print ",hard-float" for
563 FLAG_ARM_LIBHF.
564
05b227bd
DM
5652012-11-18 David S. Miller <davem@davemloft.net>
566
567 With help from Joseph Myers.
568 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
569 cutoff to 2**-13.
570 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
571 cutoff to 2**-25.
572 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
573 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
574 small.
575 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
576 * math/libm-test.inc (y0_test): New tests.
577 (y1_test): New tests.
578 * sysdeps/i386/fpu/libm-test-ulps: Update.
579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
581
786b0b67
AS
5822012-11-18 Andreas Schwab <schwab@linux-m68k.org>
583
584 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
585 64-bit targets.
586 * configure: Regenerated.
587
8e18b86d
DM
5882012-11-17 David S. Miller <davem@davemloft.net>
589
590 [BZ #14811]
591 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
592 nonzero exponents with absolute value below 0x1p-128 to +/-
593 0x1p-128.
594
531f1ae0
JM
5952012-11-17 Joseph Myers <joseph@codesourcery.com>
596
12df29e2
JM
597 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
598
150dc1a0
JM
599 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
600
531f1ae0
JM
601 * posix/getconf-speclist.c: New file.
602 * posix/posix-envs.def: Likewise.
603 * posix/confstr.c (START_ENV_GROUP): New macro.
604 (END_ENV_GROUP): Likewise.
605 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
606 (KNOWN_PRESENT_ENV_STRING): Likewise.
607 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
608 (UNKNOWN_ENVIRONMENT): Likewise.
609 (confstr): Include posix-envs.def instead of handling
610 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
611 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
612 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
613 (END_ENV_GROUP): Likewise.
614 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
615 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
616 (UNKNOWN_ENVIRONMENT): Likewise.
617 (__sysconf): Include posix-envs.def instead of handling associated
618 cases directly here.
619 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
620 preprocessing getconf-speclist.c rather than running getconf or
621 generating empty file.
622
a93f9cbc
PT
6232012-11-16 Pino Toscano <toscano.pino@tiscali.it>
624
625 * scripts/check-local-headers.sh: Ignore 'mach' headers.
626
d64d9f87
AL
6272012-11-16 Andrej Lajovic <natrij@gmail.com>
628
629 [BZ #14672]
630 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
631
447885eb
DM
6322012-11-16 David S. Miller <davem@davemloft.net>
633
634 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
635 smaller than LDBL_EPSILON/2.0L, just return xm1.
636
bcbf9830
L
6372012-11-16 H.J. Lu <hongjiu.lu@intel.com>
638
639 * elf/tst-array1.c (init): Set constructor priority to 1000.
640 (fini): Set destructor priority to 1000.
641 * elf/tst-array2dep.c: Likewise.
642
2b766585
SP
6432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
644
645 [BZ #11741]
646 * libio/fileops.c (_IO_new_file_write): Correctly return error.
647 (_IO_new_file_xsputn): Also return EOF if none of the input
648 data was written when overflow failed.
649 * libio/iopadn.c (_IO_padn): Likewise.
650 * libio/iowpadn.c (_IO_wpadn): Likewise.
651 * stdio-common/tst-put-error.c: Add copyright notice.
652 (do_test): Add case for printing padded string.
653 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
654 _IO_padn returned error.
655 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
656 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
657 return EOF.
658
b1848fde
SP
6592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
660
661 * libio/libioP.h: Add comment note that the references to C++
662 bits are now obsolete.
663
2fd89785
MS
6642012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
665
666 * math/libm-test.inc (check_complex): Use asprintf.
667
e3ea5409
JM
6682012-11-14 Joseph Myers <joseph@codesourcery.com>
669
670 * debug/pcprofiledump.c (print_version): Update copyright year.
671 * malloc/memusagestat.c (print_version): Likewise.
672
2e64d265
L
6732012-11-14 H.J. Lu <hongjiu.lu@intel.com>
674
675 [BZ #14831]
676 * elf/Makefile (tests): Add tst-audit8.
677 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
678 ($(objpfx)tst-audit8.out): New target.
679 (tst-audit8-ENV): New variable.
680 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
681 audit if l_reloc_result is NULL.
682 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
683 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
684 * elf/tst-audit8.c: New file.
685
c485e4d2
MS
6862012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
687
688 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
689 * misc/Makefile (CFLAGS-select.c): Define.
690 * posix/Makefile (CFLAGS-pause.c): Define.
691
3a0d900a
DM
6922012-11-13 David S. Miller <davem@davemloft.net>
693
694 * crypt/Makefile: Move test targets after toplevel Rules
695 inclusion. Grab any necessary sysdep routines when linking.
696 * crypt/md5.c (md5_process_block): Remove define, we will always
697 name it __md5_process_block.
698 (md5_finish_ctx): Update md5_process_block call.
699 (md5_stream): Likewise.
700 (md5_process_bytes): Likewise.
701 (md5_process_block): Rename to __md5_process_block and move to ...
702 * crypt/md5-block.c: ... here.
703 * crypt/sha256.c (sha256_process_block): Move to ...
704 * crypt/sha256-block.c: ... here.
705 * crypt/sha512.c (sha512_process_block): Move to ...
706 * crypt/sha512-block.c: ... here.
707 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
708 path.
709 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
710 * sysdeps/sparc/sparc64/multiarch/Makefile
711 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
712 crypt subdir.
713 (localedef-aux): Add md5 crypto assembler when in locale subdir.
714 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
715 multiarch changes.
716 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
717 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
718 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
719 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
720 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
721 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
722 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
723 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
724 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
725 file.
726 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
727 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
728 file.
729 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
730
8ca89318
JM
7312012-11-13 Joseph Myers <joseph@codesourcery.com>
732
e27d476a
JM
733 * timezone/tzselect.ksh: Update from tzcode git revision
734 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
735 * timezone/zdump.c: Likewise.
736 * timezone/zic.c: Likewise.
737 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
738 in TZVERSION setting, not $(PKGVERSION).
739 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
740 REPORT_BUGS_TO settings.
741
8ca89318
JM
742 [BZ #14838]
743 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
744 macro.
745
47594329
MS
7462012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
747
748 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
749 detection to immediately after _FP_ROUND().
750 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
751 bits are 0.
752
640ac3f1
DM
7532012-11-11 David S. Miller <davem@davemloft.net>
754
755 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
756 inttypes.h
757 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
758 __close rather than their public counterparts.
759
3d2577bb
JM
7602012-11-10 Joseph Myers <joseph@codesourcery.com>
761
762 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
763 file.
764 [UNIX98] (sem_timedwait): Do not expect.
765 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
766 [XPG4 || UNIX98] (sockatmark): Do not expect.
767 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
768 (clock_getcpuclockid): Do not expect.
769 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
770 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
771 Do not expect.
772 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
773 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
774 [UNIX98] (vwscanf): Likewise.
775 [UNIX98] (vswscanf): Likewise.
776
fb1ae1ee
JM
7772012-11-09 Joseph Myers <joseph@codesourcery.com>
778
9ec6f8bd
JM
779 * timezone/version.h: Remove file.
780 * timezone/README: Do not refer to version.h.
781 * timezone/Makefile ($(objpfx)zic.o): New dependency on
782 $(objpfx)version.h.
783 ($(objpfx)zdump.o): Likewise.
c3f81911 784 ($(objpfx)version.h): New target.
9ec6f8bd 785
0aa8f8a1
JM
786 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
787 2012i.
788 * timezone/README: Don't mention modification to tzselect.ksh.
789 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
790 work on unmodified tzselect.ksh. Substitute version numbers in
791 tzselect.ksh.
792
4e87147f
JM
793 * Makefile (format-me): Remove.
794 (INSTALL): Adjust indentation. Use commands directly instead of
795 using $(format-me).
796
8b748aed
JM
797 * aclocal.m4 (ACX_PKGVERSION): New macro.
798 (ACX_BUGURL): Likewise.
799 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
800 (PKGVERSION): New AC_DEFINE_UNQUOTED.
801 (REPORT_BUGS_TO): Likewise.
802 * configure: Regenerated.
803 * config.h.in (PKGVERSION): New macro.
804 (REPORT_BUGS_TO): Likewise.
805 * config.make.in (PKGVERSION): New variable.
806 (PKGVERSION_TEXI): Likewise.
807 (REPORT_BUGS_TO): Likewise.
808 (REPORT_BUGS_TEXI): Likewise.
809 * Makefile (format-me): Use -I$(common-objpfx)manual.
810 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
811 ($(common-objpfx)manual/%): New target.
812 (manual/%): Remove target.
813 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
814 (print_version): Use PKGVERSION.
815 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
816 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
817 and REPORT_BUGS_TO.
818 ($(objpfx)xtrace): Likewise.
819 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
820 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
821 (print_version): Use PKGVERSION.
822 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
823 (do_version): Use PKGVERSION.
824 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
825 REPORT_BUGS_TO.
826 (common-ldd-rewrite): Likewise.
827 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
828 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
829 (print_version): Use PKGVERSION.
830 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
831 * elf/pldd.c (argp_program_bug_address): Remove variable.
832 (more_help): New function.
833 (argp): Use more_help.
834 (print_version): Use PKGVERSION.
835 * elf/sln.c (main): Use PKGVERSION.
836 (usage): Use REPORT_BUGS_TO.
837 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
838 (top level): Use PKGVERSION.
839 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
840 (print_version): Use PKGVERSION.
841 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
842 (print_version): Use PKGVERSION.
843 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
844 (print_version): Use PKGVERSION.
845 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
846 (print_version): Use PKGVERSION.
847 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
848 (print_version): Use PKGVERSION.
849 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
850 (print_version): Use PKGVERSION.
851 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
852 and BUGURL.
853 ($(objpfx)memusage): Likewise.
854 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
855 (do_version): Use PKGVERSION.
856 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
857 (print_version): Use PKGVERSION.
858 * malloc/mtrace.pl ($PACKAGE): Remove variable.
859 ($PKGVERSION): New variable.
860 ($REPORT_BUGS_TO): Likewise.
861 (usage): Use $REPORT_BUGS_TO.
862 (top level): Use $PKGVERSION.
863 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
864 ($(objpfx)pkgvers.texi): New rule.
865 ($(objpfx)stamp-pkgvers): Likewise.
866 * manual/install.texi: Include pkgvers.texi.
867 (--with-pkgversion): Document new configure option.
868 (--with-bugurl): Likewise.
869 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
870 than necessarily for this particular distribution. Use
871 REPORT_BUGS_TO for where to report bugs.
872 * INSTALL: Regenerated.
873 * manual/libc.texinfo: Include pkgvers.texi.
874 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
875 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
876 (print_version): Use PKGVERSION.
877 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
878 (print_version): Use PKGVERSION.
879 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
880 (print_version): Use PKGVERSION.
881 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
882 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
883 macro.
884 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
885 (print_version): Use PKGVERSION.
886 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
887 (print_version): Use PKGVERSION.
888 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
889 and PKGVERSION.
890
92e4b6a9
JM
891 * timezone/checktab.awk: Update from tzcode 2012i.
892 * timezone/ialloc.c: Likewise.
893 * timezone/private.h: Likewise.
894 * timezone/scheck.c: Likewise.
895 * timezone/tzfile.h: Likewise.
896 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
897 (TZVERSION): Hardcode tzcode version number.
898 * timezone/zdump.c: Update from tzcode 2012i.
899 * timezone/zic.c: Likewise.
900 * timezone/version.h: New file.
901 * timezone/README: Describe version.h. Update upstream location.
902
9bde902c
JM
903 [BZ #14824]
904 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
905 (mktemp): Enable declaration.
906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
910 Likewise.
911 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
912 Likewise.
913 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
914 Likewise.
915 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
916 Likewise.
917 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
918 Likewise.
919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
920 Likewise.
921
fb1ae1ee
JM
922 [BZ #14821]
923 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
924 offset in buffer as u_int32_t not u_long. Consistently use memcpy
925 for copies of such integer values.
926 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
927 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
928
2c1adbcb
AJ
9292012-11-09 Andreas Jaeger <aj@suse.de>
930
931 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
932 definitions and declarations that are provided by
933 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
934
d0f8457e
AK
9352012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
936
937 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
938 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
939 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
940 definition.
941
57241e26
MS
9422012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
943
944 * elf/elf.h: Update comment before AArch64 relocations.
945
60e8270d
DM
9462012-11-07 David S. Miller <davem@davemloft.net>
947
948 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
949 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
950 (__start_context): Declare.
951 (__makecontext_ret): Delete.
952 (__makecontext): Hook up __start_context instead of
953 __makecontext_ret.
954 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
955 (sysdep_routines): Add __start_context when in stdlib.
956
0fbb0fbc
JM
9572012-11-07 Joseph Myers <joseph@codesourcery.com>
958
959 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
960 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
961 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
962 hardcoded "nm".
963 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
964 (READELF): New variable. Use it instead of hardcoded "readelf".
965
eb48db7e
L
9662012-11-07 H.J. Lu <hongjiu.lu@intel.com>
967
968 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
969 * sysdeps/x86/Makefile: Here.
970 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
971 * sysdeps/x86/tst-xmmymm.sh: This.
972
05bcf62a
JM
9732012-11-07 Joseph Myers <joseph@codesourcery.com>
974
c4b6cf53
JM
975 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
976 expectations.
977 [UNIX98] (pthread_barrier_t): Do not expect.
978 [UNIX98] (pthread_barrierattr_t): Likewise.
979 [UNIX98] (pthread_spinlock_t): Likewise.
980 [UNIX98] (pthread_barrier_destroy): Likewise.
981 [UNIX98] (pthread_barrier_init): Likewise.
982 [UNIX98] (pthread_barrier_wait): Likewise.
983 [UNIX98] (pthread_barrierattr_destroy): Likewise.
984 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
985 [UNIX98] (pthread_barrierattr_init): Likewise.
986 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
987 [UNIX98] (pthread_getcpuclockid): Likewise.
988 [UNIX98] (pthread_mutex_timedlock): Likewise.
989 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
990 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
991 [UNIX98] (pthread_sigmask): Likewise.
992 [UNIX98] (pthread_spin_destroy): Likewise.
993 [UNIX98] (pthread_spin_init): Likewise.
994 [UNIX98] (pthread_spin_lock): Likewise.
995 [UNIX98] (pthread_spin_trylock): Likewise.
996 [UNIX98] (pthread_spin_unlock): Likewise.
997 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
998 Do not expect.
999 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1001 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1002 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1003 [XPG3 || XPG4] (pthread_key_t): Likewise.
1004 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1005 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1006 [XPG3 || XPG4] (pthread_once_t): Likewise.
1007 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1008 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1010 [XPG3 || XPG4] (pthread_t): Likewise.
1011
cbe6e120
JM
1012 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1013 not expect.
1014 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1015
1b126443
JM
1016 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1017 Change function return type to int.
1018
b961a573
JM
1019 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1020 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1021 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1022 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1023 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1024 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1025 [!POSIX] (posix_madvise): Likewise.
1026 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1027 && !UNIX98].
1028 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1029 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1030 (mode_t): Likewise.
1031 (posix_mem_offset): Likewise.
1032 (posix_typed_mem_get_info): Likewise.
1033 (posix_typed_mem_open): Likewise.
1034
9e188909
JM
1035 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1036 Change condition to [XOPEN2K8].
1037
05bcf62a
JM
1038 * conform/conformtest.pl: Preprocess allow-header data with -x c
1039 instead of from stdin.
1040 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1041 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1042 [C99-based standards] (cerfc): Likewise.
1043 [C99-based standards] (cexp2): Likewise.
1044 [C99-based standards] (cexpm1): Likewise.
1045 [C99-based standards] (clog10): Likewise.
1046 [C99-based standards] (clog1p): Likewise.
1047 [C99-based standards] (clog2): Likewise.
1048 [C99-based standards] (clgamma): Likewise.
1049 [C99-based standards] (ctgamma): Likewise.
1050 [C99-based standards] (cerff): Likewise.
1051 [C99-based standards] (cerfcf): Likewise.
1052 [C99-based standards] (cexp2f): Likewise.
1053 [C99-based standards] (cexpm1f): Likewise.
1054 [C99-based standards] (clog10f): Likewise.
1055 [C99-based standards] (clog1pf): Likewise.
1056 [C99-based standards] (clog2f): Likewise.
1057 [C99-based standards] (clgammaf): Likewise.
1058 [C99-based standards] (ctgammaf): Likewise.
1059 [C99-based standards] (cerfl): Likewise.
1060 [C99-based standards] (cerfcl): Likewise.
1061 [C99-based standards] (cexp2l): Likewise.
1062 [C99-based standards] (cexpm1l): Likewise.
1063 [C99-based standards] (clog10l): Likewise.
1064 [C99-based standards] (clog1pl): Likewise.
1065 [C99-based standards] (clog2l): Likewise.
1066 [C99-based standards] (clgammal): Likewise.
1067 [C99-based standards] (ctgammal): Likewise.
1068 * conform/data/inttypes.h-data [C99-based standards]: Include
1069 stdint.h-data. Remove all expectations for stdint.h contents.
1070 [C99-based standards] (PRI*): Do not allow.
1071 [C99-based standards] (SCN*): Likewise.
1072 [C99-based standards] (*_t): Likewise.
1073 [C99-based-standards] (PRId8): Expect macro.
1074 [C99-based-standards] (PRIi8): Likewise.
1075 [C99-based-standards] (PRIo8): Likewise.
1076 [C99-based-standards] (PRIu8): Likewise.
1077 [C99-based-standards] (PRIx8): Likewise.
1078 [C99-based-standards] (PRIX8): Likewise.
1079 [C99-based-standards] (SCNd8): Likewise.
1080 [C99-based-standards] (SCNi8): Likewise.
1081 [C99-based-standards] (SCNo8): Likewise.
1082 [C99-based-standards] (SCNu8): Likewise.
1083 [C99-based-standards] (SCNx8): Likewise.
1084 [C99-based-standards] (PRIdLEAST8): Likewise.
1085 [C99-based-standards] (PRIiLEAST8): Likewise.
1086 [C99-based-standards] (PRIoLEAST8): Likewise.
1087 [C99-based-standards] (PRIuLEAST8): Likewise.
1088 [C99-based-standards] (PRIxLEAST8): Likewise.
1089 [C99-based-standards] (PRIXLEAST8): Likewise.
1090 [C99-based-standards] (SCNdLEAST8): Likewise.
1091 [C99-based-standards] (SCNiLEAST8): Likewise.
1092 [C99-based-standards] (SCNoLEAST8): Likewise.
1093 [C99-based-standards] (SCNuLEAST8): Likewise.
1094 [C99-based-standards] (SCNxLEAST8): Likewise.
1095 [C99-based-standards] (PRIdFAST8): Likewise.
1096 [C99-based-standards] (PRIiFAST8): Likewise.
1097 [C99-based-standards] (PRIoFAST8): Likewise.
1098 [C99-based-standards] (PRIuFAST8): Likewise.
1099 [C99-based-standards] (PRIxFAST8): Likewise.
1100 [C99-based-standards] (PRIXFAST8): Likewise.
1101 [C99-based-standards] (SCNdFAST8): Likewise.
1102 [C99-based-standards] (SCNiFAST8): Likewise.
1103 [C99-based-standards] (SCNoFAST8): Likewise.
1104 [C99-based-standards] (SCNuFAST8): Likewise.
1105 [C99-based-standards] (SCNxFAST8): Likewise.
1106 [C99-based-standards] (PRId16): Likewise.
1107 [C99-based-standards] (PRIi16): Likewise.
1108 [C99-based-standards] (PRIo16): Likewise.
1109 [C99-based-standards] (PRIu16): Likewise.
1110 [C99-based-standards] (PRIx16): Likewise.
1111 [C99-based-standards] (PRIX16): Likewise.
1112 [C99-based-standards] (SCNd16): Likewise.
1113 [C99-based-standards] (SCNi16): Likewise.
1114 [C99-based-standards] (SCNo16): Likewise.
1115 [C99-based-standards] (SCNu16): Likewise.
1116 [C99-based-standards] (SCNx16): Likewise.
1117 [C99-based-standards] (PRIdLEAST16): Likewise.
1118 [C99-based-standards] (PRIiLEAST16): Likewise.
1119 [C99-based-standards] (PRIoLEAST16): Likewise.
1120 [C99-based-standards] (PRIuLEAST16): Likewise.
1121 [C99-based-standards] (PRIxLEAST16): Likewise.
1122 [C99-based-standards] (PRIXLEAST16): Likewise.
1123 [C99-based-standards] (SCNdLEAST16): Likewise.
1124 [C99-based-standards] (SCNiLEAST16): Likewise.
1125 [C99-based-standards] (SCNoLEAST16): Likewise.
1126 [C99-based-standards] (SCNuLEAST16): Likewise.
1127 [C99-based-standards] (SCNxLEAST16): Likewise.
1128 [C99-based-standards] (PRIdFAST16): Likewise.
1129 [C99-based-standards] (PRIiFAST16): Likewise.
1130 [C99-based-standards] (PRIoFAST16): Likewise.
1131 [C99-based-standards] (PRIuFAST16): Likewise.
1132 [C99-based-standards] (PRIxFAST16): Likewise.
1133 [C99-based-standards] (PRIXFAST16): Likewise.
1134 [C99-based-standards] (SCNdFAST16): Likewise.
1135 [C99-based-standards] (SCNiFAST16): Likewise.
1136 [C99-based-standards] (SCNoFAST16): Likewise.
1137 [C99-based-standards] (SCNuFAST16): Likewise.
1138 [C99-based-standards] (SCNxFAST16): Likewise.
1139 [C99-based-standards] (PRId32): Likewise.
1140 [C99-based-standards] (PRIi32): Likewise.
1141 [C99-based-standards] (PRIo32): Likewise.
1142 [C99-based-standards] (PRIu32): Likewise.
1143 [C99-based-standards] (PRIx32): Likewise.
1144 [C99-based-standards] (PRIX32): Likewise.
1145 [C99-based-standards] (SCNd32): Likewise.
1146 [C99-based-standards] (SCNi32): Likewise.
1147 [C99-based-standards] (SCNo32): Likewise.
1148 [C99-based-standards] (SCNu32): Likewise.
1149 [C99-based-standards] (SCNx32): Likewise.
1150 [C99-based-standards] (PRIdLEAST32): Likewise.
1151 [C99-based-standards] (PRIiLEAST32): Likewise.
1152 [C99-based-standards] (PRIoLEAST32): Likewise.
1153 [C99-based-standards] (PRIuLEAST32): Likewise.
1154 [C99-based-standards] (PRIxLEAST32): Likewise.
1155 [C99-based-standards] (PRIXLEAST32): Likewise.
1156 [C99-based-standards] (SCNdLEAST32): Likewise.
1157 [C99-based-standards] (SCNiLEAST32): Likewise.
1158 [C99-based-standards] (SCNoLEAST32): Likewise.
1159 [C99-based-standards] (SCNuLEAST32): Likewise.
1160 [C99-based-standards] (SCNxLEAST32): Likewise.
1161 [C99-based-standards] (PRIdFAST32): Likewise.
1162 [C99-based-standards] (PRIiFAST32): Likewise.
1163 [C99-based-standards] (PRIoFAST32): Likewise.
1164 [C99-based-standards] (PRIuFAST32): Likewise.
1165 [C99-based-standards] (PRIxFAST32): Likewise.
1166 [C99-based-standards] (PRIXFAST32): Likewise.
1167 [C99-based-standards] (SCNdFAST32): Likewise.
1168 [C99-based-standards] (SCNiFAST32): Likewise.
1169 [C99-based-standards] (SCNoFAST32): Likewise.
1170 [C99-based-standards] (SCNuFAST32): Likewise.
1171 [C99-based-standards] (SCNxFAST32): Likewise.
1172 [C99-based-standards] (PRId64): Likewise.
1173 [C99-based-standards] (PRIi64): Likewise.
1174 [C99-based-standards] (PRIo64): Likewise.
1175 [C99-based-standards] (PRIu64): Likewise.
1176 [C99-based-standards] (PRIx64): Likewise.
1177 [C99-based-standards] (PRIX64): Likewise.
1178 [C99-based-standards] (SCNd64): Likewise.
1179 [C99-based-standards] (SCNi64): Likewise.
1180 [C99-based-standards] (SCNo64): Likewise.
1181 [C99-based-standards] (SCNu64): Likewise.
1182 [C99-based-standards] (SCNx64): Likewise.
1183 [C99-based-standards] (PRIdLEAST64): Likewise.
1184 [C99-based-standards] (PRIiLEAST64): Likewise.
1185 [C99-based-standards] (PRIoLEAST64): Likewise.
1186 [C99-based-standards] (PRIuLEAST64): Likewise.
1187 [C99-based-standards] (PRIxLEAST64): Likewise.
1188 [C99-based-standards] (PRIXLEAST64): Likewise.
1189 [C99-based-standards] (SCNdLEAST64): Likewise.
1190 [C99-based-standards] (SCNiLEAST64): Likewise.
1191 [C99-based-standards] (SCNoLEAST64): Likewise.
1192 [C99-based-standards] (SCNuLEAST64): Likewise.
1193 [C99-based-standards] (SCNxLEAST64): Likewise.
1194 [C99-based-standards] (PRIdFAST64): Likewise.
1195 [C99-based-standards] (PRIiFAST64): Likewise.
1196 [C99-based-standards] (PRIoFAST64): Likewise.
1197 [C99-based-standards] (PRIuFAST64): Likewise.
1198 [C99-based-standards] (PRIxFAST64): Likewise.
1199 [C99-based-standards] (PRIXFAST64): Likewise.
1200 [C99-based-standards] (SCNdFAST64): Likewise.
1201 [C99-based-standards] (SCNiFAST64): Likewise.
1202 [C99-based-standards] (SCNoFAST64): Likewise.
1203 [C99-based-standards] (SCNuFAST64): Likewise.
1204 [C99-based-standards] (SCNxFAST64): Likewise.
1205 [C99-based-standards] (PRIdMAX): Likewise.
1206 [C99-based-standards] (PRIiMAX): Likewise.
1207 [C99-based-standards] (PRIoMAX): Likewise.
1208 [C99-based-standards] (PRIuMAX): Likewise.
1209 [C99-based-standards] (PRIxMAX): Likewise.
1210 [C99-based-standards] (PRIXMAX): Likewise.
1211 [C99-based-standards] (SCNdMAX): Likewise.
1212 [C99-based-standards] (SCNiMAX): Likewise.
1213 [C99-based-standards] (SCNoMAX): Likewise.
1214 [C99-based-standards] (SCNuMAX): Likewise.
1215 [C99-based-standards] (SCNxMAX): Likewise.
1216 [C99-based-standards] (PRIdPTR): Likewise.
1217 [C99-based-standards] (PRIiPTR): Likewise.
1218 [C99-based-standards] (PRIoPTR): Likewise.
1219 [C99-based-standards] (PRIuPTR): Likewise.
1220 [C99-based-standards] (PRIxPTR): Likewise.
1221 [C99-based-standards] (PRIXPTR): Likewise.
1222 [C99-based-standards] (SCNdPTR): Likewise.
1223 [C99-based-standards] (SCNiPTR): Likewise.
1224 [C99-based-standards] (SCNoPTR): Likewise.
1225 [C99-based-standards] (SCNuPTR): Likewise.
1226 [C99-based-standards] (SCNxPTR): Likewise.
1227 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1228 allow.
1229 * conform/data/stdint.h-data: Update comments to clarify
1230 requirements.
1231 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1232 type.
1233 [C99-based standards] (INT8_MAX): Likewise.
1234 [C99-based standards] (INT16_MIN): Likewise.
1235 [C99-based standards] (INT16_MAX): Likewise.
1236 [C99-based standards] (INT32_MIN): Likewise.
1237 [C99-based standards] (INT32_MAX): Likewise.
1238 [C99-based standards] (INT64_MIN): Likewise.
1239 [C99-based standards] (INT64_MAX): Likewise.
1240 [C99-based standards] (UINT8_MAX): Likewise.
1241 [C99-based standards] (UINT16_MAX): Likewise.
1242 [C99-based standards] (UINT32_MAX): Likewise.
1243 [C99-based standards] (UINT64_MAX): Likewise.
1244 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1245 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1246 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1247 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1248 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1249 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1250 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1251 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1252 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1253 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1254 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1255 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1256 [C99-based standards] (INT_FAST8_MIN): Likewise.
1257 [C99-based standards] (INT_FAST8_MAX): Likewise.
1258 [C99-based standards] (INT_FAST16_MIN): Likewise.
1259 [C99-based standards] (INT_FAST16_MAX): Likewise.
1260 [C99-based standards] (INT_FAST32_MIN): Likewise.
1261 [C99-based standards] (INT_FAST32_MAX): Likewise.
1262 [C99-based standards] (INT_FAST64_MIN): Likewise.
1263 [C99-based standards] (INT_FAST64_MAX): Likewise.
1264 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1265 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1266 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1267 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1268 [C99-based standards] (INTPTR_MIN): Likewise.
1269 [C99-based standards] (INTPTR_MAX): Likewise.
1270 [C99-based standards] (UINTPTR_MAX): Likewise.
1271 [C99-based standards] (INTMAX_MIN): Likewise.
1272 [C99-based standards] (INTMAX_MAX): Likewise.
1273 [C99-based standards] (UINTMAX_MAX): Likewise.
1274 [C99-based standards] (PTRDIFF_MIN): Likewise.
1275 [C99-based standards] (PTRDIFF_MAX): Likewise.
1276 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1277 [C99-based standards] (SIZE_MAX): Likewise.
1278 [C99-based standards] (WCHAR_MAX): Likewise.
1279 [C99-based standards] (WINT_MAX): Likewise.
1280 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1281 constraint on value.
1282 [C99-based standards] (WCHAR_MIN): Likewise.
1283 [C99-based standards] (WINT_MIN): Likewise.
1284 [C99-based standards] (*_t): Allow.
1285 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1286 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1287 Include math.h-data and complex.h-data. Remove all expectations
1288 of math.h and complex.h contents.
1289 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1290 at end of line.
1291 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1292 (struct tm): Expect tag.
1293 [C99-based-standards] (wcstof): Expect function.
1294 [C99-based-standards] (wcstold): Likewise.
1295 [C99-based-standards] (wcstoll): Likewise.
1296 [C99-based-standards] (wcstoull): Likewise.
1297 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1298 macro-int-constant. Specify type.
1299 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1300 constraint on value.
1301 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1302 Specify type.
1303 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1304 Specify value.
1305 [ISO C standards]: Do not allow headers.
1306 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1307 wcs[abcdefghijklmnopqrstuvwxyz]*.
1308 [ISO C standards] (*_t): Do not allow.
1309 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1310 Expect function.
1311 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1312 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1313 Specify type.
1314 [ISO C standards]: Do not allow headers.
1315 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1316 is[abcdefghijklmnopqrstuvwxyz]*.
1317 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1318 to[abcdefghijklmnopqrstuvwxyz]*.
1319 [ISO C standards] (*_t): Do not allow.
1320 * conform/data/stdalign.h-data: New file.
1321 * conform/data/stdbool.h-data: Likewise.
1322 * conform/data/stdnoreturn.h-data: Likewise.
1323
7514feb8
RM
13242012-11-07 Roland McGrath <roland@hack.frob.com>
1325
1326 [BZ #14815]
1327 * manual/filesys.texi (Directory Entries): Typo fix.
1328 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1329
19b2ecfc
MS
13302012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1331
1332 * elf/elf.h (EM_AARCH64): New macro.
1333 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1334 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1335 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1336 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1337 (R_AARCH64_TLSDESC): Likewise.
1338 (NT_ARM_TLS): Likewise.
1339 (NT_ARM_HW_BREAK): Likewise.
1340 (NT_ARM_HW_WATCH): Likewise.
1341
60e235ee
JM
13422012-11-07 Joseph Myers <joseph@codesourcery.com>
1343
1344 [BZ #14811]
1345 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1346 (__ieee754_powl): Saturate nonzero exponents with absolute value
1347 below 0x1p-79 to +/- 0x1p-79.
1348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1349 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1350 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1351 nonzero exponents with absolute value below 0x1p-32 to +/-
1352 0x1p-32.
1353 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1354 (__ieee754_powl): Saturate nonzero exponents with absolute value
1355 below 0x1p-79 to +/- 0x1p-79.
1356 * math/libm-test.inc (pow_test): Add more tests.
1357
0ab234b7
AK
13582012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1359
1360 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1361 _dl_s390_cap_flags with kernel. Increase string length.
1362 (_dl_s390_platforms): Add z196 and zEC12.
1363
45832f74
JM
13642012-11-07 Joseph Myers <joseph@codesourcery.com>
1365
1366 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1367 Change XOPEN21K to XOPEN2K.
1368
19218757
MK
13692012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1370
1371 * string/memmove.c: Use memcpy when possible.
1372
c5f45721
AJ
13732012-11-06 Andreas Jaeger <aj@suse.de>
1374
1375 * po/eo.po: Update from translation team.
1376
82477c28
JM
13772012-11-06 Joseph Myers <joseph@codesourcery.com>
1378
1379 [BZ #14793]
1380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1381 exponent and small x and y exponents, scale x or y up. Increase
1382 by 2 the exponent used in scaling up.
1383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1384 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1385 * math/libm-test.inc (fma_test): Add more tests.
1386 (fma_test_towardzero): Likewise.
1387 (fma_test_downward): Likewise.
1388 (fma_test_upward): Likewise.
1389
99252c8c
JM
13902012-11-05 Joseph Myers <joseph@codesourcery.com>
1391
acfa885f
JM
1392 [BZ #14805]
1393 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1394 fenv_t *.
1395
99252c8c
JM
1396 [BZ #14801]
1397 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1398 namespace for names of struct fields.
1399 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1400 fenv_t fields.
1401 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1402 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1403
d6d98dea
ST
14042012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1405
1406 [BZ #3665]
1407 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1408
e10bb107
TS
14092012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1410
1411 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1412 PTR_DEMANGLE.
1413
1414 [BZ #5246]
1415 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1416 PTR_DEMANGLE.
1417
a0c2940d
JM
14182012-11-04 Joseph Myers <joseph@codesourcery.com>
1419
1420 [BZ #14797]
1421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1422 definitely overflow as x * y not x * y + z.
1423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1425 * math/libm-test.inc (fma_test): Add more tests.
1426 (fma_test_towardzero): Likewise.
1427 (fma_test_downward): Likewise.
1428 (fma_test_upward): Likewise.
1429
b830319d
TS
14302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1431
1432 [BZ #157]
1433
1434 * include/stub-tag.h: Remove file.
1435 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1436 '#include' of it.
1437 * manual/maint.texi (Porting): Don't reference it.
1438 * Makerules ($(objpfx)stubs): Likewise.
1439 * dirent/closedir.c: Don't include <stub-tag.h>.
1440 * dirent/dirfd.c: Likewise.
1441 * dirent/fdopendir.c: Likewise.
1442 * dirent/getdents.c: Likewise.
1443 * dirent/getdents64.c: Likewise.
1444 * dirent/opendir.c: Likewise.
1445 * dirent/readdir.c: Likewise.
1446 * dirent/readdir64.c: Likewise.
1447 * dirent/readdir64_r.c: Likewise.
1448 * dirent/readdir_r.c: Likewise.
1449 * dirent/rewinddir.c: Likewise.
1450 * dirent/seekdir.c: Likewise.
1451 * dirent/telldir.c: Likewise.
1452 * gmon/profil.c: Likewise.
1453 * grp/setgroups.c: Likewise.
1454 * inet/if_index.c: Likewise.
1455 * io/access.c: Likewise.
1456 * io/chdir.c: Likewise.
1457 * io/chmod.c: Likewise.
1458 * io/chown.c: Likewise.
1459 * io/close.c: Likewise.
1460 * io/dup.c: Likewise.
1461 * io/dup2.c: Likewise.
1462 * io/dup3.c: Likewise.
1463 * io/euidaccess.c: Likewise.
1464 * io/faccessat.c: Likewise.
1465 * io/fchdir.c: Likewise.
1466 * io/fchmod.c: Likewise.
1467 * io/fchmodat.c: Likewise.
1468 * io/fchown.c: Likewise.
1469 * io/fchownat.c: Likewise.
1470 * io/fcntl.c: Likewise.
1471 * io/flock.c: Likewise.
1472 * io/fstatfs.c: Likewise.
1473 * io/fstatfs64.c: Likewise.
1474 * io/fstatvfs.c: Likewise.
1475 * io/fstatvfs64.c: Likewise.
1476 * io/futimens.c: Likewise.
1477 * io/fxstat.c: Likewise.
1478 * io/fxstat64.c: Likewise.
1479 * io/fxstatat.c: Likewise.
1480 * io/fxstatat64.c: Likewise.
1481 * io/getcwd.c: Likewise.
1482 * io/isatty.c: Likewise.
1483 * io/lchmod.c: Likewise.
1484 * io/lchown.c: Likewise.
1485 * io/link.c: Likewise.
1486 * io/linkat.c: Likewise.
1487 * io/lseek.c: Likewise.
1488 * io/lseek64.c: Likewise.
1489 * io/lxstat64.c: Likewise.
1490 * io/mkdir.c: Likewise.
1491 * io/mkdirat.c: Likewise.
1492 * io/mkfifo.c: Likewise.
1493 * io/mkfifoat.c: Likewise.
1494 * io/open.c: Likewise.
1495 * io/open64.c: Likewise.
1496 * io/openat.c: Likewise.
1497 * io/openat64.c: Likewise.
1498 * io/pipe.c: Likewise.
1499 * io/pipe2.c: Likewise.
1500 * io/poll.c: Likewise.
1501 * io/posix_fadvise.c: Likewise.
1502 * io/posix_fadvise64.c: Likewise.
1503 * io/posix_fallocate.c: Likewise.
1504 * io/posix_fallocate64.c: Likewise.
1505 * io/read.c: Likewise.
1506 * io/readlink.c: Likewise.
1507 * io/readlinkat.c: Likewise.
1508 * io/rmdir.c: Likewise.
1509 * io/sendfile.c: Likewise.
1510 * io/sendfile64.c: Likewise.
1511 * io/statfs.c: Likewise.
1512 * io/statfs64.c: Likewise.
1513 * io/statvfs.c: Likewise.
1514 * io/statvfs64.c: Likewise.
1515 * io/symlink.c: Likewise.
1516 * io/symlinkat.c: Likewise.
1517 * io/ttyname.c: Likewise.
1518 * io/ttyname_r.c: Likewise.
1519 * io/umask.c: Likewise.
1520 * io/unlink.c: Likewise.
1521 * io/unlinkat.c: Likewise.
1522 * io/utime.c: Likewise.
1523 * io/utimensat.c: Likewise.
1524 * io/write.c: Likewise.
1525 * io/xmknod.c: Likewise.
1526 * io/xmknodat.c: Likewise.
1527 * io/xstat.c: Likewise.
1528 * io/xstat64.c: Likewise.
1529 * login/getpt.c: Likewise.
1530 * login/grantpt.c: Likewise.
1531 * login/unlockpt.c: Likewise.
1532 * math/e_acoshl.c: Likewise.
1533 * math/e_acosl.c: Likewise.
1534 * math/e_asinl.c: Likewise.
1535 * math/e_atan2l.c: Likewise.
1536 * math/e_atanhl.c: Likewise.
1537 * math/e_coshl.c: Likewise.
1538 * math/e_expl.c: Likewise.
1539 * math/e_fmodl.c: Likewise.
1540 * math/e_gammal_r.c: Likewise.
1541 * math/e_hypotl.c: Likewise.
1542 * math/e_j0l.c: Likewise.
1543 * math/e_j1l.c: Likewise.
1544 * math/e_jnl.c: Likewise.
1545 * math/e_lgammal_r.c: Likewise.
1546 * math/e_log10l.c: Likewise.
1547 * math/e_log2l.c: Likewise.
1548 * math/e_logl.c: Likewise.
1549 * math/e_powl.c: Likewise.
1550 * math/e_rem_pio2l.c: Likewise.
1551 * math/e_sinhl.c: Likewise.
1552 * math/e_sqrtl.c: Likewise.
1553 * math/fclrexcpt.c: Likewise.
1554 * math/fedisblxcpt.c: Likewise.
1555 * math/feenablxcpt.c: Likewise.
1556 * math/fegetenv.c: Likewise.
1557 * math/fegetexcept.c: Likewise.
1558 * math/fegetround.c: Likewise.
1559 * math/feholdexcpt.c: Likewise.
1560 * math/fesetenv.c: Likewise.
1561 * math/fesetround.c: Likewise.
1562 * math/feupdateenv.c: Likewise.
1563 * math/fgetexcptflg.c: Likewise.
1564 * math/fraiseexcpt.c: Likewise.
1565 * math/fsetexcptflg.c: Likewise.
1566 * math/ftestexcept.c: Likewise.
1567 * math/k_cosl.c: Likewise.
1568 * math/k_rem_pio2l.c: Likewise.
1569 * math/k_sinl.c: Likewise.
1570 * math/k_tanl.c: Likewise.
1571 * math/s_asinhl.c: Likewise.
1572 * math/s_atanl.c: Likewise.
1573 * math/s_cbrtl.c: Likewise.
1574 * math/s_erfl.c: Likewise.
1575 * math/s_expm1l.c: Likewise.
1576 * math/s_log1pl.c: Likewise.
1577 * math/s_tanhl.c: Likewise.
1578 * misc/acct.c: Likewise.
1579 * misc/brk.c: Likewise.
1580 * misc/chflags.c: Likewise.
1581 * misc/chroot.c: Likewise.
1582 * misc/fchflags.c: Likewise.
1583 * misc/fgetxattr.c: Likewise.
1584 * misc/flistxattr.c: Likewise.
1585 * misc/fremovexattr.c: Likewise.
1586 * misc/fsetxattr.c: Likewise.
1587 * misc/fsync.c: Likewise.
1588 * misc/ftruncate.c: Likewise.
1589 * misc/futimes.c: Likewise.
1590 * misc/futimesat.c: Likewise.
1591 * misc/getdomain.c: Likewise.
1592 * misc/getdtsz.c: Likewise.
1593 * misc/gethostid.c: Likewise.
1594 * misc/gethostname.c: Likewise.
1595 * misc/getloadavg.c: Likewise.
1596 * misc/getpagesize.c: Likewise.
1597 * misc/getsysstats.c: Likewise.
1598 * misc/getxattr.c: Likewise.
1599 * misc/gtty.c: Likewise.
1600 * misc/ioctl.c: Likewise.
1601 * misc/lgetxattr.c: Likewise.
1602 * misc/listxattr.c: Likewise.
1603 * misc/llistxattr.c: Likewise.
1604 * misc/lremovexattr.c: Likewise.
1605 * misc/lsetxattr.c: Likewise.
1606 * misc/lutimes.c: Likewise.
1607 * misc/madvise.c: Likewise.
1608 * misc/mincore.c: Likewise.
1609 * misc/mlock.c: Likewise.
1610 * misc/mlockall.c: Likewise.
1611 * misc/mmap.c: Likewise.
1612 * misc/mprotect.c: Likewise.
1613 * misc/msync.c: Likewise.
1614 * misc/munlock.c: Likewise.
1615 * misc/munlockall.c: Likewise.
1616 * misc/munmap.c: Likewise.
1617 * misc/preadv.c: Likewise.
1618 * misc/preadv64.c: Likewise.
1619 * misc/ptrace.c: Likewise.
1620 * misc/pwritev.c: Likewise.
1621 * misc/pwritev64.c: Likewise.
1622 * misc/readv.c: Likewise.
1623 * misc/reboot.c: Likewise.
1624 * misc/remap_file_pages.c: Likewise.
1625 * misc/removexattr.c: Likewise.
1626 * misc/revoke.c: Likewise.
1627 * misc/select.c: Likewise.
1628 * misc/setdomain.c: Likewise.
1629 * misc/setegid.c: Likewise.
1630 * misc/seteuid.c: Likewise.
1631 * misc/sethostid.c: Likewise.
1632 * misc/sethostname.c: Likewise.
1633 * misc/setregid.c: Likewise.
1634 * misc/setreuid.c: Likewise.
1635 * misc/setxattr.c: Likewise.
1636 * misc/sstk.c: Likewise.
1637 * misc/stty.c: Likewise.
1638 * misc/swapoff.c: Likewise.
1639 * misc/swapon.c: Likewise.
1640 * misc/sync.c: Likewise.
1641 * misc/syncfs.c: Likewise.
1642 * misc/syscall.c: Likewise.
1643 * misc/truncate.c: Likewise.
1644 * misc/ualarm.c: Likewise.
1645 * misc/usleep.c: Likewise.
1646 * misc/ustat.c: Likewise.
1647 * misc/utimes.c: Likewise.
1648 * misc/vhangup.c: Likewise.
1649 * misc/writev.c: Likewise.
1650 * posix/_exit.c: Likewise.
1651 * posix/alarm.c: Likewise.
1652 * posix/execve.c: Likewise.
1653 * posix/fexecve.c: Likewise.
1654 * posix/fork.c: Likewise.
1655 * posix/fpathconf.c: Likewise.
1656 * posix/getaddrinfo.c: Likewise.
1657 * posix/getegid.c: Likewise.
1658 * posix/geteuid.c: Likewise.
1659 * posix/getgid.c: Likewise.
1660 * posix/getgroups.c: Likewise.
1661 * posix/getlogin.c: Likewise.
1662 * posix/getlogin_r.c: Likewise.
1663 * posix/getpgid.c: Likewise.
1664 * posix/getpid.c: Likewise.
1665 * posix/getppid.c: Likewise.
1666 * posix/getresgid.c: Likewise.
1667 * posix/getresuid.c: Likewise.
1668 * posix/getsid.c: Likewise.
1669 * posix/getuid.c: Likewise.
1670 * posix/glob64.c: Likewise.
1671 * posix/nanosleep.c: Likewise.
1672 * posix/pathconf.c: Likewise.
1673 * posix/pause.c: Likewise.
1674 * posix/posix_madvise.c: Likewise.
1675 * posix/pread.c: Likewise.
1676 * posix/pread64.c: Likewise.
1677 * posix/pwrite.c: Likewise.
1678 * posix/pwrite64.c: Likewise.
1679 * posix/sched_getaffinity.c: Likewise.
1680 * posix/sched_getp.c: Likewise.
1681 * posix/sched_gets.c: Likewise.
1682 * posix/sched_primax.c: Likewise.
1683 * posix/sched_primin.c: Likewise.
1684 * posix/sched_rr_gi.c: Likewise.
1685 * posix/sched_setaffinity.c: Likewise.
1686 * posix/sched_setp.c: Likewise.
1687 * posix/sched_sets.c: Likewise.
1688 * posix/sched_yield.c: Likewise.
1689 * posix/setgid.c: Likewise.
1690 * posix/setlogin.c: Likewise.
1691 * posix/setpgid.c: Likewise.
1692 * posix/setresgid.c: Likewise.
1693 * posix/setresuid.c: Likewise.
1694 * posix/setsid.c: Likewise.
1695 * posix/setuid.c: Likewise.
1696 * posix/sleep.c: Likewise.
1697 * posix/spawni.c: Likewise.
1698 * posix/sysconf.c: Likewise.
1699 * posix/times.c: Likewise.
1700 * posix/wait.c: Likewise.
1701 * posix/wait3.c: Likewise.
1702 * posix/wait4.c: Likewise.
1703 * posix/waitpid.c: Likewise.
1704 * resolv/gai_sigqueue.c: Likewise.
1705 * resource/getpriority.c: Likewise.
1706 * resource/getrlimit.c: Likewise.
1707 * resource/getrusage.c: Likewise.
1708 * resource/nice.c: Likewise.
1709 * resource/setpriority.c: Likewise.
1710 * resource/setrlimit.c: Likewise.
1711 * resource/ulimit.c: Likewise.
1712 * rt/aio_cancel.c: Likewise.
1713 * rt/aio_fsync.c: Likewise.
1714 * rt/aio_read.c: Likewise.
1715 * rt/aio_sigqueue.c: Likewise.
1716 * rt/aio_suspend.c: Likewise.
1717 * rt/aio_write.c: Likewise.
1718 * rt/clock_getres.c: Likewise.
1719 * rt/clock_gettime.c: Likewise.
1720 * rt/clock_nanosleep.c: Likewise.
1721 * rt/clock_settime.c: Likewise.
1722 * rt/lio_listio.c: Likewise.
1723 * rt/mq_close.c: Likewise.
1724 * rt/mq_getattr.c: Likewise.
1725 * rt/mq_notify.c: Likewise.
1726 * rt/mq_open.c: Likewise.
1727 * rt/mq_receive.c: Likewise.
1728 * rt/mq_send.c: Likewise.
1729 * rt/mq_setattr.c: Likewise.
1730 * rt/mq_timedreceive.c: Likewise.
1731 * rt/mq_timedsend.c: Likewise.
1732 * rt/mq_unlink.c: Likewise.
1733 * rt/shm_open.c: Likewise.
1734 * rt/shm_unlink.c: Likewise.
1735 * rt/timer_create.c: Likewise.
1736 * rt/timer_delete.c: Likewise.
1737 * rt/timer_getoverr.c: Likewise.
1738 * rt/timer_gettime.c: Likewise.
1739 * rt/timer_settime.c: Likewise.
1740 * setjmp/__longjmp.c: Likewise.
1741 * setjmp/setjmp.c: Likewise.
1742 * signal/kill.c: Likewise.
1743 * signal/killpg.c: Likewise.
1744 * signal/raise.c: Likewise.
1745 * signal/sigaction.c: Likewise.
1746 * signal/sigaltstack.c: Likewise.
1747 * signal/sigblock.c: Likewise.
1748 * signal/sigignore.c: Likewise.
1749 * signal/sigintr.c: Likewise.
1750 * signal/signal.c: Likewise.
1751 * signal/sigpause.c: Likewise.
1752 * signal/sigpending.c: Likewise.
1753 * signal/sigqueue.c: Likewise.
1754 * signal/sigreturn.c: Likewise.
1755 * signal/sigset.c: Likewise.
1756 * signal/sigsetmask.c: Likewise.
1757 * signal/sigstack.c: Likewise.
1758 * signal/sigsuspend.c: Likewise.
1759 * signal/sigtimedwait.c: Likewise.
1760 * signal/sigvec.c: Likewise.
1761 * signal/sigwait.c: Likewise.
1762 * signal/sigwaitinfo.c: Likewise.
1763 * signal/sysv_signal.c: Likewise.
1764 * socket/accept.c: Likewise.
1765 * socket/accept4.c: Likewise.
1766 * socket/bind.c: Likewise.
1767 * socket/connect.c: Likewise.
1768 * socket/getpeername.c: Likewise.
1769 * socket/getsockname.c: Likewise.
1770 * socket/getsockopt.c: Likewise.
1771 * socket/isfdtype.c: Likewise.
1772 * socket/listen.c: Likewise.
1773 * socket/recv.c: Likewise.
1774 * socket/recvfrom.c: Likewise.
1775 * socket/recvmsg.c: Likewise.
1776 * socket/send.c: Likewise.
1777 * socket/sendmsg.c: Likewise.
1778 * socket/sendto.c: Likewise.
1779 * socket/setsockopt.c: Likewise.
1780 * socket/shutdown.c: Likewise.
1781 * socket/sockatmark.c: Likewise.
1782 * socket/socket.c: Likewise.
1783 * socket/socketpair.c: Likewise.
1784 * stdio-common/ctermid.c: Likewise.
1785 * stdio-common/cuserid.c: Likewise.
1786 * stdio-common/remove.c: Likewise.
1787 * stdio-common/rename.c: Likewise.
1788 * stdio-common/renameat.c: Likewise.
1789 * stdio-common/tempname.c: Likewise.
1790 * stdlib/getcontext.c: Likewise.
1791 * stdlib/makecontext.c: Likewise.
1792 * stdlib/setcontext.c: Likewise.
1793 * stdlib/swapcontext.c: Likewise.
1794 * stdlib/system.c: Likewise.
1795 * streams/fattach.c: Likewise.
1796 * streams/fdetach.c: Likewise.
1797 * streams/getmsg.c: Likewise.
1798 * streams/getpmsg.c: Likewise.
1799 * streams/putmsg.c: Likewise.
1800 * streams/putpmsg.c: Likewise.
1801 * sysdeps/unix/bsd/getpt.c: Likewise.
1802 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1803 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1804 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1806 Likewise.
1807 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1808 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1809 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1810 * sysvipc/msgctl.c: Likewise.
1811 * sysvipc/msgget.c: Likewise.
1812 * sysvipc/msgrcv.c: Likewise.
1813 * sysvipc/msgsnd.c: Likewise.
1814 * sysvipc/semctl.c: Likewise.
1815 * sysvipc/semget.c: Likewise.
1816 * sysvipc/semop.c: Likewise.
1817 * sysvipc/semtimedop.c: Likewise.
1818 * sysvipc/shmat.c: Likewise.
1819 * sysvipc/shmctl.c: Likewise.
1820 * sysvipc/shmdt.c: Likewise.
1821 * sysvipc/shmget.c: Likewise.
1822 * termios/tcdrain.c: Likewise.
1823 * termios/tcflow.c: Likewise.
1824 * termios/tcflush.c: Likewise.
1825 * termios/tcgetattr.c: Likewise.
1826 * termios/tcgetpgrp.c: Likewise.
1827 * termios/tcsendbrk.c: Likewise.
1828 * termios/tcsetattr.c: Likewise.
1829 * termios/tcsetpgrp.c: Likewise.
1830 * time/adjtime.c: Likewise.
1831 * time/clock.c: Likewise.
1832 * time/getitimer.c: Likewise.
1833 * time/gettimeofday.c: Likewise.
1834 * time/setitimer.c: Likewise.
1835 * time/settimeofday.c: Likewise.
1836 * time/stime.c: Likewise.
1837 * time/time.c: Likewise.
1838
18392012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1840
a20492cf
PT
1841 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1842 /usr/old/bin.
1843
72e182e3
PT
1844 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1845 instead of spaces.
1846 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1847
fbeafede
JM
18482012-11-03 Joseph Myers <joseph@codesourcery.com>
1849
5b5b04d6
JM
1850 [BZ #14796]
1851 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1852 FE_TONEAREST before applying Dekker multiplication and Knuth
1853 addition. Clear inexact exceptions and check for exact zero
1854 results afterwards.
1855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1858 * math/libm-test.inc (fma_test): Add more tests.
1859 (fma_test_towardzero): Likewise.
1860 (fma_test_downward): Likewise.
1861 (fma_test_upward): Likewise.
1862 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1863 function.
1864 (libc_fesetround): New macro.
1865 (libc_fesetroundf): Likewise.
1866 (libc_fesetroundl): Likewise.
1867 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1868 function.
1869 (libc_fesetround_387): Likewise.
1870 (libc_fesetroundf): New macro.
1871 (libc_fesetround): Likewise.
1872 (libc_fesetroundl): Likewise.
1873 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1874 function.
1875 (libc_fesetroundf): New macro.
1876 (libc_fesetround): Likewise.
1877 (libc_fesetroundl): Likewise.
1878 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1879 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1880 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1881 libm_hidden_ver.
1882 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1883 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1884 libm_hidden_def.
1885 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1886 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1887 libm_hidden_ver.
1888 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1889 libm_hidden_def.
1890
fbeafede
JM
1891 [BZ #3439]
1892 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1893 integer constant usable in #if and use that to give value to enum
1894 constant.
1895 (FE_DIVBYZERO): Likewise.
1896 (FE_UNDERFLOW): Likewise.
1897 (FE_OVERFLOW): Likewise.
1898 (FE_INVALID): Likewise.
1899 (FE_INVALID_SNAN): Likewise.
1900 (FE_INVALID_ISI): Likewise.
1901 (FE_INVALID_IDI): Likewise.
1902 (FE_INVALID_ZDZ): Likewise.
1903 (FE_INVALID_IMZ): Likewise.
1904 (FE_INVALID_COMPARE): Likewise.
1905 (FE_INVALID_SOFTWARE): Likewise.
1906 (FE_INVALID_SQRT): Likewise.
1907 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1908 (FE_TONEAREST): Likewise.
1909 (FE_TOWARDZERO): Likewise.
1910 (FE_UPWARD): Likewise.
1911 (FE_DOWNWARD): Likewise.
1912 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1913 (FE_DIVBYZERO): Likewise.
1914 (FE_OVERFLOW): Likewise.
1915 (FE_UNDERFLOW): Likewise.
1916 (FE_INEXACT): Likewise.
1917 (FE_TONEAREST): Likewise.
1918 (FE_DOWNWARD): Likewise.
1919 (FE_UPWARD): Likewise.
1920 (FE_TOWARDZERO): Likewise.
1921 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1922 (FE_UNDERFLOW): Likewise.
1923 (FE_OVERFLOW): Likewise.
1924 (FE_DIVBYZERO): Likewise.
1925 (FE_INVALID): Likewise.
1926 (FE_TONEAREST): Likewise.
1927 (FE_TOWARDZERO): Likewise.
1928 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1929 (FE_OVERFLOW): Likewise.
1930 (FE_UNDERFLOW): Likewise.
1931 (FE_DIVBYZERO): Likewise.
1932 (FE_INEXACT): Likewise.
1933 (FE_TONEAREST): Likewise.
1934 (FE_TOWARDZERO): Likewise.
1935 (FE_UPWARD): Likewise.
1936 (FE_DOWNWARD): Likewise.
1937 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1938 (FE_DIVBYZERO): Likewise.
1939 (FE_OVERFLOW): Likewise.
1940 (FE_UNDERFLOW): Likewise.
1941 (FE_INEXACT): Likewise.
1942 (FE_TONEAREST): Likewise.
1943 (FE_DOWNWARD): Likewise.
1944 (FE_UPWARD): Likewise.
1945 (FE_TOWARDZERO): Likewise.
1946
105ca950
CM
19472012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1948
1949 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1950
a542b389
AS
19512012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1952
1953 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1954 commands. Quote $PWD.
1955 (blacklist_exports): Don't use remove_newlines. Replace "declare
1956 -x" by "export".
1957 (remove_newlines): Remove.
1958
f62c8abc
L
19592012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1962 * stdlib/stdlib.h (atof): Moved to ...
1963 * include/bits/stdlib-float.h: Here. New file.
1964 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1965 * stdlib/bits/stdlib-float.h: New file.
1966 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1967 -mno-sse -mno-mmx.
1968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1969 <xmmintrin.h>.
1970
0155d5b2
JM
19712012-11-02 Joseph Myers <joseph@codesourcery.com>
1972
a68d0680
JM
1973 * conform/conformtest.pl (@headers): Add fenv.h.
1974 * conform/data/fenv.h-data: New file.
1975 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1976 include of <math/fenv.h>.
1977
caf7f573
JM
1978 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1979 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1980 && !UNIX98]. Enables tests for XOPEN2K8.
1981 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1982 POSIX2008]: Likewise.
1983
6c073ad6
JM
1984 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1985 (struct rusage): Do not expect type or its members.
1986
0155d5b2
JM
1987 [BZ #3439]
1988 * math/math.h (FP_NAN): Define macro to integer constant usable in
1989 #if and use that to give value to enum constant.
1990 (FP_INFINITE): Likewise.
1991 (FP_ZERO): Likewise.
1992 (FP_SUBNORMAL): Likewise.
1993 (FP_NORMAL): Likewise.
1994
b5dcacb4
AS
19952012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1996
1997 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1998 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1999 arguments.
2000
f7934be8
RM
20012012-11-02 Roland McGrath <roland@hack.frob.com>
2002
2003 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2004 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2005 autoconf-time if not.
2006 * configure.in: Remove AC_PREREQ.
2007
d7d08bde
TMQMF
20082012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2009
2010 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2011 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2012 of the internal implementation.
2013
dcdae19a
JM
20142012-11-02 Joseph Myers <joseph@codesourcery.com>
2015
2016 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2017 except include of <misc/sys/syslog.h>.
2018
d6cffd3e
AS
20192012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2020
2021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2022 function returns with a NULL context exit with zero.
2023
b3563932
TMQMF
20242012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2025
2026 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2027
b288a93d
L
20282012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2031 (run_program_cmd): This.
2032 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2033 (tst_langinfo): New variable. Use it.
2034
a2421a68
SAS
20352012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2036
2037 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2038 floating point opcodes.
2039
6f796e1b
TS
20402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2041
7402596b
TS
2042 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2043 variable.
2044
d0d4f868
TS
2045 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2046
6f796e1b
TS
2047 * sysdeps/mach/hurd/powerpc: Remove directory.
2048 * sysdeps/mach/powerpc: Likewise.
2049
4da224a2
AS
20502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2051
2052 * scripts/check-local-headers.sh: Ignore c++ headers.
2053
341dd673
TS
20542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2055
2056 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2057 __libc_cleanup_region_start argument.
2058
473611b2
JM
20592012-11-01 Joseph Myers <joseph@codesourcery.com>
2060
2061 [BZ #14784]
2062 [BZ #14785]
2063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2064 x * y using scaling, not as x * y + z.
2065 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2066 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2067 * math/libm-test.inc (fma_test): Add more tests.
2068 (fma_test_towardzero): Likewise.
2069 (fma_test_downward): Likewise.
2070 (fma_test_upward): Likewise.
2071
4078da3d
TS
20722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2073
2074 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2075
903252aa
JM
20762012-10-31 Joseph Myers <joseph@codesourcery.com>
2077
2078 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2079 New variable.
2080
cbc818d0
TS
20812012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2082
2083 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2084
5a03cb1e
AS
20852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2086
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2088 Fix sort order.
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2090 Likewise.
2091
90aff2ff
TMQMF
20922012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2093
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2095 Fix the order of the list for glibc 2.17.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2097 Likewise.
2098
1818fcb7
AS
20992012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2100
2101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2102
ef82f4da
JM
21032012-10-31 Joseph Myers <joseph@codesourcery.com>
2104
16a0e2ec
JM
2105 [BZ #14610]
2106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2107 for low part of x being zero before using __atanl (y).
2108 * math/libm-test.inc (atan2_test): Add another test.
2109
0eb69512
JM
2110 * manual/install.texi (Configuring and compiling): Document
2111 general use of test-wrapper and test-wrapper-env.
2112 * INSTALL: Regenerated.
2113
ef82f4da
JM
2114 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2115 (__fma): Do not extract and scale down low bits on after-rounding
2116 systems when result rounded to normal precision would have normal
2117 exponent.
2118 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2119 (__fmal): Do not extract and scale down low bits on after-rounding
2120 systems when result rounded to normal precision would have normal
2121 exponent.
2122 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2123 (__fmal): Do not extract and scale down low bits on after-rounding
2124 systems when result rounded to normal precision would have normal
2125 exponent.
2126 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2127 macro.
2128 (fma_test): Add more tests.
2129 (fma_test_towardzero): Likewise.
2130 (fma_test_downward): Likewise.
2131 (fma_test_upward): Likewise.
2132
954ef0d9
L
21332012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2134
2135 * sysdeps/i386/tininess.h: Renamed to ...
2136 * sysdeps/x86/tininess.h: This.
2137 * sysdeps/x86_64/tininess.h: Removed.
2138
df61ffb2
JM
21392012-10-30 Joseph Myers <joseph@codesourcery.com>
2140
2141 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2142 input. Use $(build-program-cmd).
2143 ($(objpfx)tst-array1-static.out): Likewise.
2144 ($(objpfx)tst-array2.out): Likewise.
2145 ($(objpfx)tst-array3.out): Likewise.
2146 ($(objpfx)tst-array4.out): Likewise.
2147 ($(objpfx)tst-array5.out): Likewise.
2148 ($(objpfx)tst-array5-static.out): Likewise.
2149
01767843
CM
21502012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2151
47cc1490
CM
2152 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2153 if defined.
2154
01767843
CM
2155 * nss/nsswitch.h (nss_interface_function): Provide new
2156 macro for use with NSS functions.
2157 * grp/initgroups.c: Use new macro.
2158 * nss/getXXbyYY.c: Likewise.
2159 * nss/getXXbyYY_r.c: Likewise.
2160 * nss/getXXent.c: Likewise.
2161 * nss/getXXent_r.c: Likewise.
2162 * sysdeps/posix/getaddrinfo.c: Likewise.
2163
8321aa97
AJ
21642012-10-30 Andreas Jaeger <aj@suse.de>
2165
2166 * po/ru.po: Update Russion translation from translation project.
2167
2a27fd6d
JM
21682012-10-30 Joseph Myers <joseph@codesourcery.com>
2169
8627a232
JM
2170 [BZ #14152]
2171 [BZ #14783]
2172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2173 result and shift together with sticky bit instead of replicating
2174 round-to-nearest rounding.
2175 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2176 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2177 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2178 missing underflow exceptions.
2179 (fma_test_towardzero): Add more tests.
2180 (fma_test_downward): Likewise.
2181 (fma_test_upward): Likewise.
2182
2a27fd6d
JM
2183 [BZ #14047]
2184 * sysdeps/generic/tininess.h: New file.
2185 * sysdeps/i386/tininess.h: Likewise.
2186 * sysdeps/sh/tininess.h: Likewise.
2187 * sysdeps/x86_64/tininess.h: Likewise.
2188 * stdlib/tst-strtod-underflow.c: Likewise.
2189 * stdlib/tst-tininess.c: Likewise.
2190 * stdlib/strtod_l.c: Include <tininess.h>.
2191 (round_and_return): Do not set errno for exact underflow cases.
2192 Force an underflow exception when setting errno for underflow.
2193 Determine underflow based on rounding to normal precision if
2194 TININESS_AFTER_ROUNDING.
2195 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2196 ERANGE for exact underflow cases.
2197 * stdlib/Makefile (tests): Add tst-tininess and
2198 tst-strtod-underflow.
2199 ($(objpfx)tst-tininess): Use $(link-libm).
2200 ($(objpfx)tst-strtod-underflow): Likewise.
2201
e7170363
AJ
22022012-10-30 Andreas Jaeger <aj@suse.de>
2203
e5088dc6
AJ
2204 [BZ#14767]
2205 * elf/Makefile (tests): Remove conditional for have-initfini-array
2206 since this is now always required and the variable does not exist
2207 anymore.
2208 (tests-static): Likewise.
2209 (modules-names): Likewise.
2210
e7170363 2211 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2212
2213 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2214 merged with constructor/destructor.
2215 (init_array): Likewise.
2216 * elf/tst-array2dep.c (fini_array): Likewise.
2217 (init_array): Likewise.
2218
60457d8a
MF
22192012-10-29 Mike Frysinger <vapier@gentoo.org>
2220
2221 * manual/message.texi: Delete @cartouche tags.
2222
8bece752
PT
22232012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2224
94ce799f
PT
2225 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2226 EOPNOTSUPP.
2227 * sysdeps/mach/hurd/fsync.c: Likewise.
2228
8bece752
PT
2229 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2230 [_POSIX_REALTIME_SIGNALS]: Change condition to
2231 [_POSIX_REALTIME_SIGNALS > 0].
2232
86ebe6b1
AJ
22332012-10-27 Andreas Jaeger <aj@suse.de>
2234
2235 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2236 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2238 [__WORDSIZE != 64]: Likewise.
2239
54399c08
L
22402012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2241
2242 * iconvdata/tst-table.sh: Remove ${SHELL}.
2243 * iconvdata/tst-tables.sh: Likewise.
2244
e2211bed
DM
22452012-10-25 David S. Miller <davem@davemloft.net>
2246
2247 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2248 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2249 of strtoull.
2250
f303f97c
DM
2251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2252 ifunc-impl-list.c
2253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2254 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2255 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2256 file.
2257
1e9d84cd
RM
22582012-10-25 Roland McGrath <roland@hack.frob.com>
2259
2260 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2261 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2262 __getdirentries.
2263
df381762
JM
22642012-10-25 Joseph Myers <joseph@codesourcery.com>
2265 Jim Blandy <jimb@codesourcery.com>
2266
2267 * scripts/cross-test-ssh.sh: New file.
2268 * manual/install.texi (Configuring and compiling): Document use of
2269 cross-test-ssh.sh.
2270 * INSTALL: Regenerated.
2271
bff64913
PT
22722012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2273
2274 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2275 EOPNOTSUPP.
2276
25fe8932
JM
22772012-10-25 Joseph Myers <joseph@codesourcery.com>
2278
2279 * Makeconfig (run-program-prefix): Fix comment.
2280
cc1290d0
JM
22812012-10-24 Joseph Myers <joseph@codesourcery.com>
2282 Jim Blandy <jimb@codesourcery.com>
2283
2284 * Makeconfig (test-wrapper): New variable,
2285 (test-wrapper-env): Likewise.
2286 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2287 (run-built-tests): Define to yes.
2288 (run-program-prefix): Use $(test-wrapper).
2289 (built-program-cmd): Likewise.
2290 * Rules (make-test-out): Use $(test-wrapper-env) and
2291 $(host-built-program-cmd).
2292 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2293 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2294 tst-pathopt.sh.
2295 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2296 $(test-wrapper-env) to tst-rtld-load-self.sh.
2297 ($(objpfx)order2.out): Use $(test-wrapper).
2298 ($(objpfx)tst-initorder.out): Likewise.
2299 ($(objpfx)tst-initorder2.out): Likewise.
2300 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2301 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2302 (test_wrapper_env): New variable. Use it to run ld.so.
2303 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2304 Use it to run ld.so.
2305 (test_wrapper_env): Likewise.
2306 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2307 $(test-wrapper) to run-iconv-test.sh.
2308 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2309 (ICONV): Use $test_wrapper.
2310 * posix/Makefile ($(objpfx)globtest.out): Pass
2311 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2312 globtest.sh, not $(run-program-prefix).
2313 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2314 (test_wrapper): Likewise.
2315 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2316 set together with run_via_rtld_prefix.
2317 (run_program_prefix): Define in terms of test_wrapper and
2318 run_via_rtld_prefix.
2319
6e6249d0
RM
23202012-10-24 Roland McGrath <roland@hack.frob.com>
2321
2322 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2323 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2324 Targets removed.
2325
2326 [BZ #14743]
2327 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2328 Declare __clock_getres, __clock_gettime, __clock_settime,
2329 __clock_nanosleep, and __clock_getcpuclockid.
2330 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2331 Remove librt_hidden_def (clock_gettime).
2332 * sysdeps/unix/clock_gettime.c: Likewise.
2333 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2335 * rt/clock_getres.c: Define __clock_getres as an alias.
2336 * sysdeps/posix/clock_getres.c: Likewise.
2337 * rt/clock_settime.c: Define __clock_settime as an alias.
2338 * sysdeps/unix/clock_settime.c: Likewise.
2339 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2340 * sysdeps/unix/clock_nanosleep.c: Likewise.
2341 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2342 * rt/clock-compat.c: New file.
2343 * rt/Makefile (librt-routines): Add clock-compat and move
2344 $(clock-routines) to ...
2345 (routines): ... here, new variable.
2346 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2347 Don't add get_clockfreq here.
2348 * rt/Versions (libc: GLIBC_2.17): New version set.
2349 Add clock_* symbols here.
2350 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2352 (GLIBC_2.17): Add clock_* symbols.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2357 Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2359 Likewise.
2360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2364 * NEWS: Mention the move.
2365
2366 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2367 Use __open, __read, __close rather than their public counterparts.
2368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2369 (__get_clockfreq_via_cpuinfo): Likewise.
2370 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2371 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2372
2373 * config.h.in (HAVE_IFUNC): New #undef.
2374 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2375 was successful.
2376 * configure: Regenerated.
2377
0cae3f4b
MF
23782012-10-24 Mike Frysinger <vapier@gentoo.org>
2379
2380 * configure.in: Move READELF check to start of file.
2381 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2382 libc_cv_asm_gnu_indirect_function in the process.
2383 * configure: Regenerated.
2384
8175a253
MF
23852012-10-24 Mike Frysinger <vapier@gentoo.org>
2386
2387 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2388 send the output to /dev/null.
2389 (libc_cv_cc_with_libunwind): Likewise.
2390 (libc_cv_as_noexecstack): Likewise.
2391 * configure: Regenerate.
2392
0708a7d1
JM
23932012-10-24 Joseph Myers <joseph@codesourcery.com>
2394
10b40d85
JM
2395 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2396
0708a7d1
JM
2397 * posix/globtest.sh (TMPDIR): Do not set.
2398 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2399 (testout): Likewise.
2400
9fddec1a
AJ
24012012-10-24 Andreas Jaeger <aj@suse.de>
2402
3a8db22f
AJ
2403 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2404 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2405 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2406 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2407 posix_fadvise64, posix_fallocate64.
2408
9fddec1a
AJ
2409 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2410 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2411 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2412 Likewise.
2413 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2414 Likewise.
2415 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2416
2417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2418 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2419 <bits/fcntl-linux.h>.
2420 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2421
2422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2423 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2424 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2425 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2426 [__WORDSIZE != 64]: Likewise.
2427
ebfd1bbd
JM
24282012-10-23 Joseph Myers <joseph@codesourcery.com>
2429
03ac099f
JM
2430 * Makeconfig (run-built-tests): New variable.
2431 * Rules [$(cross-compiling) = yes]: Change condition to
2432 [$(run-built-tests) = no].
2433 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2434 to [$(run-built-tests) = yes].
2435 * elf/Makefile [$(cross-compiling) = no]: Likewise
2436 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2437 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2438 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2439 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2440 * io/Makefile [$(cross-compiling) = no]: Likewise.
2441 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2442 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2443 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2444 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2445 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2446 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2447 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2448 * string/Makefile [$(cross-compiling) = no]: Likewise.
2449
ebfd1bbd
JM
2450 * posix/Makefile ($(objpfx)globtest.out): Pass
2451 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2452 $(rtld-installed-name).
2453 * posix/globtest.sh (elf_objpfx): Remove variable.
2454 (rtld_installed_name): Likewise.
2455 (library_path): Likewise.
2456 (run_program_prefix): New variable. Use for running globtest
2457 binary.
2458
166bca24
JB
24592012-10-23 Jim Blandy <jimb@codesourcery.com>
2460 Joseph Myers <joseph@codesourcery.com>
2461
2462 * Makeconfig (host-built-program-cmd): New variable.
2463 * elf/Makefile (tst-stackguard1-ARGS): Use
2464 $(host-built-program-cmd).
2465 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2466 (tst-spawn-ARGS): Likewise.
2467 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2468
88866099
JM
24692012-10-23 Joseph Myers <joseph@codesourcery.com>
2470 Jim Blandy <jimb@codesourcery.com>
2471
2472 * Makeconfig (run-via-rtld-prefix): New variable.
2473 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2474 (built-program-cmd): Likewise.
2475
b4b4c296
AJ
24762012-10-22 Andreas Jaeger <aj@suse.de>
2477
2478 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2479 __O_RSYNC if it exists, otherwise to O_SYNC.
2480
6fb54a22
JB
24812012-10-22 Jim Blandy <jimb@codesourcery.com>
2482 Joseph Myers <joseph@codesourcery.com>
2483
2484 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2485 /dev/null.
2486 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2487 from /dev/null
2488 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2489 /dev/null.
2490
481b90b9
AJ
24912012-10-22 Andreas Jaeger <aj@suse.de>
2492
2a0e2669
AJ
2493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2494 Define always.
2495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2496
76e38f9a
AJ
2497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2498 bits/fcntl-linux.h.
2499
7cd37b43
AJ
2500 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2501 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2502
481b90b9
AJ
2503 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2504 to __O_LARGEFILE.
2505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2506 to __O_LARGEFILE.
2507
aba75984
JB
25082012-10-21 Jim Blandy <jimb@codesourcery.com>
2509 Joseph Myers <joseph@codesourcery.com>
2510
2511 * config.make.in (NM): New variable.
2512
88d4247f
AJ
25132012-10-21 Andreas Jaeger <aj@suse.de>
2514
2515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2516 definitions and declarations that are provided by
2517 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2518
f2eed205
L
25192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 [BZ #14683]
2522 * elf/Makefile (tests-static): Add tst-leaks1-static.
2523 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2524 ($(objpfx)tst-leaks1-static): New rule.
2525 ($(objpfx)tst-leaks1-static-mem): Likewise.
2526 (tst-leaks1-static-ENV): New macro.
2527 * elf/dl-open.c (dl_open_worker): Check the main application
2528 only if SHARED is defined.
2529 * elf/tst-leaks1-static.c: New file.
2530
335e6931
AJ
25312012-10-20 Andreas Jaeger <aj@suse.de>
2532
2533 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2534 generic values for Linux.
2535 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2536 and declarations that are provided by <bits/fcntl-linux.h> and
2537 include <bits/fcntl-linux.h>.
2538 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2540
ac5c94d3
RM
25412012-10-20 Roland McGrath <roland@hack.frob.com>
2542
2543 * io/fcntl.h: Move include of <bits/types.h> to the top and
2544 include it unconditionally.
2545
de54b33a
L
25462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2547
228cfb01
L
2548 * wcsmbs/Makefile (tests-ifunc): New variable.
2549 (tests): Add $(tests-ifunc).
2550 * wcsmbs/test-wcschr-ifunc.c: New file.
2551 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2552 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2553 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2554 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2555 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2556
69f07e5f
L
2557 * string/Makefile (tests-ifunc): New variable.
2558 (tests): Add $(tests-ifunc).
2559 * string/test-memccpy.c (TEST_NAME): New macro.
2560 * string/test-memchr.c (TEST_NAME): Likewise.
2561 * string/test-memcmp.c (TEST_NAME): Likewise.
2562 * string/test-memcpy.c (TEST_NAME): Likewise.
2563 * string/test-memmem.c (TEST_NAME): Likewise.
2564 * string/test-memmove.c (TEST_NAME): Likewise.
2565 * string/test-memset.c (TEST_NAME): Likewise.
2566 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2567 * string/test-stpcpy.c (TEST_NAME): Likewise.
2568 * string/test-stpncpy.c (TEST_NAME): Likewise.
2569 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2570 * string/test-strcasestr.c (TEST_NAME): Likewise.
2571 * string/test-strcat.c (TEST_NAME): Likewise.
2572 * string/test-strchr.c (TEST_NAME): Likewise.
2573 * string/test-strcmp.c(TEST_NAME): Likewise.
2574 * string/test-strcpy.c (TEST_NAME): Likewise.
2575 * string/test-strcspn.c (TEST_NAME): Likewise.
2576 * string/test-strlen.c (TEST_NAME): Likewise.
2577 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2578 * string/test-strncmp.c (TEST_NAME): Likewise.
2579 * string/test-strncpy.c (TEST_NAME): Likewise.
2580 * string/test-strnlen.c (TEST_NAME): Likewise.
2581 * string/test-strpbrk.c (TEST_NAME): Likewise.
2582 * string/test-strrchr.c (TEST_NAME): Likewise.
2583 * string/test-strspn.c (TEST_NAME): Likewise.
2584 * string/test-strstr.c (TEST_NAME): Likewise.
2585 * string/test-bcopy-ifunc.c: New file.
2586 * string/test-bzero-ifunc.c: Likewise.
2587 * string/test-memccpy-ifunc.c: Likewise.
2588 * string/test-memchr-ifunc.c: Likewise.
2589 * string/test-memcmp-ifunc.c: Likewise.
2590 * string/test-memcpy-ifunc.c: Likewise.
2591 * string/test-memmem-ifunc.c: Likewise.
2592 * string/test-memmove-ifunc.c: Likewise.
2593 * string/test-mempcpy-ifunc.c: Likewise.
2594 * string/test-memset-ifunc.c: Likewise.
2595 * string/test-rawmemchr-ifunc.c: Likewise.
2596 * string/test-stpcpy-ifunc.c: Likewise.
2597 * string/test-stpncpy-ifunc.c: Likewise.
2598 * string/test-strcasecmp-ifunc.c: Likewise.
2599 * string/test-strcasestr-ifunc.c: Likewise.
2600 * string/test-strcat-ifunc.c: Likewise.
2601 * string/test-strchr-ifunc.c: Likewise.
2602 * string/test-strchrnul-ifunc.c: Likewise.
2603 * string/test-strcmp-ifunc.c: Likewise.
2604 * string/test-strcpy-ifunc.c: Likewise.
2605 * string/test-strcspn-ifunc.c: Likewise.
2606 * string/test-strlen-ifunc.c: Likewise.
2607 * string/test-strncasecmp-ifunc.c: Likewise.
2608 * string/test-strncat-ifunc.c: Likewise.
2609 * string/test-strncmp-ifunc.c: Likewise.
2610 * string/test-strncpy-ifunc.c: Likewise.
2611 * string/test-strnlen-ifunc.c: Likewise.
2612 * string/test-strpbrk-ifunc.c: Likewise.
2613 * string/test-strrchr-ifunc.c: Likewise.
2614 * string/test-strspn-ifunc.c: Likewise.
2615 * string/test-strstr-ifunc.c: Likewise.
2616
de54b33a
L
2617 * debug/Makefile (tests-ifunc): New variable.
2618 (tests): Add $(tests-ifunc).
2619 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2620 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2621 * debug/test-stpcpy_chk-ifunc.c: New file.
2622 * debug/test-strcpy_chk-ifunc.c: Likewise.
2623
88481c16
SP
26242012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2625
2626 [BZ #13601]
2627 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2628 header is not read in.
2629
135948bd
JM
26302012-10-19 Joseph Myers <joseph@codesourcery.com>
2631
89f1c388
JM
2632 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2633 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2634 directly. Pass built executable to script as
2635 $(built-program-cmd).
2636 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2637 $testprogram without using LD_LIBRARY_PATH and $ldso.
2638
e40a0d21
JM
2639 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2640 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2641 $(rtld-installed-name).
2642 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2643 (rtld_installed_name): Likewise.
2644 (library_path): Likewise.
2645 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2646 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2647 $(run-program-prefix) to tst-tables.sh.
2648 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2649 it to run tst-table-from and tst-table-to.
2650 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2651 Pass it to tst-table.sh.
2652 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2653 $(run-program-prefix) to tst-gettext.sh.
2654 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2655 tst-translit.sh.
2656 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2657 tst-gettext2.sh.
2658 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2659 to run tst-gettext.
2660 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2661 to run tst-gettext2.
2662 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2663 to run tst-translit.
2664 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2665 $(run-program-prefix) to tst-mtrace.sh.
2666 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2667 to run tst-mtrace.
2668 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2669 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2670 $(rtld-installed-name).
2671 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2672 (rtld_installed_name): Likewise.
2673 (run_program_prefix): New variable. Use it to run wordexp-test.
2674
728e272a
JM
2675 * Makeconfig (ARCH): Remove all definitions.
2676 (machine): Likewise.
2677 [ARCH]: Remove conditional code.
2678 [!objdir]: Give error.
2679 [!objdir] (objpfx): Remove.
2680 [!objdir] (common-objpfx): Likewise.
2681 [!objdir] (common-objdir): Likewise.
2682 * configure.in (config_makefile): Remove. Hardcode Makefile in
2683 AC_CONFIG_FILES call.
2684 * configure: Regenerated.
2685
d528cdcf
JM
2686 [BZ #13888]
2687 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2688 or TMPDIR.
2689 (testout): Likewise.
2690
135948bd
JM
2691 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2692 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2693 $(rtld-installed-name).
2694 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2695 (rtld_installed_name): Likwise.
2696 (runit): Remove function.
2697 (run_getconf): New variable, Use it for running getconf binary.
2698
38c78296
L
26992012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2700
2701 [BZ #14716]
2702 * string/test-memmem.c (check_result): New function.
2703 (do_one_test): Use it.
2704 (check1): New function.
2705 (test_main): Use it.
2706
d077f65f
MT
27072012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2708
2709 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2710
ced52c71
JM
27112012-10-18 Joseph Myers <joseph@codesourcery.com>
2712
2713 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2714 (_G_LSEEK64): Likewise.
2715 (_G_MMAP64): Likewise.
2716 (_G_FSTAT64): Likewise.
2717 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2718 (_G_LSEEK64): Likewise.
2719 (_G_MMAP64): Likewise.
2720 (_G_FSTAT64): Likewise.
2721 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2722 unconditional. Call __mmap64 directly.
2723 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2724 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2725 __lseek64 directly.
2726 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2727 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2728 __mmap64 directly.
2729 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2730 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2731 __lseek64 directly.
2732 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2733 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2734 __lseek64 directly.
2735 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2736 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2737 __lseek64 directly.
2738 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2739 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2740 __fxstat64 directly.
2741 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2742 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2743 unconditional.
2744 (freopen64) [!_G_OPEN64]: Remove conditional code.
2745 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2746 unconditional.
2747 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2748 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2749 unconditional.
2750 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2751 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2752 unconditional.
2753 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2754 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2755 unconditional.
2756 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2757 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2758 unconditional.
2759 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2760 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2761 unconditional.
2762 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2763 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2764 unconditional.
2765 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2766
b741de23
SP
27672012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2768
2769 [BZ #12140]
2770 * manual/memory.texi (Malloc Tunable Parameters): Add note
2771 about free list pointers overwriting some perturb bytes.
2772 Wording suggested by Roland McGrath.
2773
f9b9d9c9
JM
27742012-10-17 Joseph Myers <joseph@codesourcery.com>
2775
2776 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2777 (lgamma_test): Likewise.
2778 (tgamma_test): Likewise.
2779
172a631a
FW
27802012-10-16 Florian Weimer <fweimer@redhat.com>
2781
2782 [BZ #14700]
2783 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2784 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2785
e9f37252
MK
27862012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2787
2788 * NEWS: Mention BZ #14716.
2789 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2790 when removing AVAILABLE1_USES_J macro.
2791
d394eb74
L
27922012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2793
2794 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2795 (__bswap_64): __uint64_t for unsigned 64-bit int.
2796
ca38dc17
AS
27972012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2798
2799 * include/string.h (memmem): Declare libc hidden alias.
2800 * string/memmem.c (memmem): Define libc hidden alias.
2801 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2802 __read, __close instead of open, read, close.
2803
9a387d1f
L
28042012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2805
ac49ecaf
L
2806 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2807 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2808 global and hidden.
2809 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2810 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2811 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2812 Likewise.
2813 (__rawmemchr_sse2): Likewise.
2814 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2815 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2816 (__strchr_sse2): Likewise.
2817 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2818 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2819 (__strcasecmp_sse2): Likewise.
2820 (__strncasecmp_sse2): Likewise.
2821 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2822 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2823 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2824 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2825 (__strrchr_sse2): Likewise.
2826 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2827 ifunc-impl-list.c.
2828 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2829 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2830 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2831 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2832 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2833 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2834 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2835 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2836 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2837 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2838 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2839 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2840 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2841 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2842 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2843 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2844 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2845 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2846 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2847 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2848 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2849 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2850 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2851 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2852 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2853 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2854 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2855 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2856 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2857 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2858
b090e8ea
L
2859 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2860 global and hidden.
2861 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2862 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2863 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2864 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2865 Likewise.
2866 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2867 Likewise.
2868 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2869 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2870 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2871 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2872 ifunc-impl-list.c.
2873 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2874 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2875 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2876 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2877 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2878 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2879 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2880 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2881 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2882 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2883 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2884 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2885 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2886 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2887 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2888 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2889 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2890 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2891 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2892 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2893 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2894 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2895 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2896 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2897 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2898 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2899 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2900 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2901 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2902 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2903 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2904 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2905 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2906 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2907 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2908 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2909 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2910 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2911 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2912 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2913 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2914
11dd4af6
L
2915 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2916 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2917 * include/ifunc-impl-list.h: New file.
2918 * misc/ifunc-impl-list.c: Likewise.
2919 * misc/Makefile (routines): Add ifunc-impl-list.
2920 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2921 * string/test-string.h: Include <ifunc-impl-list.h>.
2922 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2923 impl_array): New variables.
2924 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2925 are defined.
2926 (test_init): Call __libc_ifunc_impl_list to initialize
2927 func_list if TEST_IFUNC and TEST_NAME are defined.
2928
9a387d1f
L
2929 * string/Makefile (strop-tests): Add bcopy and bzero.
2930 * string/test-bcopy.c: New file.
2931 * string/test-bzero.c: Likewise.
2932 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2933 defined.
2934 * string/test-memset.c: Support bzero test if TEST_BZERO is
2935 defined.
2936 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2937 __libc_memmove.
2938 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2939 __libc_memset.
2940 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2941 of memset.
2942
472371b9
JM
29432012-10-10 Joseph Myers <joseph@codesourcery.com>
2944
1e4a9536
JM
2945 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2946 * configure: Regenerated.
2947
d173d12e
JM
2948 * Makeconfig (+link-static-before-libc): Don't include
2949 $(link-static-libc).
2950
472371b9
JM
2951 * libio/libio.h (_IO_pos_t): Remove.
2952
89a3ad0b
AO
29532012-10-10 Alexandre Oliva <aoliva@redhat.com>
2954
2955 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2956 McGrath.
2957
e7451425
AO
29582012-10-10 Alexandre Oliva <aoliva@redhat.com>
2959
2960 * crypt/crypt-entry.c: Include fips-private.h.
2961 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2962 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2963 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2964 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2965
4ba74a35
AO
29662012-10-10 Alexandre Oliva <aoliva@redhat.com>
2967
2968 * crypt/crypt-private.h: Include stdbool.h.
2969 (_ufc_setup_salt_r): Return bool.
2970 * crypt/crypt-entry.c: Include errno.h.
2971 (__crypt_r): Return NULL with EINVAL for bad salt.
2972 * crypt/crypt_util.c (bad_for_salt): New.
2973 (_ufc_setup_salt_r): Check that salt is long enough and within
2974 the specified alphabet.
2975 * crypt/badsalttest.c: New file.
2976 * crypt/Makefile (tests): Add it.
2977 ($(objpfx)badsalttest): New.
2978
f96f1242
MK
29792012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2980
2981 * NEWS: Add entry for BZ #14602.
2982
0e8e0c1c
JM
29832012-10-09 Joseph Myers <joseph@codesourcery.com>
2984
2985 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2986 type-generic.
2987 * math/libm-test.inc: Update comment listing what functions and
2988 macros are tested.
2989 (isgreater_test): New function.
2990 (isgreaterequal_test): Likewise.
2991 (isless_test): Likewise.
2992 (islessequal_test): Likewise.
2993 (islessgreater_test): Likewise.
2994 (isunordered_test): Likewise.
2995 (main): Call the new functions.
2996
273edc5e
RM
29972012-10-09 Roland McGrath <roland@hack.frob.com>
2998
b8493de0
RM
2999 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3000 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3001 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3002 * sysdeps/i386/configure: Regenerated.
3003 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3004 * sysdeps/mach/configure: Regenerated.
3005 * sysdeps/mach/hurd/configure: Regenerated.
3006 * sysdeps/powerpc/configure: Regenerated.
3007 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3008 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3009 * sysdeps/s390/s390-32/configure: Regenerated.
3010 * sysdeps/s390/s390-64/configure: Regenerated.
3011 * sysdeps/sh/configure: Regenerated.
3012 * sysdeps/sparc/configure: Regenerated.
3013 * sysdeps/unix/sysv/linux/configure: Regenerated.
3014 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3015 * sysdeps/x86_64/configure: Regenerated.
3016
273edc5e
RM
3017 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3018 defined. Don't check if MAP is NULL.
3019
c8450f70
JM
30202012-10-09 Joseph Myers <joseph@codesourcery.com>
3021
3022 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3023 (_G_stat64): Likewise.
3024 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3025 (_G_stat64): Likewise.
3026 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3027 instead of struct _G_stat64.
3028 * libio/fileops.c (mmap_remap_check): Likewise.
3029 (decide_maybe_mmap): Likewise.
3030 (_IO_new_file_seekoff): Likewise.
3031 (_IO_file_stat): Likewise.
3032 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3033 _G_off64_t.
3034 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3035 instead of struct _G_stat64.
3036 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3037
57e605ba
MK
30382012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3039
3040 [BZ #14602]
3041 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3042 Replace with ...
3043 (CHECK_EOL): New macro.
3044 (two_way_short_needle): Check beginning of haystack for EOL. Use
3045 CHECK_EOL.
3046 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3047 Replace with CHECK_EOL.
3048 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3049 Replace with CHECK_EOL.
3050
ef1bb361
JM
30512012-10-08 Joseph Myers <joseph@codesourcery.com>
3052
3053 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3054 type-generic.
3055 * math/libm-test.inc: Update comment listing what functions and
3056 macros are tested.
3057 (finite_test): New function.
3058 (isinf_test): Likewise.
3059 (isnan_test): Likewise.
3060 (fpclassify_test): Test subnormal input.
3061 (isfinite_test): Likewise.
3062 (isnormal_test): Likewise.
3063 (main): Call the new functions.
3064
55f11534
JN
30652012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3066
3067 [BZ #14660]
3068 * Makerules (%.dynsym): Force C locale when running
3069 $(OBJDUMP) --dynamic-syms.
3070
1ab29350
AS
30712012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3072
3073 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3074 <stdint.h>.
3075
f1ecb7ef
DM
30762012-10-06 David S. Miller <davem@davemloft.net>
3077
3078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3079 upper 32-bits of the length value in %o2 since we use branch-on-register
3080 tests which consider the entire 64-bit register.
3081
5d41d91a
L
30822012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3083
3084 * string/test-strstr.c (check2): Add a test for page boundary.
3085
3baddb72
DM
30862012-10-05 David S. Miller <davem@davemloft.net>
3087
3088 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3089 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3090 file.
3091 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3092 sysdep_routines.
3093 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3094 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3095 and bzero when HWCAP_SPARC_CRYPTO is present.
3096
9cee5585
L
30972012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3098
d7e0dab9
L
3099 [BZ #14602]
3100 * string/test-strstr.c (check2): New function.
3101 (test_main): Call check2.
3102
03759f47
L
3103 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3104 and bug-strchr1.
3105 * string/bug-strcasestr1.c (do_test): Moved to ...
3106 * string/test-strcasestr.c (check1): Here. New function.
3107 (do_one_test): Break out result checking code into ...
3108 (check_result): This. New function.
3109 (do_one_test): Call check_result.
3110 (test_main): Call check1.
3111 * string/bug-strchr1.c (do_test): Moved to ...
3112 * string/test-strchr.c (check1): Here. New function.
3113 (do_one_test): Break out result checking code into ...
3114 (check_result): This. New function.
3115 (do_one_test): Call check_result.
3116 (test_main): Call check1.
3117 * string/bug-strstr1.c (main): Moved to ...
3118 * string/test-strchr.c (check1): Here. New function.
3119 (do_one_test): Break out result checking code into ...
3120 (check_result): This. New function.
3121 (do_one_test): Call check_result.
3122 (test_main): Call check1.
3123 * string/bug-strcasestr1.c: Removed.
3124 * string/bug-strchr1.c: Likewise.
3125 * string/bug-strstr1.c: Likewise.
3126
53cea63e
L
3127 * elf/Makefile (dl-routines): Add hwcaps.
3128 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3129 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3130 (_dl_important_hwcaps): Moved to ...
3131 * elf/dl-hwcaps.c: Here. New file.
3132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3133
9cee5585 3134 [BZ #14557]
bb859b06
L
3135 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3136 if IS_IN_rtld isn't defined.
3137
9cee5585
L
3138 * elf/dl-support.c (_dl_sysinfo_map): New.
3139 Include "get-dynamic-info.h" and "setup-vdso.h".
3140 (_dl_non_dynamic_init): Call setup_vdso.
3141 * elf/dynamic-link.h: Don't include <assert.h>.
3142 (elf_get_dynamic_info): Moved to ...
3143 * elf/get-dynamic-info.h: Here. New file.
3144 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3145 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3146 * elf/setup-vdso.h: Here. New file.
3147 * elf/rtld.c: Include "setup-vdso.h".
3148 (dl_main): Call setup_vdso.
3149
23c31b76
JM
31502012-10-05 Joseph Myers <joseph@codesourcery.com>
3151
28234b07
JM
3152 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3153 creal in comment listing functions tested. List finite, isinf,
3154 isnan, isless, islessequal, isgreater, isgreaterequal,
3155 islessgreater, isunordered, lgamma_r and pow10 as functions and
3156 macros not tested. Mention which functions not tested are aliases
3157 for other functions. Fix typo. Note that signs of NaNs are not
3158 tested.
3159
23c31b76
JM
3160 * scripts/config.guess: Update from config.git.
3161 * scripts/config.sub: Likewise.
3162
9043e228
RM
31632012-10-04 Roland McGrath <roland@hack.frob.com>
3164
3165 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3166 * misc/madvise.c (madvise): Renamed to __madvise.
3167 Make madvise a weak alias.
3168 * include/sys/mman.h: Declare __madvise.
3169 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3170 * sysdeps/unix/syscalls.list
3171 (madvise): Make __madvise the strong name, and madvise a weak alias.
3172 * sysdeps/unix/sysv/linux/syscalls.list
3173 (madvise, mmap): Remove redundant entries.
3174 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3175 * malloc/malloc.c (mtrim): Likewise.
3176 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3177
f57f8055
RM
31782012-10-03 Roland McGrath <roland@hack.frob.com>
3179
3180 * sysdeps/mach/hurd/dl-cache.c: File removed.
3181 * config.h.in (USE_LDCONFIG): New #undef.
3182 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3183 * configure: Regenerated.
3184 * elf/Makefile (dl-routines): Add dl-cache only under
3185 [$(use-ldconfig) = yes].
3186 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3187 cache on [USE_LDCONFIG].
3188 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3189 [USE_LDCONFIG].
3190 * elf/rtld.c (dl_main): Likewise.
3191
5bb0c10a
PT
31922012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3193
3194 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3195 _SC_LEVEL4_CACHE_LINESIZE.
3196
010188c6
RM
31972012-10-03 Roland McGrath <roland@hack.frob.com>
3198
3199 * sysdeps/unix/bsd/confstr.h: File removed.
3200
b6c5ec07
AO
32012012-10-02 Alexandre Oliva <aoliva@redhat.com>
3202
3203 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3204 sys/sdt-config.h.
3205
408223d4
RM
32062012-10-02 Roland McGrath <roland@hack.frob.com>
3207
3208 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3209 Make 'mapoff' field ElfW(Off) rather than off_t.
3210
bb9510dc
DL
32112012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3212
fc997c6e
DL
3213 * nscd/Makefile: Remove nscd-cflags and all its users.
3214 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3215 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3216
bb9510dc
DL
3217 [BZ #10631]
3218 * malloc.c (malloc_printerr): Clarify error message.
3219
05699367
L
32202012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3221
3222 [BZ #14648]
3223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3224 Set bit_FMA_Usable if FMA is supported.
3225 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3226 macro.
3227 (bit_FMA4_Usable): Updated.
3228 (index_FMA_Usable): New macro.
3229 (CPUID_FMA): Likewise
3230 (HAS_FMA): Defined with bit_FMA_Usable.
3231
51367701
RM
32322012-10-01 Roland McGrath <roland@hack.frob.com>
3233
3234 * bits/types.h (__swblk_t): Type removed.
3235 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3236 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3238 (__SWBLK_T_TYPE): Likewise.
3239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3240 (__SWBLK_T_TYPE): Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3242 (__SWBLK_T_TYPE): Likewise.
3243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3244 (__SWBLK_T_TYPE): Likewise.
3245
4d57bf63 32462012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3247 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3248
3249 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3250 (xdr_mapname): Use YPMAXMAP as maxsize.
3251 (xdr_peername): Use YPMAXPEER as maxsize.
3252 (xdr_keydat): Use YPAXRECORD as maxsize.
3253 (xdr_valdat): Use YPMAXRECORD as maxsize.
3254
93c65d43
RM
32552012-10-01 Roland McGrath <roland@hack.frob.com>
3256
497a03d6
RM
3257 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3258
93c65d43
RM
3259 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3260 * csu/init-first.c: ... here.
3261 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3262 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3263 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3264 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3265 * sysdeps/i386/init-first.c: File removed.
3266 * sysdeps/sh/init-first.c: File removed.
3267
bec749fd
JM
32682012-10-01 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #14645]
3271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3272 if x * y might underflow to zero and z is zero.
3273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3275 * math/libm-test.inc (min_subnorm_value): New variable.
3276 (fma_test): Add more tests.
3277 (fma_test_towardzero): Likewise.
3278 (fma_test_downward): Likewise
3279 (fma_test_upward): Likewise.
3280 (initialize): Set min_subnorm_value.
3281
8ec5b013
JM
32822012-09-29 Joseph Myers <joseph@codesourcery.com>
3283
3284 [BZ #14638]
3285 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3286 0 + 0.
3287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3288 mode for addition resulting in exact zero.
3289 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3291 exact 0 + 0.
3292 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3294 * math/libm-test.inc (fma_test): Add more tests.
3295 (fma_test_towardzero): New function.
3296 (fma_test_downward): Likewise.
3297 (fma_test_upward): Likewise.
3298 (main): Call the new functions.
3299
b1fa802e
DM
33002012-09-28 David S. Miller <davem@davemloft.net>
3301
3302 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3303
d3b9fd9e
RM
33042012-09-28 Roland McGrath <roland@hack.frob.com>
3305
ea4d37b3
RM
3306 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3307 instead of SIGALRM.
3308
ac51c949
RM
3309 * sysdeps/gnu/_G_config.h: Moved to ...
3310 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3311 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3312 * sysdeps/generic/_G_config.h: ... here.
3313
28c195f7
RM
3314 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3315
848917f9
RM
3316 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3317
6bacf05b
RM
3318 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3319 Conditionalize target on [libnss_test1.so-version].
3320
91363dbb
RM
3321 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3322
cc87f7d8
RM
3323 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3324 (elfobjdir): Move out of conditionals.
3325
b1c608fe
RM
3326 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3327 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3328 (__nss_lookup_function): Conditionalize label remove_from_tree on
3329 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3330
1d9a6d96
DM
33312012-09-28 David S. Miller <davem@davemloft.net>
3332
3333 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3335 file.
3336 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3337 sysdep_routines.
3338 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3340 when HWCAP_SPARC_CRYPTO is present.
3341
72581615
PT
33422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3343
3344 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3345
715a900c
JL
33462012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3347
3348 [BZ #6530]
3349 * stdio-common/vfprintf.c (process_string_arg): Revert
3350 2000-07-22 change.
3351
33522011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3353
3354 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3355 for testcase.
3356 * stdio-common/tst-sprintf.c: Include <locale.h>
3357 (main): Test sprintf's handling of incomplete multibyte
3358 characters.
3359
9bac1d86
L
33602012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 * elf/dl-runtime.c (VERSYMIDX): Removed.
3363 * elf/dl-version.c (VERSYMIDX): Likewise.
3364 * elf/do-rel.h (VERSYMIDX): Likewise.
3365 (VALIDX): Likewise.
3366 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3367 * elf/rtld.c (VALIDX): Likewise.
3368 (ADDRIDX): Likewise.
9bac1d86
L
3369 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3370 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3371 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3372 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3373 (VALIDX): Likewise.
3374 (ADDRIDX): Likewise.
9bac1d86 3375
b31606c0
PT
33762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3377
3378 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3379
11541177
JL
33802012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3381
3382 [BZ #11438]
3383 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3384 to global scope.
3385 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3386 addresses are in the same scope as 192.0.2/24.
3387 * posix/gai.conf: Document new scope table defaults.
3388
adb26fae
SP
33892012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3390
3391 [BZ #5298]
3392 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3393 for ftell. Compute offsets from write pointers instead.
3394 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3395
4573c6b0
SP
33962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3397
3398 [BZ #14543]
3399 * libio/Makefile (tests): New test case tst-fseek.
3400 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3401 combination works in wide mode.
3402 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3403 state when the external buffer state changes.
3404
aa9bbfe6
DM
34052012-09-27 David S. Miller <davem@davemloft.net>
3406
3407 [BZ #14376]
3408 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3409 pass reloc->r_addend in as the 'high' argument to
3410 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3411
784421e7
DM
3412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3413
c39bc8b8
PT
34142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3415
3416 * rt/tst-aio2.c: Include <pthread.h>.
3417 * rt/tst-aio3.c: Likewise.
3418
1ccc2399
SE
34192012-09-27 Steve Ellcey <sellcey@mips.com>
3420
3421 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3422
31ed4153
L
34232012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3424
25f5f885
L
3425 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3426 contents on [SHARED].
31ed4153 3427
b7bfe116
MP
34282012-09-26 Marek Polacek <polacek@redhat.com>
3429
3430 [BZ #14530]
3431 [BZ #13741]
3432 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3433 for C++ and GCC <4.3 as well as for non GCC compilers.
3434
43c4edba
MT
34352012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3436
3437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3438
6a1bf82f
RM
34392012-09-25 Roland McGrath <roland@hack.frob.com>
3440
3441 * Makefile.in (all, install): Declare with .PHONY.
3442 Reported by Michael Hope <michael.hope@linaro.org>.
3443
8ad11b9a
TMQMF
34442012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3445
3446 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3447 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3448 system header.
3449 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3450 Likewise.
3451 (sydep_routines): Add the new and the internal functions.
3452 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3453 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3455 (GLIBC_2.17): Add the new function.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3457 (GLIBC_2.17): Likewise.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3459 (GLIBC_2.17): Likewise.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3461 (GLIBC_2.17): Likewise.
3462 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3463
7e2fca8d
AM
34642012-09-25 Alan Modra <amodra@gmail.com>
3465
3466 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3467 Add release barrier before setting once_control to say
3468 initialisation is done. Add hints on lwarx. Use macro in
3469 place of isync.
3470 (clear_once_control): Add release barrier.
3471
b87c4b24
JM
34722012-09-25 Joseph Myers <joseph@codesourcery.com>
3473
d032e0d2
JM
3474 [BZ #13629]
3475 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3476 specially.
3477 * math/s_clog10.c (__clog10): Likewise.
3478 * math/s_clog10f.c (__clog10f): Likewise.
3479 * math/s_clog10l.c (__clog10l): Likewise.
3480 * math/s_clogf.c (__clogf): Likewise.
3481 * math/s_clogl.c (__clogl): Likewise.
3482 * math/Makefile (libm-calls): Add x2y2m1.
3483 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3484 (__x2y2m1): Likewise.
3485 (__x2y2m1l): Likewise.
3486 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3487 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3488 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3489 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3490 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3491 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3492 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3493 * sysdeps/i386/fpu/libm-test-ulps: Update.
3494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3495
b87c4b24
JM
3496 [BZ #14621]
3497 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3498 int as type of variable DEPTH.
3499 (glob): Use size_t instead of int as type of variables NEWCOUNT
3500 and OLD_PATHC.
3501
6d3bf199
LD
35022012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3503
22bf5c17
LD
3504 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3505 Add s_sincosf-sse2.
3506 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3507 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3508 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3509 macros for using routine as __sincosf_ia32.
3510 Use macro for function declaration and weak_alias.
3511 * sysdeps/i386/fpu/libm-test-ulps: Update.
3512
3513 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3515
3516 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3517 subnormal argument.
3518 * math/s_cexpf.c (__cexpf): Likewise.
3519 * math/s_csinf.c (__csinf): Likewise.
3520 * math/s_csinhf.c (__csinhf): Likewise.
3521 * math/s_ctanf.c (__ctanf): Likewise.
3522 * math/s_ctanhf.c (__ctanhf): Likewise.
3523 * math/s_ccosh.c (__ccoshf): Likewise.
3524 * math/s_cexp.c (__cexpl): Likewise.
3525 * math/s_csin.c (__csin): Likewise.
3526 * math/s_csinh.c (__csinh): Likewise.
3527 * math/s_ctan.c (__ctan): Likewise.
3528 * math/s_ctanh.c (ctanh): Likewise.
3529 * math/s_ccoshl.c (__ccoshl): Likewise.
3530 * math/s_cexpl.c (__cexpl): Likewise.
3531 * math/s_csinl.c (__csinl): Likewise.
3532 * math/s_csinhl.c (__csinhl): Likewise.
3533 * math/s_ctanl.c (__ctanl): Likewise.
3534 * math/s_ctanhl.c (__ctanhl): Likewise.
3535
203e5603
JM
35362012-09-25 Joseph Myers <joseph@codesourcery.com>
3537
3538 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3539 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3540 (_IO_off_t): Define to __off_t, not _G_off_t.
3541 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3542 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3543 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3544 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3545 type of __dummy and __dummy2 fields.
3546 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3547 (_G_ssize_t): Likewise.
3548 (_G_off_t): Likewise.
3549 (_G_pid_t): Likewise.
3550 (_G_uid_t): Likewise.
3551 (_G_wchar_t): Likewise.
3552 (_G_wint_t): Likewise.
3553 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3554 (_G_ssize_t): Likewise.
3555 (_G_off_t): Likewise.
3556 (_G_pid_t): Likewise.
3557 (_G_uid_t): Likewise.
3558 (_G_wchar_t): Likewise.
3559 (_G_wint_t): Likewise.
3560 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3561 (_G_ssize_t): Likewise.
3562 (_G_off_t): Likewise.
3563 (_G_pid_t): Likewise.
3564 (_G_uid_t): Likewise.
3565 (_G_wchar_t): Likewise.
3566 (_G_wint_t): Likewise.
3567
9fab36eb
SP
35682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3569
3570 * malloc/arena.c: Include malloc-sysdep.h.
3571 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3572 is sufficient to shrink the heap or an unmap is needed.
3573 * sysdeps/generic/malloc-sysdep.h: New file. Define
3574 new function check_may_shrink_heap.
3575 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3576 new function check_may_shrink_heap.
3577
2b4f00d1
SP
35782012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3579
3580 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3581 comments.
3582
9a9028b1
DL
35832012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3584
57c69bef
DL
3585 * catgets/test-gencat.sh: Add "set -e".
3586 * elf/tst-pathopt.sh: Likewise.
3587 * grp/tst_fgetgrent.sh: Likewise.
3588 * iconvdata/run-iconv-test.sh: Likewise.
3589 * intl/tst-gettext.sh: Likewise.
3590 * intl/tst-gettext2.sh: Likewise.
3591 * intl/tst-gettext4.sh: Likewise.
3592 * intl/tst-gettext6.sh: Likewise.
3593 * intl/tst-translit.sh: Likewise.
3594 * io/ftwtest-sh: Likewise.
3595 * libio/test-freopen.sh: Likewise.
3596 * malloc/tst-mtrace.sh: Likewise.
3597 * posix/globtest.sh: Likewise.
3598 * posix/tst-getconf.sh: Likewise.
3599 * posix/wordexp-tst.sh: Likewise.
3600 * stdio-common/tst-printf.sh: Likewise.
3601 * stdio-common/tst-unbputc.sh: Likewise.
3602 * stdlib/tst-fmtmsg.sh: Likewise.
3603 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3604 * catgets/Makefile: Do not specify -e option when running
3605 testsuite shell scripts.
3606 * elf/Makefile: Likewise.
3607 * grp/Makefile: Likewise.
3608 * iconvdata/Makefile: Likewise.
3609 * intl/Makefile: Likewise.
3610 * io/Makefile: Likewise.
3611 * libio/Makefile: Likewise.
3612 * malloc/Makefile: Likewise.
3613 * posix/Makefile: Likewise.
3614 * stdio-common/Makefile: Likewise.
3615 * stdlib/Makefile: Likewise.
3616 * sysdeps/x86_64/Makefile: Likewise.
3617
9a9028b1
DL
3618 * io/ftwtest-sh: Add copyright header.
3619 * posix/globtest.sh: Likewise.
3620 * posix/tst-getconf.sh: Likewise.
3621 * posix/wordexp-tst.sh: Likewise.
3622 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3623
ced6f16e
L
36242012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3625
94b32c39
L
3626 [BZ #13679]
3627 * Makeconfig (+link): Defined as $(+link-static) if
3628 $(build-shared) isn't yes.
3629 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3630 isn't yes.
3631 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3632
189e935b
L
3633 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3634
ced6f16e
L
3635 [BZ #14562]
3636 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3637 new chunk size with MALLOC_ALIGN_MASK.
3638
a9f8e53a
JM
36392012-09-24 Joseph Myers <joseph@codesourcery.com>
3640
3641 [BZ #5044]
3642 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3643 <rounding-mode.h>.
3644 (__printf_fphex): Determine rounding using get_rounding_mode and
3645 round_away.
3646 * stdio-common/tst-printf-round.c (struct hex_test): New
3647 structure.
3648 (hex_tests): New variable.
3649 (test_hex_in_one_mode): New function.
3650 (do_test): Also run tests for hex float output.
3651
43153109
JM
36522012-09-21 Joseph Myers <joseph@codesourcery.com>
3653
3654 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3655 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3656 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3657 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3658 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3659 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3660 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3661 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3662
8a26625d
JM
36632012-09-20 Joseph Myers <joseph@codesourcery.com>
3664
3665 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3666 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3667 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3668 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3669
f3fd569c
DL
36702012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3671
3672 [BZ #14579]
3673 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3674 mode only.
3675 * elf/tst-rtld-load-self.sh: New test.
3676 * elf/Makefile: Run it.
3677
63bbedd4
JM
36782012-09-18 Joseph Myers <joseph@codesourcery.com>
3679
3680 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3681 (tst-writev-ENV): Remove.
3682 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3683
626f8b6a
CM
36842012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3685
3686 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3687
b7aaa4d6
JM
36882012-09-17 Joseph Myers <joseph@codesourcery.com>
3689
3690 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3691 unconditional.
3692 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3693 Likewise.
3694 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3695 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3696 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3697 Likewise.
3698
65513990
L
36992012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3700
3701 [BZ #14587]
3702 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3703 * config.make.in (have-cpp-asm-debuginfo): Removed.
3704 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3705 * configure: Regenerated.
3706
784761be
JM
37072012-09-14 Joseph Myers <joseph@codesourcery.com>
3708
3709 [BZ #5044]
3710 * stdio-common/printf_fp.c: Include <stdbool.h> and
3711 <rounding-mode.h>.
3712 (___printf_fp): Determine rounding using get_rounding_mode and
3713 round_away.
3714 * stdio-common/tst-printf-round.c: New file.
3715 * stdio-common/Makefile (tests): Add tst-printf-round.
3716 (link-libm): New variable.
3717 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3718
9503345f
L
37192012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3720
3721 [BZ #14576]
3722 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3723 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3724 Likewise.
3725 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3726 Likewise.
3727
ad35fc00
JM
37282012-09-13 Joseph Myers <joseph@codesourcery.com>
3729
3730 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3731 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3732 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3733 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3734
6c9b0f68
JM
37352012-09-12 Joseph Myers <joseph@codesourcery.com>
3736
3737 [BZ #14518]
3738 * include/rounding-mode.h: New file.
3739 * sysdeps/generic/get-rounding-mode.h: Likewise.
3740 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3741 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3742 (MAX_VALUE): New macro.
3743 (MIN_VALUE): Likewise.
3744 (overflow_value): New function.
3745 (underflow_value): Likewise.
3746 (round_and_return): Use overflow_value and underflow_value to
3747 determine return values in overflow and underflow cases. Use
3748 round_away to determine rounding depending on rounding mode.
3749 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3750 determine return values in overflow and underflow cases.
3751 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3752 (struct test_results): New structure.
3753 (struct test): Use struct test_results to store expected results
3754 for all rounding modes.
3755 (TEST): Include expected results for all rounding modes.
3756 (test_in_one_mode): New function.
3757 (do_test): Use test_in_one_mode to compute and check results.
3758 Check results for all rounding modes.
3759 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3760 $(link-libm).
3761
19fcedd5
AM
37622012-12-09 Allan McRae <allan@archlinux.org>
3763
1e9d84cd 3764 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3765
8bbfd2f1
JM
37662012-09-11 Joseph Myers <joseph@codesourcery.com>
3767
3768 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3769 (_G_int32_t): Likewise.
3770 (_G_uint16_t): Likewise.
3771 (_G_uint32_t): Likewise.
3772 (_G_HAVE_BOOL): Likewise.
3773 (_G_HAVE_ATEXIT): Likewise.
3774 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3775 (_G_HAVE_IO_FILE_OPEN): Likewise.
3776 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3777 (_G_int32_t): Likewise.
3778 (_G_uint16_t): Likewise.
3779 (_G_uint32_t): Likewise.
3780 (_G_HAVE_BOOL): Likewise.
3781 (_G_HAVE_ATEXIT): Likewise.
3782 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3783 (_G_HAVE_IO_FILE_OPEN): Likewise.
3784 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3785 (_G_int32_t): Likewise.
3786 (_G_uint16_t): Likewise.
3787 (_G_uint32_t): Likewise.
3788 (_G_HAVE_BOOL): Likewise.
3789 (_G_HAVE_ATEXIT): Likewise.
3790 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3791 (_G_HAVE_IO_FILE_OPEN): Likewise.
3792
b1dc5912
L
37932012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3794
3795 * csu/libc-tls.c: Update copyright years.
3796
0e886ef9
JM
37972012-09-10 Joseph Myers <joseph@codesourcery.com>
3798
28361c5e
JM
3799 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3800 [!_G_USING_THUNKS]: Remove conditional code.
3801 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3802 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3803
0e886ef9
JM
3804 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3805 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3806 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3807 (_G_VTABLE_LABEL_PREFIX): Likewise.
3808 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3809 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3810 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3811 (_G_VTABLE_LABEL_PREFIX): Likewise.
3812 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3813 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3814 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3815 (_G_VTABLE_LABEL_PREFIX): Likewise.
3816 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3817
bcba7aa2
L
38182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3819
3820 * libio/Makefile: Include ../Makeconfig before tests.
3821 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3822 only if $(build-shared) is yes.
3823
06585ee8
L
3824 * iconv/gconv_db.c: Update copyright years.
3825
80ccd52c
LD
38262012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3827
3828 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3829 unwind info if defined PIC. Fix special cases description.
3830 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3831
3832 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3833 DP_HI_MASK entry.
3834 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3835
691bc9c1
L
38362012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3837
3d9b46b3
L
3838 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3839
de2139a9
L
3840 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3841 is NULL.
3842
5ca78dd0
L
3843 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3844 (LDLIBS-tst-chk4): This.
3845 (LDFLAGS-tst-chk5): Renamed to ...
3846 (LDLIBS-tst-chk5): This.
3847 (LDFLAGS-tst-chk6): Renamed to ...
3848 (LDLIBS-tst-chk6): This.
3849 (LDFLAGS-tst-lfschk4): Renamed to ...
3850 (LDLIBS-tst-lfschk4): This.
3851 (LDFLAGS-tst-lfschk5): Renamed to ...
3852 (LDLIBS-tst-lfschk5): This.
3853 (LDFLAGS-tst-lfschk6): Renamed to ...
3854 (LDLIBS-tst-lfschk6): This.
3855
691bc9c1
L
3856 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3857 on $(common-objpfx)soversions.mk.
3858
65cafb1c
JM
38592012-09-07 Joseph Myers <joseph@codesourcery.com>
3860
3861 [BZ #10014]
3862 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3863 example host name.
3864
c78ab094
SP
38652012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3866
3867 * malloc/arena.c (arena_get_retry): New function that gets
3868 another arena for the caller to try its request on.
3869 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3870 current arena cannot fulfill the request.
3871 (__libc_memalign): Likewise.
3872 (__libc_memalign): Likewise.
3873 (__libc_pvalloc): Likewise.
3874 (__libc_calloc): Likewise.
3875
01f49f59
JT
38762012-09-05 John Tobey <john.tobey@gmail.com>
3877
3878 [BZ #13542]
3879 * manual/arith.texi (Operations on Complex): Fix description
3880 of carg branch cut.
3881
4c23fed5
JM
38822012-09-06 Joseph Myers <joseph@codesourcery.com>
3883
1d3c8572
JM
3884 [BZ #10014]
3885 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3886 host name.
3887
4c23fed5
JM
3888 [BZ #10038]
3889 * manual/memory.texi (Memory): Make order of menu items match
3890 order of sections.
3891
04570aaa
L
38922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3895 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3896 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3897
b80af2f4
L
38982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * csu/libc-tls.c (static_dtv): Renamed to ...
3901 (_dl_static_dtv): This. Make it global.
3902 (_dl_initial_dtv): Removed.
3903 (__libc_setup_tls): Updated.
3904 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3905 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3906 DL_INITIAL_DTV.
3907
2abe9f15
PM
39082012-09-06 Petr Machata <pmachata@redhat.com>
3909
3910 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3911 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3912 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3913 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3914
0948c3af
L
39152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3916
3917 [BZ #14545]
3918 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3919 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3920 freeing dtv[-1].
3921
a5055ad1
L
39222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3923
3924 [BZ #14544]
3925 * Makeconfig (link-static-before-libc): Replace $(+prector)
3926 with $(+prectorT).
3927 (link-static-after-libc): Replace $(+postctor) with
3928 $(+postctorT).
3929 (link-bounded): Replace $(+prector)/$(+postctor) with
3930 $(+prectorT)/$(+postctorT).
3931 (+prectorT): New macro.
3932 (+postctorT): Likewise.
3933
ed8c2ecd
JM
39342012-09-06 Joseph Myers <joseph@codesourcery.com>
3935
3936 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3937 (round_str): Handle values above the maximum for IBM long double
3938 as inexact.
3939 * stdlib/tst-strtod-round.c (tests): Regenerated.
3940
14c996c8
AK
39412012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3942
3943 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3944 assembler flag.
3945 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3946 zarch_nohighgprs around the zarch optimized routines.
3947 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3948 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3949 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3950 for zarch.
3951
430d6ce6
DM
39522012-09-05 David S. Miller <davem@davemloft.net>
3953
3954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3955
ff04dda4
DM
3956 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3957 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3958 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3959 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3960 entries.
3961
24d4e01b
AO
39622012-09-05 Alexandre Oliva <aoliva@redhat.com>
3963
3964 * malloc/arena.c: Fold copyright years.
3965 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3966
61d58174
AO
39672012-09-05 Alexandre Oliva <aoliva@redhat.com>
3968
3969 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3970
20196a5e
AO
39712012-09-05 Alexandre Oliva <aoliva@redhat.com>
3972
3973 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3974
5c447383
AO
39752012-09-05 Alexandre Oliva <aoliva@redhat.com>
3976
3977 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3978 change internal state upon failure.
3979
fad64255
AO
39802012-09-05 Alexandre Oliva <aoliva@redhat.com>
3981
3982 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3983 * malloc/memusage.c (mmap): Likewise.
3984 (mmap64, mremap): Likewise. Adjust name in comment.
3985
1ffb8c90
SP
39862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3987
3988 * libio/fileops.c: Fix typos in comments.
3989 * libio/oldfileops.c: Likewise.
3990 * libio/wfileops.c: Likewise.
3991
6ef9cc37
SP
39922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3993
3994 [BZ #1349]
3995 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3996 (tst-malloc-usable-ENV): Set environment for test case.
3997 * malloc/hooks.c (malloc_check_get_size): New function to get
3998 requested size.
3999 * malloc/malloc.c (musable): Use malloc_check_get_size.
4000 * malloc/tst-malloc-usable.c: New test case.
4001
4d038ae3
AS
40022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4003
4004 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4005
c4e85184
AM
40062012-09-05 Allan McRae <allan@archlinux.org>
4007
b9dafc56 4008 [BZ #13966]
c4e85184
AM
4009 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4010 determine header location.
4011 * configure: Regenerated.
4012
e1343020
AS
40132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4014
4015 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4016 float format.
4017 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4018 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4019 format.
e1343020
AS
4020 (test): Regenerate.
4021
0a9f1987
DM
40222012-09-04 David S. Miller <davem@davemloft.net>
4023
4024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4026 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4027
29237804
FW
40282012-09-04 Florian Weimer <fweimer@redhat.com>
4029
4030 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4031 failures.
4032
edb3cb88
FW
4033 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4034
60160d83
JM
40352012-09-04 Joseph Myers <joseph@codesourcery.com>
4036
4037 [BZ #9914]
4038 * libio/iogetdelim.c: Include <limits.h>.
4039 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4040 + len + 1 would overflow.
4041
bcd6c8dc
AJ
40422012-09-03 Andreas Jaeger <aj@suse.de>
4043
4044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4045 * sysdeps/i386/fpu/libm-test-ulps: Update.
4046
4ffffbd2
LD
40472012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4048
4049 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4050 Add s_sinf-sse2, s_conf-sse2.
4051
4052 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4053 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4054 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4055 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4056
4057 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4058 for using routine as __sinf_ia32.
4059 Use macro for function declaration and weak_alias.
4060 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4061 for using routine as __cosf_ia32.
4062 Use macro for function declaration and weak_alias.
4063
4064 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4065 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4066
4067 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4068 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4070
4071 * math/libm-test.inc (cos_test): Add more test cases.
4072 (sin_test): Likewise.
4073 (sincos_test): Likewise.
4074
511fa286
AK
40752012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4076
4077 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4078 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4079 hidden.
4080 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4081
5f30cfec
L
40822012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4083
4084 [BZ #14538]
4085 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4086 first element of the GOT.
4087 (elf_machine_load_address): Return the difference between
4088 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4089
0786794f
AM
40902012-09-01 Allan McRae <allan@archlinux.org>
4091
5f30cfec
L
4092 [BZ #13412]
4093 * configure.in (AWK): Require gawk version 3.0 or later.
4094 * configure: Regenerated.
0786794f 4095
26889eac
JM
40962012-09-01 Joseph Myers <joseph@codesourcery.com>
4097
4098 * sysdeps/unix/sysv/linux/kernel-features.h
4099 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4100 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4101 [__NR_clock_getres]: Make code unconditional.
4102 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4103 (clock_getcpuclockid): Remove code left unreachable by removal of
4104 conditionals.
4105 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4106 code unconditional.
4107 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4109 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4110 Make code unconditional.
4111 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4112 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4113 * sysdeps/unix/sysv/linux/clock_settime.c
4114 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4115 conditional code.
4116 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4117 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4118
d22e28b0
L
41192012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 [BZ #14476]
4122 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4123 scripts/test-installation.pl.
4124
4125 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4126 and $ld_so_version if it is set.
4127
050af9c4
SP
41282012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
4130 [BZ #14516]
4131 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4132 failure if reading from procfs failed.
4133 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4134
ad845c0b
JM
41352012-08-27 Joseph Myers <joseph@codesourcery.com>
4136
4137 * sysdeps/unix/sysv/linux/kernel-features.h
4138 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4139 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4140 Remove conditional code.
4141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4142 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4143 Remove conditional code.
4144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4145 * sysdeps/unix/sysv/linux/i386/fxstat.c
4146 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4148 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4149 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4151 * sysdeps/unix/sysv/linux/i386/lxstat.c
4152 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4154 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4155 Remove conditional code.
4156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4157 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4158 Remove conditional code.
4159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4161 <kernel-features.h>.
4162 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4163 Remove.
4164 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4165 Remove conditional code.
4166 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4167 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4168 Remove conditional.
4169
5dbf56af
MF
41702012-08-27 Mike Frysinger <vapier@gentoo.org>
4171
4172 [BZ #5400]
4173 * NEWS: Add fixed bug number.
4174
d6e70f43
JM
41752012-08-27 Joseph Myers <joseph@codesourcery.com>
4176
7efb4737
JM
4177 [BZ #14519]
4178 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4179 underflowing exponent in case of negative sign.
4180 * stdlib/tst-strtod-round-data: Add more tests.
4181 * stdlib/tst-strtod-round.c (tests): Regenerated.
4182
af92131a
JM
4183 [BZ #3479]
4184 * stdlib/strtod_l.c (NDIG): Remove.
4185 (HEXNDIG): Likewise.
4186 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4187 smallest representable value.
4188 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4189 lie within an exact representation of 1/2 ulp of the result.
4190 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4191 unconditionally.
4192 (TENS_P9_IDX): Define unconditionally.
4193 (TENS_P9_SIZE): Likewise.
4194 (TENS_P10_IDX): Likewise.
4195 (TENS_P10_SIZE): Likewise.
4196 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4197 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4198 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4199 entries for 10^2^13 and 10^2^14.
4200 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4201 (TENS_P13_IDX): Define.
4202 (TENS_P13_SIZE): Likewise.
4203 (TENS_P14_IDX): Likewise.
4204 (TENS_P14_SIZE): Likewise.
4205 (_fpioconst_pow10): Change array size to
4206 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4207 unconditional.
4208 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4209 1024]: Add entries for 10^2^13 and 10^2^14.
4210 [LAST_POW10 > _LAST_POW10]: Remove #error.
4211 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4212 (_fpioconst_pow10): Change array size to
4213 FPIOCONST_POW10_ARRAY_SIZE.
4214 * stdlib/gen-fpioconst.c: New file.
4215 * stdlib/gen-tst-strtod-round.c: Likewise.
4216 * stdlib/tst-strtod-round-data: Likewise.
4217 * stdlib/tst-strtod-round.c: Likewise.
4218 * stdlib/Makefile (tests): Add tst-strtod-round.
4219
d6e70f43
JM
4220 [BZ #14459]
4221 * stdlib/strtod_l.c: Include <stdint.h>.
4222 (NDEBUG): Do not define.
4223 (round_and_return): Change EXPONENT parameter to type intmax_t.
4224 Rearrange calculations to avoid internal overflow possibilities.
4225 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4226 Rearrange calculations to avoid internal overflow possibilities.
4227 Assert that number fits inside MPNSIZE limbs.
4228 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4229 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4230 calculations and add assertions to avoid internal overflow
4231 possibilities. Add casts to avoid signed/unsigned operations.
4232 * stdlib/tst-strtod-overflow.c: New file.
4233 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4234
1f529f7d
MP
42352012-08-25 Marek Polacek <polacek@redhat.com>
4236
4237 * time/time.h: Fix some typos in comments.
4238
59a629f1
RM
42392012-08-23 Roland McGrath <roland@hack.frob.com>
4240
4241 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4242 * posix/tst-rfc3484-2.c: Likewise.
4243 * posix/tst-rfc3484-3.c: Likewise.
4244
d3bafbc9
SM
42452012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4246
4247 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4248 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4249
4efcc022
JM
42502012-08-23 Joseph Myers <joseph@codesourcery.com>
4251
4252 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4253 #include of fxstatat64.c.
4254
3cc3ef96
RM
42552012-08-22 Roland McGrath <roland@hack.frob.com>
4256
f04e2132
RM
4257 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4258 * shadow/getspent_r.c: Likewise.
4259 * shadow/getspnam.c: Likewise.
4260 * shadow/getspnam_r.c: Likewise.
4261 * gshadow/getsgent.c: Likewise.
4262 * gshadow/getsgent_r.c: Likewise.
4263 * gshadow/getsgnam.c: Likewise.
4264 * gshadow/getsgnam_r.c: Likewise.
4265 * inet/getnetbyad.c: Likewise.
4266 * inet/getnetbyad_r.c: Likewise.
4267 * inet/getnetbynm.c: Likewise.
4268 * inet/getnetbynm_r.c: Likewise.
4269 * inet/getnetent.c: Likewise.
4270 * inet/getnetent_r.c: Likewise.
4271 * inet/getproto.c: Likewise.
4272 * inet/getproto_r.c: Likewise.
4273 * inet/getprtent.c: Likewise.
4274 * inet/getprtent_r.c: Likewise.
4275 * inet/getprtname.c: Likewise.
4276 * inet/getprtname_r.c: Likewise.
4277 * inet/getrpcbyname.c: Likewise.
4278 * inet/getrpcbyname_r.c: Likewise.
4279 * inet/getrpcbynumber.c: Likewise.
4280 * inet/getrpcbynumber_r.c: Likewise.
4281 * inet/getrpcent.c: Likewise.
4282 * inet/getrpcent_r.c: Likewise.
4283 * inet/getaliasent.c: Likewise.
4284 * inet/getaliasent_r.c: Likewise.
4285 * inet/getaliasname.c: Likewise.
4286 * inet/getaliasname_r.c: Likewise.
4287 * nscd/getgrgid_r.c: Likewise.
4288 * nscd/getgrnam_r.c: Likewise.
4289 * nscd/gethstbyad_r.c: Likewise.
4290 * nscd/gethstbynm3_r.c: Likewise.
4291 * nscd/getpwnam_r.c: Likewise.
4292 * nscd/getpwuid_r.c: Likewise.
4293 * nscd/getsrvbynm_r.c: Likewise.
4294 * nscd/getsrvbypt_r.c: Likewise.
4295 * nscd/gai.c: Likewise.
4296
c53d909c
RM
4297 * configure.in (build_nscd): New substituted variable, set
4298 by --disable-build-nscd and defaults to $use_nscd.
4299 * configure: Regenerated.
4300 * config.make.in (build-nscd): New substituted variable.
4301 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4302 Change conditional to require [$(build-nscd) = yes] as well.
4303 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4304
3cc3ef96
RM
4305 [BZ# 13696]
4306 * configure.in (use_nscd): New substituted variable, set by
4307 --disable-nscd. If enabled, define USE_NSCD.
4308 * configure: Regenerated.
4309 * config.h.in: Add USE_NSCD.
4310 * config.make.in (use-nscd): New substituted variable.
4311 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4312 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4313 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4314 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4315 (CFLAGS-getgrnam_r.c): Likewise.
4316 (CFLAGS-initgroups.c): Likewise.
4317 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4318 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4319 Variables removed.
4320 * inet/getnetgrent_r.c
4321 (nscd_setnetgrent): New function, broken out of ...
4322 (setnetgrent): ... here. Call it.
4323 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4324 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4325 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4326 * nscd/Makefile (routines, aux): Move definitions after include of
4327 Makeconfig. Conditionalize on [$(use-nscd) != no].
4328 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4329 Conditionalize on [USE_NSCD].
4330 (is_nscd, nscd_init_cb): Likewise.
4331 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4332 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4333 * nss/nss_db/db-init.c: Likewise.
4334 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4335 [USE_NSCD].
4336 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4337 (make_request): Use it.
4338 (cache_valid_p): New function.
4339 (__check_pf): Use it.
4340 * NEWS: Add item for --disable-nscd.
4341
07e51550
DL
43422012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4343
4344 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4345 to support sed >= 4.2.1-20-ga9bf076.
4346 * configure: Regenerated.
4347
35a5b08b
RM
43482012-08-22 Roland McGrath <roland@hack.frob.com>
4349
4350 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4351 Conditionalize whole body on [IREL].
4352
8479f23a
JL
43532012-08-22 Jeff Law <law@redhat.com>
4354
4355 [BZ #14505]
4356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4357 if the family is PF_UNSPEC.
4358
48da0b21
MF
43592012-08-22 Mike Frysinger <vapier@gentoo.org>
4360
4361 * Makerules (lib-version): Rename from V.
4362 (install-lib-nosubdir): Change V to lib-version.
4363
15d0da8c
WS
43642012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4365
4366 [BZ #14252]
4367 * powerpc32/power6/wcschr.c: New file.
4368 * powerpc32/power6/wcscpy.c: New file.
4369 * powerpc32/power6/wcsrchr.c: New file.
4370 * powerpc64/power6/wcschr.c: New file.
4371 * powerpc64/power6/wcscpy.c: New file.
4372 * powerpc64/power6/wcsrchr.c: New file.
4373
bcca0895
MK
43742012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4375
4376 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4377 (two_way_short_needle): Use it.
5a4aaa33
RM
4378 * string/strstr.c (AVAILABLE1_USES_J): Define.
4379 * string/strcasestr.c: Likewise.
99677e57
MK
4380
4381 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4382 array references.
4383 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4384
400726de
MK
4385 [BZ #11607]
4386 * NEWS: Add an entry.
4387 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4388 define their defaults.
4389 (two_way_short_needle): Detect end-of-string on-the-fly.
4390 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4391 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4392 * string/bug-strcasestr1.c: New test.
4393 * string/Makefile: Run it.
4394
20a71f2c
MK
43952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4396
4397 [BZ #11607]
4398 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4399 the first character.
4400
21ad0558
RM
44012012-08-21 Roland McGrath <roland@hack.frob.com>
4402
4403 * csu/elf-init.c (__libc_csu_irel): Function removed.
4404 * csu/libc-start.c (apply_irel): New function.
4405 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4406
0e1d9911
JM
44072012-08-21 Joseph Myers <joseph@codesourcery.com>
4408
4409 * sysdeps/unix/sysv/linux/kernel-features.h
4410 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4411 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4412 <kernel-features.h>.
4413 [__NR_fadvise64_64]: Make code unconditional.
4414 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4415 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4416 !__NR_fadvise64_64)]: Likewise.
4417 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4418 !__NR_fadvise64_64))]: Likewise.
4419 [__NR_fadvise64]: Make code unconditional.
4420 [!__NR_fadvise64]: Remove conditional code.
4421 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4422 <kernel-features.h>.
4423 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4424 unconditional.
4425 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4426 conditional code.
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4428 not include <kernel-features.h>.
4429 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4430 unconditional.
4431 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4432 conditional code.
4433 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4434 include <kernel-features.h>.
4435 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4436 unconditional.
4437 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4438 conditional code.
4439
14a50c9d
WS
44402012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4441
4442 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4443 slight instruction rearrangements per scrollpipe analysis.
4444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4445
c0f4faf0
RM
44462012-08-20 Roland McGrath <roland@hack.frob.com>
4447
696da859
RM
4448 * manual/syslog.texi (syslog; vsyslog, closelog):
4449 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4450 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4451
c0f4faf0
RM
4452 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4453 DSOCAPS to match condition on defining it.
4454
348363b2
JM
44552012-08-20 Joseph Myers <joseph@codesourcery.com>
4456
a35cbf28
JM
4457 * sysdeps/unix/sysv/linux/kernel-features.h
4458 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4460 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4461 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4463 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4464 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4466 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4467 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4468
445f7ecd
JM
4469 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4470 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4471
348363b2
JM
4472 * sysdeps/unix/sysv/linux/kernel-features.h
4473 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4474 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4475 unconditional.
4476 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4477 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4478 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4479 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4480 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4481 Make code unconditional.
4482 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4483 (__mmap64) [!__NR_mmap2]: Likewise.
4484 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4485 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4486 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4487 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4488 [__NR_mmap2]: Make code unconditional.
4489 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4490 (__mmap64) [!__NR_mmap2]: Likewise.
4491
bc5bc0e5
AK
44922012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4493
4494 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4495
88d506de
AJ
44962012-08-18 Andreas Jaeger <aj@suse.de>
4497
4498 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4499
493387d2
MF
45002012-08-18 Mike Frysinger <vapier@gentoo.org>
4501
4502 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4503 * include/unistd.h (__have_sock_cloexec): Likewise.
4504 (__have_pipe2): Likewise.
4505 (__have_dup3): Likewise.
4506
a277af22
MF
45072012-08-18 Mike Frysinger <vapier@gentoo.org>
4508
4509 [BZ #9685]
4510 * include/unistd.h (__have_pipe2): Change define into an extern int.
4511 (__have_dup3): Likewise.
4512 * socket/have_sock_cloexec.c: Include fcntl.h.
4513 (__have_pipe2): New variable.
4514 (__have_dup3): Likewise.
4515
fdab8fd3
MF
45162012-08-17 Mike Frysinger <vapier@gentoo.org>
4517
4518 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4519
31035e80
MP
45202012-08-17 Marek Polacek <polacek@redhat.com>
4521
4522 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4523 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4524
3bd9e993
RM
45252012-08-17 Roland McGrath <roland@hack.frob.com>
4526
c91c505f
RM
4527 * configure.in: Add AC_SUBST for sysheaders.
4528 * configure: Regenerated.
4529 * config.make.in (sysheaders): New substituted variable.
4530
7c6f9d53
RM
4531 * sysdeps/unix/mkfifo.c: Moved ...
4532 * sysdeps/posix/mkfifo.c: ... here.
4533 * sysdeps/unix/mkfifoat.c: Moved ...
4534 * sysdeps/posix/mkfifoat.c: ... here.
4535
4536 * sysdeps/unix/utime.c: Moved ...
4537 * sysdeps/posix/utime.c: ... here.
4538
4539 * sysdeps/unix/time.c: Moved ...
4540 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4541 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4542 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4543
4544 * sysdeps/unix/nice.c: Moved ...
4545 * sysdeps/posix/nice.c: ... here.
4546
4547 * sysdeps/unix/alarm.c: Moved ...
4548 * sysdeps/posix/alarm.c: ... here.
4549
3bd9e993
RM
4550 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4551
d1f09384
JL
45522012-08-17 Jeff Law <law@redhat.com>
4553
4554 * intl/Makefile (codeset_mo): New variable.
4555 ($(codeset_mo)): New target.
4556 (tst-codeset.out): Depend on that. Remove explicit rule.
4557 (tst-gettext3.out, tst-gettext5.out): Likewise.
4558 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4559 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4560 * intl/tst-codeset.sh: Remove.
4561 * intl/tst-gettext3.sh: Likewise.
4562 * intl/tst-gettext5.sh: Likewise.
4563
2ae1ae5c
RM
45642012-08-17 Roland McGrath <roland@hack.frob.com>
4565
c31fdb83
RM
4566 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4567 * sysdeps/unix/syscalls.list: ... here.
4568
a0844057
RM
4569 * sysdeps/posix/getaddrinfo.c
4570 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4571 (gaiconf_init, gaiconf_reload): Use them.
4572 [!_STATBUF_ST_NSEC]
4573 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4574 Define using time_t rather than struct timespec.
4575
750c1f2a
RM
4576 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4577 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4578 Macros removed.
4579 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4580 [!NO_THREADS].
4581 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4582 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4583 Likewise.
4584
2ae1ae5c
RM
4585 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4586 __libc_cleanup_push argument.
4587
e66a42f5
RM
4588 * bits/param.h: New file.
4589 * misc/sys/param.h: New file.
4590 * include/sys/param.h: New file.
4591 * misc/Makefile (headers): Add bits/param.h.
4592 * sysdeps/generic/sys/param.h: File removed.
4593 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4594 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4595 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4596 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4597
b7c08a66
RM
4598 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4599 last change.
4600
b2e1c562
RM
4601 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4602 [_IO_MTSAFE_IO].
4603 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4604 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4605 New macros.
4606
c75ccd4c
RM
4607 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4608 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4609 rather than -D_IO_MTSAFE_IO conditionally.
4610 * stdio-common/Makefile (CPPFLAGS): Likewise.
4611 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4612 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4613 Use $(libio-mtsafe).
4614 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4615 of -D_IO_MTSAFE_IO.
4616 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4617 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4618 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4619 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4620 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4621 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4622 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4623 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4624 (CFLAGS-fread_u_chk.c): Likewise.
4625 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4626 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4627 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4628 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4629 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4630 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4631 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4632 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4633 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4634
4635 * libio/Makefile: Test [$(libc-reentrant) = yes]
4636 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4637
4638 * Makeconfig
4639 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4640 * sysdeps/pthread/configure: File removed.
4641 * sysdeps/pthread/Makeconfig: New file.
4642 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4643 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4644
d9195db8
GB
46452012-08-16 Gary Benson <gbenson@redhat.com>
4646
4647 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4648 unmapping the first object in a namespace.
4649
86466cd9
RM
46502012-08-16 Roland McGrath <roland@hack.frob.com>
4651
4652 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4653 (__internal_setnetgrent): ... this. Add internal_function to
4654 definition. Add libc_hidden_def.
4655 (setnetgrent): Update caller.
4656 (internal_endnetgrent): Renamed to ...
4657 (__internal_endnetgrent): ... this. Add internal_function to
4658 definition. Add libc_hidden_def.
4659 (endnetgrent): Update caller.
4660 (internal_getnetgrent_r): Renamed to ...
4661 (__internal_getnetgrent_r): ... this. Add internal_function to
4662 definition. Add libc_hidden_def.
4663 (__getnetgrent_r): Update caller.
4664 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4665
c3c8283c
JM
46662012-08-16 Joseph Myers <joseph@codesourcery.com>
4667
4668 * stdlib/longlong.h: Update from GCC.
4669
db1ee0a8
RM
46702012-08-16 Roland McGrath <roland@hack.frob.com>
4671
4672 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4673 on _QL, which is set by umul_ppmm but never used.
4674 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4675 variables, which are set by GMP macros but never used.
4676 * stdio-common/_itowa.c (_itowa): Likewise.
4677 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4678 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4679
30f69637
CD
46802012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4681
4682 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4683 struct La_sh_regs is not constant.
4684 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4685 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4686 and struct La_sparc64_regs are not constant.
4687
93a78ac4
JM
46882012-08-16 Joseph Myers <joseph@codesourcery.com>
4689
4690 * sysdeps/unix/sysv/linux/kernel-features.h
4691 (__ASSUME_POSIX_TIMERS): Remove.
4692 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4694 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4695 Make code unconditional.
4696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4697 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4698 Make code unconditional.
4699 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4700 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4701 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4702 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4703 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4704 Make code unconditional.
4705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4706 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4707 (__libc_missing_posix_timers): Remove.
4708
dd924cd7
RM
47092012-08-15 Roland McGrath <roland@hack.frob.com>
4710
4b4f2771
RM
4711 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4712 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4713
601c888b
RM
4714 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4715
176790a7
RM
4716 * elf/dl-sym.c: Include <stdlib.h>.
4717
329bc018
RM
4718 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4719 constants, which avoids warnings in 32-bit builds.
4720
e04e272d
RM
4721 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4722 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4723
952bf94a
RM
4724 * misc/lseek.c: File moved to ...
4725 * io/lseek.c: ... here.
4726
7c99b50a
RM
4727 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4728
dd924cd7
RM
4729 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4730 shifting LEN more than 31 bits at once.
4731
b3f479a8
LD
47322012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4733
4734 [BZ #14195]
8c4ae0d4
RM
4735 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4736 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4737 * string/test-strncasecmp.c (check1): Renamed to...
4738 (bz12205): ...this.
4739 (bz14195): Add new testcase for two empty input strings and N > 0.
4740 (test_main): Call new testcase, adapt for renamed function.
4741
9c55864e
AJ
47422012-08-15 Andreas Jaeger <aj@suse.de>
4743
4744 [BZ #14090]
4745 * crypt/md5test2.c: New test, based on test supplied by Serge
4746 Belyshev <belyshev@depni.sinp.msu.ru>.
4747 * crypt/Makefile (xtests): Add md5test-giant..
4748 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4749
02dcb6c5
PE
47502012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4751
4752 [BZ #14090]
4753 * crypt/md5.c (md5_process_block): Don't assume the buffer
4754 length is less than 2**32.
4755 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4756 length is less than 2**64.
4757
a3f95dcc
RM
47582012-08-15 Roland McGrath <roland@hack.frob.com>
4759
be75d758
RM
4760 * string/str-two-way.h: Include <sys/param.h>.
4761 (MAX): Macro removed.
4762
7312ca90
RM
4763 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4764 Move #define and #undef of memmove to just before and after
4765 including <string.h>.
4766
9a0a5486
RM
4767 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4768 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4769 and after including <string.h>. Move declarations of
4770 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4771 to before #include "string/memmove.c".
4772
67cc348d
RM
4773 * include/dirent.h: Declare __getdirentries.
4774
a3f95dcc
RM
4775 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4776 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4777
ca98e171
MF
47782012-08-14 Mike Frysinger <vapier@gentoo.org>
4779
4780 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4781 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4782 * sysdeps/i386/configure: Regenerated.
4783 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4784 STABS_CURRENT_FILE, and STABS_FUN.
4785 (END): Remove call to STABS_FUN_END.
4786 (STABS_CURRENT_FILE1): Delete.
4787 (STABS_CURRENT_FILE): Likewise.
4788 (STABS_FUN): Likewise.
4789 (STABS_FUN_END): Likewise.
4790 (STABS_FUN2): Likewise.
4791 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4792 * sysdeps/x86_64/configure: Regenerated.
4793
5908bf46
RM
47942012-08-14 Roland McGrath <roland@hack.frob.com>
4795
4796 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4797 * elf/dl-lookup.c: Likewise.
5908bf46 4798
f2c05b9e
JM
47992012-08-14 Joseph Myers <joseph@codesourcery.com>
4800
4801 * sysdeps/unix/sysv/linux/kernel-features.h
4802 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4803 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4804 unconditionally.
4805 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4806 unconditionally.
4807 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4808 condition on __ASSUME_CLONE_THREAD_FLAGS.
4809
e11f5155
AJ
48102012-08-14 Andreas Jaeger <aj@suse.de>
4811
4812 * sysdeps/i386/fpu/libm-test-ulps: Update.
4813
51a9ba86
MK
48142012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4815
2fdd4f78
AJ
4816 * include/atomic.h (atomic_exchange_and_add): Split into ...
4817 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4818 New atomic macros.
51a9ba86 4819
ba6cba9e
MT
48202012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4821
4822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4823
42443a47
JL
48242012-08-13 Jeff Law <law@redhat.com>
4825
4826 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4827 null byte in the output string.
4828
121dce05
JM
48292012-08-10 Joseph Myers <joseph@codesourcery.com>
4830
4831 * sysdeps/unix/sysv/linux/kernel-features.h
4832 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4833 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4834 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4835 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4836 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4837 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4838 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4839
bf51f568
JL
48402012-08-09 Jeff Law <law@redhat.com>
4841
4842 [BZ #13939]
4843 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4844 When avoid_arena is set, don't retry in the that arena. Pick the
4845 next one, whatever it might be.
4846 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4847 (arena_lock): Pass in new parameter to arena_get2.
4848 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4849 arena_get2.
4850 (__libc_malloc): Unify retrying after main arena failure with
4851 __libc_memalign version.
4852 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4853
f85fa270
L
48542012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 [BZ #14166]
4857 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4858 to __redirect_strstr.
4859 (__strstr_sse42): Use typeof __redirect_strstr.
4860 (__strstr_ia32): Likewise.
4861 (__libc_strstr): New prototype.
4862 (strstr): Renamed to ...
4863 (__libc_strstr): This.
4864 (strstr): New strong alias of __libc_strstr.
4865 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4866 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4867 __redirect_time.
4868 Include <time.h>.
4869 (__libc_time): New prototype.
4870 (time_ifunc): Replace time with __libc_time.
4871 (time): New strong alias and hidden definition of __libc_time.
4872 (__GI_time): Remove strong alias.
4873 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4874 Include <stddef.h>.
4875 (memmove): Redefined to __redirect_memmove.
4876 (__memmove_sse2): Use typeof __redirect_memmove.
4877 (__memmove_ssse3): Likewise.
4878 (__memmove_ssse3_back): Likewise.
4879 (__libc_memmove): New prototype.
4880 (memmove): Renamed to ...
4881 (__libc_memmove): This.
4882 (memmove): New strong alias of __libc_memmove.
4883
33b4a91e
MS
48842012-08-08 Mark Salter <msalter@redhat.com>
4885
4886 * elf/elf.h
4887 (R_MN10300_TLS_GD): Define.
4888 (R_MN10300_TLS_LD): Likewise.
4889 (R_MN10300_TLS_LDO): Likewise.
4890 (R_MN10300_TLS_GOTIE): Likewise.
4891 (R_MN10300_TLS_IE): Likewise.
4892 (R_MN10300_TLS_LE): Likewise.
4893 (R_MN10300_TLS_DTPMOD): Likewise.
4894 (R_MN10300_TLS_DTPOFF): Likewise.
4895 (R_MN10300_TLS_TPOFF): Likewise.
4896 (R_MN10300_SYM_DIFF): Likewise.
4897 (R_MN10300_ALIGN): Likewise.
4898 (R_MN10300_NUM): Update.
4899
b36137f1
JM
49002012-08-08 Joseph Myers <joseph@codesourcery.com>
4901
4902 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4903 Remove.
4904
cdd915fd
RM
49052012-08-08 Roland McGrath <roland@hack.frob.com>
4906
a2433aac
RM
4907 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4908
cdd915fd
RM
4909 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4910 sysdeps/unix -> sysdeps/posix move.
4911 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4912
bf9b740a
AM
49132012-08-07 Allan McRae <allan@archlinux.org>
4914
4915 [BZ #14303]
4916 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4917 (SUNOS_CPP): Likewise.
4918 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4919 not found.
4920 (open_input): Call CPP using execvp.
4921
93df14ee
JM
49222012-08-07 Joseph Myers <joseph@codesourcery.com>
4923
4924 * sysdeps/unix/sysv/linux/kernel-features.h
4925 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4926 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4927 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4928 (__ASSUME_WAITID_SYSCALL): Likewise.
4929 * sysdeps/unix/sysv/linux/dl-execstack.c
4930 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4931 code unconditional.
4932 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4933 conditional code.
4934 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4935 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4936 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4937 code.
4938 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4939 unconditional.
4940 [__ASSUME_WAITID_SYSCALL]: Likewise.
4941 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4942
d34689de
RM
49432012-08-07 Roland McGrath <roland@hack.frob.com>
4944
a281decc
RM
4945 * sysdeps/unix/closedir.c: Renamed to ...
4946 * sysdeps/posix/closedir.c: ... here.
4947 * sysdeps/unix/dirfd.c: Renamed to ...
4948 * sysdeps/posix/dirfd.c: ... here.
4949 * sysdeps/unix/dirstream.h: Renamed to ...
4950 * sysdeps/posix/dirstream.h: ... here.
4951 * sysdeps/unix/fdopendir.c: Renamed to ...
4952 * sysdeps/posix/fdopendir.c: ... here.
4953 * sysdeps/unix/opendir.c: Renamed to ...
4954 * sysdeps/posix/opendir.c: ... here.
4955 * sysdeps/unix/readdir.c: Renamed to ...
4956 * sysdeps/posix/readdir.c: ... here.
4957 * sysdeps/unix/readdir_r.c: Renamed to ...
4958 * sysdeps/posix/readdir_r.c: ... here.
4959 * sysdeps/unix/rewinddir.c: Renamed to ...
4960 * sysdeps/posix/rewinddir.c: ... here.
4961 * sysdeps/unix/seekdir.c: Renamed to ...
4962 * sysdeps/posix/seekdir.c: ... here.
4963 * sysdeps/unix/telldir.c: Renamed to ...
4964 * sysdeps/posix/telldir.c: ... here.
4965 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4966 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4967 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4968 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4969
22895b47
RM
4970 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4971 * bits/fcntl.h: ... here.
4972
707a53b6
RM
4973 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4974 not 0.
4975 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4976 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4977 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4978 (struct flock): Move l_start, l_len to the beginning.
4979 Use __pid_t for l_pid.
4980 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4981 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4982 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4983 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4984 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4985 [__USE_LARGEFILE64] (struct flock64): New type.
4986 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4987
f0bd3e25
RM
4988 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4989 * bits/dirent.h: ... here.
4990
d34689de
RM
4991 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4992 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4993
6dad2c06
JM
49942012-08-07 Joseph Myers <joseph@codesourcery.com>
4995
4996 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4997 Change from 2.6.0 to 2.6.16.
4998 * sysdeps/unix/sysv/linux/configure: Regenerated.
4999 * sysdeps/unix/sysv/linux/kernel-features.h
5000 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5001 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5002 version.
5003 (__ASSUME_UTIMES): Likewise.
5004 (__ASSUME_CLONE_STOPPED): Remove.
5005 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5006 architectures, not kernel version.
5007 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5008 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5009 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5010 (__ASSUME_WAITID_SYSCALL): Likewise.
5011 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5012 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5013 * README: State 2.6.16 as minimum Linux kernel version. Do not
5014 refer to older versions.
5015
03af9520
RM
50162012-08-06 Roland McGrath <roland@hack.frob.com>
5017
8e49df1d
RM
5018 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5019 Define alphasort64 as an alias.
5020 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5021 Define versionsort64 as an alias.
5022 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5023 Define scandir64 as an alias.
5024 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5025 Define scandirat64 as an alias.
5026 * dirent/alphasort64.c (alphasort64):
5027 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5028 * dirent/versionsort64.c: Likewise.
5029 * dirent/scandir64.c: Likewise.
5030 * dirent/scandirat64.c: Likewise.
5031 * sysdeps/wordsize-64/alphasort.c: File removed.
5032 * sysdeps/wordsize-64/alphasort64.c: File removed.
5033 * sysdeps/wordsize-64/scandir.c: File removed.
5034 * sysdeps/wordsize-64/scandir64.c: File removed.
5035 * sysdeps/wordsize-64/scandirat.c: File removed.
5036 * sysdeps/wordsize-64/scandirat64.c: File removed.
5037 * sysdeps/wordsize-64/versionsort.c: File removed.
5038 * sysdeps/wordsize-64/versionsort64.c: File removed.
5039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5045 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5047
5048 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5050 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5051 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5052 [defined __arch64__ || defined __sparcv9]
5053 (__INO_T_MATCHES_INO64_T): New macro.
5054 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5055 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5056 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5057 * sysdeps/unix/sysv/linux/bits/dirent.h
5058 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5059 (_DIRENT_MATCHES_DIRENT64): New macro.
5060
03af9520
RM
5061 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5062 Define lockf64 as an alias.
5063 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5064 Define fseeko64 as an alias.
5065 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5066 Define ftello64 as an alias.
5067 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5068 Define _IO_fgetpos64 and fgetpos64 as aliases.
5069 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5070 Define _IO_fsetpos64 and fsetpos64 as aliases.
5071 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5072 Conditionalize body on this.
5073 * libio/fseeko64.c: Likewise.
5074 * libio/ftello64.c: Likewise.
5075 * libio/iofgetpos64.c: Likewise.
5076 * libio/iofsetpos64.c: Likewise.
5077 * sysdeps/wordsize-64/lockf.c: File removed.
5078 * sysdeps/wordsize-64/lockf64.c: File removed.
5079 * sysdeps/wordsize-64/fseeko.c: File removed.
5080 * sysdeps/wordsize-64/fseeko64.c: File removed.
5081 * sysdeps/wordsize-64/ftello.c: File removed.
5082 * sysdeps/wordsize-64/ftello64.c: File removed.
5083 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5084 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5085 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5086 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5087 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5088 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5097
5098 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5099 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5100 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5102 [defined __arch64__ || defined __sparcv9]
5103 (__OFF_T_MATCHES_OFF64_T): New macro.
5104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5105 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5107 (__OFF_T_MATCHES_OFF64_T): New macro.
5108
c5757acd
L
51092012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5110
5111 * stdlib/secure-getenv.c (__secure_getenv): Replace
5112 GLIBC_2_16 with GLIBC_2_17.
5113
3a31811e
L
51142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5115
5116 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5118
faa2bccb
DM
51192012-08-03 David S. Miller <davem@davemloft.net>
5120
5121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5122
85fe1997
JM
51232012-08-03 Joseph Myers <joseph@codesourcery.com>
5124
5125 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5126 Remove.
5127 (__ASSUME_CORRECT_SI_PID): Likewise.
5128 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5129 (__ASSUME_TMPFS_NAME): Likewise.
5130 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5131 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5132 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5133 (HAVE_AUX_SECURE): Make definition unconditional.
5134 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5135 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5136
4f75b7a0
RM
51372012-08-03 Roland McGrath <roland@hack.frob.com>
5138
5139 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5140 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5141 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5142 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5143 __eloop_threshold instead of SYMLOOP_MAX.
5144
5145 * sysdeps/generic/eloop-threshold.h: New file.
5146 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5147 of MAXSYMLINKS.
5148 * elf/chroot_canon.c (chroot_canon): Likewise.
5149
7aab07e4
JM
51502012-08-03 Joseph Myers <joseph@codesourcery.com>
5151
5152 [BZ #13717]
5153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5154 Change to 2.6.0 everywhere.
5155 * sysdeps/unix/sysv/linux/configure: Regenerated.
5156 * sysdeps/unix/sysv/linux/kernel-features.h
5157 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5158 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5159 kernel versions.
5160 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5161 (__ASSUME_FUTEX_REQUEUE): Remove.
5162 (__ASSUME_STATFS64): Define unconditionally.
5163 (__ASSUME_AT_SECURE): Likewise.
5164 (__ASSUME_CORRECT_SI_PID): Likewise.
5165 (__ASSUME_TGKILL): Define without depending on kernel version for
5166 i386.
5167 (__ASSUME_UTIMES): Likewise.
5168 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5169 kernel version.
5170 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5171 (__ASSUME_TMPFS_NAME): Likewise.
5172 * README: Update reference to Linux kernel versions.
5173
b67e9372
MP
51742012-08-02 Marek Polacek <polacek@redhat.com>
5175
1f529f7d 5176 [BZ# 14150]
b67e9372
MP
5177 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5178 libc_cv_asm_type_prefix with %.
5179 * configure: Regenerated.
d2441631
RM
5180 * include/libc-symbols.h: Remove comment about
5181 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5182 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5183 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5184 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5185 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5186 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5187 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5188 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5189 * elf/tst-unique2mod1.c: Likewise.
5190 * elf/tst-unique1mod2.c: Likewise.
5191 * elf/tst-unique1mod1.c: Likewise.
5192 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5193 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5194 Replace ASM_TYPE_DIRECTIVE with .type.
5195 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5196 * sysdeps/i386/sysdep.h: Likewise.
5197 * sysdeps/x86_64/sysdep.h: Likewise.
5198 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5200 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5201 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5202 * sysdeps/powerpc/powerpc32/sysdep.h:
5203 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5204 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5205 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5206 * sysdeps/i386/fpu/e_powf.S: Likewise.
5207 * sysdeps/i386/fpu/e_expl.S: Likewise.
5208 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5209 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5210 * sysdeps/i386/fpu/e_pow.S: Likewise.
5211 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5212 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5213 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5214 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5215 * sysdeps/i386/fpu/e_log2.S: Likewise.
5216 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5217 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5218 * sysdeps/i386/fpu/e_powl.S: Likewise.
5219 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5220 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5221 * sysdeps/i386/fpu/e_logl.S: Likewise.
5222 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5223 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5224 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5225 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5226 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5227 * sysdeps/i386/fpu/e_log.S: Likewise.
5228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5229 * sysdeps/i386/fpu/e_logf.S: Likewise.
5230 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5231 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5233 * sysdeps/i386/fpu/e_log10.S: Likewise.
5234 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5235 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5236 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5237 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5238 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5239 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5241 * sysdeps/i386/i686/strtok.S: Likewise.
5242 * sysdeps/i386/i386-mcount.S: Likewise.
5243 * sysdeps/i386/strtok.S: Likewise.
5244 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5245 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5246 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5247 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5248 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5250 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5251 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5252 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5253 * sysdeps/x86_64/_mcount.S: Likewise.
5254 * sysdeps/x86_64/strtok.S: Likewise.
5255 * sysdeps/sh/_mcount.S: Likewise.
5256
2747bf9a
RM
52572012-08-01 Roland McGrath <roland@hack.frob.com>
5258
5259 * libio/iofopen.c: Include <fcntl.h>.
5260 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5261 (_IO_fopen64, fopen64): Define as aliases.
5262 * libio/iofopen64.c: Include <fcntl.h>.
5263 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5264 Conditionalize body on this.
5265 * sysdeps/wordsize-64/iofopen.c: File removed.
5266 * sysdeps/wordsize-64/iofopen64.c: File removed.
5267
3fb791b8
MP
52682012-08-01 Marek Polacek <polacek@redhat.com>
5269
5270 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5271 Use dlfcn directly instead of a variable.
5272 (binfmt-subdir): Do not define.
5273 (dlfcn): Likewise.
5274
a9f1039f
JM
52752012-08-01 Joseph Myers <joseph@codesourcery.com>
5276
23bddc06
JM
5277 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5278 Remove all definitions.
5279 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5280 <kernel-features.h>.
5281 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5282 (miss_F_GETOWN_EX): Remove all definitions.
5283 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5284 macro definition.
5285 [!__ASSUME_FCNTL64]: Remove conditional code.
5286 [__ASSUME_FCNTL64]: Make code unconditional.
5287 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5288 <kernel-features.h>.
5289 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5290 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5291 (lockf64) [__NR_fcntl64]: Make code unconditional.
5292 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5293
a9f1039f
JM
5294 * sysdeps/unix/sysv/linux/kernel-features.h
5295 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5296 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5297 Make code unconditional.
5298 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5299 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5301 [__NR_vfork]: Make code unconditional.
5302 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5303 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5305 [__NR_vfork]: Make code unconditional.
5306 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5307 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5308
09c0ee5f
RM
53092012-08-01 Roland McGrath <roland@hack.frob.com>
5310
48aec5b9
RM
5311 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5312 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5313
cd97c966
RM
5314 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5315 Define mkstemp64 as an alias.
3f55550c
RM
5316 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5317 Define mkstemps64 as an alias.
cd97c966
RM
5318 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5319 Define mkostemp64 as an alias.
b8625cfc
RM
5320 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5321 Define mkostemps64 as an alias.
cd97c966
RM
5322 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5323 Conditionalize body on this.
5324 * misc/mkostemp64.c: Likewise.
b8625cfc 5325 * misc/mkostemps64.c: Likewise.
3f55550c 5326 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5327 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5328 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5329 * sysdeps/wordsize-64/mkostemp.c: File removed.
5330 * sysdeps/wordsize-64/mkstemp.c: File removed.
5331 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5332 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5334 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5335
09c0ee5f
RM
5336 [BZ #14138]
5337 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5338 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5339 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5340 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5341
5342 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5343 compat_symbol macros from <shlib-compat.h> rather than the underlying
5344 default_symbol_version and symbol_version macros, so that DEFAULT
5345 lines in shlib-versions are respected.
5346 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5347
7e66ee51
FW
53482012-08-01 Florian Weimer <fweimer@redhat.com>
5349
5350 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5351 Declare with warn_unused_result.
5352 (setgid, setregid, setegid, setresgid): Likewise.
5353 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5354 Likewise.
5355 * WUR-REPORT: Remove set*id functions.
5356
d2a54255
PT
53572012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5358
5359 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5360
7ecdb005
RM
53612012-07-31 Roland McGrath <roland@hack.frob.com>
5362
789bd351
RM
5363 * include/sys/socket.h (__libc_accept, __libc_accept4):
5364 Add attribute_hidden.
5365 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5366
40ce302d
RM
5367 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5368 use of PTR_MANGLE.
5369 * inet/getnetgrent_r.c (setup): Likewise.
5370
7ecdb005
RM
5371 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5372
e2eabb2c
DM
53732012-07-31 David S. Miller <davem@davemloft.net>
5374
5375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5376
d0419dbf
JM
53772012-07-31 Joseph Myers <joseph@codesourcery.com>
5378
5379 [BZ #13629]
5380 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5381 value between 1.0 and 2.0 and smaller part has absolute value less
5382 than 1.0.
5383 * math/s_clog10.c (__clog10): Likewise.
5384 * math/s_clog10f.c (__clog10f): Likewise.
5385 * math/s_clog10l.c (__clog10l): Likewise.
5386 * math/s_clogf.c (__clogf): Likewise.
5387 * math/s_clogl.c (__clogl): Likewise.
5388 * math/libm-test.inc (clog_test): Add more tests.
5389 (clog10_test): Likewise.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392
2bc13872
FW
53932012-07-31 Florian Weimer <fweimer@redhat.com>
5394
5395 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5396 Exit with zero in case no suitable GID is found, and write a
5397 message to standard error.
5398
bea9b193
RM
53992012-07-30 Roland McGrath <roland@hack.frob.com>
5400
5401 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5402 rather than to 1.
5403 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5404 (MAXPATHLEN): Removed.
5405 (NOGROUP, NODEV): New macros.
5406 (setbit, clrbit, isset, isclr): New macros.
5407 (howmany, roundup, powerof2): New macros.
5408 (DEV_BSIZE): New macro.
5409
5410 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5411 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5412
5413 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5414 definition on [!__NO_LONG_DOUBLE_MATH].
5415
5416 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5417 PTR_MANGLE and PTR_DEMANGLE.
5418
5419 * socket/accept4.c (accept4): Rename to __libc_accept4.
5420 Define accept4 as a weak alias.
5421
5422 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5423 on [_DIRENT_HAVE_D_TYPE].
5424 * io/ftw.c (ftw_dir): Likewise.
5425
5426 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5427
5428 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5429
5430 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5431 Use the BSD numbers rather than the arbitrary ones we had.
5432 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5433 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5434 (SIGXCPU, SIGXFSZ): New macros.
5435 (_NSIG): Now 32.
5436
5437 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5438 initializer on [_LIBC_REENTRANT].
5439
5440 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5441 definitions inside [_POSIX_MAPPED_FILES].
5442
5443 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5444
5445 * dirent/opendir.c: Include <fcntl.h>.
5446
5447 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5448 (__libc_getspecific): Likewise.
5449 (__libc_key_create): Likewise.
5450
5451 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5452 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5453 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5454 (tmpfile64): Define as alias.
5455 * sysdeps/wordsize-64/tmpfile.c: File removed.
5456 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5458 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5459
5460 * stdio-common/vfscanf.c: Include <stdbool.h>.
5461 * nss/makedb.c: Likewise.
5462 * stdio-common/_i18n_number.h: Likewise.
5463 * argp/argp-help.c: Likewise.
5464 * posix/wordexp.c: Likewise.
5465 * sysdeps/posix/spawni.c: Likewise.
5466 * nss/nss_files/files-initgroups.c: Likewise.
5467 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5468 * nss/nss_files/files-initgroups.c: Likewise.
5469 * nss/nss_db/db-netgrp.c: Likewise.
5470 * nss/nss_db/db-initgroups.c: Likewise.
5471 * io/fchmodat.c: Include <sys/stat.h>.
5472
5473 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5474 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5475
5476 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5477 [HAVE_MMAP].
5478
5479 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5480 Add multiple inclusion protection.
5481
e5abc686
DM
54822012-07-27 David S. Miller <davem@davemloft.net>
5483
5484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5485
815e6fa3
GB
54862012-07-27 Gary Benson <gbenson@redhat.com>
5487
5488 [BZ #14298]
5489 * elf/rtld.c: Include <stap-probe.h>.
5490 (dl_main): Added static probes "init_start" and "init_complete".
5491 * elf/dl-load.c: Include <stap-probe.h>.
5492 (lose): Take new parameter "nsid".
5493 Added static probe "map_failed".
5494 (_dl_map_object_from_fd): Pass namespace id to lose.
5495 Added static probe "map_start".
5496 (open_verify): Pass namespace id to lose.
5497 * elf/dl-open.c: Include <stap-probe.h>.
5498 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5499 and "reloc_complete".
5500 * elf/dl-close.c: Include <stap-probe.h>.
5501 (_dl_close_worker): Added static probes "unmap_start" and
5502 "unmap_complete".
5503 * elf/rtld-debugger-interface.txt: New file documenting the above.
5504
9f98c16c
RM
55052012-07-26 Roland McGrath <roland@hack.frob.com>
5506
5507 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5508 rather than a string variable.
5509 * sunrpc/rpc_main.c (h_output): Likewise.
5510 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5511
f3c22df3
PT
55122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5513
5514 * inet/check_native.c: New file.
5515
3129cfc6
JM
55162012-07-26 Joseph Myers <joseph@codesourcery.com>
5517
da865e95
JM
5518 [BZ #13629]
5519 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5520 if larger part has absolute value 1.0.
5521 * math/s_clog10.c (__clog10): Likewise.
5522 * math/s_clog10f.c (__clog10f): Likewise.
5523 * math/s_clog10l.c (__clog10l): Likewise.
5524 * math/s_clogf.c (__clogf): Likewise.
5525 * math/s_clogl.c (__clogl): Likewise.
5526 * math/libm-test.inc (clog_test): Add more tests.
5527 (clog10_test): Likewise.
5528 * sysdeps/i386/fpu/libm-test-ulps: Update.
5529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5530
3129cfc6
JM
5531 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5532 (pltexit): Likewise.
5533 (La_regs): Likewise.
5534 (La_retval): Likewise.
5535 (int_retval): Likewise.
5536 Update #error for removed macros to refer only to definitions in
5537 tst-audit.h.
5538 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5539 macro.
5540 (pltexit): Likewise.
5541 (La_regs): Likewise.
5542 (La_retval): Likewise.
5543 (int_retval): Likewise.
5544 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5545 macro.
5546 (pltexit): Likewise.
5547 (La_regs): Likewise.
5548 (La_retval): Likewise.
5549 (int_retval): Likewise.
5550 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5551 macro.
5552 (pltexit): Likewise.
5553 (La_regs): Likewise.
5554 (La_retval): Likewise.
5555 (int_retval): Likewise.
5556 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5557 macro.
5558 (pltexit): Likewise.
5559 (La_regs): Likewise.
5560 (La_retval): Likewise.
5561 (int_retval): Likewise.
5562 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5563 macro.
5564 (pltexit): Likewise.
5565 (La_regs): Likewise.
5566 (La_retval): Likewise.
5567 (int_retval): Likewise.
5568 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5569 macro.
5570 (pltexit): Likewise.
5571 (La_regs): Likewise.
5572 (La_retval): Likewise.
5573 (int_retval): Likewise.
5574 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5575 macro definitions in tst-audit.h.
5576 * sysdeps/i386/tst-audit.h: New file.
5577 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5578 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5579 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5580 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5581 * sysdeps/sh/tst-audit.h: Likewise.
5582 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5583 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5584 * sysdeps/x86_64/tst-audit.h: Likewise.
5585
bfc07087
AJ
55862012-07-26 Andreas Jaeger <aj@suse.de>
5587
b1b2aaf8
AJ
5588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5589 ptrace.
5590
5591 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5592 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5593 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5594 PTRACE_O_MASK.
5595 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5596 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5598
bfc07087
AJ
5599 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5600 value.
5601
5602 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5603 _sigsys.
5604 (si_call_addr, si_syscall, si_arch): Define new macro.
5605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5606 _sigsys.
5607 (si_call_addr, si_syscall, si_arch): Define new marcro.
5608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5609 _sigsys.
5610 (si_call_addr, si_syscall, si_arch): Define new macro.
5611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5612 _sigsys.
5613 (si_call_addr, si_syscall, si_arch): Define new macro.
5614
89b4b02f
JM
56152012-07-25 Joseph Myers <joseph@codesourcery.com>
5616
5617 [BZ #13717]
5618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5619 Change to 2.4.21 where previously 2.4.1.
5620 * sysdeps/unix/sysv/linux/configure: Regenerated.
5621 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5622 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5623 Linux kernel version.
5624 (__ASSUME_STD_AUXV): Remove.
5625 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5626 kernel version.
5627 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5628 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5629 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5630 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5631 (__ASSUME_NETLINK_SUPPORT): Likewise.
5632 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5633 (__no_netlink_support): Remove conditional definition.
5634 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5635 Remove.
5636 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5637 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5638 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5639 (if_nameindex_ioctl): Remove.
5640 (if_nameindex_netlink): Do not handle __no_netlink_support.
5641 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5642 code.
5643 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5644 Remove conditional code.
5645 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5646 code.
5647 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5648 unconditional.
5649 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5650 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5651 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5652 Remove.
5653 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5654 [!__ASSUME_STD_AUXV]: Remove conditional code.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5656 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5657 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5659 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5660 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5661 code.
5662 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5664 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5665 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5666 conditional code.
5667 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5669 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5670 code.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5672 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5673 conditional code.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5675 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5676 code unconditional.
5677 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5678 conditional code.
5679 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5680 unconditional.
5681 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5682 conditional code.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5684 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5685 unconditional.
5686 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5687 conditional code.
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5689 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5690 code unconditional.
5691 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5692 conditional code.
5693 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5694 unconditional.
5695 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5696 conditional code.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5698 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5699 code unconditional.
5700 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5701 conditional code.
5702 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5703 unconditional.
5704 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5705 conditional code.
5706
842a39cd
AS
57072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5708
5709 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5710 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5711 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5712 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5713 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5714 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5715 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5716 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5717 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5718 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5719 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5720 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5721 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5722 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5723 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5724 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5725 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5727 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5729 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5730 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5731 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5732
84b3fd84
FW
57332012-07-25 Florian Weimer <fweimer@redhat.com>
5734
5735 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5736 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5737 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5738 Introduce __libc_secure_getenv.
0c7936d5
FW
5739 * stdlib/Versions (2.17): Add secure_getenv
5740 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5741 * stdlib/secure-getenv.c: Rename __secure_getenv to
5742 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5743 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5744 * stdlib/tst-secure-getenv.c: New.
5745 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5746 * manual/startup.texi (Environment Access): Document
5747 secure_getenv.
84b3fd84
FW
5748 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5749 __libc_secure_getenv.
5750 * inet/ruserpass.c (ruserpass): Likewise.
5751 * malloc/mtrace.c (mtrace): Likewise.
5752 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5753 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5754 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5755 * sysdeps/posix/tempname.c: Likewise. Evaluate
5756 HAVE_SECURE_GETENV.
5757 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5758 __secure_getenv to __libc_secure_getenv.
84b3fd84 5759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5761 Likewise.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5763 Likewise.
5764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5771
56e49b71
JM
57722012-07-25 Joseph Myers <joseph@codesourcery.com>
5773
5774 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5775 (struct La_i86_retval): Likewise.
5776 (struct La_x86_64_regs): Likewise.
5777 (struct La_x86_64_retval): Likewise.
5778 (struct La_x32_regs): Likewise.
5779 (struct La_x32_retval): Likewise.
5780 (struct La_ppc32_regs): Likewise.
5781 (struct La_ppc32_retval): Likewise.
5782 (struct La_ppc64_regs): Likewise.
5783 (struct La_ppc64_retval): Likewise.
5784 (struct La_sh_regs): Likewise.
5785 (struct La_sh_retval): Likewise.
5786 (struct La_s390_32_regs): Likewise.
5787 (struct La_s390_32_retval): Likewise.
5788 (struct La_s390_64_regs): Likewise.
5789 (struct La_s390_64_retval): Likewise.
5790 (struct La_sparc32_regs): Likewise.
5791 (struct La_sparc32_retval): Likewise.
5792 (struct La_sparc64_regs): Likewise.
5793 (struct La_sparc64_retval): Likewise.
5794 (struct audit_ifaces): Remove architecture-specific pltenter and
5795 pltexit members.
5796 * sysdeps/i386/ldsodefs.h: New file.
5797 * sysdeps/powerpc/ldsodefs.h: Likewise.
5798 * sysdeps/s390/ldsodefs.h: Likewise.
5799 * sysdeps/sh/ldsodefs.h: Likewise.
5800 * sysdeps/sparc/ldsodefs.h: Likewise.
5801 * sysdeps/x86_64/ldsodefs.h: Likewise.
5802
354691b7
MP
58032012-07-25 Marek Polacek <polacek@redhat.com>
5804
5805 [BZ #6808]
5806 * math/libm-test.inc (yn_test): Add another test.
5807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5808 to ERANGE when the result is +-Inf.
5809 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5810 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5811 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5812 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5813
bf9e2071
JM
58142012-07-24 Joseph Myers <joseph@codesourcery.com>
5815
5816 * conform/data/time.h-data (NULL): Use macro-constant. Require
5817 equal to 0.
5818 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5819 clock_t.
5820 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5821
57633811
TS
58222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5823
5824 * configure.in <sysdeps resolving>: Correct printing
5825 Implies_before.
5826 * configure: Regenerate.
5827
c23c33b0
TS
58282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5829
5830 * math/w_ilogb.c: Include <limits.h>.
5831 * math/w_ilogbl.c: Likewise.
5832
b5982523
JM
58332012-07-20 Joseph Myers <joseph@codesourcery.com>
5834
5835 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5836 va_copy. Document allowing for unavailable va_copy only as
5837 pre-C99 compatibility.
5838 * manual/string.texi (Copying and Concatenation): Use va_copy
5839 instead of __va_copy in concat example.
5840
ac4ea442
PT
58412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5842
5843 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5844 (__sendto): Use create_address_port. Initialize APORT and deallocate
5845 it if not null.
5846
f98eafbd
PT
5847 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5848 with O_NOLINK passed to __file_name_lookup.
5849
898c7aab
PT
5850 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5851 with O_NOLINK passed to __file_name_lookup.
5852
0ced335a
PT
5853 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5854 negative N or less than NGIDS.
5855
b3404dbd
PT
5856 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5857 type to string_t. Set ERANGE as errno and return it if NAME is not big
5858 enough. Use memcpy instead of strncpy.
5859
0f48659e
JM
58602012-07-20 Joseph Myers <joseph@codesourcery.com>
5861
5862 * elf/Makefile (check-data): Remove.
5863 (localplt.data): New vpath directive.
5864 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5865 instead of $(check-data).
5866 * scripts/data/localplt-generic.data: Move to ...
5867 * sysdeps/generic/localplt.data: ... here.
5868 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5869 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5870 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5872 ... here.
5873 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5875 ... here.
5876 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5878 ... here.
5879 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5881 ... here.
5882 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5884 ... here.
5885 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5887 ... here.
5888
d37cbdaa
AZ
58892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5890
5891 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5892 PPC32 and PPC64 files.
5893 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5894 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5895
46f85fc2
AK
58962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5897
5898 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5899 __makecontext_ret to ...
5900 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5901 ... here and call exit if uc_link is NULL. New file.
5902 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5903 __makecontext_ret.S.
5904 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5905 __makecontext_ret to ...
5906 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5907 ... here and call exit if uc_link is NULL. New file.
5908 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5909 __makecontext_ret.S.
5910
08f43f9b
AK
59112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5912
5913 * elf/elf.h (R_390_IRELATIVE): New definition.
5914 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5915 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5916 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5918 (elf_machine_lazy_rel): Likewise.
5919 * sysdeps/s390/dl-irel.h: New file.
5920 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5921 * sysdeps/s390/s390-64/memset.S: New asm code.
5922 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5923 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5924 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5925 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5926 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5927 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5929 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5930 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5931 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5932 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5933 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5934 * sysdeps/s390/s390-32/memset.S: New asm code.
5935 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5936
3b05db33
MP
59372012-07-17 Marek Polacek <polacek@redhat.com>
5938
5939 [BZ #14349]
5940 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5941 * sysdeps/s390/s390-64/configure.in: Likewise.
5942 * sysdeps/sparc/configure.in: Likewise.
5943 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5944 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5945 * sysdeps/i386/configure.in: Likewise.
5946 * sysdeps/x86_64/configure.in: Likewise.
5947 * sysdeps/sh/configure.in: Likewise.
5948 * sysdeps/s390/s390-32/configure: Regenerated.
5949 * sysdeps/s390/s390-64/configure: Likewise.
5950 * sysdeps/x86_64/configure: Likewise.
5951 * sysdeps/sh/configure: Likewise.
5952 * sysdeps/powerpc/powerpc64/configure: Likewise.
5953 * sysdeps/powerpc/powerpc32/configure: Likewise.
5954 * sysdeps/sparc/configure: Likwise.
5955 * sysdeps/i386/configure: Likewise.
5956
a66877c6
MP
5957 * elf/dl-open.c: Comment fixes.
5958
cfc82fd8
JM
59592012-07-17 Joseph Myers <joseph@codesourcery.com>
5960
bd29910a
JM
5961 * Makefile [CXX] (check-data): Remove.
5962 [CXX] (c++-types.data): New vpath directive.
5963 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5964 vpath. Do not allow for C++ type data being missing.
5965 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5966 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5967 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5968 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5969 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5970 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5971 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5973 ... here.
5974 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5976 ... here.
5977 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5979 ... here.
5980 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5982 ... here.
5983 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5985 ... here.
5986 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5988 ... here.
5989 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5991 ... here.
5992 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5994
cfc82fd8
JM
5995 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5996 definitions to architecture-specific files.
5997 (TLS_IE): Likewise.
5998 (TLS_LD): Likewise.
5999 (TLS_GD): Likewise.
6000 * sysdeps/i386/tls-macros.h: New file.
6001 * sysdeps/powerpc/tls-macros.h: Likewise.
6002 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6003 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6004 * sysdeps/sh/tls-macros.h: Likewise.
6005 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6006 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6007 * sysdeps/x86_64/tls-macros.h: Likewise.
6008
f7db3170
TS
60092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6010
07cbfc23
TS
6011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6012 zero value for regular exit case.
6013
f7db3170
TS
6014 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6015 (__start_context): Preserve zero value for regular exit case.
6016
dc97c227
TS
60172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6018 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6019
6020 * manual/setjmp.texi (setcontext): Clarify normal process
6021 termination when uc_link is the null pointer.
6022 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6023 exit call.
6024
d0cd7d02
AS
60252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6028 preprocessor. Test for each exception mask separately.
6029
dd318934
AJ
60302012-07-16 Andreas Jaeger <aj@suse.de>
6031
6032 * po/ru.po: Update from translation team.
6033
8048311a
JM
60342012-07-15 Joseph Myers <joseph@codesourcery.com>
6035
6036 * conform/data/string.h-data (NULL): Use macro-constant. Require
6037 equal to 0.
6038 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6039 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6040 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6041 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6043
b637d46e
AJ
60442012-07-13 Andreas Jaeger <aj@suse.de>
6045
6046 * po/fr.po: Update from translation team.
6047
541428fe
MP
60482012-07-12 Marek Polacek <polacek@redhat.com>
6049
6050 [BZ #14173]
6051 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6052 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6053 loop condition.
6054
ec332e94
JM
60552012-07-12 Joseph Myers <joseph@codesourcery.com>
6056
6057 [BZ #13717]
6058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6059 Change to 2.4.1 where previously 2.4.0.
6060 * sysdeps/unix/sysv/linux/configure: Regenerated.
6061 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6062 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6063 version.
6064 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6065 (__ASSUME_AT_CLKTCK): Remove.
6066 (__ASSUME_AT_PAGESIZE): Likewise.
6067 (__ASSUME_AT_XID): Likewise.
6068 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6069 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6070 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6071 unconditionally.
6072 (HAVE_AUX_PAGESIZE): Likewise.
6073 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6074 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6075 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6076
7b6e99be
JB
60772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6078
6079 [BZ #14307]
6080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6081 the temporary buffer used to invoke __gethostbyname2_r,
6082 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6083 host_data / struct gaih_addrtuple.
6084 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6085 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6086 header file nss/nsswitch.h.
6087 * nss/nsswitch.h (global scope): Add definition of implementation
6088 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6089 resolv/nss_dns/dns-host.c).
6090
608404eb
AJ
60912012-07-11 Andreas Jaeger <aj@suse.de>
6092
6093 * po/fr.po: Update from translation team.
6094
71220aca
AJ
6095 * po/sv.po: Update from translation team
6096 * po/fr.po: Another update from translation team.
6097
28cfe843
AZ
60982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099
6100 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6101 for subnormals or multiply small sinh result by itself.
6102 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6104
6b90f981
DM
61052012-07-11 David S. Miller <davem@davemloft.net>
6106
6107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6108
c6825772
AS
61092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6110
6111 [BZ #14347]
6112 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6113 (INTERNAL_MARK): Shift it here.
6114
7b8e0d49
MP
61152012-07-10 Marek Polacek <polacek@redhat.com>
6116
6117 [BZ #14151]
6118 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6119 libc_cv_asm_global_directive with .globl.
6120 * configure: Regenerated.
6121 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6122 with .globl.
6123 * sysdeps/i386/configure: Regenerated.
6124 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6125 with .globl.
6126 * sysdeps/x86_64/configure: Regenerated.
6127 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6128 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6129 * elf/tst-unique2mod2.c: Likewise.
6130 * elf/tst-unique2mod1.c: Likewise.
6131 * elf/tst-unique1mod2.c: Likewise.
6132 * elf/tst-unique1mod1.c: Likewise.
6133 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6134 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6136 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6137 * sysdeps/mach/sysdep.h: Likewise.
6138 * sysdeps/i386/sysdep.h: Likewise.
6139 * sysdeps/i386/i386-mcount.S: Likewise.
6140 * sysdeps/x86_64/_mcount.S: Likewise.
6141 * sysdeps/x86_64/sysdep.h: Likewise.
6142 * sysdeps/sh/_mcount.S: Likewise.
6143 * sysdeps/sh/sysdep.h: Likewise.
6144 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6145 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6146 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6147 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6148 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6149 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6150 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6151 * locale/localeinfo.h: Likewise.
6152 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6153 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6154
6c55cda3
RM
61552012-07-09 Roland McGrath <roland@hack.frob.com>
6156
6157 [BZ #14336]
6158 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6159 system".
6160 * manual/message.texi (The Uniforum approach): Likewise.
6161 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6162 (glibc iconv Implementation): Likewise.
6163
638a572e
JM
61642012-07-09 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #14337]
6167 * math/s_clog.c (__clog): Avoid scaling a value down where that
6168 could result in underflow.
6169 * math/s_clog10.c (__clog10): Likewise.
6170 * math/s_clog10f.c (__clog10f): Likewise.
6171 * math/s_clog10l.c (__clog10l): Likewise.
6172 * math/s_clogf.c (__clogf): Likewise.
6173 * math/s_clogl.c (__clogl): Likewise.
6174 * math/libm-test.inc (clog_test): Add more tests.
6175 (clog10_test): Likewise.
6176 * sysdeps/i386/fpu/libm-test-ulps: Update.
6177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6178
261f4859
AS
61792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6180
0abaf3e4
AS
6181 [BZ #14283]
6182 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6183 by 7 not 8 to examine high bit of fractional part.
6184
261f4859
AS
6185 [BZ #14042]
6186 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6187 for call to __mcount_internal.
6188 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6189 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6190 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6191
f17ac40d
JM
61922012-07-06 Joseph Myers <joseph@codesourcery.com>
6193
9ad63c23
JM
6194 [BZ #14154]
6195 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6196 approximation for values within 0x1p-13f of an odd multiple of
6197 pi/4.
6198 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6199 exception. Add more tests.
6200 * sysdeps/i386/fpu/libm-test-ulps: Update.
6201
f17ac40d
JM
6202 [BZ #6778]
6203 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6204 inputs and return -1 for them. Do not check for +Inf in case not
6205 reachable for +Inf.
6206 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6207 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6209 and return -1 for them. Do not check for +Inf in case not
6210 reachable for +Inf.
6211 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6212 define.
6213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6214 and return -1 for them. Do not check for +Inf in case not
6215 reachable for +Inf.
6216 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6217 spurious underflow.
6218 * sysdeps/i386/fpu/libm-test-ulps: Update.
6219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6220
fb21f89b
MF
62212012-07-06 Mike Frysinger <vapier@gentoo.org>
6222
6223 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6224
cdfe2c5e
JM
62252012-07-05 Joseph Myers <joseph@codesourcery.com>
6226
6227 [BZ #14157]
6228 [BZ #14331]
6229 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6230 could result in spurious underflow. Scale down values above
6231 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6232 * math/s_csqrtf.c (__csqrtf): Likewise.
6233 * math/s_csqrtl.c (__csqrtl): Likewise.
6234 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6235 spurious underflow.
6236 * sysdeps/i386/fpu/libm-test-ulps: Update.
6237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6238
70d35b67
AS
62392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6240
704bc459
AS
6241 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6242 xopen-msg.sed.
6243 * catgets/xopen-msg.awk: New file.
6244 * catgets/xopen-msg.sed: Removed.
6245
70d35b67
AS
6246 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6247 po2text.sed.
6248 * intl/po2test.awk: New file.
6249 * intl/po2test.sed: Removed.
6250
ca61cf32
JM
62512012-07-04 Joseph Myers <joseph@codesourcery.com>
6252
6253 [BZ #14328]
6254 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6255 or multiply small sinh result by itself.
6256 * math/s_ctanf.c (__ctanf): Likewise.
6257 * math/s_ctanh.c (__ctanh): Likewise.
6258 * math/s_ctanhf.c (__ctanhf): Likewise.
6259 * math/s_ctanhl.c (__ctanhl): Likewise.
6260 * math/s_ctanl.c (__ctanl): Likewise.
6261 * math/libm-test.inc (ctan_test_tonearest): New function.
6262 (ctan_test_towardzero): Likewise.
6263 (ctan_test_downward): Likewise.
6264 (ctan_test_upward): Likewise.
6265 (ctanh_test_tonearest): Likewise.
6266 (ctanh_test_towardzero): Likewise.
6267 (ctanh_test_downward): Likewise.
6268 (ctanh_test_upward): Likewise.
6269 (main): Call these new functions.
6270 * sysdeps/i386/fpu/libm-test-ulps: Update.
6271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6272
ca48a46a
MF
62732012-07-03 Mike Frysinger <vapier@gentoo.org>
6274
6275 * .gitignore: Delete /ports entry.
6276
9d63d37d
AJ
62772012-07-03 Andreas Jaeger <aj@suse.de>
6278
6279 * po/bg.po: Update from translation team.
6280 * po/cs.po: Likewise.
6281 * po/de.po: Likewise.
6282 * po/hr.po: Likewise.
6283 * po/nl.pl: Likewise.
6284 * po/pl.po: Likewise.
6285 * po/vi.po: Likewise.
6286
370ca3d2
JM
62872012-07-03 Joseph Myers <joseph@codesourcery.com>
6288
95f5a9a8
JM
6289 * Makeconfig [!+link] (+link-before-libc): New variable.
6290 [!+link] (+link-after-libc): Likewise.
6291 [!+link] (+link-tests): Likewise.
6292 [!+link] (+link): Define in terms of $(+link-before-libc) and
6293 $(+link-after-libc).
6294 [!+link-static] (+link-static-before-libc): New variable.
6295 [!+link-static] (+link-static-after-libc): Likewise.
6296 [!+link-static] (+link-static-tests): Likewise.
6297 [!+link-static] (+link-static): Define in terms of
6298 $(+link-static-before-libc) and $(+link-static-after-libc).
6299 [build-shared] (link-libc-before-gnulib): New variable.
6300 [build-shared] (link-libc-tests): Likewise.
6301 [build-shared] (link-libc): Define in terms of
6302 $(link-libc-before-gnulib).
6303 [!build-shared] (link-libc-tests): New variable.
6304 (link-libc-static-tests): New variable.
6305 [!gnulib] (gnulib-arch): New variable.
6306 [!gnulib] (gnulib-tests): Likewise.
6307 [!gnulib] (static-gnulib-arch): Likewise.
6308 [!gnulib] (static-gnulib-tests): Likewise.
6309 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6310 Define with "=" instead of ":=".
6311 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6312 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6313 * Rules (binaries-all-notests): New variable.
6314 (binaries-all-tests): Likewise.
6315 (binaries-static-notests): Likewise.
6316 (binaries-static-tests): Likewise.
6317 (binaries-all): Define using $(binaries-all-notests) and
6318 $(binaries-all-tests).
6319 (binaries-static): Define using $(binaries-static-notests) and
6320 $(binaries-static-tests).
6321 (binaries-shared-tests): New variable.
6322 (binaries-shared-notests): Likewise.
6323 (binaries-shared): Remove variable.
6324 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6325 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6326 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6327 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6328 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6329 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6330 * elf/Makefile (sln-modules): New variable.
6331 (extra-objs): Add $(sln-modules:=.o).
6332 (ldconfig-modules): Add static-stubs.
6333 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6334 * elf/static-stubs.c: New file.
6335
7a845b2c
JM
6336 [BZ #14283]
6337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6338 by 7 not 8 to examine high bit of fractional part. Use volatile
6339 variables when splitting into final array of floats if
6340 __FLT_EVAL_METHOD__ != 0.
6341 * math/libm-test.inc (cos_test): Add another test.
6342 (sin_test): Likewise.
6343 * sysdeps/i386/fpu/libm-test-ulps: Update.
6344
e2283f38
JM
6345 [BZ #14273]
6346 * math/libm-test.inc (cosh_test): Add more tests.
6347
370ca3d2
JM
6348 * version.h (RELEASE): Set to "development".
6349 (VERSION): Set to "2.16.90".
6350
ee9247c3
CD
63512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6352
6353 * NEWS: Update copyright. Remove last-updated date.
6354 Mention math library bug fixes and timezone data changes.
6355 * README: Mention GNU/Hurd, x32, and HPPA support status.
6356
4648c381
TS
63572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6358
6359 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6360
aac78a43
AJ
63612012-06-27 Andreas Jaeger <aj@suse.de>
6362
6363 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6364
ed3dbfad
AJ
63652012-06-25 Andreas Jaeger <aj@suse.de>
6366
6367 * sysdeps/s390/fpu/libm-test-ulps: Update.
6368
4d0ee855
AS
63692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6370 Thomas Schwinge <thomas@codesourcery.com>
6371
6372 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6373 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6375 fanotify_mark.
6376
af1bce34
TS
63772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6378
a9fa33ba
TS
6379 * sysdeps/mach/start.c: Remove file.
6380 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6381 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6382 * sysdeps/sh/init-first.c: Likewise.
6383
58f902b8
TS
6384 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6385 registers for frame unwinding purposes, add CFI directives.
6386 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6387 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6388 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6389 Likewise.
6390
1518f58b
TS
6391 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6392 __fortify_fail returning.
6393 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6394
db9b5059
TS
6395 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6396 sysdeps/sh/____longjmp_chk.S.
6397 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6398 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6399 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6400 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6401
967705fe
TS
6402 * sysdeps/sh/abort-instr.h: New file.
6403 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6404 process in case exit returns.
6405
a9def8c4
TS
6406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6407 initialize the GOT register before use.
6408
2a649725
TS
6409 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6410 calculation of ARGC > 4.
6411
af1bce34
TS
6412 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6413 meaningful names to some local labels.
6414
d230f50a
KK
64152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6416 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6417
6418 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6419 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6420 (__arch_compare_and_exchange_val_16_acq): Likewise.
6421 (__arch_compare_and_exchange_val_32_acq): Likewise.
6422 (atomic_exchange_and_add): Fix gUSA sequence.
6423 (atomic_add): Likewise.
6424 (atomic_add_negative): Likewise.
6425 (atomic_add_zero): Likewise.
6426 (atomic_bit_test_set): Likewise.
6427
0479b305
AS
64282012-06-22 Andreas Schwab <schwab@redhat.com>
6429
6430 [BZ #13579]
6431 * include/link.h (struct link_map): Add l_free_initfini.
6432 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6433 l_initfini.
6434 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6435 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6436 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6437 set.
6438
0e3933b9
CD
64392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6440
6441 * configure.in: Use AC_LANG_SOURCE.
6442 * configure: Regenerate.
6443
4248b1b1
RM
64442012-06-22 Roland McGrath <roland@hack.frob.com>
6445
6446 * configure.in (libc_cv_localstatedir): New substituted variable.
6447 * configure: Regenerated.
6448 * config.make.in (localstatedir): New variable, substituted from
6449 libc_cv_localstatedir.
6450 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6451 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6452 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6453 * sysdeps/gnu/configure: Regenerated.
6454
006dd861
JL
64552012-06-21 Jeff Law <law@redhat.com>
6456
6457 [BZ #14277]
6458 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6459 free. Simplify list management for _LIBC case.
6460
79662d42
JM
64612012-06-21 Joseph Myers <joseph@codesourcery.com>
6462
b7abb4bf
JM
6463 [BZ #14273]
6464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6465 Clear sign bit of 64-bit integer value before comparing against
6466 overflow value.
6467
79662d42
JM
6468 * sysdeps/mach/configure: Regenerated.
6469
1f150908
L
64702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6471
6472 [BZ #14278]
6473 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6474
28363bbf
JL
64752012-06-21 Jeff Law <law@redhat.com>
6476
6477 [BZ #13882]
6478 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6479 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6481 * elf/dl-open.c (dl_open_worker): Likewise.
6482
09615db4
CD
64832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6484
6485 * scripts/list-sources.sh: Scan PORTS for translations.
6486 * po/libc.pot: Regenerated.
6487
2174c6dd
AJ
64882012-06-21 Andreas Jaeger <aj@suse.de>
6489
6490 [BZ #12194]
6491 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6492 warning.
6493 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6494 * bits/byteswap-16.h (__bswap_16): Likewise.
6495 * bits/byteswap.h (__bswap_constant_16): Likewise.
6496
3ee947b1
L
64972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6498
6499 [BZ #14117]
a2f34833
L
6500 * sysdeps/i386/fpu_control.h: Removed.
6501 * sysdeps/x86_64/fpu_control.h: Moved to ...
6502 * sysdeps/x86/fpu_control.h: Here.
6503
3ee947b1
L
6504 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6505 (_FPU_SETCW): Likewise.
6506
ed1825f8
L
65072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6508
25f1282a
L
6509 [BZ #14117]
6510 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6511 * sysdeps/x86/fpu/bits/mathinline.h: This.
6512 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6513
ed1825f8
L
6514 [BZ #14050]
6515 [BZ #14117]
6516 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6517 functions if __x86_64__ is defined.
6518
36d54b74
CLT
65192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6520
6521 * string/endian.h: Add !__ASSEMBLER__ condition for including
6522 conversion interfaces.
6523
10285c21
JM
65242012-06-15 Joseph Myers <joseph@codesourcery.com>
6525
6526 [BZ #14241]
6527 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6528 of ABS(x) in calculating zero to negative powers other than odd
6529 integers.
6530 * math/libm-test.inc (pow_test): Add more tests.
6531
06c5abbd
AJ
65322012-06-15 Andreas Jaeger <aj@suse.de>
6533
6534 * manual/contrib.texi (Contributors): Update entry of Liubov
6535 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6536 Machado Filho.
6537
a3aeac40
CH
65382012-06-15 Cyril Hrubis <metan@ucw.cz>
6539
6540 * string/string.h: Add __wur to GNU version of strerror_r.
6541
49bdf4c1
L
65422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6543
6544 [BZ #14229]
6545 * string/Makefile (tests): Add tst-strtok_r.
6546 * string/tst-strtok_r.c: New file.
6547 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6548 RAX_LP/RDX_LP on SAVE_PTR.
6549
834f9b8d
RM
65502012-06-14 Roland McGrath <roland@hack.frob.com>
6551
6552 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6553
75fa1921
JM
65542012-06-14 Joseph Myers <joseph@codesourcery.com>
6555
6556 * libm_test.inc (csqrt_test): Allow more spurious underflow
6557 exceptions.
6558 (j0_test): Likewise.
6559 (j1_test): Likewise.
6560 (y0_test): Likewise.
6561 (y1_test): Likewise.
6562
771766df
CD
65632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6564
6565 * po/Makefile (libc.pot): Use UTF-8 charset.
6566
ceb9e56b
PP
65672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6568
6569 [BZ #14210]
6570 Suppress sign-conversion warning from FD_SET.
6571 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6572 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6573 not unsigned long int.
6574 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6575
ddb28975
L
65762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6577
6578 [BZ #14050]
6579 [BZ #14117]
6580 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6581 __extern_always_inline instead of __extern_inline.
6582 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6583 (__signbit): Likewise.
6584 (__signbitl): Support C++ namespace.
6585 (lrintf): New inline function.
6586 (lrint): Likewise.
6587 (llrintf): Likewise.
6588 (llrint): Likewise.
6589 (fmaxf): Likewise.
6590 (fmax): Likewise.
6591 (fminf): Likewise.
6592 (fmin): Likewise.
6593 (rint): Likewise.
6594 (rintf): Likewise.
6595 (ceil): Likewise.
6596 (ceilf): Likewise.
6597 (floor): Likewise.
6598 (floorf): Likewise.
6599 (nearbyint): Likewise.
6600 (nearbyintf): Likewise.
6601
d7b4fb26
TS
66022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6603
6604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6605 non-default versions.
6606
eb55f5c2
RM
66072012-06-11 Roland McGrath <roland@hack.frob.com>
6608
6609 [BZ #14218]
6610 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6611
366af02c
TS
66122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6613
99ff6e5c
TS
6614 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6615 (FE_UPWARD, FE_DOWNWARD): Don't define.
6616 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6618
366af02c
TS
6619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6620 reading it.
6621 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6622 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6623
793ea851
KK
66242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6625
6626 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6629 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6630
a728a38f
L
66312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6632
6633 [BZ #14117]
c08010c7
L
6634 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6635 * sysdeps/i386/fpu/Implies: New file.
6636 * sysdeps/x86_64/fpu/Implies: Likewise.
6637 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6638 * sysdeps/x86/fpu/bits/fenv.h: This.
6639
a728a38f
L
6640 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6641 __SSE_MATH__.
6642
6e230d11
SP
66432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6644
6645 [BZ #14134]
6646 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6647 character 0xffff that matches the last element of the
6648 conversion table.
6649
1b671feb
AZ
66502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6651
6652 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6653 fmodl commit.
6654
6043738b
AZ
66552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6656
6657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6658 values higher than 25.6283.
6659
34ae0b32
AZ
66602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6663 subnormal exponent extraction and add some __builtin_expect.
6664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6665 Fix for subnormal mantissa calculation.
6666
1214ec8f
MF
66672012-06-04 Mike Frysinger <vapier@gentoo.org>
6668
6669 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6670 cpu2 is -1 and errno is not ENOSYS.
6671
f3d1f93c
L
66722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6673
6674 [BZ #14117]
0e4a3cd7
L
6675 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6676 * sysdeps/x86/bits/string.h: This.
6677 * sysdeps/x86_64/bits/string.h: Removed.
6678
6704c645
L
6679 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6680 if not compiling for x86-64, but compiling for >= i486.
6681
48495318
L
6682 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6683 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6684
14adcbfc
L
6685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6686 New macro from Linux kernel 3.4.0.
6687 (FP_XSTATE_MAGIC2): Likewise.
6688 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6689 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6690 (struct _fpx_sw_bytes): New struct.
6691 (struct _xsave_hdr): Likewise.
6692 (struct _ymmh_state): Likewise.
6693 (struct _xstate): Likewise.
6694
68e408ab
L
6695 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6696 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6698 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6699 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6700 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6701
f3d1f93c
L
6702 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6703 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6704 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6705 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6706 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6707 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6708
d9dc34cd
TMQMF
67092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6710
6711 [BZ #13743]
6712 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6713 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6714 (sysdep_headers): Include sys/platform/ppc.h.
6715 * sysdeps/powerpc/test-gettimebase.c: Test for
6716 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6717 * manual/Makefile (appendices): Include platform.texi.
6718 * manual/contrib.texi (Contributors): Update @node pointers.
6719 * manual/maint.texi (Maintenance): Likewise.
6720 (Platform): New node.
6721 * manual/platform.texi: New file. Document the new features.
6722
4af3879c
SP
67232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6724 Jakub Jelinek <jakub@redhat.com>
6725
6726 [BZ #14188]
6727 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6728 where __builtin_expect is unavailable.
6729
2fd6ff13
DM
67302012-06-03 David S. Miller <davem@davemloft.net>
6731
6732 * stdlib/longlong.h: Updated from GCC.
6733
173f7220
AS
67342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6735
6736 [BZ #14042]
6737 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6738 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6739 __mcount_internal.
6740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6741 (GLIBC_2.16): Likewise.
6742
f34a1c6f
L
67432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6744
6745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6746
88a4576f
JM
67472012-06-01 Joseph Myers <joseph@codesourcery.com>
6748
ea32bcdd
JM
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6750 (default-abi): New variable.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6752 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6753 variable.
6754 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6755 Likewise.
6756 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6757 Likewise.
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6759 Likewise.
6760
88a4576f
JM
6761 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6762 definition. Document in comment.
6763
402fe938
DM
67642012-06-01 David S. Miller <davem@davemloft.net>
6765
6766 * stdlib/longlong.h: Updated from GCC.
6767
3553723f
L
67682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6769
6770 [BZ #14117]
3bd872c4
L
6771 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6772 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6773 sys/debugreg.h sys/io.h here.
6774 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6775 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6776 sys/io.h.
6777 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6778 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6779 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6780 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6781 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6782 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6783
3553723f
L
6784 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6785 Define only if __x86_64__ is defined.
6786
4842e4fe
JM
67872012-06-01 Joseph Myers <joseph@codesourcery.com>
6788
c5bfe3d5
JM
6789 [BZ #14048]
6790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6791 Use int64_t for variable i.
6792 * math/libm-test.inc (fmod_test): Add more tests.
6793
4842e4fe
JM
6794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6795 z computation is not scheduled after fetestexcept.
6796 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6797 Use math_force_eval instead of asm to ensure calculation scheduled
6798 before exception test.
6799 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6800 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6801
efb73488
AJ
68022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6803
6804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6805 computation is not scheduled after fetestexcept.
6806
29bcce7c
L
68072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6808
6809 [BZ #14117]
6810 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6811 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6812
73a68f94
AZ
68132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814
6815 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6816 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6817
67b6df78
L
68182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6819
edf2933a 6820 [BZ #14117]
ebc64a18
L
6821 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6822 <bits/wordsize.h>.
6823 (__WCHAR_MIN): Support __WORDSIZE == 64.
6824 (__WCHAR_MAX): Likewise.
6825
edf2933a
L
6826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6828
57c6cf40
L
6829 [BZ #14183]
6830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6831 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6832
67b6df78 6833 [BZ #14117]
8eb6281e
L
6834 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6835 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6836
aac639f4
L
6837 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6839
67b6df78
L
6840 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6841 Defined to 1 if __x86_64__ isn't defined.
6842 (_STAT_VER_LINUX_OLD): New.
6843 (st_atime): Remove duplicate.
6844 (st_mtime): Likewise.
6845 (st_ctime): Likewise.
6846
1c2cfe81
DM
68472012-05-31 David S. Miller <davem@davemloft.net>
6848
6849 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6850 entries.
6851
5be8418c
AS
68522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6853
e7725326
AS
6854 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6855 gen-libm-test.pl.
6856
5be8418c
AS
6857 [BZ #14132]
6858 * elf/dl-reloc.c: Include <_itoa.h>.
6859 (_dl_reloc_bad_type): Remove use of INTUSE.
6860 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6861 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6862 * stdio-common/psiginfo.c (psiginfo): Likewise.
6863 * stdio-common/psignal.c (psignal): Likewise.
6864 * string/strsignal.c (strsignal): Likewise.
6865 * include/signal.h (_sys_siglist): Declare hidden proto.
6866 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6867 INTVARDEF with libc_hidden_data_def.
6868 * stdio-common/itoa-udigits.c: Likewise.
6869 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6870 (_itoa_lower_digits_internal): Remove declaration.
6871 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6872 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6873 (_sys_sigabbrev_internal): Remove aliases.
6874 (_sys_siglist): Define hidden alias.
6875
507352f1
MT
68762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6877
6878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6879 bits/sysctl.h.
6880
42bbb1c3
L
68812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6882
6883 [BZ #14117]
6bd784b6
L
6884 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6885 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6886
8bca20f0
L
6887 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6889 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6890 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6891 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6892 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6893
f9e890a9
L
6894 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6895 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6896 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6897
471101a1
L
6898 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6899 with __addr.
6900 (insw): Likewise.
6901 (insl): Likewise.
6902 (outsb): Likewise.
6903 (outsw): Likewise.
6904 (outsl): Likewise.
6905
6451c862
L
6906 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6907 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6908 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6909
a254b8c9
L
6910 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6911 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6913 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6914 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6915 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6916
b8dfdd92
L
6917 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6918 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6919
578cd270
L
6920 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6921 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6922
de662f5f
L
6923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6926
25653439
L
6927 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6928 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6929 to ...
6930 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6931
6bad24a0
L
6932 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6933 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6934 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6935
42bbb1c3
L
6936 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6937 for x86-64.
6938 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6939
2d10d547
JM
69402012-05-31 Joseph Myers <joseph@codesourcery.com>
6941
6942 * math/math.h (M_El): Use two more decimal places.
6943 (M_LOG2El): Likewise.
6944 (M_LOG10El): Likewise.
6945 (M_LN2l): Likewise.
6946 (M_LN10l): Likewise.
6947 (M_PIl): Likewise.
6948 (M_PI_2l): Likewise.
6949 (M_PI_4l): Likewise.
6950 (M_1_PIl): Likewise.
6951 (M_2_PIl): Likewise.
6952 (M_2_SQRTPIl): Likewise.
6953 (M_SQRT2l): Likewise.
6954 (M_SQRT1_2l): Likewise.
6955
f230c29b
DM
69562012-05-31 David S. Miller <davem@davemloft.net>
6957
6958 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6959 values between float registers.
6960 * sysdeps/sparc/sparc64/memset.S: Likewise.
6961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6962
fed806c3
MF
69632012-05-31 Mike Frysinger <vapier@gentoo.org>
6964
6965 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6966 -D_FORTIFY_SOURCE=1.
6967 (CPPFLAGS-tst-longjmp_chk.c): Define.
6968 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6969 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6970 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6971 CFLAGS-tst-wchar-h.c.
6972
30917259
MP
69732012-05-31 Marek Polacek <polacek@redhat.com>
6974
6975 [BZ #14132]
6976 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6977 __endmntent_internal): Remove declaration.
6978 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6979 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6980 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6981
1c58d5dc
DM
69822012-05-30 David S. Miller <davem@davemloft.net>
6983
6984 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6985 (___Q_simulate_exceptions): Use real FP ops rather than writing
6986 into the %fsr.
6987 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6988 Likewise.
6989
7dc00e0d
L
69902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6991
6992 [BZ #14117]
0bd53985
L
6993 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6994 * sysdeps/x86/bits/xtitypes.h: This.
6995
3a257e66
L
6996 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6997 * sysdeps/x86/bits/wordsize.h: This.
6998
62f62904
L
6999 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7000 * sysdeps/x86/bits/huge_vall.h: This.
7001
404fe9d9
L
7002 * sysdeps/i386/bits/select.h: Removed.
7003 * sysdeps/x86_64/bits/select.h: Renamed to ...
7004 * sysdeps/x86/bits/select.h: This.
7005
d48d0446
L
7006 * sysdeps/i386/bits/setjmp.h: Removed.
7007 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7008 * sysdeps/x86/bits/setjmp.h: This.
7009
7dc00e0d
L
7010 * sysdeps/i386/bits/mathdef.h: Removed.
7011 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7012 * sysdeps/x86/bits/mathdef.h: This.
7013
03277f8f
AS
70142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7015
7016 [BZ #14132]
7017 * include/sys/socket.h (__connect_internal)
7018 (__libc_sa_len_internal): Remove declaration.
7019 (__connect, __libc_sa_len): Declare hidden_proto.
7020 (SA_LEN): Remove use of INTUSE.
7021 * socket/connect.c: Add libc_hidden_def.
7022 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7023 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7024 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7025 alias.
7026 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7027 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7028 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7029 of adding _internal alias.
7030
13764867
L
70312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7032
7033 [BZ #14117]
6bd97696
L
7034 * sysdeps/i386/bits/link.h: Removed.
7035 * sysdeps/i386/bits/linkmap.h: Likewise.
7036 * sysdeps/x86_64/bits/link.h: Renamed to ...
7037 * sysdeps/x86/bits/link.h: This.
7038 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7039 * sysdeps/x86/bits/linkmap.h: This.
7040
f726f0bb
L
7041 * sysdeps/i386/bits/endian.h: Removed.
7042 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7043 * sysdeps/x86/bits/endian.h: This.
7044
13764867
L
7045 * sysdeps/i386/bits/byteswap.h: Removed.
7046 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7047 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7048 * sysdeps/x86/bits/byteswap.h: This.
7049 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7050 * sysdeps/x86/bits/byteswap-16.h: This.
7051 * sysdeps/i386/Implies: Add x86.
7052 * sysdeps/x86_64/Implies: Likewise.
7053
ae251b0b
DM
70542012-05-30 David S. Miller <davem@davemloft.net>
7055
7056 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7057 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7058 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7059 (FP_TRAPPING_EXCEPTIONS): Define.
7060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7061 (FP_TRAPPING_EXCEPTIONS): Define.
7062 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7063 subnormals only when inexact has been signalled or underflow
7064 exceptions are enabled.
7065 (_FP_PACK_CANONICAL): Likewise.
7066
d5c90867
L
70672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7068
7069 [BZ #14183]
7070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7071 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7072
63f1549e
RH
70732012-05-30 Richard Henderson <rth@twiddle.net>
7074
8d8f2279
RH
7075 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7076 with #ifndef NOT_IN_libc.
7077
63f1549e
RH
7078 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7079 marked to avoid plt entry.
7080
0ab0291b
L
70812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7082
7083 [BZ #14112]
7084 * Makeconfig (default-abi): New macro.
7085 (abi-includes): Likewise.
7086 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7087 $(abi-$(default-abi)-lib-soname) for soname if defined.
7088 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7089 abi-variants.
7090 * Makefile (installed-stubs): Likewise.
7091 * include/stubs-biarch.h: Removed.
7092 * scripts/lib-names.awk: Only handle one library at a time.
7093 * scripts/soversions.awk: Remove WORDSIZE support.
7094 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7095 entries.
7096 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7097 Removed.
7098 (syscall-list-default-condition): Likewise.
7099 (syscall-list-default-condition): Likewise.
7100 (syscall-list-includes): Likewise.
7101 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7102 syscall-list-* with abi-*. Handle undefined abi-variants.
7103 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7104 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7105 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7106 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7107 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7108 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7109 Removed.
7110 (syscall-list-32-options): Likewise.
7111 (syscall-list-32-condition): Likewise.
7112 (syscall-list-64-options): Likewise.
7113 (syscall-list-64-condition): Likewise.
7114 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7115 macro.
7116 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7117 Renamed to ...
7118 (abi-*): This.
7119 (abi-64-ld-soname): New macro.
7120 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7121 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7122 Renamed to ...
7123 (abi-*): This.
7124 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7125 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7126
4da0431d
JM
71272012-05-30 Joseph Myers <joseph@codesourcery.com>
7128
3a85279c
JM
7129 * sysdeps/unix/sysv/linux/kernel-features.h
7130 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7131 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7132 include <kernel-features.h>.
7133 [!__NR_ftruncate64]: Remove conditional code.
7134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7135 [__NR_ftruncate64]: Make code unconditional.
7136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7137 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7138 include <kernel-features.h>.
7139 [!__NR_ftruncate64]: Remove conditional code.
7140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7141 [__NR_ftruncate64]: Make code unconditional.
7142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7144 include <kernel-features.h>.
7145 [!__NR_ftruncate64]: Remove conditional code.
7146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7147 [__NR_ftruncate64]: Make code unconditional.
7148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7150 include <kernel-features.h>.
7151 [!__NR_ftruncate64]: Remove conditional code.
7152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7153 [__NR_ftruncate64]: Make code unconditional.
7154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7155
4da0431d
JM
7156 * configure.in (libc_cv_fpie): Weaken to a compile test using
7157 LIBC_TRY_CC_OPTION.
7158 * configure: Regenerated.
7159
11ef492c
AK
71602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7161
7162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7166 Refreshed.
7167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7173 Refreshed.
7174
d66ef399
DM
71752012-05-27 David S. Miller <davem@davemloft.net>
7176
7177 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7178 (___Q_zero): New.
7179 (__Q_simulate_exceptions): Return void. Change to simulate
7180 exceptions by writing into the %fsr.
7181 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7182 (__Qp_handle_exceptions): Likewise.
7183 (numbers): Delete.
7184 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7185 __Qp_handle_exceptions.
7186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7187 __Qp_handle_exceptions.
7188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7189 as unused and give dummy FP_RND_NEAREST initializer.
7190 (FP_INHIBIT_RESULTS): Define.
7191 (___Q_simulate_exceptions): Update declaration.
7192 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7193 formatting.
7194 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7195 as unused and give dummy FP_RND_NEAREST initializer.
7196 (__Qp_handle_exceptions): Update declaration.
7197 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7198 formatting.
7199
04fb54b5
TS
72002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7201
7202 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7203 the temporary FPU control word.
7204 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7205 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7206 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7207 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7209 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7210 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7212 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7213 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7215
3f99608f
KK
72162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7217
7218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7219 fields.
7220
65a4de4e
CLT
72212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7222
7223 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7224 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7225 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7226 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7227 Likewise.
7228 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7229 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7230 Likewise.
7231
15749d40
UD
72322012-05-27 Ulrich Drepper <drepper@gmail.com>
7233
7234 * po/h.po: Update from translation team.
7235
25dbcb27
AS
72362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7237
3d3f8e55
AS
7238 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7239
25dbcb27
AS
7240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7241 handling of denormals.
7242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7243 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7244 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7245 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7249 Likewise.
7250
7ad47a80 72512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7252
7253 [BZ #14152]
7254 * math/libm-test.inc (fma_test): Don't always expect underflow
7255 exception.
7256
9c6ea9fa
SP
72572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7258
7259 [BZ #12416]
7260 * elf/tst-execstack.c: Include stackinfo.h.
7261 (do_test): Adjust test case to ensure that pthread_getattr_np
7262 behaviour remains the same after marking stack executable.
7263
a8239222
JM
72642012-05-25 Joseph Myers <joseph@codesourcery.com>
7265
7266 * sysdeps/unix/sysv/linux/kernel-features.h
7267 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7268 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7269 kernel-features.h.
7270 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7271 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7272 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7273 kernel-features.h.
7274 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7275 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7276
918b5606
L
72772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7278
7279 * configure.in: Define the default includes to being none.
7280 * configure: Regenerated.
7281
3a097cc7
RM
72822012-05-25 Roland McGrath <roland@hack.frob.com>
7283
8422c9a5
RM
7284 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7285 * sysdeps/x86_64/setjmp.S: Likewise.
7286 * sysdeps/i386/bsd-setjmp.S: Likewise.
7287 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7288 * sysdeps/i386/setjmp.S: Likewise.
7289 * sysdeps/i386/__longjmp.S: Likewise.
7290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7291 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7292
3a097cc7
RM
7293 * include/stap-probe.h: New file.
7294 * configure.in: Handle --enable-systemtap.
7295 * configure: Regenerated.
7296 * config.h.in (USE_STAP_PROBE): New #undef.
7297 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7298 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7299 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7300
21708942
JM
73012012-05-25 Joseph Myers <joseph@codesourcery.com>
7302
7303 [BZ #13717]
7304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7305 to 2.4.0 where earlier.
7306 * sysdeps/unix/sysv/linux/configure: Regenerated.
7307 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7308 <kernel-features.h>.
7309 [__ASSUME_32BITUIDS]: Make code unconditional.
7310 [!__ASSUME_32BITUIDS]: Remove conditional code.
7311 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7312 <kernel-features.h>.
7313 [__ASSUME_32BITUIDS]: Make code unconditional.
7314 [!__ASSUME_32BITUIDS]: Remove conditional code.
7315 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7316 [__ASSUME_32BITUIDS]: Make code unconditional.
7317 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7318 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7319 <kernel-features.h>.
7320 [__ASSUME_32BITUIDS]: Make code unconditional.
7321 [!__ASSUME_32BITUIDS]: Remove conditional code.
7322 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7323 <kernel-features.h>.
7324 [__ASSUME_32BITUIDS]: Make code unconditional.
7325 [!__ASSUME_32BITUIDS]: Remove conditional code.
7326 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7327 <kernel-features.h>.
7328 [__ASSUME_32BITUIDS]: Make code unconditional.
7329 [!__ASSUME_32BITUIDS]: Remove conditional code.
7330 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7331 <kernel-features.h>.
7332 [__ASSUME_32BITUIDS]: Make code unconditional.
7333 [!__ASSUME_32BITUIDS]: Remove conditional code.
7334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7335 <kernel-features.h>.
7336 [__ASSUME_32BITUIDS]: Make code unconditional.
7337 [!__ASSUME_32BITUIDS]: Remove conditional code.
7338 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7339 <kernel-features.h>.
7340 [__ASSUME_32BITUIDS]: Make code unconditional.
7341 [!__ASSUME_32BITUIDS]: Remove conditional code.
7342 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7343 <kernel-features.h>.
7344 [__ASSUME_32BITUIDS]: Make code unconditional.
7345 [!__ASSUME_32BITUIDS]: Remove conditional code.
7346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7347 <kernel-features.h>.
7348 [__ASSUME_32BITUIDS]: Make code unconditional.
7349 [!__ASSUME_32BITUIDS]: Remove conditional code.
7350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7351 <kernel-features.h>.
7352 [__ASSUME_32BITUIDS]: Make code unconditional.
7353 [!__ASSUME_32BITUIDS]: Remove conditional code.
7354 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7355 <kernel-features.h>.
7356 [__ASSUME_32BITUIDS]: Make code unconditional.
7357 [!__ASSUME_32BITUIDS]: Remove conditional code.
7358 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7359 <kernel-features.h>.
7360 [__NR_setresgid] (__setresgid): Do not declare.
7361 [__ASSUME_32BITUIDS]: Make code unconditional.
7362 [!__ASSUME_32BITUIDS]: Remove conditional code.
7363 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7364 <kernel-features.h>.
7365 [__NR_setresuid] (__setresuid): Do not declare.
7366 [__ASSUME_32BITUIDS]: Make code unconditional.
7367 [!__ASSUME_32BITUIDS]: Remove conditional code.
7368 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7369 <kernel-features.h>.
7370 [__ASSUME_32BITUIDS]: Make code unconditional.
7371 [!__ASSUME_32BITUIDS]: Remove conditional code.
7372 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7373 <kernel-features.h>.
7374 [__ASSUME_32BITUIDS]: Make code unconditional.
7375 [!__ASSUME_32BITUIDS]: Remove conditional code.
7376 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7377 <kernel-features.h>.
7378 [__ASSUME_32BITUIDS]: Make code unconditional.
7379 [!__ASSUME_32BITUIDS]: Remove conditional code.
7380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7381 <kernel-features.h>.
7382 [__ASSUME_32BITUIDS]: Make code unconditional.
7383 [!__ASSUME_32BITUIDS]: Remove conditional code.
7384 * sysdeps/unix/sysv/linux/i386/setregid.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/i386/setresgid.c: Do not include
7389 <kernel-features.h>.
7390 [__ASSUME_32BITUIDS]: Make code unconditional.
7391 [!__ASSUME_32BITUIDS]: Remove conditional code.
7392 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7393 <kernel-features.h>.
7394 [__ASSUME_32BITUIDS]: Make code unconditional.
7395 [!__ASSUME_32BITUIDS]: Remove conditional code.
7396 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7397 <kernel-features.h>.
7398 [__ASSUME_32BITUIDS]: Make code unconditional.
7399 [!__ASSUME_32BITUIDS]: Remove conditional code.
7400 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7401 <kernel-features.h>.
7402 [__ASSUME_32BITUIDS]: Make code unconditional.
7403 [!__ASSUME_32BITUIDS]: Remove conditional code.
7404 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7405 <kernel-features.h>.
7406 [__ASSUME_32BITUIDS]: Make code unconditional.
7407 [!__ASSUME_32BITUIDS]: Remove conditional code.
7408 * sysdeps/unix/sysv/linux/kernel-features.h
7409 (__ASSUME_SETRESUID_SYSCALL): Remove.
7410 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7411 (__ASSUME_32BITUIDS): Likewise.
7412 (__ASSUME_LDT_WORKS): Likewise.
7413 (__ASSUME_O_DIRECTORY): Likewise.
7414 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7415 architecture but not kernel version.
7416 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7417 (__ASSUME_MMAP2_SYSCALL): Likewise.
7418 (__ASSUME_STAT64_SYSCALL): Likewise.
7419 (__ASSUME_IPC64): Likewise.
7420 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7421 <kernel-features.h>.
7422 [__ASSUME_32BITUIDS]: Make code unconditional.
7423 [!__ASSUME_32BITUIDS]: Remove conditional code.
7424 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7425 <kernel-features.h>.
7426 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7427 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7428 132096]: Remove conditional code.
7429 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7431 <kernel-features.h>.
7432 [__ASSUME_32BITUIDS]: Make code unconditional.
7433 [!__ASSUME_32BITUIDS]: Remove conditional code.
7434 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7435 <kernel-features.h>.
7436 [__ASSUME_32BITUIDS]: Make code unconditional.
7437 [!__ASSUME_32BITUIDS]: Remove conditional code.
7438 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7439 <kernel-features.h>.
7440 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7441 unconditional.
7442 (__setresgid): Do not declare.
7443 [__ASSUME_32BITUIDS]: Make code unconditional.
7444 [!__ASSUME_32BITUIDS]: Remove conditional code.
7445 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7446 <kernel-features.h>.
7447 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7448 unconditional.
7449 (__setresuid): Do not declare.
7450 [__ASSUME_32BITUIDS]: Make code unconditional.
7451 [!__ASSUME_32BITUIDS]: Remove conditional code.
7452 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7453 <kernel-features.h>.
7454 [__ASSUME_32BITUIDS]: Make code unconditional.
7455 [!__ASSUME_32BITUIDS]: Remove conditional code.
7456 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7457 <kernel-features.h>.
7458 [__ASSUME_32BITUIDS]: Make code unconditional.
7459 [!__ASSUME_32BITUIDS]: Remove conditional code.
7460
a386f1cc
RH
74612012-05-25 Richard Henderson <rth@twiddle.net>
7462
7463 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7464 dl_hwcap to ifunc resolver.
7465 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7466 elf_ifunc_invoke.
7467 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7468 dl_hwcap to ifunc resolver.
7469 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7470
b6550497
JM
74712012-05-24 Joseph Myers <joseph@codesourcery.com>
7472
7473 [BZ #14153]
7474 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7475 for |x| <= 2**-26, not 2**-57.
7476 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7477 exception.
7478
b0bc23a1
JL
74792012-05-24 Jeff Law <law@redhat.com>
7480
7481 * stdio-common/Makefile (tests): Add bug25.
7482 * stdio-common/bug25.c: New test.
7483
347c92e9
L
74842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7485
7486 [BZ #13576]
7487 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7488 multiple of MALLOC_ALIGNMENT in size.
7489 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7490
6bcc8b3f
JM
74912012-05-24 Joseph Myers <joseph@codesourcery.com>
7492
7493 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7494 Require >= 256.
7495 (FILENAME_MAX): Use macro-int-constant.
7496 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7497 (_IOFBF): Use macro-int-constant.
7498 (_IOLBF): Likewise.
7499 (_IONBF): Likewise.
7500 (SEEK_CUR): Likewise.
7501 (SEEK_END): Likewise.
7502 (SEEK_SET): Likewise.
7503 (TMP_MAX): Likewise.
7504 (EOF): Use macro-int-constant. Require < 0.
7505 (NULL): Use macro-constant. Require == 0.
7506 (stdin): Require type to be FILE *.
7507 (stdout): Likewise.
7508 (stderr): Likewise.
7509 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7510 macro-int-constant.
7511 (EXIT_SUCCESS): Likewise.
7512 (NULL): Use macro-constant. Require == 0.
7513 (RAND_MAX): Use macro-int-constant.
7514 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7515 [C99-based standards] (strtof): Require function.
7516 [C99-based standards] (strtold): Likewise.
7517 [C99-based standards] (strtoll): Likewise.
7518 [C99-based standards] (strtoull): Likewise.
7519 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7520 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7521 [ISO || ISO99 || ISO11] (math.h): Likewise.
7522 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7523 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7525
d18ea0c5
AS
75262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7527
7528 [BZ #14132]
56d25bb8
AS
7529 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7530 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7531 * intl/dgettext.c (DCGETTEXT): Likewise.
7532 * intl/gettext.c (DCGETTEXT): Likewise.
7533 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7534 * posix/regex_internal.h (gettext): Likewise.
7535 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7536 Remove declaration.
7537 * include/argz.h (__argz_count_internal)
7538 (__argz_stringify_internal): Remove declaration.
7539 (__argz_count, __argz_stringify): Declare hidden proto.
7540 * intl/dcgettext.c: Remove use of INTDEF.
7541 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7542 * string/argz-stringify.c: Likewise.
7543 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7544 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7545 Declare hidden proto.
d18ea0c5
AS
7546 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7547 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7548 Declare hidden proto.
7549 * include/stdio.h (__asprintf_internal): Don't declare.
7550 (__asprintf): Don't define as macro. Declare hidden proto.
7551 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7552 (__fsetlocking): Declare hidden proto.
7553 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7554 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7555 hidden proto.
7556 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7557 (_IO_setlinebuf): Remove use of INTUSE.
7558 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7559 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7560 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7561 Remove declaration.
7562 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7563 (_IO_do_flush): Remove use of INTUSE.
7564 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7565 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7566 (_IO_adjust_column, _IO_least_wmarker)
7567 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7568 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7569 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7570 (_IO_default_doallocate, _IO_wdefault_doallocate)
7571 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7572 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7573 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7574 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7575 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7576 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7577 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7578 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7579 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7580 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7581 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7582 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7583 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7584 proto.
7585 (_IO_flush_all_internal, _IO_adjust_column_internal)
7586 (_IO_default_uflow_internal, _IO_default_finish_internal)
7587 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7588 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7589 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7590 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7591 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7592 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7593 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7594 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7595 (_IO_file_close_internal, _IO_file_close_it_internal)
7596 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7597 (_IO_file_init_internal, _IO_file_attach_internal)
7598 (_IO_file_fopen_internal, _IO_file_read_internal)
7599 (_IO_file_sync_internal, _IO_file_seek_internal)
7600 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7601 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7602 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7603 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7604 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7605 (_IO_list_all_internal, _IO_link_in_internal)
7606 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7607 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7608 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7609 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7610 (_IO_do_write_internal, _IO_padn_internal)
7611 (_IO_getline_info_internal, _IO_getline_internal)
7612 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7613 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7614 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7615 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7616 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7617 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7618 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7619 with libc_hidden_ver, remove use of INTUSE.
7620 * libio/genops.c: Likewise.
7621 * libio/freopen.c: Likewise.
7622 * libio/freopen64.c: Likewise.
7623 * libio/iofclose.c: Likewise.
7624 * libio/iofdopen.c: Likewise.
7625 * libio/iofflush.c: Likewise.
7626 * libio/iofflush_u.c: Likewise.
7627 * libio/iofgets.c: Likewise.
7628 * libio/iofgets_u.c: Likewise.
7629 * libio/iofopen.c: Likewise.
7630 * libio/iofopncook.c: Likewise.
7631 * libio/iofread.c: Likewise.
7632 * libio/iofread_u.c: Likewise.
7633 * libio/ioftell.c: Likewise.
7634 * libio/iofwrite.c: Likewise.
7635 * libio/iogetline.c: Likewise.
7636 * libio/iogets.c: Likewise.
7637 * libio/iogetwline.c: Likewise.
7638 * libio/iopadn.c: Likewise.
7639 * libio/iopopen.c: Likewise.
7640 * libio/ioseekoff.c: Likewise.
7641 * libio/ioseekpos.c: Likewise.
7642 * libio/iosetbuffer.c: Likewise.
7643 * libio/iosetvbuf.c: Likewise.
7644 * libio/ioungetc.c: Likewise.
7645 * libio/ioungetwc.c: Likewise.
7646 * libio/iovdprintf.c: Likewise.
7647 * libio/iovsprintf.c: Likewise.
7648 * libio/iovsscanf.c: Likewise.
7649 * libio/memstream.c: Likewise.
7650 * libio/obprintf.c: Likewise.
7651 * libio/oldfileops.c: Likewise.
7652 * libio/oldiofclose.c: Likewise.
7653 * libio/oldiofdopen.c: Likewise.
7654 * libio/oldiofopen.c: Likewise.
7655 * libio/oldiopopen.c: Likewise.
7656 * libio/oldstdfiles.c: Likewise.
7657 * libio/putc.c: Likewise.
7658 * libio/setbuf.c: Likewise.
7659 * libio/setlinebuf.c: Likewise.
7660 * libio/stdfiles.c: Likewise.
7661 * libio/strops.c: Likewise.
7662 * libio/vasprintf.c: Likewise.
7663 * libio/vscanf.c: Likewise.
7664 * libio/vsnprintf.c: Likewise.
7665 * libio/vswprintf.c: Likewise.
7666 * libio/wfiledoalloc.c: Likewise.
7667 * libio/wfileops.c: Likewise.
7668 * libio/wgenops.c: Likewise.
7669 * libio/wmemstream.c: Likewise.
7670 * libio/wstrops.c: Likewise.
7671 * libio/__fpurge.c: Likewise.
7672 * libio/__fsetlocking.c: Likewise.
7673 * assert/assert.c: Likewise.
7674 * debug/fgets_chk.c: Likewise.
7675 * debug/fgets_u_chk.c: Likewise.
7676 * debug/fread_chk.c: Likewise.
7677 * debug/fread_u_chk.c: Likewise.
7678 * debug/gets_chk.c: Likewise.
7679 * debug/obprintf_chk.c: Likewise.
7680 * debug/vasprintf_chk.c: Likewise.
7681 * debug/vdprintf_chk.c: Likewise.
7682 * debug/vsnprintf_chk.c: Likewise.
7683 * debug/vsprintf_chk.c: Likewise.
7684 * malloc/mtrace.c: Likewise.
7685 * misc/error.c: Likewise.
7686 * misc/syslog.c: Likewise.
7687 * stdio-common/asprintf.c: Likewise.
7688 * stdio-common/fxprintf.c: Likewise.
7689 * stdio-common/getw.c: Likewise.
7690 * stdio-common/isoc99_fscanf.c: Likewise.
7691 * stdio-common/isoc99_scanf.c: Likewise.
7692 * stdio-common/isoc99_vfscanf.c: Likewise.
7693 * stdio-common/isoc99_vscanf.c: Likewise.
7694 * stdio-common/isoc99_vsscanf.c: Likewise.
7695 * stdio-common/printf-prs.c: Likewise.
7696 * stdio-common/printf_fp.c: Likewise.
7697 * stdio-common/printf_fphex.c: Likewise.
7698 * stdio-common/printf_size.c: Likewise.
7699 * stdio-common/putw.c: Likewise.
7700 * stdio-common/scanf.c: Likewise.
7701 * stdio-common/sprintf.c: Likewise.
7702 * stdio-common/tmpfile.c: Likewise.
7703 * stdio-common/vfprintf.c: Likewise.
7704 * stdio-common/vfscanf.c: Likewise.
7705 * stdlib/strfmon_l.c: Likewise.
7706 * sunrpc/openchild.c: Likewise.
7707 * sunrpc/xdr_stdio.c: Likewise.
7708 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7709 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7710
d6c33fda
RM
77112012-05-24 Roland McGrath <roland@hack.frob.com>
7712
c1487492
RM
7713 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7714
7715 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7716 in the third column, to generate for the shared library an IFUNC
7717 that uses _dl_vdso_vsym.
7718 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7719 * Makeconfig (object-suffixes-noshared): New variable.
7720
7721 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7722 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7723 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7724 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7725
d6c33fda
RM
7726 [BZ #14132]
7727 * include/sys/time.h (__gettimeofday): Remove macro.
7728 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7729 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7730 Remove INTDEF.
7731 (__gettimeofday): Add libc_hidden_def.
7732 (gettimeofday): Add libc_hidden_weak.
7733 * sysdeps/mach/gettimeofday.c: Likewise.
7734 * sysdeps/posix/gettimeofday.c: Likewise.
7735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7736 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7737 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7738 (__gettimeofday_internal): Remove strong_alias.
7739 (__gettimeofday): Add libc_hidden_def.
7740 (gettimeofday): Add libc_hidden_weak.
7741 * sysdeps/unix/syscalls.list (gettimeofday):
7742 Remove __gettimeofday_internal alias.
7743
b5a2bbe6
L
77442012-05-24 Daniel Jacobowitz <drow@false.org>
7745 H.J. Lu <hongjiu.lu@intel.com>
7746
7747 [BZ #12495]
7748 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7749 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7750 (largebin_index_32_big): New.
7751 (largebin_index): Use it for 16-byte alignment.
7752 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7753 correction with front_misalign.
7754
cfba4fda
L
77552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7756
7f907421
L
7757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7759 Likewise.
7760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7761 Likewise.
7762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7763 Likewise.
7764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7767 Likewise.
7768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7769 Likewise.
7770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7771 Likewise.
7772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7773 Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7775 Likewise.
7776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7777 Likewise.
7778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7779 Likewise.
7780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7781 Likewise.
7782
cfba4fda
L
7783 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7784 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7785
80bad0cc
JM
77862012-05-24 Joseph Myers <joseph@codesourcery.com>
7787
7a25eb06
JM
7788 [BZ #10846]
7789 [BZ #14036]
7790 * math/libm-test.inc (exp_test): Add test from bug 14036.
7791 (pow_test): Add test from bug 10846.
7792
795405f9
JM
7793 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7794 and other flags.
7795 (special_function): Do not include flags in test name.
7796 (parse_args): Likewise.
7797 * sysdeps/i386/fpu/libm-test-ulps: Update.
7798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7802
80bad0cc
JM
7803 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7804 exceptions.
7805 * math/libm-test.inc ("Philosophy"): Update comment about
7806 exception testing.
7807 (UNDERFLOW_EXCEPTION): New macro.
7808 (UNDERFLOW_EXCEPTION_OK): Likewise.
7809 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7810 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7811 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7812 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7813 (INVALID_EXCEPTION_OK): Update value.
7814 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7815 (OVERFLOW_EXCEPTION_OK): Likewise.
7816 (IGNORE_ZERO_INF_SIGN): Likewise.
7817 (test_exceptions): Handle underflow exceptions.
7818 (acos_test): Update for underflow exception expectations.
7819 (cexp_test): Likewise.
7820 (clog_test): Likewise.
7821 (clog10_test): Likewise.
7822 (csqrt_test): Likewise.
7823 (ctan_test): Likewise.
7824 (ctanh_test): Likewise.
7825 (exp_test): Likewise.
7826 (exp10_test): Likewise.
7827 (exp2_test): Likewise.
7828 (expm1_test): Likewise.
7829 (fma_test): Likewise.
7830 (j0_test): Likewise.
7831 (jn_test): Likewise.
7832 (nexttoward_test): Likewise.
7833 (pow_test): Likewise.
7834 (scalbn_test): Likewise.
7835 (scalbln_test): Likewise.
7836 (tan_test): Likewise.
7837 (y1_test): Likewise.
7838 * sysdeps/i386/fpu/libm-test-ulps: Update.
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7840
9e0e3d0b
DM
78412012-05-23 David S. Miller <davem@davemloft.net>
7842
7843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7844 (__libc_sigaction): Remove unused local variables.
7845
ccd0a08f
L
78462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7847
7848 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7849
62bdf9a6
PE
78502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7851
f8591f80
PE
7852 mktime: avoid signed integer overflow
7853 * time/mktime.c (__mktime_internal): Do not mishandle the case
7854 where diff == INT_MIN.
7855
94c7d826
PE
7856 mktime: simplify computation of average
7857 * time/mktime.c (ranged_convert): Use new time_t_avg function
7858 instead of rolling our own (probably-slower) code.
7859
ce73d683
PE
7860 mktime: do not assume signed right shift propagates sign bit
7861 * time/mktime.c (isdst_differ): New static function.
7862 (__mktime_internal): No need to normalize tm_isdst now.
7863 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7864 tm_isdst values.
7865
72a22e59
PE
7866 mktime: merge another wrapv change from gnulib
7867 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7868 from some compilers.
7869
68605433
PE
7870 mktime: remove incorrect attempt at unusual arithmetics
7871 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7872 The code didn't really work on such machines anyway.
7873 (TYPE_MINIMUM): Assume two's complement.
7874 (twos_complement_arithmetic): Verify that long_int and time_t
7875 are two's complement (or unsigned, in the latter case).
7876
03cf7fe3
PE
7877 mktime: check signed shifts on long_int and time_t, too
7878 * time/mktime.c (SHR): Check that shifts work as desired
7879 on the types long_int and time_t too, as SHR is used on
7880 such types.
7881
f04dfbc2
PE
7882 mktime: do not assume 'long' is wide enough
7883 * time/mktime.c (verify): Move decl up.
7884 (long_int): New type.
7885 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7886 to remove assumption in the code that 'long' is wide enough to
7887 store year values. This assumption is not true on x32 and on
7888 some non-glibc platforms.
7889
62bdf9a6
PE
7890 mktime: merge wrapv change from gnulib
7891 * time/mktime.c (WRAPV): New macro.
7892 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7893 (guess_time_tm, __mktime_internal): Do not assume that signed
7894 integer overflow wraps around; modern compilers generate code
7895 where this assumption is no longer valid.
7896
5e292e4f
L
78972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7898
7899 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7900 Replace "jmp L(pseudo_end)" with "ret".
7901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7902 Likewise.
7903
8caf8c87
AJ
79042012-05-23 Andreas Jaeger <aj@suse.de>
7905
7906 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7907 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7908
1a09dc56
AJ
79092012-05-23 Andreas Jaeger <aj@suse.de>
7910 Maximilian Attems <max@stro.at>
7911
7912 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7913 New macros.
7914
1c87aba0
L
79152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7916
7917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7918 code so that pseudo_end is just ret and the stack pointer is
7919 correct also for static library in error case.
7920
40e45bd5
JM
79212012-05-23 Joseph Myers <joseph@codesourcery.com>
7922
c2670533
JM
7923 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7924 move to syscalls.list.
7925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7929
40e45bd5
JM
7930 * manual/install.texi (Running make install): Do not mention Linux
7931 kernel version for which pt_chown is not needed.
7932 (Linux): Do not mention problems with nscd with 2.0 kernels.
7933 * INSTALL: Regenerated.
7934
be08eda5
AJ
79352012-05-23 Andreas Jaeger <aj@suse.de>
7936
7937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7938 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7939 macro.
7940 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7942 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7944 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7948 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7950 * sysdeps/unix/sysv/linux/bits/in.h
7951 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7952
a6a056bb
RM
79532012-05-22 Roland McGrath <roland@hack.frob.com>
7954
7955 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7956 (PREPARE_VERSION): Just use assert instead, it will be elided
7957 under [NDEBUG] anyway.
7958
c9009328
L
79592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7960
7961 * sysdeps/unix/sysv/linux/Makefile: Include
7962 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7963 (sysdep_routines): Remove sysctl.
c9009328
L
7964 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7965 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7966 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7967 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7968 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7969
73338355
AJ
79702012-05-22 Andreas Jaeger <aj@suse.de>
7971
7972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7973 that pseudo_end is just ret and the stack pointer is correct also
7974 for static library in error case.
7975
d44638b0
PP
79762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7977
7978 [BZ #14122]
7979 * nss/nsswitch.c (defconfig_entries): New variable.
7980 (__nss_database_lookup): Don't leak defconfig entries.
7981 (nss_parse_service_list): Don't leak on error paths.
7982 (free_database_entries): New function.
7983 (free_defconfig): New function.
7984 (free_mem): Move common code to free_database_entries.
7985
31a39bd8
L
79862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7987
da0331a8
L
7988 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7989 Add arch_prctl.
7990 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7991
31a39bd8
L
7992 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7993 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7995 New macro.
7996 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7997 (INTERNAL_SYSCALL_TYPES): Likewise.
7998 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7999 (LOAD_REGS_TYPES_[1-6]): Likewise.
8000 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8001 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8002
45470df3
AZ
80032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8004
8005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8006 copysignl for GLIBC_2_0.
8007 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8008 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8010 logbl for GLIBC_2_0.
8011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8012 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8013
98a61bcb
L
80142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8015
a4f6e481
L
8016 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8018
f63d5db6
L
8019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8020 Use "neg %eax".
8021
98a61bcb
L
8022 * time/mktime.c: Update copyright years.
8023
95770f14
PE
80242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8025
6226efbd
PE
8026 mktime: merge comment-quoting-style change from gnulib
8027 * time/mktime.c: Quote 'like this' in comments.
8028 The GNU coding standards suggest that we no longer quote `like this',
8029 as "`" and "'" are typically rendered asymmetrically nowadays.
8030 The typical gnulib style is to quote 'like this' when quoting
8031 code, and "like this" when quoting English.
8032
b99e4f78
PE
8033 * time/mktime.c (compile-command): Add "-I.".
8034
643e01e6
PE
8035 mktime: merge mktime-internal.h change from gnulib
8036 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8037
2554247d
PE
8038 mktime: merge time_r change from gnulib
8039 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8040
826dd0ab
PE
8041 mktime: merge DEBUG change from gnulib
8042 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8043 case system <time.h> has a #define.
8044
bd83aabe
PE
8045 mktime: merge <sys/types.h> change from gnulib
8046 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8047 since <time.t> is now guaranteed to define time_t.
8048
95770f14
PE
8049 mktime: merge HAVE_CONFIG_H change from gnulib
8050 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8051
5e1a27a9
L
80522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8053
0e44a77e
L
8054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8055 Use "neg %eax".
8056
5e1a27a9
L
8057 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8058 __rlim_t cast.
8059 (struct rusage): Use anonymous union to pad each field to
8060 __syscall_slong_t.
8061
46259bec
DM
80622012-05-21 David S. Miller <davem@davemloft.net>
8063
8064 * Makefules (o-iterator): Remove .s cases.
8065 (compile-command.s): Delete.
8066 (COMPILE.s): Delete.
8067 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8068
59f0c22e
JM
80692012-05-21 Joseph Myers <joseph@codesourcery.com>
8070
8071 * configure.in (libc_cv_predef_stack_protector): Only consider
8072 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8073 * configure: Regenerated.
8074
20c07380
L
80752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8076
bbb3154b
L
8077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8078 New macro. Use R*LP on int and pointer.
8079 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8080 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8081 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8082 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8083
20c07380
L
8084 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8085 [__WORDSIZE_TIME64_COMPAT32] instead of
8086 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8087 (struct utmp): Likewise.
8088 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8089 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8090 Renamed to ...
8091 (__WORDSIZE_TIME64_COMPAT32): This.
8092 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8093 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8094 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8096 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8097 (__WORDSIZE_TIME64_COMPAT32): New macro.
8098
d8d1017e
AJ
80992012-05-21 Andreas Jaeger <aj@suse.de>
8100
8101 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8102 only if [SHARED]. Add prototype for __wcschr_ia32.
8103
6c7fb145
RM
81042012-05-21 Roland McGrath <roland@hack.frob.com>
8105
8106 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8107 of %rbp unmolested in the jmp_buf while mangling the low bits.
8108 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8109 unmolested high bits of %rbp while demangling the low bits.
8110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8111
66274218
AJ
81122012-05-21 Andreas Jaeger <aj@suse.de>
8113
07c58f8f
AJ
8114 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8115 * sunrpc/svc_simple.c: Use it for registerrpc.
8116 * sunrpc/xcrypt.c: Use it for passwd2des.
8117
66274218
AJ
8118 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8119
61f65140
L
81202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8121
8122 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8123 Don't define if [__SYSCALL_WORDSIZE != 32].
8124 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8125 New macro.
8126
5fefb436
AJ
81272012-05-21 Bruno Haible <bruno@clisp.org>
8128 Andreas Jaeger <aj@suse.de>
8129
8130 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8131 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8132 inptr and inend for must_buffer_ch.
8133 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8134 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8135 * stdio-common/Makefile (tests): Remove bug15.
8136 (bug15-ENV): Remove macro.
8137 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8138 anymore.
8139
d8e272ab
AJ
81402012-05-19 Andreas Jaeger <aj@suse.de>
8141 Roland McGrath <roland@hack.frob.com>
8142
8143 * manual/contrib.texi: Completely rewritten. It contains now an
8144 alphabetical list of contributors and their contributions.
8145
4a56a162
RH
81462012-05-21 Richard Henderson <rth@twiddle.net>
8147
8148 * misc/getauxval.c (__getauxval): Use unsigned long int.
8149 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8150 (getauxval): Use unsigned long int.
8151
d024d23c
L
81522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8153
8154 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8155
cbc00a03
RM
81562012-05-21 Roland McGrath <roland@hack.frob.com>
8157
8158 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8159 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8160 __alignof__ (long double).
8161
478143fa
AZ
81622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8163
8164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8165
c7683a6d
RH
81662012-05-20 Richard Henderson <rth@twiddle.net>
8167
8168 * misc/getauxval.c: New file.
8169 * misc/sys/auxv.h: New file.
8170 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8171 (routines): Add getauxval.
8172 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8174 * elf/dl-sysdep.c (_dl_auxv): Remove.
8175 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8176 * elf/dl-support.c (_dl_auxv): New variable.
8177 (_dl_aux_init): Initialize it.
8178 * manual/startup.texi (Auxiliary Vector): New node.
8179 * sysdeps/generic/bits/hwcap.h: New file.
8180 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8181 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8182 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8183 * sysdeps/sparc/sysdep.h: ... here. Include it.
8184 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8187 Update.
c7683a6d
RH
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8191 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8196
a6f1845d
AZ
81972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198
8199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8200
cbcbe830
DM
82012012-05-19 David S. Miller <davem@davemloft.net>
8202
8203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8204
e0b16cc2
JM
82052012-05-19 Joseph Myers <joseph@codesourcery.com>
8206
8207 [BZ #14123]
8208 * math/s_ccosh.c: Include <float.h>
8209 (__ccosh): Avoid internal overflow calculating sinh and cosh
8210 values before multiplying by sin and cos values.
8211 * math/s_ccoshf.c: Likewise.
8212 * math/s_ccoshl.c: Likewise.
8213 * math/s_csin.c: Likewise.
8214 * math/s_csinf.c: Likewise.
8215 * math/s_csinl.c: Likewise.
8216 * math/s_csinh.c: Likewise.
8217 * math/s_csinhf.c: Likewise.
8218 * math/s_csinhl.c: Likewise.
8219 * math/libm-test.inc (ccos_test): Add more tests.
8220 (ccosh_test): Likewise.
8221 (csin_test): Likewise.
8222 (csinh_test): Likewise.
8223 * sysdeps/i386/fpu/libm-test-ulps: Update.
8224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8225
6ad13e08
L
82262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8227
f66f0ce8
L
8228 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8229 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8230
6ad13e08
L
8231 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8232
b1d072a7
JM
82332012-05-19 Joseph Myers <joseph@codesourcery.com>
8234
8235 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8236 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8237 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8238 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8239 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8240 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8241 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8242 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8243 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8244 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8245 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8246 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8247 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8248 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8249 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8250 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8251 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8252 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8253 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8254 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8255 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8256 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8257 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8258 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8259 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8260 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8261 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8262 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8263 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8264 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8265 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8266
9eae47cb
AJ
82672012-05-18 Andreas Jaeger <aj@suse.de>
8268
8269 * csu/.gitignore: Delete.
8270
bb07f69f
L
82712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8272
8273 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8274 (timex): Use __syscall_slong_t.
8275
e6bdb741
AJ
82762012-05-18 Andreas Jaeger <aj@suse.de>
8277 Carlos O'Donell <carlos_odonell@mentor.com>
8278
8279 * manual/install.texi (Configuring and compiling): Update
8280 description about files modified in the source directory.
d6c33fda 8281 * INSTALL: Regenerated.
e6bdb741 8282
1b74487e
L
82832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8284
8285 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8286 value. Use "or" to set return value to -1.
8287 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8288 negate return value.
8289
a88b64b9
TMQMF
82902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8291
8292 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8293 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8294 failure if the compiler has Graphite support disabled.
8295 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8296 Likewise.
8297 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8298 CFLAGS-memmove.c): Likewise.
8299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8300 Likewise.
8301
3707636e
L
83022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8303
610b8622
L
8304 * sysdeps/x86_64/x32/_itoa.h: New file.
8305
7cd195df
L
8306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8307 getdents system call only if kernel and user dirents have the
8308 same d_ino and d_off.
8309
94b07d20
L
8310 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8311 LLONG_MAX != LONG_MAX.
8312 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8313 (_fitoa_word): Likewise.
8314
18298070
L
8315 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8316 years.
8317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8318 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8320
553c7ea4
L
8321 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8322 include <bits/wordsize.h>. Check __x86_64__ instead of
8323 __WORDSIZE.
8324 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8325 if __x86_64__ is defined. Use anonymous union on fpstate.
8326
3707636e
L
8327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8328 anonymous union.
8329
b53ef01a
AS
83302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8331
37fb1dc0
AS
8332 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8333 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8334 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8335 Refer to _rtld_local_ro instead of _rtld_global_ro.
8336 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8337 Likewise.
8338 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8339 Likewise.
8340 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8341 Likewise.
8342 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8343 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8344 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8345
b53ef01a
AS
8346 * sysdeps/powerpc/powerpc32/dl-machine.c
8347 (__elf_machine_runtime_setup) [PROF]: Don't reference
8348 _dl_prof_resolve.
8349
7a185db2
AJ
83502012-05-18 Andreas Jaeger <aj@suse.de>
8351
8352 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8353 function only available for GCCs before 3.4 since GCC 3.4
8354 introduced a builtin.
8355 (lrint): Likewise.
8356 (llrintf): Likewise.
8357 (llrint): Likewise.
8358 (fmaxf): Likewise.
8359 (fmax): Likewise.
8360 (fminf): Likewise.
8361 (fmin): Likewise.
8362 (rint): Likewise.
8363 (rintf): Likewise.
8364 (nearbyint): Likewise.
8365 (nearbyintf): Likewise.
8366 (ceil): Likewise.
8367 (ceilf): Likewise.
8368 (floor): Likewise.
8369 (floorf): Likewise.
8370
3e5aef87
L
83712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8372
428bd707
L
8373 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8374 on both fields and cast pointer to __syscall_ulong_t.
8375
3e5aef87
L
8376 * bits/types.h (__fsword_t): New type.
8377 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8378 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8380 (__FSWORD_T_TYPE): Likewise.
8381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8382 (__FSWORD_T_TYPE): Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8384 (__FSWORD_T_TYPE): Likewise.
8385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8386 (__FSWORD_T_TYPE): Likewise.
8387 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8388 __SWORD_TYPE with __fsword_t.
8389 (statfs64): Likewise.
8390
1ba7c3dc
DM
83912012-05-17 David S. Miller <davem@davemloft.net>
8392
8393 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8394
59910343
AJ
83952012-05-17 Andreas Jaeger <aj@suse.de>
8396
8397 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8398 warning.
8399
2e4c1e9e
L
84002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8403
de7f5ce7
AJ
84042012-05-17 Andreas Jaeger <aj@suse.de>
8405
8406 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8407 when it is used.
8408
286abc3d
CM
84092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8410
8411 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8412
477cc68e
L
84132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8414
8415 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8416 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8417
1a0994f5
CD
84182012-05-17 Andreas Jaeger <aj@suse.de>
8419 Carlos O'Donell <carlos_odonell@mentor.com>
8420
8421 [BZ #14059]
8422 * sysdeps/x86_64/multiarch/init-arch.h
8423 (bit_YMM_Usable): Rename to...
8424 (bit_AVX_Usable): ... this.
8425 (bit_FMA4_Usable): New macro.
8426 (bit_XMM_state): New macro.
8427 (bit_YMM_state): New macro.
8428 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8429 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8430 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8431 (CPUID_OSXSAVE): New macro.
8432 (CPUID_AVX): New macro.
8433 (CPUID_FMA4): New macro.
8434 (index_YMM_Usable): Rename to...
8435 (index_AVX_Usable): ... this.
8436 (HAS_AVX): Use HAS_ARCH_FEATURE.
8437 (HAS_FMA4): Likewise.
8438 (HAS_YMM_USABLE): Remove.
8439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8440 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8441 are present.
8442 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8443 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8444 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8445 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8446 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8447
0af797de
CM
84482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8449
8450 * math/libm-test.c: Support platforms without multiple rounding modes.
8451 * math/bug-nextafter.c: Support platforms without FP exceptions.
8452 * math/bug-nexttoward.c: Likewise.
8453 * math/test-fenv.c: Likewise.
8454 * math/test-misc.c: Likewise.
8455 * stdlib/bug-getcontext.c: Likewise.
8456
e39745ff
AJ
84572012-05-17 Andreas Jaeger <aj@suse.de>
8458
8459 * manual/examples/search.c (critter_cmp): Change signature to
8460 avoid warnings.
8461 * manual/string.texi (Collation Functions): Likewise.
8462
48970aba
L
84632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8464
8465 * bits/types.h: Fold copyright years.
8466 * bits/typesizes.h: Likewise.
8467 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8471 * time/time.h: Likewise.
8472
bedee953
PP
84732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8474
8475 [BZ #208]
8476 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8477 in instead of returning them. Return void.
8478 (__libc_mallinfo): Accumulate over all arenas.
8479 (__malloc_stats): Adjust for change in int_mallinfo interface.
8480
61653dfb
RM
84812012-05-16 Roland McGrath <roland@hack.frob.com>
8482
30b99d79
RM
8483 [BZ #10375]
8484 * configure.in (NM): Add AC_CHECK_TOOL for it.
8485 (libc_extra_cflags): New substituted variable.
8486 Check for -fstack-protector being used implicitly.
8487 * configure: Regenerated.
8488 * config.make.in (config-extra-cflags): New variable,
8489 gets @libc_extra_cflags@.
8490 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8491
61653dfb
RM
8492 [BZ #10375]
8493 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8494 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8495 * configure: Regenerated.
8496 * config.make.in (CPPUNDEFS): New substituted variable.
8497 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8498 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8499 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8500
661768bb
L
85012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8502
8503 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8504 (mq_attr): Use __syscall_slong_t.
8505
d4261567
L
85062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8507
8508 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8509 Check __x86_64__ instead of __WORDSIZE.
8510 (_STAT_VER_LINUX): Likewise.
8511 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8512 __syscall_ulong_t and __syscall_slong_t.
8513 (stat64): Likewise.
8514
cf3ff365
L
85152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8518
76cf3e4d
L
85192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8520
8521 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8522
a637753a
L
85232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8526 __syscall_ulong_t.
8527
d5e05119
L
8528 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8529 include <bits/wordsize.h>. Check __x86_64__ instead of
8530 __WORDSIZE.
8531 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8532 defined.
8533 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8534
f62ee380
L
8535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8536 include <bits/wordsize.h>. Check __x86_64__ instead of
8537 __WORDSIZE.
8538 (user_regs_struct): Use "__extension__ unsigned long long"
8539 instead of "unsigned long" if __x86_64__ is defined.
8540 (user): Likewise. Pad after pointer field if __ILP32__ is
8541 defined.
8542
4e124ced
JM
85432012-05-16 Joseph Myers <joseph@codesourcery.com>
8544
6a3951a0
JM
8545 * configure.in (makeinfo): Require version 4.5 or later. Allow
8546 versions 5 to 9.
8547 * configure: Regenerated.
8548 * manual/install.texi (texinfo): Increase version requirement to
8549 4.5 or later.
8550 * INSTALL: Regenerated.
8551
4e124ced
JM
8552 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8553
953ca31a
L
85542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8555
8556 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8557
617aca05
L
8558 * sysdeps/x86_64/x32/ffs.c: New file.
8559
5762f7ae
L
8560 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8561 __syscall_ulong_t.
8562 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8563 defined. Use __syscall_ulong_t.
8564 (shminfo): Use __syscall_ulong_t.
8565 (shm_info): Likewise.
8566
a26b6856
L
8567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8568 __syscall_ulong_t.
8569
cb2b9ef7
L
8570 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8571 <bits/wordsize.h>.
8572 (msgqnum_t): Use __syscall_ulong_t.
8573 (msglen_t): Likewise.
8574 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8575 __syscall_ulong_t.
8576
34683bb0
L
8577 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8579
84a68786
L
8580 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8581
48baa5f1
L
8582 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8583 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8584
180be88b
L
8585 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8586 __syscall_slong_t.
8587
5e90c8ad
L
8588 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8589 include <bits/wordsize.h>. Check __x86_64__ instead of
8590 __WORDSIZE.
8591
23dfb58b
L
8592 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8593 "unsigned long long int" if __x86_64__ is defined.
8594 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8595
ce5d54b0
L
8596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8598 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8599
13dc9eac
L
8600 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8601 <stdint.h>.
8602 (GET_PC): Cast to uintptr_t first.
8603 (GET_FRAME): Likewise.
8604 (GET_STACK): Likewise.
8605
a7895d15
L
8606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8612 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8613 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8614 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8616 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8624 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8626 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8627 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8628 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8629 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8630 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8632 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8633 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8634 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8635
656416c9
AS
86362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8637
5bd66283
AS
8638 * Makerules (+depfiles): Also collect depfiles from .oS in
8639 $(extra-objs).
8640 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8641 .oS, $(libnldbl-routines)).
8642
656416c9
AS
8643 * Makerules (native-compile-mkdep-flags): Define.
8644 * sunrpc/Makefile (extra-objs): Add $(addprefix
8645 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8646 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8647 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8648 calling $(make-target-directory).
8649
a46f2169
L
86502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8651
8652 * bits/types.h (__snseconds_t): Removed.
8653 * time/time.h (struct timespec): Replace __snseconds_t with
8654 __syscall_slong_t.
8655 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8656 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8657 Likewise.
8658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8659 (__SNSECONDS_T_TYPE): Likewise.
8660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8661 (__SNSECONDS_T_TYPE): Likewise.
8662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8663 (__SNSECONDS_T_TYPE): Likewise.
8664
6af6528b
L
86652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 * sysdeps/mach/hurd/bits/typesizes.h
8668 (__SYSCALL_SLONG_TYPE): New macro.
8669 (__SYSCALL_ULONG_TYPE): Likewise.
8670
de986b56
L
86712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8672
8673 * bits/types.h (__syscall_slong_t): New type.
8674 (__syscall_ulong_t): Likewise.
8675
8676 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8677 (__SYSCALL_ULONG_TYPE): Likewise.
8678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8679 (__SYSCALL_SLONG_TYPE): Likewise.
8680 (__SYSCALL_ULONG_TYPE): Likewise.
8681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8682 (__SYSCALL_SLONG_TYPE): Likewise.
8683 (__SYSCALL_ULONG_TYPE): Likewise.
8684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8685 (__SYSCALL_SLONG_TYPE): Likewise.
8686 (__SYSCALL_ULONG_TYPE): Likewise.
8687
85736dc7
L
86882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8689
8690 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8691 Add sigaltstack-offsets.sym.
8692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8693 <sigaltstack-offsets.h>.
8694 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8695 longjmp_msg pointer.
8696 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8697 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8698 signal stack.
8699 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8700
cc03b296
JM
87012012-05-15 Joseph Myers <joseph@codesourcery.com>
8702
a9538892
JM
8703 * elf/stackguard-macros.h: Remove file.
8704 * sysdeps/generic/stackguard-macros.h: New file.
8705 * sysdeps/i386/stackguard-macros.h: Likewise.
8706 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8707 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8708 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8709 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8710 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8711 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8712 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8713 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8714 <elf/stackguard-macros.h>.
8715
cc03b296
JM
8716 [BZ #14109]
8717 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8718 __aligned__ in attribute.
8719 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8720 (gregset_t): Likewise.
8721
93171016
L
87222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8723
8724 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8725 * sysdeps/x86_64/64/Implies-after: Here. New file.
8726 * sysdeps/x86_64/x32/Implies-after: New file.
8727
d86813a0
L
87282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8731 and access return value for _dl_profile_fixup. Use R10_LP to
8732 load frame size.
8733
2953ec75
L
87342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8735
8736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8737
3b550e9e
L
87382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8739
8740 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8741 * sysdeps/x86_64/x32/sysdep.h: New file.
8742
eda41706
L
87432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8744
8745 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8746 * sysdeps/x86_64/setjmp.S: Likewise.
8747
9ea01d93
AZ
87482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749
8750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8752 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8753 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8754 remove unused global constant.
8755
02a91938
CM
87562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8757
8758 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8759 include of <not-cancel.h>.
8760
6540185f
RM
87612012-05-15 Roland McGrath <roland@hack.frob.com>
8762
8763 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8764
509072a0
AJ
87652012-05-15 Jeff Law <law@redhat.com>
8766 Andreas Jaeger <aj@suse.de>
8767
8768 [BZ #13594]
8769 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8770 out from...
8771 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8772 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8773 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8774 code changing __hst_map_handle.map.
8775
ba75122d
RM
87762012-05-15 Roland McGrath <roland@hack.frob.com>
8777
8778 * configure.in (sysnames): Look for Implies-before and Implies-after
8779 files.
8780 * configure: Regenerated.
8781
890d8bd8
L
87822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8783
8784 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8785 8-byte data alignment with LP_SIZE alignment.
8786
f6ee6623
L
87872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8788
8789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8790 into R10_LP.
8791
ea2626f6
L
87922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8793
8794 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8795
085f715e
L
87962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8797
8798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8799 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8800 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8801 Likewise.
8802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8803
be8498fc
L
88042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8807 (stackinfo_sub_sp): Likewise.
8808
70bc83b9
L
88092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8812 RAX_LP.
8813
9bc0b730
L
88142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8815
8816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8817 into R*_LP.
8818
6d2850e7
L
88192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8822 sizes into R*_LP.
8823
3cb84561
L
88242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8825
8826 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8827
54e2ed81
L
88282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8829
8830 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8831 into R11_LP and load __x86_64_shared_cache_size_half into
8832 R8_LP.
8833
8a17f349
L
88342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8837 R8_LP.
8838
777b1eea
AZ
88392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8840
8841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8842 logb for POWER7.
8843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8844 logbf for POWER7.
8845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8846 logbl for POWER7.
8847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8848 powerpc32/power7/fpu/s_logb.c via #include.
8849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8850 powerpc32/power7/fpu/s_logbf.c via #include.
8851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8852 powerpc32/power7/fpu/s_logbl.c via #include.
8853
d20d4ac2
JM
88542012-05-15 Joseph Myers <joseph@codesourcery.com>
8855
8856 * README.libm: Remove file.
8857
6cdef1ab
L
88582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8861 count for x32. Use R*_LP and omit operand-size suffix.
8862
0b254d8f
L
88632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8864
8865 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8866 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8867 * sysdeps/x86_64/x32/shlib-versions: New file.
8868
ceb809dc
RM
88692012-05-14 Roland McGrath <roland@hack.frob.com>
8870
8871 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8872 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8873 Use _dl_fatal_printf instead.
8874
37f1abd4
JM
88752012-05-14 Joseph Myers <joseph@codesourcery.com>
8876
8877 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8878 set if not set by the user. Do not allow for being unset.
8879 * sysdeps/unix/sysv/linux/configure: Regenerated.
8880
11de3a33
L
88812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8882
8883 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8884 the `q' suffix from lea and replace .quad with ASM_ADDR.
8885
e02f153a
L
88862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8887
8888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8889 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8890 instead of $17.
8891 (PTR_DEMANGLE): Likewise.
8892
520ae0fd
L
88932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8894
8895 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8896 (LP_OP): Likewise.
8897 (ASM_ADDR): Likewise.
8898 (RAX_LP): Likewise.
8899 (RBP_LP): Likewise.
8900 (RBX_LP): Likewise.
8901 (RCX_LP): Likewise.
8902 (RDI_LP): Likewise.
8903 (RSI_LP): Likewise.
8904 (RSP_LP): Likewise.
8905 (R8_LP): Likewise.
8906 (R9_LP): Likewise.
8907 (R10_LP): Likewise.
8908 (R10_LP): Likewise.
8909 (R11_LP): Likewise.
8910 (R12_LP): Likewise.
8911 (R13_LP): Likewise.
8912 (R14_LP): Likewise.
8913 (R15_LP): Likewise.
8914
b985be81
L
89152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * sysdeps/x86_64/x32/dl-machine.h: New file.
8918
6a4888ff
AJ
89192012-05-14 Andreas Jaeger <aj@suse.de>
8920
8921 * manual/Makefile (subdir): Remove export of subdir.
8922 (all): Remove target.
8923 (.PHONY): Remove all from list.
8924 (mkinstalldirs): Remove.
8925 (.PHONY): Remove installdirs from list.
8926 ($(inst_infodir)/libc.info): Use make-target-directory.
8927 (installdirs): Remove.
8928 (subdir_%): Remove.
8929 (glibc-targets): Remove.
8930 (lib): Remove.
8931 (stubs): Remove.
8932 ($(objpfx)stubs ../po/manual.pot): Remove.
8933 ($(objpfx)stamp%): Remove.
8934 (make-target-directory): Remove.
8935 (subdir_install): Remove.
8936 (routines): Remove.
8937 (aux): Remove.
8938 (sources): Remove.
8939 (objects): Remove.
8940 (headers): Remove.
8941
8942 [BZ #13750]
8943 * manual/.gitignore: Remove, it's not needed anymore.
8944 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8945 all files in it.
8946 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8947 directory.
8948 (texis): Renamed to $(objpfx)texis.
8949 (texis-path): New, contains path to generated files.
8950 (chapters.%): Use texis-path for complete path, add extra argument
8951 libc-texinfo.sh.
8952 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8953 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8954 (summary,texi, stamp-summary): Use complete path of
8955 files. Generate files in build dir.
8956 (dir-add.texi): Build in build dir.
8957 (libm-err.texi,stamp-libm-err): Likewise.
8958 (version.texi, stamp-version): Likewise.
8959 (.%c.texi): Likewise.
8960 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8961 (mostlyclean): Remove target.
8962 (realclean): Remove target.
8963 (generated): Add new variable with contents from mostlyclean and
8964 realclean, remove entries duplicated in common-mostlyclean, add
8965 stamp-libm-err and stamp-version.
8966 (generated-dirs): Add libc directory.
8967 ($(inst_infodir)/libc.info): Install files from build dir.
8968
8969 * manual/install.texi (Configuring and compiling): Adjust since
8970 the info files are not part of the tar ball anymore.
8971
7ac77294
AJ
89722012-05-14 Andreas Jaeger <aj@suse.de>
8973
8974 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8975 variable.
8976
ffb7875d
JM
89772012-05-14 Joseph Myers <joseph@codesourcery.com>
8978
8979 [BZ #13717]
8980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8981 to 2.2.0 where earlier.
8982 * sysdeps/unix/sysv/linux/configure: Regenerated.
8983 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8984 Remove conditional code.
8985 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8986 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8987 Remove conditional code.
8988 [!__NR_lchown]: Likewise.
8989 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8990 [__NR_lchown]: Likewise.
8991 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8992 comment referencing __ASSUME_LCHOWN_SYSCALL.
8993 * sysdeps/unix/sysv/linux/i386/sigaction.c
8994 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8995 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8996 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8997 Remove conditional code.
8998 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8999 (__protocol_available): Remove #if 0 code.
9000 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9001 conditional code.
9002 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9003 * sysdeps/unix/sysv/linux/kernel-features.h
9004 (__ASSUME_GETCWD_SYSCALL): Don't define.
9005 (__ASSUME_REALTIME_SIGNALS): Likewise.
9006 (__ASSUME_PREAD_SYSCALL): Likewise.
9007 (__ASSUME_PWRITE_SYSCALL): Likewise.
9008 (__ASSUME_POLL_SYSCALL): Likewise.
9009 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9010 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9011 non-SPARC.
9012 (__ASSUME_SIOCGIFNAME): Don't define.
9013 (__ASSUME_MSG_NOSIGNAL): Likewise.
9014 (__ASSUME_SENDFILE): Define unconditionally.
9015 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9016 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9017 conditional code.
9018 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9019 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9020 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9021 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9022 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9023 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9024 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9026 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9038 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9049 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9050 Remove conditional code.
9051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9052 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9053 Remove conditional code.
9054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9055 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9056 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9057 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9058 Remove conditional code.
9059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9060 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9061 Remove conditional code.
9062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9063 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9064 Remove conditional code.
9065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9066 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9067 Remove conditional code.
9068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9069 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9070 Remove conditional code.
9071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9072 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9073 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9075 * sysdeps/unix/sysv/linux/sigaction.c
9076 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9077 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9078 * sysdeps/unix/sysv/linux/sigpending.c
9079 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9080 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9081 * sysdeps/unix/sysv/linux/sigprocmask.c
9082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9084 * sysdeps/unix/sysv/linux/sigsuspend.c
9085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9088 (__libc_missing_rt_sigs): Remove.
9089 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9090 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9091 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9092 Remove conditional code.
9093 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9094 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9095 return 1.
9096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9097 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9098 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9099 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9100
1bfb7291
AJ
91012012-05-14 Andreas Jaeger <aj@suse.de>
9102
caae5a81
AJ
9103 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9104 it's not used in glibc.
9105 (__coshm1): Likewise.
9106 (__acosh1p): Likewise.
9107 (__sgn): Likewise.
9108
1bfb7291
AJ
9109 * manual/string.texi (Copying and Concatenation): Add missing
9110 variable in concat example.
9111 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9112
c044d724
L
91132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9114
144c5467 9115 [BZ #14103]
c044d724
L
9116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9117 __builtin_clzl with __builtin_clzll.
9118
2523c62b
L
91192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 [BZ #14104]
9122 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9123 libc_freeres_ptr.
9124
d7bb4c42
LD
91252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9126
9127 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9128 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9129 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9130 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9131
9dc4e1fb
MF
91322012-05-14 Mike Frysinger <vapier@gentoo.org>
9133
9134 * NEWS: Update ia64 info.
9135
c7df0112
AS
91362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9137
9138 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9139 used as bcopy.
9140
dc70356c
TS
91412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9142
9143 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9144 * sysdeps/unix/syscalls.list (dup3): Likewise.
9145 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9146 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9147
9fb1a21f
L
91482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9149
9150 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9151 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9152
4822a2a5
L
91532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9154
9155 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9156 thread pointer.
9157 (TLS_IE): Use mov/add instead of movq/addq to load thread
9158 pointer.
9159 (TLS_GD_PREFIX): New.
9160 (TLS_GD): Use it.
9161
842b81d6
DM
91622012-05-11 David S. Miller <davem@davemloft.net>
9163
9164 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9165 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9166 (_FPU_SETCW): Likewise.
9167
1cf463cd
L
91682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9169
9170 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9171 is 32-byte aligned.
9172
60cc4a18
AS
91732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9174
9175 [BZ #11837]
9176 * iconvdata/gb18030.c: Update tables.
9177 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9178 characters specially.
9179 (BODY for TO_LOOP): Add encoding of missing ranges.
9180
febb44a4
TS
91812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9182
9183 [BZ #13673]
9184 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9185 * sysdeps/mach/hurd/dup3.c: Likewise.
9186 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9187 * sysdeps/powerpc/memmove.c:: Likewise.
9188
0a10fb9e
L
91892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9190
9191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9192 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9193
df8a552f
L
91942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9195
9196 * elf/elf.h (R_X86_64_RELATIVE64): New.
9197 (R_X86_64_NUM): Updated.
9198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9199 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9200 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9201 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9202 tst-quad1pie tst-quad2pie
9203 (modules-names): Add tst-quadmod1 tst-quadmod2.
9204 ($(objpfx)tst-quad1): New dependency.
9205 ($(objpfx)tst-quad2): Likewise.
9206 ($(objpfx)tst-quad1pie): Likewise.
9207 ($(objpfx)tst-quad2pie): Likewise.
9208 * sysdeps/x86_64/tst-quad1.c: New file.
9209 * sysdeps/x86_64/tst-quad1pie.c: New file.
9210 * sysdeps/x86_64/tst-quad2.c: Likewise.
9211 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9212 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9213 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9214 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9215 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9216
f34d6f84
ST
92172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9218
f42d41d1
ST
9219 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9220 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9221 * streams/stropts.h (t_scalar_t): Define type.
9222
3c3571fc
ST
9223 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9224 (_PATH_PRESERVE): Set to "/var/lib".
9225 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9226
61f06bd3
ST
9227 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9228 instead of int.
9229
918d4d71
ST
9230 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9231 if __dir_mkfile succeeded.
9232
f34d6f84
ST
9233 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9234 checking for _hurd_dtablesize. Unlock it right after having
9235 finished _hurd_dtable allocation.
9236
10589b4a
TS
92372012-05-10 Thomas Schwinge <thomas@schwinge.name>
9238
674cdbc7
TS
9239 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9240 * sysdeps/mach/hurd/configure: Regenerated.
9241 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9242 special-casing to...
9243 * sysdeps/gnu/configure.in: ... this new file.
9244 * sysdeps/unix/sysv/linux/configure: Regenerated.
9245 * sysdeps/gnu/configure: New generated file.
9246
8e41b99f
TS
9247 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9248 for Linux: use nsec instead of usec, as well as:
9249 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9250 members of type struct timespec.
9251 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9252 New macros.
9253 (struct stat64): Likewise.
9254 (_STATBUF_ST_NSEC): New macro.
9255 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9256
10589b4a
TS
9257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9258 __strtoul_internal rather than strtoul.
9259
63643c85
PT
92602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9261
9262 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9263 and reject them.
9264
3faebe6a
ST
92652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9266
9267 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9268 which preserves existing values.
9269 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9270
c6474b07
PT
92712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9272
9273 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9274 TIMEOUT values. Return EINVAL for NFDS values either negative or
9275 greater than FD_SETSIZE.
9276
1043890b
ST
92772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9278
9279 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9280 allocated, call __vm_protect to finish enabling the existing space, and
9281 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9282 allocate the remainder.
9283
37ed8b9b
PT
92842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9285
9286 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9287 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9288
db653660
ST
92892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9290
37ed8b9b
PT
9291 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9292 sysdeps/mach/hurd/readlink.c.
b29d4053 9293
db653660
ST
9294 * posix/tst-sysconf.c (posix_options): Only use
9295 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9296 _POSIX_SYNCHRONIZED_IO when they are defined
9297 * sysdeps/mach/hurd/bits/posix_opt.h:
9298 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9299 (_XOPEN_REALTIME): Undefine macro.
9300 (_XOPEN_REALTIME_THREADS): Undefine macro.
9301 (_XOPEN_SHM): Undefine macro.
9302 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9303 macro to -1.
9304 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9305 macro to -1.
9306 (_POSIX_ASYNC_IO): Undefine macro.
9307 (_POSIX_PRIORITIZED_IO): Undefine macro.
9308 (_POSIX_SPIN_LOCKS): Define macro to -1.
9309
ee16e894
ST
9310 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9311 SA_NODEFER, SA_RESETHAND.
9312 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9313 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9314 F_DUPFD_CLOEXEC.
9315
6103ae3b
TS
93162012-05-10 Thomas Schwinge <thomas@schwinge.name>
9317
9318 * elf/Makefile (pldd-modules): Define unconditionally.
9319
80b4e5f3
TS
93202012-05-10 Thomas Schwinge <thomas@schwinge.name>
9321
9322 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9323
edadcbd6
ST
93242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9325
9326 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9327 Return ENOENT when name is empty.
9328 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9329
80694780
TS
93302012-05-10 Thomas Schwinge <thomas@schwinge.name>
9331
1792c087
TS
9332 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9333
80694780
TS
9334 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9335
6b645f0d
ST
93362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9337
80694780
TS
9338 Fix mlock in all cases except non-readable pages.
9339 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9340 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9341
6b645f0d
ST
9342 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9343 (__mkdir): When path is `/', just fail with EEXIST.
9344 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9345
e468f8a3
TS
93462012-05-10 Thomas Schwinge <thomas@schwinge.name>
9347
9348 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9349 <sys/uio.h> (for writev).
9350 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9351 and <sys/param.h> (for MIN).
9352
a4186cff
PT
93532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9354
9355 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9356 REQUESTED_TIME. Properly set the remaining time and return EINTR
9357 if interrupted.
9358
510bbf14
TS
93592012-05-10 Thomas Schwinge <thomas@schwinge.name>
9360
9361 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9362 Depend on against $(link-rpcuserlibs).
9363
5d5722e8
ST
93642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9365
a4186cff
PT
9366 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9367 (__libc_stack_end): Do not use attribute_relro.
9368 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9369 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9370 to libthread-provided value.
a4186cff
PT
9371 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9372 attribute_relro.
5d5722e8 9373
37233df9
TS
93742012-05-10 Thomas Schwinge <thomas@schwinge.name>
9375
be971a2b
TS
9376 [BZ #3748]
9377 * bits/libc-lock.h (__libc_once_get): New macro.
9378 * sysdeps/mach/bits/libc-lock.h: Likewise.
9379 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9380 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9381 instead of using implementation details.
9382
37233df9
TS
9383 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9384 * libio/freopen.c: Likewise.
9385 * libio/freopen64.c: Likewise.
9386 * misc/syslog.c: Likewise.
9387 * nscd/connections.c: Likewise.
9388 * nscd/netgroupcache.c: Likewise.
9389 * sysdeps/posix/getcwd.c: Likewise.
9390
38de94a5
RM
93912012-05-10 Roland McGrath <roland@hack.frob.com>
9392
9393 * math/w_ilogbf.c: Add #include <limits.h>.
9394
67530489
ST
93952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9396
a4186cff 9397 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9398 path instead of returning without unlocking.
9399
67530489
ST
9400 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9401 immediate-write ioctls.
9402 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9403
5aa3a74a
TS
94042012-05-10 Thomas Schwinge <thomas@schwinge.name>
9405
18bad2ae
TS
9406 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9407 __builtin_frame_address instead of making assumptions about the
9408 location of the return address relative to DATA. Force early load of
9409 the return address.
9410 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9411 __builtin_frame_address.
9412
5aa3a74a
TS
9413 dup3 for GNU Hurd.
9414 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9415 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9416 implement dup3 and do some further code clean-ups.
9417 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9419
ecd0de9a
ST
94202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9421
cd9fa985
ST
9422 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9423
a4186cff
PT
9424 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9425 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9426 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9427 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9428 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9429 d->port.lock.
802ca5a5 9430
a4186cff
PT
9431 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9432 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9433 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9434
bcf55240
TS
94352012-05-10 Thomas Schwinge <thomas@schwinge.name>
9436
6960eb42
TS
9437 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9438 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9439 definitions.
9440
eb43375f
TS
9441 accept4 for GNU Hurd.
9442 * include/sys/socket.h (__libc_accept4): New prototype.
9443 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9444 to implement __libc_accept4.
9445 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9446 __libc_accept4.
9447 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9448
bcf55240
TS
9449 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9450 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9451 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9452 signal-defines.sym.
9453
6178c55b
ST
94542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9455
a4186cff 9456 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9457
6f080c2f
TS
94582012-05-10 Thomas Schwinge <thomas@schwinge.name>
9459
9460 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9461 assertion on O_CLOEXEC flag.
9462 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9463 * hurd/intern-fd.c: Likewise.
9464 * hurd/port2fd.c: Likewise.
9465
bcfe3a54
ST
94662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9467
9468 [BZ #3906]
9469 * bits/in.h (IPV6_PKTINFO): Define new macro.
9470 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9471
89c9aa49
AZ
94722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9473
9474 [BZ #13954]
9475 [BZ #13955]
9476 [BZ #13956]
9477 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9478 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9479 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9482 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9483 * math/libm-test.inc (logb_test) : Additional logb tests.
9484
021db4be
AJ
94852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9486 Andreas Jaeger <aj@suse.de>
9487
9488 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9489 * configure: Regenerated.
9490 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9491 * config.make.in (link-obsolete-rpc): New substituted variable.
9492 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9493 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9494 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9495 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9496 so that libc.a contains the symbols.
9497 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9498 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9499 * sunrpc/auth_none.c: Likewise.
9500 * sunrpc/auth_unix.c: Likewise.
9501 * sunrpc/authdes_prot.c: Likewise.
9502 * sunrpc/authuxprot.c: Likewise.
9503 * sunrpc/clnt_gen.c: Likewise.
9504 * sunrpc/clnt_perr.c: Likewise.
9505 * sunrpc/clnt_raw.c: Likewise.
9506 * sunrpc/clnt_simp.c: Likewise.
9507 * sunrpc/clnt_tcp.c: Likewise.
9508 * sunrpc/clnt_udp.c: Likewise.
9509 * sunrpc/clnt_unix.c: Likewise.
9510 * sunrpc/des_crypt.c: Likewise.
9511 * sunrpc/des_soft.c: Likewise.
9512 * sunrpc/get_myaddr.c: Likewise.
9513 * sunrpc/key_call.c: Likewise.
9514 * sunrpc/key_prot.c: Likewise.
9515 * sunrpc/netname.c: Likewise.
9516 * sunrpc/pm_getmaps.c: Likewise.
9517 * sunrpc/pm_getport.c: Likewise.
9518 * sunrpc/pmap_clnt.c: Likewise.
9519 * sunrpc/pmap_prot.c: Likewise.
9520 * sunrpc/pmap_prot2.c: Likewise.
9521 * sunrpc/pmap_rmt.c: Likewise.
9522 * sunrpc/publickey.c: Likewise.
9523 * sunrpc/rpc_cmsg.c: Likewise.
9524 * sunrpc/rpc_common.c: Likewise.
9525 * sunrpc/rpc_dtable.c: Likewise.
9526 * sunrpc/rpc_prot.c: Likewise.
9527 * sunrpc/rpc_thread.c: Likewise.
9528 * sunrpc/rtime.c: Likewise.
9529 * sunrpc/svc.c: Likewise.
9530 * sunrpc/svc_auth.c: Likewise.
9531 * sunrpc/svc_raw.c: Likewise.
9532 * sunrpc/svc_run.c: Likewise.
9533 * sunrpc/svc_tcp.c: Likewise.
9534 * sunrpc/svc_udp.c: Likewise.
9535 * sunrpc/svc_unix.c: Likewise.
9536 * sunrpc/svcauth_des.c: Likewise.
9537 * sunrpc/xcrypt.c: Likewise.
9538 * sunrpc/xdr.c: Likewise.
9539 * sunrpc/xdr_array.c: Likewise.
9540 * sunrpc/xdr_float.c: Likewise.
9541 * sunrpc/xdr_intXX_t.c: Likewise.
9542 * sunrpc/xdr_mem.c: Likewise.
9543 * sunrpc/xdr_rec.c: Likewise.
9544 * sunrpc/xdr_ref.c: Likewise.
9545 * sunrpc/xdr_sizeof.c: Likewise.
9546 * sunrpc/xdr_stdio.c: Likewise.
9547
b5c086a2
RM
95482012-05-10 Roland McGrath <roland@hack.frob.com>
9549
9550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9551 change. Update copyright years.
9552
6d74dd09
JM
95532012-05-10 Joseph Myers <joseph@codesourcery.com>
9554
9555 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9556
28e72501
MK
95572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9558 Joseph Myers <joseph@codesourcery.com>
9559 Paul Pluzhnikov <ppluzhnikov@google.com>
9560
9561 [BZ #14012]
9562 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9563 requiring rpcgen.
9564 [cross-compiling] (extra-libs): Likewise.
9565 [cross-compiling] (extra-libs-others): Likewise.
9566 [cross-compiling] (librpcsvc-routines): Likewise.
9567 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9568 [cross-compiling] (omit-deps): Likewise.
9569 (sunrpc-CPPFLAGS): New variable.
9570 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9571 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9572 (cross-rpcgen-objs): New variable.
9573 (extra-objs): Append $(cross-rpcgen-objs).
9574 ($(cross-rpcgen-objs)): New rule.
9575 ($(objpfx)cross-rpcgen): Likewise.
9576 (rpcgen-cmd): Define to use $(built-program-file). Expand
9577 comment.
9578 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9579 ($(objpfx)x%.stmp): Likewise.
9580 * sunrpc/proto.h [IS_IN_build] (_): Define.
9581 [IS_IN_build] (_libc_intl_domainname): Likewise.
9582
c8c59454
L
95832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9584
9585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9586 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9587 and R_X86_64_TPOFF64.
9588
6f27cd16
JM
95892012-05-10 Joseph Myers <joseph@codesourcery.com>
9590
9591 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9592 sysdeps/unix/sysv/syscalls.list.
9593 (stime): Likewise.
9594 (utime): Likewise.
9595 * sysdeps/unix/sysv/syscalls.list: Remove file.
9596
02467e1c
PE
95972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9598
9599 [BZ #3440]
9600 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9601 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9602 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9603 (__LC_IDENTIFICATION): Make these macros useful in #if
9604 expressions, as required by C99.
9605
da392631
AS
96062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9607
9608 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9609 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9610 after this.
9611
8115f29b
L
96122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9613
9614 * stdlib/longlong.h: Updated from GCC.
9615
bdd74070
AJ
96162012-05-09 Andreas Jaeger <aj@suse.de>
9617
edfe0dbe
AJ
9618 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9619 default is first entry.
9620 (run_mode): Set type.
9621 (main): Remove informal message about syslog.
9622 (options): Fix typo.
9623
bcfe3a54
ST
9624 [BZ #14053]
9625 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9626 to asm.
bcfe3a54
ST
9627 (lrint): Likewise.
9628 (llrintf): Likewise.
9629 (llrint): Likewise.
9630 (rint): Likewise.
9631 (rintf): Likewise.
9632 (nearbyint): Likewise.
9633 (nearbyintf): Likewise.
bdd74070 9634
91d8d69e
AJ
96352012-05-09 Andreas Jaeger <aj@suse.de>
9636 Pedro Alves <palves@redhat.com>
9637
9638 * nscd/nscd.c (run_mode): Use enum.
9639 (main): Cleanup coding style issue.
9640
bb90b80b
AJ
96412012-05-09 Alexandre Oliva <aoliva@redhat.com>
9642 Andreas Jaeger <aj@suse.de>
9643
bcfe3a54
ST
9644 * nscd/nscd.c (go_background): Replaced with...
9645 (run_mode): ... this.
bb90b80b 9646 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9647 (options): Add -F --foreground.
9648 (main): Implement it.
9649 (parse_opt): Parse it.
bb90b80b 9650
1a4b75a1
AJ
96512012-05-09 Andreas Jaeger <aj@suse.de>
9652
9653 [BZ #14083]
9654 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9655 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9656 -Wconversion warning.
9657 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9658 Likewise.
9659
b1cc2472
JM
96602012-05-09 Joseph Myers <joseph@codesourcery.com>
9661
9662 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9663 == 0.
9664 (LC_ALL): Use macro-int-constant.
9665 (LC_COLLATE): Likewise.
9666 (LC_CTYPE): Likewise.
9667 (LC_MESSAGES): Likewise.
9668 (LC_MONETARY): Likewise.
9669 (LC_NUMERIC): Likewise.
9670 (LC_TIME): Likewise.
9671 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9672 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9674 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9675 Specify type.
9676 [C99-based standards] (float_t): Expect type.
9677 [C99-based standards] (double_t): Expect type.
9678 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9679 type.
9680 [C99-based standards] (HUGE_VALL): Likewise.
9681 [C99-based standards] (INFINITY): Likewise.
9682 [C99-based standards] (NAN): Likewise.
9683 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9684 [C99-based standards] (FP_NAN): Likewise.
9685 [C99-based standards] (FP_NORMAL): Likewise.
9686 [C99-based standards] (FP_SUBNORMAL): Likewise.
9687 [C99-based standards] (FP_ZERO): Likewise.
9688 [C99-based standards] (FP_FAST_FMA): Use
9689 optional-macro-int-constant. Specify type. Require == 1.
9690 [C99-based standards] (FP_FAST_FMAF): Likewise.
9691 [C99-based standards] (FP_FAST_FMAL): Likewise.
9692 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9693 [C99-based standards] (FP_ILOGBNAN): Likewise.
9694 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9695 Specify type.
9696 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9697 [C99-based standards] (math_errhandling): Specify type.
9698 [ISO99 || ISO11] (signgam): Do not allow.
9699 [non-C99-based standards] (copysignf): Do not allow.
9700 [non-C99-based standards] (exp2f): Likewise.
9701 [non-C99-based standards] (log2f): Likewise.
9702 [non-C99-based standards] (modff): Allow.
9703 [non-C99-based standards] (erff): Do not allow.
9704 [non-C99-based standards] (erfcf): Likewise.
9705 [non-C99-based standards] (gammaf): Likewise.
9706 [non-C99-based standards] (hypotf): Likewise.
9707 [non-C99-based standards] (j0f): Likewise.
9708 [non-C99-based standards] (j1f): Likewise.
9709 [non-C99-based standards] (jnf): Likewise.
9710 [non-C99-based standards] (lgammaf): Likewise.
9711 [non-C99-based standards] (tgammaf): Likewise.
9712 [non-C99-based standards] (y0f): Likewise.
9713 [non-C99-based standards] (y1f): Likewise.
9714 [non-C99-based standards] (ynf): Likewise.
9715 [non-C99-based standards] (isnanf): Likewise.
9716 [non-C99-based standards] (acoshf): Likewise.
9717 [non-C99-based standards] (asinhf): Likewise.
9718 [non-C99-based standards] (atanhf): Likewise.
9719 [non-C99-based standards] (cbrtf): Likewise.
9720 [non-C99-based standards] (expm1f): Likewise.
9721 [non-C99-based standards] (ilogbf): Likewise.
9722 [non-C99-based standards] (log1pf): Likewise.
9723 [non-C99-based standards] (logbf): Likewise.
9724 [non-C99-based standards] (nextafterf): Likewise.
9725 [non-C99-based standards] (remainderf): Likewise.
9726 [non-C99-based standards] (rintf): Likewise.
9727 [non-C99-based standards] (scalbf): Likewise.
9728 [non-C99-based standards] (copysignl): Likewise.
9729 [non-C99-based standards] (exp2l): Likewise.
9730 [non-C99-based standards] (log2l): Likewise.
9731 [non-C99-based standards] (modfl): Allow.
9732 [non-C99-based standards] (erfl): Do not allow.
9733 [non-C99-based standards] (erfcl): Likewise.
9734 [non-C99-based standards] (gammal): Likewise.
9735 [non-C99-based standards] (hypotl): Likewise.
9736 [non-C99-based standards] (j0l): Likewise.
9737 [non-C99-based standards] (j1l): Likewise.
9738 [non-C99-based standards] (jnl): Likewise.
9739 [non-C99-based standards] (lgammal): Likewise.
9740 [non-C99-based standards] (tgammal): Likewise.
9741 [non-C99-based standards] (y0l): Likewise.
9742 [non-C99-based standards] (y1l): Likewise.
9743 [non-C99-based standards] (ynl): Likewise.
9744 [non-C99-based standards] (isnanl): Likewise.
9745 [non-C99-based standards] (acoshl): Likewise.
9746 [non-C99-based standards] (asinhl): Likewise.
9747 [non-C99-based standards] (atanhl): Likewise.
9748 [non-C99-based standards] (cbrtl): Likewise.
9749 [non-C99-based standards] (expm1l): Likewise.
9750 [non-C99-based standards] (ilogbl): Likewise.
9751 [non-C99-based standards] (log1pl): Likewise.
9752 [non-C99-based standards] (logbl): Likewise.
9753 [non-C99-based standards] (nextafterl): Likewise.
9754 [non-C99-based standards] (remainderl): Likewise.
9755 [non-C99-based standards] (rintl): Likewise.
9756 [non-C99-based standards] (scalbl): Likewise.
9757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9758 [non-C99-based standards] (FP_*): Do not allow.
9759 [C99-based standards] (FP_*): Change to
9760 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9761 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9762 allow.
9763 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9764 (SIG_ERR): Likewise.
9765 [X/Open-based standards] (SIG_HOLD): Likewise.
9766 (SIG_IGN): Likewise.
9767 (SIGABRT): Use macro-int-constant. Specify type. Require
9768 positive value.
9769 (SIGFPE): Likewise.
9770 (SIGILL): Likewise.
9771 (SIGINT): Likewise.
9772 (SIGSEGV): Likewise.
9773 (SIGTER): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9775 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9776 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9777 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9778 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9779 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9780 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9781 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9782 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9783 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9784 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9785 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9786 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9787 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9788 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9789 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9790 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9791 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9792 [X/Open-based standards] (SIGTRAP): Likewise.
9793 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9794 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9795 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9796 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9797 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9798 allow.
9799
b9f1922d
IW
98002012-05-08 Ian Wienand <ianw@vmware.com>
9801
9802 [BZ #14080]
9803 * time/tzset.c (__tzset_parse_tz): Update default rules for
9804 daylight time changes in the Energy Policy Act of 2005.
9805
1db86e88
AJ
98062012-05-09 Andreas Jaeger <aj@suse.de>
9807
9808 [BZ #13983]
9809 * elf/ldconfig.c (parse_conf): Change string to make clear that
9810 ldconfig only issued a warning if ld.so.conf does not exist.
9811
dee4a4e3
DM
98122012-05-08 David S. Miller <davem@davemloft.net>
9813
ee0db190
DM
9814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9815 movxtod instead of popping the value on the stack.
9816
dee4a4e3
DM
9817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9818
6a43ec98
CD
98192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9820
9821 * config.h.in: Add HAVE_ARM_PCS_VFP.
9822
05c2c961
RMG
98232012-05-08 Roland Mc Grath <roland@hack.frob.com>
9824
bcfe3a54
ST
9825 [BZ #13979]
9826 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9827 checking but the checks are disabled for any reason.
05c2c961 9828
4b30f61a
L
98292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9830
9831 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9832 and ELF64_R_TYPE with ELFW(R_TYPE).
9833
eee2bc67
JM
98342012-05-08 Joseph Myers <joseph@codesourcery.com>
9835
7ea5391a
JM
9836 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9837 (ulimit): Likewise.
9838
eee2bc67
JM
9839 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9840 (settimeofday): Likewise.
9841
abb66a67
MF
98422012-05-08 Mike Frysinger <vapier@gentoo.org>
9843
9844 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9845 a struct th_u2 inside the union, and move tu_block/tu_code into
9846 a new th_u3 union of tu_block/tu_code inside of that. Move
9847 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9848 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9849 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9850 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9851 (th_stuff): Change to th_u1.tu_stuff.
9852 (th_data): Define.
9853 (th_msg): Change to th_u1.th_u2.tu_data.
9854
7f18b530
DM
98552012-05-07 David S. Miller <davem@davemloft.net>
9856
05760585
DM
9857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9858
7f18b530
DM
9859 [BZ #14074]
9860 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9861 (SETUP_PIC_REG): Use it.
9862 (SETUP_PIC_REG_LEAF): Use it.
9863
495fd99f
JM
98642012-05-07 Joseph Myers <joseph@codesourcery.com>
9865
9866 [BZ #13885]
9867 [BZ #13923]
9868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9869 USE_AS_EXPM1L.
9870 (EXPL_FINITE): Likewise.
9871 (FLDLOG): Likewise.
9872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9873 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9874 e_expl.S.
9875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9876 USE_AS_EXPM1L.
9877 (EXPL_FINITE): Likewise.
9878 (FLDLOG): Likewise.
9879 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9880 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9881 e_expl.S.
9882 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9883 test of -max_value argument for long double.
9884 * sysdeps/i386/fpu/libm-test-ulps: Update.
9885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9886
6693d694
DM
98872012-05-06 David S. Miller <davem@davemloft.net>
9888
9889 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9890 quad soft-float symbols whose references which are compiler
9891 generated.
9892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9893
6c23e11c
JM
98942012-05-06 Joseph Myers <joseph@codesourcery.com>
9895
d8b82cad
JM
9896 [BZ #13884]
9897 [BZ #13914]
9898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9899 USE_AS_EXP10L.
9900 (EXPL_FINITE): Likewise.
9901 (FLDLOG): Likewise.
9902 (c0): Likewise.
9903 (c1): Likewise.
9904 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9905 Adjust comments for base varying.
9906 (__expl_finite): Change alias to EXPL_FINITE.
9907 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9908 e_expl.S.
9909 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9910 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9911 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9912 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9914 USE_AS_EXP10L.
9915 (EXPL_FINITE): Likewise.
9916 (FLDLOG): Likewise.
9917 (c0): Likewise.
9918 (c1): Likewise.
9919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9920 Adjust comments for base varying.
9921 (__expl_finite): Change alias to EXPL_FINITE.
9922 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9923 tests for bugs.
9924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9925
6c23e11c
JM
9926 [BZ #14064]
9927 * math/libm-test.inc (check_float_internal): Correct ulp
9928 calculation for subnormal expected results.
9929
29ba805c
AJ
99302012-05-06 Andreas Jaeger <aj@suse.de>
9931
9932 * Makeconfig (+math-flags): New, set to -frounding-math.
9933 (+cflags): Add +math-flags so that all of glibc gets compiled with
9934 it.
9935
9936 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9937
7b17aeda
JM
99382012-05-05 Joseph Myers <joseph@codesourcery.com>
9939
5779f134
JM
9940 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9941 Disable one test.
9942
41498f4d
JM
9943 [BZ #13787]
9944 [BZ #13922]
9945 [BZ #14036]
9946 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9947 (__ieee754_expl): Allow for and saturate large arguments.
9948 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9949 (u_threshold): Likewise.
9950 (__exp): Call __ieee754_exp before checking for overflow and
9951 underflow.
9952 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9953 (u_threshold): Likewise.
9954 (__expf): Call __ieee754_expf before checking for overflow and
9955 underflow.
9956 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9957 (u_threshold): Likewise.
9958 (__expl): Call __ieee754_expl before checking for overflow and
9959 underflow.
9960 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9961 (__ieee754_expl): Allow for and saturate large arguments.
9962 * math/libm-test.inc (exp_test): Add another test. Do not allow
9963 missing overflow exception on overflow.
9964 (expm1_test): Do not allow missing overflow exception on overflow.
9965
6698b8bf
JM
9966 * sysdeps/i386/fpu/e_expl.c: Move to ...
9967 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9968 rather than using inline asm.
9969 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9970 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9971 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9972
7b17aeda
JM
9973 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9974 (nice): Likewise.
9975 (poll): Likewise.
9976 (signal): Likewise.
9977 (time): Likewise.
9978 (times): Likewise.
9979
f7c85819
JM
99802012-05-04 Joseph Myers <joseph@codesourcery.com>
9981
9982 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9983 sysdeps/unix/common/syscalls.list.
9984 (fchmod): Likewise.
9985 (fchown): Likewise.
9986 (ftruncate): Likewise.
9987 (getrusage): Likewise.
9988 (gettimeofday): Likewise.
9989 (setpgid): Likewise.
9990 (setregid): Likewise.
9991 (setreuid): Likewise.
9992 (sigaction): Likewise.
9993 (truncate): Likewise.
9994 (vhangup): Likewise.
9995 * sysdeps/unix/common/syscalls.list: Remove file.
9996 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9997 * sysdeps/unix/sysv/linux/Implies: Likewise.
9998
336270d0
L
99992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10000
10001 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10003 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10004 Moved to ...
10005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10006 Here.
10007 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10008 to ...
10009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10010 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10011 to ...
10012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10014 to ...
10015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10016 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10017 to ...
10018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10019 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10020 to ...
10021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10022 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10023 to ...
10024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10025 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10026 to ...
10027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10028 Here.
10029 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10030 to ...
10031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10032 Here.
10033 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10034 to ...
10035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10036 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10037 Moved to ...
10038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10039 Here.
10040 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10041 to ...
10042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10043
d128e450
JM
100442012-05-04 Joseph Myers <joseph@codesourcery.com>
10045
fa8ee516
JM
10046 * sysdeps/unix/common/bits/dirent.h: Remove file.
10047 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10048
d128e450
JM
10049 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10050 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10051 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10052 * sysdeps/unix/bsd/isatty.c: Likewise.
10053 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10054 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10055 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10056
ff8faaf0 100572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10058
62881be4 10059 [BZ #13563]
31dc8730
AZ
10060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10061 long double comparison inaccuracies.
10062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10064
6fef930c
AS
100652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10066
10067 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10069
8f203e6c
JM
100702012-05-04 Joseph Myers <joseph@codesourcery.com>
10071
10072 [BZ #14049]
10073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10074 nonzero digits before rounding a hex value.
10075 * stdlib/tst-strtod.c (tests): Add another test.
10076
5197d9c2
AK
100772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10078
10079 * sysdeps/s390/fpu/libm-test-ulps: Update.
10080
f0c1dedf
AJ
100812012-05-03 Andreas Jaeger <aj@suse.de>
10082
10083 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10084 does not get optimized out.
10085 (malloc_opt_barrier): New.
10086
a65ef2ae 100872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10088 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10089
2b942cb7 10090 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10091 intermediate file deletion.
2b942cb7 10092 (generated): Add .symlist files.
a65ef2ae 10093
54b71e02
JM
100942012-05-03 Joseph Myers <joseph@codesourcery.com>
10095
10096 [BZ #13775]
10097 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10098 Redirect under this condition.
10099 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10100 [__USE_GNU] (__dprintf_chk): Not under this condition.
10101 [__USE_GNU] (__vdprintf_chk): Likewise.
10102 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10103 under this condition.
10104 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10105 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10106 [__USE_XOPEN2K8] (vdprintf): Likewise.
10107 [__USE_GNU] (__dprintf_chk): Not under this condition.
10108 [__USE_GNU] (__vdprintf_chk): Likewise.
10109 [__USE_GNU] (dprintf): Likewise.
10110 [__USE_GNU] (vdprintf): Likewise.
10111
d3dfcc41
RM
101122012-05-03 Roland McGrath <roland@hack.frob.com>
10113
10114 * elf/Makefile (common-generated): Set this instead of generated for
10115 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10116 $(all-built-dso)-derived lists.
10117
7ac30cc5
AJ
101182012-05-03 Andreas Jaeger <aj@suse.de>
10119
0c51e550
AJ
10120 * sysdeps/i386/fpu/libm-test-ulps: Update.
10121
7ac30cc5
AJ
10122 * FAQ: Removed.
10123 * FAQ.in: Likewise.
10124 * scripts/gen-FAQ.pl: Likewise.
10125 * manual/install.texi (Installation): Point to online location of
10126 FAQ.
10127 * Makefile (files-for-dist): Remove FAQ.
10128 (FAQ): Remove.
10129
d4c2917f
AM
101302012-05-02 Allan McRae <allan@archlinux.org>
10131
10132 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10133 (LDFLAGS-reldepmod5.so): Likewise.
10134 (LDFLAGS-reldep6mod1.so): Likewise.
10135 (LDFLAGS-reldep6mod4.so): Likewise.
10136 (LDFLAGS-reldep8mod3.so): Likewise.
10137 (LDFLAGS-unload4mod1.so): Likewise.
10138 (LDFLAGS-unload4mod2.so): Likewise.
10139 (LDFLAGS-tst-initorder): Likewise.
10140 (LDFLAGS-tst-initordera2.so): Likewise.
10141 (LDFLAGS-tst-initordera3.so): Likewise.
10142 (LDFLAGS-tst-initordera4.so): Likewise.
10143 (LDFLAGS-tst-initorderb2.so): Likewise.
10144 (LDFLAGS-noload): Likewise.
10145 (LDFLAGS-next): Likewise.
10146 (LDFLAGS-order2mod1.so): Likewise.
10147 (LDFLAGS-order2mod2.so): Likewise.
10148 (LDFLAGS-tst-initorder2): Likewise.
10149 (LDFLAGS-tst-initorder2a.so): Likewise.
10150 (LDFLAGS-tst-initorder2b.so): Likewise.
10151 (LDFLAGS-tst-initorder2c.so): Likewise.
10152 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10153
d77f993f
DM
101542012-05-02 David S. Miller <davem@davemloft.net>
10155
10156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10157
171a70b4
PP
101582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10159
10160 [BZ #14055]
10161 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10162
0be196ad
AJ
101632012-05-02 Andreas Jaeger <aj@suse.de>
10164
10165 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10166 since we manipulate rounding mode.
10167 (CPPFLAGS-test-idouble.c): Likewise.
10168 (CPPFLAGS-test-ifloat.c): Likewise.
10169 (CFLAGS-test-ldouble.c): Likewise.
10170 (CFLAGS-test-double.c): Likewise.
10171 (CFLAGS-test-float.c): Likewise.
10172 (CFLAGS-test-misc.c): Likewise.
10173 (CFLAGS-test-test-fenv.c): Likewise.
10174
4f9d04aa
AZ
101752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10176
2b942cb7
RM
10177 [BZ #2550]
10178 [BZ #2570]
10179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10180 comparisons to determine direction to adjust input.
4f9d04aa 10181
82a79e7d
RM
101822012-05-01 Roland McGrath <roland@hack.frob.com>
10183
f5a01ca9
RM
10184 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10185 output to the target.
10186
90fe4186
RM
10187 * scripts/localplt.awk: New file.
10188 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10189 (check-localplt-CFLAGS): Variable removed.
10190 ($(all-built-dso:=.jmprel)): New static pattern rule.
10191 (generated): Add those targets.
10192 (localplt-built-dso): New variable.
10193 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10194
10195 * elf/check-localplt.c: File removed.
10196
82397ed6
RM
10197 * scripts/check-execstack.awk: New file.
10198 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10199 (check-execstack-CFLAGS): Variable removed.
10200 ($(objpfx)check-execstack.h): Target removed.
10201 ($(objpfx)execstack-default): New target.
10202 (generated): Add that instead of check-execstack.h.
10203 ($(all-built-dso:=.phdr)): New static pattern rule.
10204 (generated): Add those targets.
10205 * elf/check-execstack.c: File removed.
10206
82a79e7d
RM
10207 * scripts/check-textrel.awk: New file.
10208 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10209 (check-textrel-CFLAGS): Variable removed.
10210 (all-built-dso): Use := to define.o
10211 ($(all-built-dso:=.dyn)): New static pattern rule.
10212 (generated): Add those targets.
10213 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10214 * config.make.in (READELF): New substituted variable.
10215 * elf/check-textrel.c: File removed.
10216
62fde54f 102172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10218
615605c9
JM
10219 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10220 allow.
10221 * conform/data/ctype.h-data [C99-based standards] (isblank):
10222 Expect function.
10223 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10224 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10226 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10227 Specify type. Require positive value.
10228 (EILSEQ): Likewise.
10229 (ERANGE): Likewise.
10230 [ISO || POSIX] (EILSEQ): Do not expect.
10231 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10232 Specify type. Require positive value.
10233 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10253 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10254 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10260 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10261 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10262 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10266 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10267 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10268 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10269 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10270 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10271 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10272 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10273 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10274 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10275 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10276 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10277 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10278 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10279 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10280 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10281 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10282 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10283 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10284 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10285 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10286 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10287 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10288 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10289 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10290 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10291 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10292 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10293 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10294 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10295 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10296 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10297 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10298 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10299 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10300 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10301 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10302 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10303 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10304 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10305 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10306 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10307 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10308 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10309 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10310 Require >= 2.
10311 (FLT_ROUNDS): Expect as macro, not constant.
10312 (FLT_MANT_DIG): Use macro-int-constant.
10313 (DBL_MANT_DIG): Likewise.
10314 (LDBL_MANT_DIG): Likewise.
10315 (FLT_DIG): Likewise.
10316 (DBL_DIG): Likewise.
10317 (LDBL_DIG): Likewise.
10318 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10319 (DBL_MIN_EXP): Likewise.
10320 (LDBL_MIN_EXP): Likewise.
10321 (FLT_MAX_EXP): Use macro-int-constant.
10322 (DBL_MAX_EXP): Likewise.
10323 (LDBL_MAX_EXP): Likewise.
10324 (FLT_MAX_10_EXP): Likewise.
10325 (DBL_MAX_10_EXP): Likewise.
10326 (LDBL_MAX_10_EXP): Likewise.
10327 (FLT_MAX): Use macro-constant.
10328 (DBL_MAX): Likewise.
10329 (LDBL_MAX): Likewise.
10330 (FLT_EPSILON): Use macro-constant. Give upper bound.
10331 (DBL_EPSILON): Likewise.
10332 (LDBL_EPSILON): Likewise.
10333 (FLT_MIN): Likewise.
10334 (DBL_MIN): Likewise.
10335 (LDBL_MIN): Likewise.
10336 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10337 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10338 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10339 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10340 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10341 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10342 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10343 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10344 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10345 [ISO11] (FLT_TRUE_MIN): Likewise.
10346 [ISO11] (LDBL_TRUE_MIN): Likewise.
10347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10348 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10349 (SCHAR_MIN): Use macro-int-constant. Specify type.
10350 (SCHAR_MAX): Likewise.
10351 (UCHAR_MAX): Likewise.
10352 (CHAR_MIN): Likewise.
10353 (CHAR_MAX): Likewise.
10354 (MB_LEN_MAX): Use macro-int-constant.
10355 (SHRT_MIN): Use macro-int-constant. Specify type.
10356 (SHRT_MAX): Likewise.
10357 (USHRT_MAX): Likewise.
10358 (INT_MAX): Likewise.
10359 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10360 bound negative.
10361 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10362 bound with "U".
10363 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10364 bound with "L".
10365 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10366 bound negative. Suffix upper bound with "L".
10367 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10368 bound with "UL".
10369 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10370 Specify type.
10371 [C99-based standards] (LLONG_MAX): Likewise.
10372 [C99-based standards] (ULLONG_MAX): Likewise.
10373 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10374 == 0.
10375 [ISO11] (max_align_t): Require type.
10376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10377
c9140a62
JM
10378 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10379 from $CFLAGS, without defining away __attribute__ calls.
10380 (checknamespace): Use $CFLAGS_namespace.
10381
9af0bf29
JM
10382 * conform/conformtest.pl (@keywords): Only include C99 keywords
10383 for standards based on C99 or C11.
10384
343222a2
JM
10385 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10386 Disable tests.
10387 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10388 UNIX98]: Likewise.
10389
661f8cf0
JM
10390 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10391 usability of symbols in #if.
10392
ee74b9cb
JM
10393 * conform/conformtest.pl: If macro or constant types start
10394 "promoted:", expect the symbol to be of the following type
10395 promoted by the integer promotions.
62fde54f 10396
aafc49b3
JM
10397 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10398 in one place. Also handle "macro-constant".
10399
fefdf574
JM
10400 * conform/conformtest.pl: Only accept expected macro values with
10401 "==". Parse all "macro" lines in one place.
10402 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10403
f2d922fe
JM
10404 * conform/conformtest.pl: Handle braced types on "constant" lines
10405 instead of handling "typed-constant".
10406 * conform/data/signal.h-data: Use "constant" instead of
10407 "typed-constant".
10408
d22956c9
JM
10409 * conform/conformtest.pl: Handle "optional-" at start of lines in
10410 one place rather than duplicating several cases. Handle each
10411 format of "macro" line with initial "optional-".
10412
028e2e38
JM
10413 * conform/conformtest.pl: Only accept expected constant or
10414 optional-constant values with "==". Parse all "constant" lines in
10415 one place. Parse all "optional-constant" lines in one place.
10416 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10417 * conform/data/fmtmsg.h-data: Likewise.
10418 * conform/data/netinet/in.h-data: Likewise.
10419 * conform/data/tar.h-data: Likewise.
10420 * conform/data/limits.h-data: Use "==" form on "constant" and
10421 "optional-constant" lines.
10422
1b8f2850
JM
10423 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10424 Use -std=c99 for XOPEN2K.
10425 (@knownproblems): Remove.
10426 (newtoken): Don't check %isknown.
10427
a05a144b
JM
10428 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10429 Do not expect macro.
10430 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10442 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10443 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10460 [XPG3] (acosh): Likewise.
10461 [XPG3] (asinh): Likewise.
10462 [XPG3] (atanh): Likewise.
10463 [XPG3] (cbrt): Likewise.
10464 [XPG3] (expm1): Likewise.
10465 [XPG3] (ilogb): Likewise.
10466 [XPG3] (log1p): Likewise.
10467 [XPG3] (logb): Likewise.
10468 [XPG3] (nextafter): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10471 [XPG3] (remainder): Likewise.
10472 [XPG3] (rint): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10480 [UNIX98 || XOPEN2K] (scalb): Expect.
10481 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10482 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10513 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10514 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10515 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10516 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10517 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10518 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10519 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10520 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10521 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10522 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10523 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10524 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10525 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10526 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10527 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10528 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10529 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10530 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10531 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10532 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10533 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10534 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10557 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10558 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10559 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10560 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10561 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10562 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10563 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10564 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10565 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10566 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10567 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10568 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10569 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10570 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10571 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10572 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10573 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10574 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10575 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10576 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10577 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10578 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10579 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10580 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10581 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10582 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10583 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10584 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10585 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10586 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10587 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10588 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10589 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10590 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10591 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10592 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10593 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10594 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10595 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10596 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10597 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10598 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10599 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10600 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10601 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10602 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10603 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10604 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10605 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10606 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10607 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10608 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10609 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10610 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10611 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10612 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10613 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10614 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10615 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10616 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10617 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10618
73c5ebe3
JM
10619 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10620 _XOPEN_SOURCE_EXTENDED for XPG4.
10621
39c33b6c
JM
10622 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10623
62fde54f
JM
10624 * Makeconfig (localtime): Remove variable.
10625 (inst_localtime-file): Likewise.
10626
0741d64c
AS
106272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10628
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10630 Update.
10631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10632 Update.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10634 Update.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10636 Update.
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10638 Update.
10639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10640 Update.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10642 Update.
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10644 Update.
10645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10646 Update.
10647
7cb029ee
JM
106482012-05-01 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #2550]
10651 [BZ #2570]
10652 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10653 comparisons to determine direction to adjust input.
10654 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10655 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10657 Likewise.
10658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10659 Likewise.
10660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10661 Likewise.
10662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10664 Likewise.
10665 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10666 Likewise.
10667 * math/libm-test.inc (nexttoward_test): Add more tests.
10668
412bd966
AS
106692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10670
10671 [BZ #14040]
10672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10673 in version GLIBC_2.1, not GLIBC_2.0.
10674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10675 Likewise.
10676
9568c0c2
JM
106772012-04-30 Joseph Myers <joseph@codesourcery.com>
10678
adfbc8ac
JM
10679 [BZ #13942]
10680 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10681 (1 - x) * (1 + x).
10682 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10683 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10684 * math/libm-test.inc (acos_test): Add more tests.
10685 (asin_test): Likewise.
10686 * sysdeps/i386/fpu/libm-test-ulps: Update.
10687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10688
5ba3cc69
JM
10689 [BZ #14034]
10690 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10691 of square root.
10692 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10693 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10694 * math/libm-test.inc (acos_test_tonearest): New function.
10695 (acos_test_towardzero): Likewise.
10696 (acos_test_downward): Likewise.
10697 (acos_test_upward): Likewise.
10698 (asin_test_tonearest): Likewise.
10699 (asin_test_towardzero): Likewise.
10700 (asin_test_downward): Likewise.
10701 (asin_test_upward): Likewise.
10702 (main): Call the new functions.
10703 * sysdeps/i386/fpu/libm-test-ulps: Update.
10704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10705
9568c0c2
JM
10706 [BZ #13884]
10707 [BZ #13924]
10708 * math/e_exp10.c: Include <float.h>.
10709 (__ieee754_exp10): Handle underflow here rather than multiplying
10710 large negative argument by M_LN10.
10711 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10712 of __ieee754_expf.
10713 * math/e_exp10l.c: Include <float.h>.
10714 (__ieee754_exp10l): Handle underflow here rather than multiplying
10715 large negative argument by M_LN10l.
10716 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10717 spurious overflow exception on underflow.
10718
5ac3ea17
MP
107192012-04-29 Marek Polacek <polacek@redhat.com>
10720
10721 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10722 (__fortify_function): New macro.
10723 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10724 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10725 __extern_always_inline.
10726 * libio/bits/stdio2.h: Likewise.
10727 * libio/bits/stdio.h: Likewise.
10728 * string/string.h: Likewise.
10729 * string/bits/string3.h: Likewise.
10730 * include/stdio.h: Likewise.
10731 * stdlib/bits/stdlib.h: Likewise.
10732 * stdlib/stdlib.h: Likewise.
10733 * rt/bits/mqueue2.h: Likewise.
10734 * rt/mqueue.h: Likewise.
10735 * posix/bits/unistd.h: Likewise.
10736 * posix/unistd.h: Likewise.
10737 * io/bits/poll2.h: Likewise.
10738 * io/bits/fcntl2.h: Likewise.
10739 * io/fcntl.h: Likewise.
10740 * io/sys/poll.h: Likewise.
10741 * misc/bits/syslog.h: Likewise.
10742 * misc/bits/syslog-ldbl.h: Likewise.
10743 * misc/sys/syslog.h: Likewise.
10744 * socket/bits/socket2.h: Likewise.
10745 * socket/sys/socket.h: Likewise.
10746 * debug/tst-chk1.c: Likewise.
10747 * wcsmbs/bits/wchar2.h: Likewise.
10748 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10749 * wcsmbs/wchar.h: Likewise.
10750
ecf0ebfb
AJ
107512012-04-29 Andreas Jaeger <aj@suse.de>
10752
10753 * Makerules (tests): Remove enable-check-abi protection.
10754 (check-abi-warn): Remove.
10755 (check-abi-%): Remove check-abi-warn usage.
10756
10757 * configure.in: Remove check-abi configure option.
10758 * configure: Regenerated.
10759 * config.make.in (enable-check-abi): Remove.
10760
6d5c57fa
AS
107612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10762
24c5d07e 10763 [BZ #14033]
ded5180a
AS
10764 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10765 double functions to double *_finite functions.
10766
7e0d315d
AS
10767 [BZ #13941]
10768 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10769 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10770 LDBL_MIN_EXP.
10771 * stdio-common/Makefile (tests): Add tst-sprintf3.
10772 * stdio-common/tst-sprintf3.c: New file.
10773
6d5c57fa
AS
10774 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10775 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10776
0749ff8b
JM
107772012-04-28 Joseph Myers <joseph@codesourcery.com>
10778
10779 * conform/conformtest.pl: Remove duplicate typed-constant
10780 handling.
10781
8dbd5d7b
DM
107822012-04-28 David S. Miller <davem@davemloft.net>
10783
10784 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10785 (check-abi-%): Remove AWK script prerequisite and explicit
10786 abilist directory.
10787 (check-abi): Rewrite to just diff the symlist with the abilist.
10788 (config-tls, config-abi-config): Delete, no longer used.
10789 (update-abi-%): Remove AWK script and explicit abilist directory.
10790 (update-abi): Rewrite to simply compare and conditionally copy the
10791 symlist and the sysdep abilist file. Remove update-abi-config
10792 checks.
10793 * abilist/ld.abilist: Remove.
10794 * abilist/libBrokenLocale.abilist: Remove.
10795 * abilist/libanl.abilist: Remove.
10796 * abilist/libcrypt.abilist: Remove.
10797 * abilist/libdl.abilist: Remove.
10798 * abilist/librt.abilist: Remove.
10799 * abilist/libthread_db.abilist: Remove.
10800 * abilist/libutil.abilist: Remove.
10801 * scripts/extract-abilist.awk: Remove.
10802 * scripts/merge-abilist.awk: Remove.
10803 * sysdeps/generic/libcidn.abilist: New file.
10804 * sysdeps/generic/libnss_compat.abilist: New file.
10805 * sysdeps/generic/libnss_db.abilist: New file.
10806 * sysdeps/generic/libnss_dns.abilist: New file.
10807 * sysdeps/generic/libnss_files.abilist: New file.
10808 * sysdeps/generic/libnss_hesiod.abilist: New file.
10809 * sysdeps/generic/libnss_nis.abilist: New file.
10810 * sysdeps/generic/libnss_nisplus.abilist: New file.
10811 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10812 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10813 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10814 file.
10815 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10816 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10817 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10818 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10819 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10820 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10821 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10822 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10823 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10824 file.
10825 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10826 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10827 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10828 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10829 file.
10830 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10831 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10832 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10833 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10834 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10835 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10836 file.
10837 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10838 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10839 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10840 file.
10841 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10843 New file.
10844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10845 New file.
10846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10847 New file.
10848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10849 New file.
10850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10851 New file.
10852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10853 New file.
10854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10855 New file.
10856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10857 New file.
10858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10859 New file.
10860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10861 New file.
10862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10863 New file.
10864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10865 New file.
10866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10867 New file.
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10869 file.
10870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10871 New file.
10872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10873 New file.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10875 file.
10876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10877 New file.
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10879 New file.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10881 file.
10882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10883 New file.
10884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10885 New file.
10886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10887 New file.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10889 New file.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10891 New file.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10893 New file.
10894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10896 file.
10897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10898 New file.
10899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10900 file.
10901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10902 file.
10903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10904 file.
10905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10906 file.
10907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10908 file.
10909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10910 New file.
10911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10912 file.
10913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10914 file.
10915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10916 New file.
10917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10918 file.
10919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10921 file.
10922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10923 New file.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10925 file.
10926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10927 file.
10928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10929 file.
10930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10931 file.
10932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10933 file.
10934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10935 New file.
10936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10937 file.
10938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10939 file.
10940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10941 New file.
10942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10943 file.
10944 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10945 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10946 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10947 file.
10948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10949 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10950 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10951 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10952 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10953 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10954 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10955 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10956 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10957 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10960 file.
10961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10962 New file.
10963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10964 file.
10965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10966 file.
10967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10968 file.
10969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10970 file.
10971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10972 file.
10973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10974 New file.
10975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10976 New file.
10977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10978 file.
10979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10980 New file.
10981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10982 file.
10983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10985 file.
10986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10987 New file.
10988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10989 file.
10990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10991 file.
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10993 file.
10994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10995 file.
10996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10997 file.
10998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10999 New file.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11001 New file.
11002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11003 file.
11004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11005 New file.
11006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11007 file.
11008
41d73a1b
JM
110092012-04-28 Joseph Myers <joseph@codesourcery.com>
11010
11011 * conform/conformtest.pl: Fix typo in handling typed-constant from
11012 allow-header.
11013
28aeeda4
JM
110142012-04-27 Joseph Myers <joseph@codesourcery.com>
11015
adae8f5e
JM
11016 * README: Cut down references to pre-2.6 Linux kernels and
11017 Linuxthreads. Update lists of configurations in libc and ports
11018 and sort alphabetically. Say "or newer" with Linux kernel version
11019 requirements.
11020
28aeeda4
JM
11021 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11022
a462cb63
RA
110232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11024
11025 [BZ #887]
11026 * math/libm-test.inc (logb_test_downward): New test to expose
11027 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11028 rounding mode.
11029
6ad3493e
JM
110302012-04-27 Joseph Myers <joseph@codesourcery.com>
11031
11032 [BZ #14027]
11033 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11034 to be done.
11035 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11036 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11037
2ce4f015
JM
110382012-04-26 Joseph Myers <joseph@codesourcery.com>
11039
5aeb141a
JM
11040 * sysdeps/unix/i386/brk.S: Remove file.
11041 * sysdeps/unix/i386/dl-brk.S: Likewise.
11042 * sysdeps/unix/i386/pipe.S: Likewise.
11043 * sysdeps/unix/i386/sigreturn.S: Likewise.
11044 * sysdeps/unix/i386/syscall.S: Likewise.
11045 * sysdeps/unix/i386/vfork.S: Likewise.
11046 * sysdeps/unix/i386/wait.S: Likewise.
11047
7143acae
JM
11048 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11049 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11050
2ce4f015
JM
11051 * configure.in (arm*-none*): Do not allow without
11052 --enable-hacker-mode.
11053 (netbsd*): Remove case setting base_os.
11054 (386bsd*): Likewise.
11055 (freebsd*): Likewise.
11056 (bsdi*): Likewise.
11057 (osf*): Likewise.
11058 (sunos*): Likewise.
11059 (ultrix*): Likewise.
11060 (newsos*): Likewise.
11061 (dynix*): Likewise.
11062 (*bsd*): Likewise.
11063 (sysv*): Likewise.
11064 (isc*): Likewise.
11065 (esix*): Likewise.
11066 (sco*): Likewise.
11067 (minix*): Likewise.
11068 (irix4*): Likewise.
11069 (irix6*): Likewise.
11070 (solaris[2-9]*): Likewise.
11071 (none): Likewise.
11072 * configure: Regenerated.
11073
0ac229c8
AZ
110742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11075
11076 [BZ #11521]
11077 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11078 overflow or cancellation in calculating denominator.
11079 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11081 down expression to avoid unexpected rounding in newer GCCs.
11082 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11083
33f244f4
DM
110842012-04-26 David S. Miller <davem@davemloft.net>
11085
11086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11087 long-double compat symbols.
11088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11101
cfa1f3e8
DM
111022012-04-25 David S. Miller <davem@davemloft.net>
11103
11104 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11105 HWCAP_* values only after the memory barriers have been defined.
11106 (atomic_full_barrier): Define.
11107 (atomic_read_barrier): Define.
11108 (atomic_write_barrier): Define.
11109
6e236b92
SP
111102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11111
11112 * shlib-versions: Add libgcc_s version information.
11113 * sysdeps/generic/libgcc_s.h: Remove.
11114 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11115 libgcc_s.h.
11116 * sysdeps/gnu/unwind-resume.c: Likewise.
11117 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11118
aab39a09
DM
111192012-04-25 David S. Miller <davem@davemloft.net>
11120
11121 * sysdeps/unix/sparc/brk.S: Delete.
11122 * sysdeps/unix/sparc/dl-brk.S: Delete.
11123 * sysdeps/unix/sparc/pipe.S: Delete.
11124 * sysdeps/unix/sparc/sysdep.S: Delete.
11125 * sysdeps/unix/sparc/sysdep.h: Delete.
11126 * sysdeps/unix/sparc/vfork.S: Delete.
11127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11128 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11130 ret_ERRVAL, r0, r1, MOVE): Define.
11131 (JUMPTARGET): Remove.
11132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11133 sysdeps/unix/sparc/sysdep.h
11134 (ENTRY, END): Remove.
11135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11136
a3cc4f48
JM
111372012-04-25 Joseph Myers <joseph@codesourcery.com>
11138
2ed8cda2
JM
11139 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11140 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11141 -DIS_IN_build.
11142
35d76d59
JM
11143 * timezone/README: Update upstream location and email address for
11144 tzcode and tzdata.
11145 * timezone/zdump.c: Update from tzcode 2012b.
11146 * timezone/zic.c: Likewise.
11147
a3cc4f48
JM
11148 * configure.in (libc_cv_as_needed): Remove test.
11149 * configure: Regenerated.
11150 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11151 conditional definition.
11152 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11153 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11154 * config.make.in (have-as-needed): Remove variable.
11155
ceab42c3
SP
111562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11157 Paul Pluzhnikov <ppluzhnikov@google.com>
11158
11159 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11160 strings correctly.
11161
3ce2865f
CLT
111622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11163
11164 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11165 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11166 * sysdeps/sh/strlen.S: Likewise.
11167
f37e0d68
JM
111682012-04-24 Joseph Myers <joseph@codesourcery.com>
11169
ae186e9a
JM
11170 * sysdeps/unix/fork.S: Remove file.
11171 * sysdeps/unix/i386/fork.S: Likewise.
11172 * sysdeps/unix/sparc/fork.S: Likewise.
11173
b96914af
JM
11174 * sysdeps/unix/system.c: Remove file.
11175 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11176
f37e0d68
JM
11177 * sysdeps/unix/getegid.S: Remove file.
11178 * sysdeps/unix/geteuid.S: Likewise.
11179
87ef29ca
RM
111802012-04-24 Roland McGrath <roland@hack.frob.com>
11181
83bcd236
RM
11182 * scripts/check-localplt.awk: New file.
11183 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11184 of diff.
11185 * scripts/data/localplt-generic.data: Add a comment.
11186
87ef29ca
RM
11187 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11188 NODE when __dir_mkfile failed.
11189 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11190 Reported by Ludovic Courtès <ludo@gnu.org>.
11191
e5a6e567
AJ
111922012-04-24 Andreas Jaeger <aj@suse.de>
11193
11194 * Makerules (common-clean): Also remove gen-as-const-headers
11195 files.
11196
c1820385
JM
111972012-04-24 Joseph Myers <joseph@codesourcery.com>
11198
11199 * Makerules (native-compile): Do not change working directory for
11200 build. Use $(OUTPUT_OPTION) in command.
11201 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11202
94e02fc4
AZ
112032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11204
11205 [BZ #13886]
11206 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11207 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11208 * math/libm-test.inc (floor_test): Add more tests.
11209 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11210
3a533ca3
JM
112112012-04-24 Joseph Myers <joseph@codesourcery.com>
11212
940ab4b3
JM
11213 * sysdeps/unix/getdents.c: Remove file.
11214 * sysdeps/unix/sysv/getdents.c: Likewise.
11215 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11216
90e037bd
JM
11217 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11218 sysdeps/unix/mman/syscalls.list.
11219 (mmap): Likewise.
11220 (mprotect): Likewise.
11221 (msync): Likewise.
11222 (munmap): Likewise.
11223 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11224 * sysdeps/unix/mman/syscalls.list: Remove.
11225 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11226
3a533ca3
JM
11227 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11228 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11229 * configure: Regenerated.
11230 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11231 $(libgcc_s_suffix).
11232 * config.make.in (libgcc_s_suffix): Remove variable.
11233
1ad743de
JM
112342012-04-23 Joseph Myers <joseph@codesourcery.com>
11235
4ad451e2
JM
11236 * sysdeps/unix/sysv/gethostname.c: Move to ...
11237 * sysdeps/posix/gethostname.c: ... here.
11238
5e37ce39
JM
11239 * sysdeps/unix/execve.S: Remove file.
11240
1ad743de
JM
11241 * sysdeps/unix/_exit.S: Remove file.
11242
4e681b5b
AJ
112432012-04-23 Andreas Jaeger <aj@suse.de>
11244
11245 [BZ #13739]
11246 * manual/Makefile: Remove make dist support, there's no
11247 need for a stand-alone documentation tar ball.
11248 (TEXI2DVI): Define always, it's not in Makeconfig.
11249 (dist): Removed.
11250 (tar-it): Removed.
11251 (edition): Removed.
11252 (glibc-doc-$(edition).tar): Removed
11253 (%.Z): Removed.
11254 (%.gz): Removed.
11255 (%.uu): Removed.
11256 (ETAGS): Remove, it's in Makeconfig.
11257 (move-if-change): Remove, it's in Makeconfig.
11258
c0baea34
PE
112592013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11260
11261 [BZ #13970]
11262 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11263 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11264 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11265 (strtod_l, strtof_l, strtold_l): Remove __wur.
11266 It is not necessarily an error to ignore strtol's return value.
11267 One can reliably look at the stored endptr to decide whether
11268 the number had valid syntax.
11269
7c0616fa
AJ
112702012-04-21 Andreas Jaeger <aj@suse.de>
11271
803cb6b7 11272 [BZ #13739]
7c0616fa
AJ
11273 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11274
b0fe253f
JM
112752012-04-21 Joseph Myers <joseph@codesourcery.com>
11276
11277 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11278 * sysdeps/unix/sysv/Versions: Remove file.
11279
8280f22d
MT
112802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11281
11282 [BZ #13927]
11283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11284
75ce411f 112852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11286
11287 [BZ #7064]
11288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11289 version from __vm86.
11290
097d59fa
JM
112912012-04-20 Joseph Myers <joseph@codesourcery.com>
11292
a90f3bcb
JM
11293 * sysdeps/unix/common/lxstat.c: Remove file.
11294 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11295
edc7ea78
JM
11296 * sysdeps/unix/sysv/Makefile: Remove file.
11297
cb78c221
JM
11298 * sysdeps/unix/sysv/direct.h: Remove file.
11299
efa6a45f
JM
11300 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11301 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11302 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11303 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11304 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11305 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11306 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11307
9c9f2d0c
JM
11308 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11309
4541c83b
JM
11310 * sysdeps/unix/xmknod.c: Remove file.
11311 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11312
f5d153a0
JM
11313 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11314
aa746595
JM
11315 * sysdeps/unix/sysv/i386/time.S: Remove file.
11316
cce5905e
JM
11317 * sysdeps/unix/fxstat.c: Remove file.
11318 * sysdeps/unix/xstat.c: Likewise.
11319 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11320
37fa3841
JM
11321 * sysdeps/unix/sysv/sigaction.c: Remove file.
11322
ff1962a3
JM
11323 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11324 (sysdep_headers): Remove variable.
11325 [termio.h not in sysdep_headers] (generated): Likewise.
11326 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11327 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11328 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11329 * sysdeps/unix/sysv/tcflow.c: Likewise.
11330 * sysdeps/unix/sysv/tcflush.c: Likewise.
11331 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11332 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11333 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11334 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11335 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11336
e7740d31
JM
11337 * sysdeps/unix/siglist.c: Remove file.
11338
ee06f18b
JM
11339 * sysdeps/unix/getppid.S: Remove file.
11340
097d59fa
JM
11341 * sysdeps/unix/mkdir.c: Remove file.
11342 * sysdeps/unix/rmdir.c: Likewise.
11343
ff3d51ec
AS
113442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11345
11346 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11347 ERR_MAX value.
11348 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11349 errlist-compat value.
11350
50f81fd7
DM
113512012-04-18 David S. Miller <davem@davemloft.net>
11352
11353 * sysdeps/generic/memcopy.h (reg_char): Delete.
11354 * debug/strcat_chk.c: Use char, not reg_char.
11355 * debug/strcpy_chk.c: Likewise.
11356 * debug/strncat_chk.c: Likewise.
11357 * debug/strncpy_chk.c: Likewise.
11358 * string/memchr.c: Likewise.
11359 * string/memrchr.c: Likewise.
11360 * string/rawmemchr.c: Likewise.
11361 * string/strcat.c: Likewise.
11362 * string/strchr.c: Likewise.
11363 * string/strchrnul.c: Likewise.
11364 * string/strcmp.c: Likewise.
11365 * string/strcpy.c: Likewise.
11366 * string/strncat.c: Likewise.
11367 * string/strncmp.c: Likewise.
11368 * string/strncpy.c: Likewise.
11369
8ff41c46
WS
113702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11371
11372 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11373 __builtin_memcopy is called when src and dest ranges are known to not
11374 overlap.
11375
6b652f46
WS
113762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11377
11378 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11379 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11380 fwd_align_merge macro call.
11381 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11382 bwd_align_merge macro call.
11383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11384
b282631e
WS
113852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11386
11387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11388 bwd_align_merge macros.
11389 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11390 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11391 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11392
95aa737c
DM
113932012-04-18 David S. Miller <davem@davemloft.net>
11394
11395 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11396
7a99a614
AJ
113972012-04-18 Andreas Jaeger <aj@suse.de>
11398
11399 [BZ# 6794]
11400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11401 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11402 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11403
11404 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11405 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11407
11408 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11409 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11410 Adjust for changed ldbl-128 files.
11411
11412 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11413 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11414 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11415
e5270c23
DM
114162012-04-17 David S. Miller <davem@davemloft.net>
11417
11418 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11419
fb5e92c9
AS
114202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11421
11422 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11423 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11424 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11425 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11426 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11427 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11428
76da7265
AZ
114292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11430
11431 [BZ #6794]
11432 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11433 * math/libm-test.inc: Add ilogb errno and exception tests.
11434 * math/w_ilogb.c: New file: ilogb wrapper.
11435 * math/w_ilogbf.c: New file: ilogbf wrapper.
11436 * math/w_ilogbl.c: New file: ilogbl wrapper.
11437 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11438 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11439 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11440 exception being thrown with 0.0 as argument.
11441 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11442 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11443 exception being thrown with 0.0 as argument.
11444 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11445 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11446 exception being thrown with 0.0 as argument.
11447 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11448 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11449 exception being thrown with 0.0 as argument.
11450 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11451 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11452 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11453 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11454 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11455 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11456 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11457 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11458 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11459
0396e69d
PB
114602012-04-17 Petr Baudis <pasky@ucw.cz>
11461
11462 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11463 with altivec.
11464
750b5926
MP
114652012-04-16 Marek Polacek <polacek@redhat.com>
11466
11467 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11468
751728a1
MP
114692012-04-16 Marek Polacek <polacek@redhat.com>
11470
11471 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11472 operands of fdivp instruction.
11473
34a27407
L
114742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11475
11476 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11477 * elf/tst-auditmod3b.c: Likewise.
11478 * elf/tst-auditmod4b.c: Likewise.
11479 * elf/tst-auditmod5b.c: Likewise.
11480 * elf/tst-auditmod6b.c: Likewise.
11481 * elf/tst-auditmod6c.c: Likewise.
11482 * elf/tst-auditmod7b.c: Likewise.
11483 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11484 * sysdeps/x86_64/preconfigure.in: Likewise.
11485 * sysdeps/x86_64/preconfigure: Regenerated.
11486
7e73e17d
L
114872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11488
11489 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11490 __ILP32__.
11491
c7a6ab72
AB
114922012-04-13 Antoine Balestrat <merkil33@gmail.com>
11493
11494 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11495 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11496
a9e8e0e0
CL
114972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11498
11499 [BZ #13973]
11500 * locale/iso-639.def: Fix gl language name. Spotted by
11501 Yaron Shahrabani.
11502
ec98af7d
RM
115032012-04-12 Roland McGrath <roland@hack.frob.com>
11504
11505 [BZ #2074]
11506 * libio/libio.h (__io_write_fn): Update comment.
11507
247c3ede
PB
115082012-04-12 Petr Baudis <pasky@ucw.cz>
11509
11510 [BZ #2074]
11511 * stdio.texi (Hook Functions): The user provided writer function
11512 is not allowed to return -1.
11513
55939d6d
DM
115142012-04-11 David S. Miller <davem@davemloft.net>
11515
11516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11517
90020f5a
MF
115182012-04-11 Mike Frysinger <vapier@gentoo.org>
11519
11520 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11521 Add a leading slash to rtkaio.
11522
288f9098
JM
115232012-04-11 Jim Meyering <meyering@redhat.com>
11524
90020f5a
MF
11525 [BZ #11959]
11526 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11527 It is not necessarily an error to ignore fwrite's return
11528 value. One can reliably use ferror to test for errors after
11529 the fact.
288f9098 11530
4be2b570
L
115312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11532
11533 * bits/types.h (__snseconds_t): New type.
11534 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11535
11536 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11538 (__SNSECONDS_T_TYPE): Likewise.
11539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11540 (__SNSECONDS_T_TYPE): Likewise.
11541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11542 (__SNSECONDS_T_TYPE): Likewise.
11543
288f9098 115442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11545
11546 [BZ #2636]
11547 * manual/time.texi (Processor Time): Return type of times is
11548 elapsed real time since an arbitrary point in the past.
11549 (CPU Time): Move CLK_TCK from here...
11550 (Processor Time): ...to here. Correct description.
11551 * manual/conf.texi (Constants for Sysconf): Correct description of
11552 _SC_CLK_TCK.
11553
d7dd4413
DM
115542012-04-10 David S. Miller <davem@davemloft.net>
11555
11556 [BZ #13967]
11557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11558 where the is a gap between DT_REL(A) and DT_JMPREL.
11559
b46068fc
L
115602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11561
11562 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11563 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11564 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11565
73d65cc3
SP
115662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11567
11568 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11569 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11570 (dl_main): Handle --inhibit-cache.
11571 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11572 _dl_inhibit_cache.
11573 * elf/dl-load.c (_dl_map_object): Use it.
11574 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11575
bcc8d661
JM
115762012-04-09 Joseph Myers <joseph@codesourcery.com>
11577
8f9a2fae
JM
11578 [BZ #13872]
11579 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11580 (__ieee754_powl): Saturate large exponents rather than testing for
11581 overflow of y*log2(x).
11582 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11583 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11584 exceptions.
11585
bcc8d661
JM
11586 [BZ #11521]
11587 * math/s_ctan.c: Include <float.h>.
11588 (__ctan): Avoid internal overflow or cancellation in calculating
11589 denominator.
11590 * math/s_ctanf.c: Likewise.
11591 * math/s_ctanl.c: Likewise.
11592 * math/s_ctanh.c: Likewise.
11593 * math/s_ctanhf.c: Likewise.
11594 * math/s_ctanhl.c: Likewise.
11595 * math/libm-test.inc (ctan_test): Add more tests.
11596 (ctanh_test): Likewise.
11597 * sysdeps/i386/fpu/libm-test-ulps: Update.
11598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11599
823fbbb4
AJ
116002012-04-09 Andreas Jaeger <aj@suse.de>
11601
03879793
AJ
11602 [BZ #6894]
11603 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11604 is an optional BSD extension.
11605
823fbbb4
AJ
11606 [BZ #10254]
11607 * manual/stdio.texi (Opening Streams): Document additional fopen
11608 parameters.
11609
8de131cb
RM
116102012-04-09 Roland McGrath <roland@hack.frob.com>
11611
11612 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11613 %eax without telling the compiler.
11614
c0ed9d7d
CD
116152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11616
11617 [BZ # 13963]
11618 * manual/install.texi: Use sourceware.org.
11619
c483f6b4
JM
116202012-04-09 Joseph Myers <joseph@codesourcery.com>
11621
d7dd9453
JM
11622 [BZ #13873]
11623 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11624 (__ieee754_pow): Generate overflow and underflow using huge*huge
11625 and tiny*tiny rather than just returning constant infinity or zero
11626 for large exponents.
11627 * math/libm-test.inc (pow_test): Require overflow exceptions for
11628 applicable cases of large exponents.
11629
c483f6b4
JM
11630 [BZ #706]
11631 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11632 (__ieee754_pow): Use iterative multiplication algorithm only for
11633 integer exponents with absolute value below 1024. Check for odd
11634 integer exponents when using algorithm for real exponents.
11635 * math/libm-test.inc (pow_test): Add more tests.
11636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11637
d2de7579
JM
116382012-04-08 Joseph Myers <joseph@codesourcery.com>
11639
11640 [BZ #13705]
11641 * math/libm-test.inc (exp_test): Do not allow overflow exception
11642 on underflow test.
11643
f77f1232
AJ
116442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11645
11646 [BZ #13705]
11647 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11648 instead of __kernel_standard_f.
11649
3884932b
MF
116502012-04-08 Mike Frysinger <vapier@gentoo.org>
11651
11652 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11653 * sysdeps/x86_64/memset_chk.S: Likewise.
11654
54472e9c
AJ
116552012-04-08 Andreas Jaeger <aj@suse.de>
11656
6ab0fbfc
AJ
11657 [BZ #10153]
11658 * manual/startup.texi (Environment Access): Describe return value
11659 for putenv and setenv.
11660
61efba8c
AJ
11661 [BZ #6895]
11662 * manual/filesys.texi (Directory Entries): Add description for
11663 DT_LNK.
11664
95c3f29a
AJ
11665 [BZ #6890]
11666 * manual/filesys.texi (Directory Entries): Clarify that it's file
11667 system not operating system in the description of DT_UNKNOWN.
11668
54472e9c
AJ
11669 [BZ #6578]
11670 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11671
624254b1
SC
116722012-04-08 Stephen Compall <s11@member.fsf.org>
11673
11674 [BZ #6649]
11675 * manual/llio.texi (Opening and Closing Files): Add cross
11676 reference to explain mode argument.
11677
1e4920e0
MF
116782012-04-07 Mike Frysinger <vapier@gentoo.org>
11679
11680 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11681 * sysdeps/x86_64/memset_chk.S: Likewise.
11682
5ed848f3
DM
116832012-04-07 David S. Miller <davem@davemloft.net>
11684
11685 * elf/elf.h (R_SPARC_WDISP10): Define.
11686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11687 R_SPARC_SIZE32.
11688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11689 R_SPARC_SIZE64 and R_SPARC_H34.
11690
96154cd8
CD
116912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11692
11693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11694 conditions and remove no longer applicable assertion.
11695
9904dc47
L
116962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11697
11698 * bits/byteswap.h: Include <features.h>.
11699 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11700 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11701
f8887d0a
L
117022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11703
11704 * bits/byteswap.h (__bswap_16): Removed.
11705 Include <bits/byteswap-16.h> to get __bswap_16.
11706 * sysdeps/i386/bits/byteswap.h: Likewise.
11707 * sysdeps/s390/bits/byteswap.h: Likewise.
11708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11709 * bits/byteswap-16.h: New file.
11710 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11711 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11712 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11713 * string/Makefile (headers): Add bits/byteswap-16.h.
11714
62470f60
PP
117152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11716
11717 [BZ #13895]
11718 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11719 extra indirection.
11720 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11721 * nss/tst-nss-static.c: New.
11722
4dad7bab
RM
117232012-04-06 Robert Millan <rmh@gnu.org>
11724
11725 [BZ #6486]
11726 * manual/llio.texi (File Position Primitive): lseek
11727 refers to WHENCE when it really means OFFSET.
11728
e9142a17
AJ
117292012-04-06 Andreas Jaeger <aj@suse.de>
11730
2c040eff
AJ
11731 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11732 strncmp declarations.
11733
e9142a17
AJ
11734 * abilist/libc.abilist: Add __poll and __ppoll.
11735
ff9f1c5f
DM
117362012-04-05 David S. Miller <davem@davemloft.net>
11737
dcd2ae90
DM
11738 * scripts/check-local-headers.sh: Accept a host triplet in the
11739 path matched by the exclude regexp.
11740
993eb054
DM
11741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11742 definition.
11743 * sysdeps/powerpc/powerpc32/dl-machine.h
11744 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11745 * sysdeps/s390/s390-32/dl-machine.h
11746 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11747 * sysdeps/sparc/sparc32/dl-machine.h
11748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11749 * sysdeps/sparc/sparc64/dl-machine.h
11750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11751
ff9f1c5f
DM
11752 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11753 lazy binding.
48e2e132 11754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11755 undefined symbol errors.
11756
48e2e132 11757 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11758 DT_NEEDED entries.
11759
e80d6f94
MM
117602012-04-05 Michael Matz <matz@suse.de>
11761
11762 [BZ #13592]
11763 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11764
349fa79f
AJ
117652012-04-05 Andreas Jaeger <aj@suse.de>
11766
11767 [BZ #13908]
11768 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11769 comment.
11770
f402708f
KK
117712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11772
11773 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11774 which ROUND is no valid rounding mode.
11775
2ecccfc9
KK
117762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11777
11778 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11779 read again.
11780 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11781
8a53f50f
KK
117822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11783
11784 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11785 an exception using FPU order intentionally.
11786
117872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11788
11789 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11790 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11791 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11792 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11793
d653abb7
SJ
117942012-04-05 Simon Josefsson <simon@josefsson.org>
11795
11796 [BZ #12340]
11797 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11798 EINVAL when BUFLEN is too smal.
11799
c3b1bf7d
TS
118002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11801
11802 [BZ #13553]
11803 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11804 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11805
b1aa60f3
AJ
118062012-04-03 Andreas Jaeger <aj@suse.de>
11807
c3b1bf7d 11808 [BZ #13938]
67f60a26
AJ
11809 * manual/setjmp.texi (System V contexts): Fix sentence.
11810
b1aa60f3
AJ
11811 [BZ #13926]
11812 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11813 New macro for this case.
11814 [!__GNUC__] (__bswap_64): New inline function for this case.
11815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11816 * bits/byteswap.h: Likewise.
11817 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11818 ull, guard with __GLIBC_HAVE_LONG_LONG.
11819
11820 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11821 __GLIBC_HAVE_LONG_LONG.
11822
11823 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11824 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11825
39c59c35
TMQMF
118262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11827
11828 [BZ #13691]
11829 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11830 inptr and inend, rather than using last_ch.
11831
135ffda8
DM
118322012-04-02 David S. Miller <davem@davemloft.net>
11833
11834 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11835 * stdio-common/printf-parse.h (read_int): Change return type to
11836 'int', return -1 on INT_MAX overflow.
11837 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11838 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11839 overflows INT_MAX. Check for overflow of in-format-string precision
11840 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11841 SIZE_MAX not INT_MAX for integer overflow test.
11842 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11843 skip the construct in the format string but do not record anything.
11844 * stdio-common/bug22.c: Adjust to test both width/prevision
11845 INT_MAX overflow as well as total length INT_MAX overflow. Check
11846 explicitly for proper errno values.
11847
228c019e
TS
118482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11849
302cadd3
TS
11850 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11851 CHAR_MAX.
11852 * string/test-strcmp.c [! WIDE]: Likewise.
11853 * time/tst-mktime2.c: Likewise for INT_MAX.
11854 * string/test-string.h: #include <sys/param.h> for MIN.
11855
228c019e
TS
11856 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11857 * sysdeps/i386/init-first.c (init): Likewise.
11858 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11859 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11860 * sysdeps/sh/init-first.c (init): Likewise.
11861
cfa633f5
UD
118622012-04-01 Ulrich Drepper <drepper@gmail.com>
11863
11864 * po/ru.po: Update from translation team.
d1635ef8 11865 * po/vi.po: Likewise.
cfa633f5 11866
6cd0a5ea
SP
118672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11868
11869 * resolv/nss_dns/dns-host.c: Merge copyright years.
11870
4b43400f
LD
118712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11872
11873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11874 Optimize memcpy with prefetch if
11875 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11876 src, dst pointers have unequal 16 byte alignments.
11877
48c41d04
SP
118782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11879
11880 [BZ #13928]
11881 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11882 from a CNAME entry and return the minimum ttl for the query.
11883 (gaih_getanswer_slice): Likewise.
11884
b8dc394d
JL
118852012-03-30 Jeff Law <law@redhat.com>
11886
11887 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11888 due to long keys.
11889 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11890 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11891
2f5a5ed0
JL
11892 * resolv/nss_dns/dns-host.c: Update copyright year.
11893
1d39e359
UD
118942012-03-30 Ulrich Drepper <drepper@gmail.com>
11895
c030f70c 11896 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11897 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11898
1d39e359
UD
11899 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11900 comments for sendmmsg.
11901
119022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11903
11904 [BZ #13691]
11905 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11906 with only 1 character between 0x0041 and 0x01b0.
11907 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11908 * wcsmbs/tst-mbsnrtowcs.c: New file.
11909
20fde227
DM
119102012-03-29 David S. Miller <davem@davemloft.net>
11911
11912 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11913 small copies by hand.
11914
984a4237
JL
119152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11916
11917 [BZ #13761]
11918 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11919 _nss_compat_initgroups_dyn): Fall back to malloc/free
11920 for large group memberships.
11921
18c9d62b
DM
119222012-03-28 David S. Miller <davem@davemloft.net>
11923
88d85d4f
DM
11924 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11925 that branches into memcpy.
11926 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11929 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11931 bits.
11932 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11933 implementation too.
11934 * sysdeps/sparc/mempcpy.S: New file.
11935
e5aa83e1
DM
11936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11937 the IFUNC routine in the libc case.
11938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11939
88570753
DM
11940 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11941 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11942 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11943 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11944 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11945 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11946 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11947 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11948
249d7567
DM
11949 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11950 loop to 256 bytes instead of 64 bytes and fix test signedness.
11951
18c9d62b
DM
11952 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11953 * sysdeps/sparc/sparc32/Makefile: rather than here...
11954 * sysdeps/sparc/sparc64/Makefile: and here.
11955
05f3d1f6
UD
119562012-03-28 Ulrich Drepper <drepper@gmail.com>
11957
11958 * malloc/mallocbug.c: Avoid warnings about unused variables.
11959
86ae07a8
JL
119602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11961
11962 [BZ #13760]
11963 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11964 in the right place. Discard and retry query if response is
11965 larger than input buffer size.
11966
41bf21a1
JM
119672012-03-28 Joseph Myers <joseph@codesourcery.com>
11968
d6270972
JM
11969 [BZ #369]
11970 [BZ #2678]
11971 [BZ #3866]
11972 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11973 x for large integer exponent.
11974 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11975 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11976 sign of result as needed afterwards.
11977 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11978 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11979 result for underflowing pow the same as for overflow.
11980 (__kernel_standard_l): Handle powl overflow and underflow here
11981 rather than calling __kernel_standard.
11982 * math/libm-test.inc (pow_test): Add more tests.
11983
414fca03 11984 [BZ #3868]
41bf21a1
JM
11985 [BZ #13879]
11986 [BZ #13910]
11987 [BZ #13911]
11988 [BZ #13912]
11989 [BZ #13913]
11990 [BZ #13915]
11991 [BZ #13916]
11992 [BZ #13917]
11993 [BZ #13918]
11994 [BZ #13919]
11995 [BZ #13920]
11996 [BZ #13921]
11997 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11998 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11999 (__kernel_standard_l): New function.
12000 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12001 __kernel_standard.
12002 * math/w_acosl.c (__acosl): Likewise.
12003 * math/w_asinl.c (__asinl): Likewise.
12004 * math/w_atan2l.c (__atan2l): Likewise.
12005 * math/w_atanhl.c (__atanhl): Likewise.
12006 * math/w_coshl.c (__coshl): Likewise.
12007 * math/w_exp10l.c (__exp10l): Likewise.
12008 * math/w_exp2l.c (__exp2l): Likewise.
12009 * math/w_fmodl.c (__fmodl): Likewise.
12010 * math/w_hypotl.c (__hypotl): Likewise.
12011 * math/w_j0l.c (__j0l, __y0l): Likewise.
12012 * math/w_j1l.c (__j1l, __y1l): Likewise.
12013 * math/w_jnl.c (__jnl, __ynl): Likewise.
12014 * math/w_lgammal.c (__lgammal): Likewise.
12015 * math/w_log10l.c (__log10l): Likewise.
12016 * math/w_log2l.c (__log2l): Likewise.
12017 * math/w_logl.c (__logl): Likewise.
12018 * math/w_powl.c (__powl): Likewise.
12019 * math/w_remainderl.c (__remainderl): Likewise.
12020 * math/w_scalbl.c (sysv_scalbl): Likewise.
12021 * math/w_sinhl.c (__sinhl): Likewise.
12022 * math/w_sqrtl.c (__sqrtl): Likewise.
12023 * math/w_tgammal.c (__tgammal): Likewise.
12024 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12025 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12026 * math/libm-test.inc (acos_test): Add more tests.
12027 (acosh_test): Likewise.
12028 (asin_test): Likewise.
12029 (atanh_test): Likewise.
12030 (exp_test): Likewise.
12031 (exp10_test): Likewise.
12032 (exp2_test): Likewise.
12033 (expm1_test): Likewise.
12034 (lgamma_test): Likewise.
12035 (log_test): Likewise.
12036 (log10_test): Likewise.
12037 (log1p_test): Likewise.
12038 (log2_test): Likewise.
12039 (pow_test): Do not allow some spurious overflow exceptions.
12040 (sqrt_test): Add more tests.
12041 (tgamma_test): Likewise.
12042 (y0_test): Likewise.
12043 (y1_test): Likewise.
12044 (yn_test): Likewise.
12045
dd62fda6
AB
120462012-03-27 Anton Blanchard <anton@samba.org>
12047
12048 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12049 MAP_HUGETLB.
12050 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12051 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12053
1e3cdfda
AJ
120542012-03-27 David S. Miller <davem@davemloft.net>
12055
b855ab85
DM
12056 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12057
1e3cdfda
AJ
12058 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12059 have-as-vis3 check.
12060
120612012-03-27 Andreas Jaeger <aj@suse.de>
12062
12063 * sysdeps/x86_64/elf/configure.in: Moved to ...
12064 * sysdeps/x86_64/configure.in: ... here.
12065 * sysdeps/x86_64/elf/start.S: Moved to ...
12066 * sysdeps/x86_64/start.S: ... here.
12067 * sysdeps/x86_64/elf/configure: Delete.
12068
12069 * sysdeps/x86_64/configure.in: Merge contents from
12070 sysdeps/i386/configure.in (without i686 check).
12071
12072 * sysdeps/i386/elf/Versions: Merge into ...
12073 * sysdeps/i386/Versions: ... this.
12074 * sysdeps/i386/elf/Versions: Delete file.
12075 * sysdeps/i386/elf/start.S: Moved to ...
12076 * sysdeps/i386/start.S: ...here.
12077 * sysdeps/i386/elf/configure.in: Merge into...
12078 * sysdeps/i386/configure.in: ...here.
12079 * sysdeps/i386/elf/configure.in: Delete file.
12080 * sysdeps/i386/elf/configure: Delete file.
12081
12082 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12083 * debug/backtracesyms.c: ... here.
12084 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12085 * debug/backtracesymsfd.c: ... here.
12086 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12087 * sysdeps/generic/ifunc-sel.h: ... here.
12088
12089 * sysdeps/unix/i386/start.c: Delete file.
12090 * sysdeps/unix/sparc/start.c: Delete file.
12091 * sysdeps/unix/start.c: Delete file.
12092
12093 * sysdeps/sh/elf/configure.in: Moved to ...
12094 * sysdeps/sh/configure.in: ... here.
12095 * sysdeps/sh/elf/start.S: Moved to ...
12096 * sysdeps/sh/start.S: ... here.
12097 * sysdeps/sh/elf/configure: Delete file.
12098
12099 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12100 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12101 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12102 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12103 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12104 * sysdeps/powerpc/powerpc64/start.S: here.
12105 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12106 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12107 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12108 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12109 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12110
12111 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12112 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12113 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12114 * sysdeps/powerpc/powerpc32/start.S: ... here.
12115 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12116 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12117 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12118
12119 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12120 * sysdeps/powerpc/ifunc-sel.h: ... here.
12121 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12122 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12123
12124 * sysdeps/sparc/elf/configure.in: Moved to ...
12125 * sysdeps/sparc/configure.in: ... here.
12126 * sysdeps/sparc/elf/configure: Delete file.
12127 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12128 * sysdeps/sparc/sparc32/start.S: ... here.
12129 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12130 * sysdeps/sparc/sparc64/start.S: ... here.
12131 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12132 * sysdeps/sparc/sparc32/Makefile: ... this.
12133 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12134 * sysdeps/sparc/sparc64/Makefile: ... this.
12135
12136 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12137 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12138 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12139 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12140 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12141 * sysdeps/s390/s390-32/setjmp.S: ... here.
12142 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12143 * sysdeps/s390/s390-32/configure.in: ... here.
12144 * sysdeps/s390/s390-32/elf/configure: Delete file.
12145 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12146 * sysdeps/s390/s390-32/start.S: ... here.
12147
12148 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12149 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12150 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12151 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12152 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12153 * sysdeps/s390/s390-64/setjmp.S: ... here.
12154 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12155 * sysdeps/s390/s390-64/configure.in: ... here
12156 * sysdeps/s390/s390-64/elf/configure: Delete file.
12157 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12158 * sysdeps/s390/s390-64/start.S: ... here.
12159 * sysdeps/s390/s390-64/elf/configure: Delete.
12160
12161 * configure.in: Remove support for elf directories in sysdeps.
12162
12163 * configure: Regenerated.
12164 * sysdeps/i386/configure: Regenerated.
12165 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12166 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12167 * sysdeps/s390/s390-32/configure: Regenerated.
12168 * sysdeps/s390/s390-64/configure: Regenerated.
12169 * sysdeps/sh/configure: Regenerated.
12170 * sysdeps/sparc/configure: Regenerated.
12171 * sysdeps/x86_64/configure: Regenerated.
12172
a3f61311
AS
121732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12174
c876e002
AS
12175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12176
a3f61311
AS
12177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12178 denormal result into account.
12179
ac4c54f0
RM
121802012-03-25 Roland McGrath <roland@hack.frob.com>
12181
12182 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12183 Reported by Allan McRae <allan@archlinux.org>.
12184
6a9b9c02
JL
121852012-03-23 Jeff Law <law@redhat.com>
12186
12187 * nss/getnssent.c (__nss_getent): Fix typo.
12188
4c42a0c1
DM
121892012-03-23 David S. Miller <davem@davemloft.net>
12190
12191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12192
1532c7ac
L
121932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12194
12195 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12196 to pad to uint64_t for each field.
12197 (dl_tls_index): Replace unsigned long with uint64_t.
12198
3ff42526
PP
121992012-03-23 Daniel Jacobowitz <dmj@google.com>
12200 Paul Pluzhnikov <ppluzhnikov@google.com>
12201
12202 [BZ #6528]
12203 * grp/Makefile (otherlibs): Don't set it.
12204 * inet/Makefile (otherlibs): Likewise.
12205 * login/Makefile (otherlibs): Likewise.
12206 * nscd/Makefile (otherlibs): Likewise.
12207 * posix/Makefile (otherlibs): Likewise.
12208 * pwd/Makefile (otherlibs): Likewise.
12209 * rt/Makefile (otherlibs): Likewise.
12210 * sunrpc/Makefile (otherlibs): Likewise.
12211 * nss/Makefile (otherlibs): Likewise.
12212 Add libnss_files to routines and static-only-routines.
12213 ($(objpfx)getent): Remove rule.
12214 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12215 static-only-routines.
12216
7c69cd14
JM
122172012-03-22 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #13892]
12220 * math/s_cexp.c: Include <float.h>.
12221 (__cexp): Handle exp result overflowing not necessarily
12222 overflowing both real and imaginary parts of result.
12223 * math/s_cexpf.c: Likewise.
12224 * math/s_cexpl.c: Likewise.
12225 * math/libm-test.inc (cexp_test): Add more tests.
12226 * sysdeps/i386/fpu/libm-test-ulps: Update.
12227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12228
81b035fe
L
122292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 * include/link.h (ELFW): New macro.
12232 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12233 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12234
1da7940c
L
122352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12236
12237 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12238 with uint64_t.
12239
b749dbb9
L
122402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12241
12242 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12243 declaration.
12244 (struct La_x32_retval): Likewise.
12245
2ff87f3f
L
122462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12247
12248 * sysdeps/x86_64/preconfigure.in: New file.
12249 * sysdeps/x86_64/preconfigure: New generated file.
12250
c0df8e69
JM
122512012-03-22 Joseph Myers <joseph@codesourcery.com>
12252
48e44791
JM
12253 [BZ #13824]
12254 * math/e_exp2l.c: Include <float.h>.
12255 (__ieee754_exp2l): Handle overflow and underflow cases
12256 separately. Only pass fractional part of argument to
12257 __ieee754_expl.
12258 * math/libm-test.inc (exp2_test): Add more tests.
12259
c0df8e69
JM
12260 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12261 negating x to take absolute value.
12262 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12263 Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12266 Likewise.
12267 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12268 computing low part if x was negated.
12269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12270
c8e43ba7
L
122712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12272
12273 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12274 la_x32_gnu_pltexit.
12275 (pltexit): Cast int_retval to ptrdiff_t.
12276 * elf/tst-auditmod3b.c: Likewise.
12277 * elf/tst-auditmod4b.c: Likewise.
12278 * elf/tst-auditmod5b.c: Likewise.
12279 * elf/tst-auditmod6b.c: Likewise.
12280 * elf/tst-auditmod6c.c: Likewise.
12281 * elf/tst-auditmod7b.c: Likewise.
12282
12283 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12284 and x32_gnu_pltexit.
12285
12286 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12287 __ELF_NATIVE_CLASS.
12288 (La_x32_regs): New macro.
12289 (La_x32_retval): Likewise.
12290 (la_x32_gnu_pltenter): New function prototype.
12291 (la_x32_gnu_pltexit): Likewise.
12292
7998fa78
AS
122932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12294
dcb33988
AS
12295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12296 exponent.
12297
233fc563
AS
12298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12299
7998fa78
AS
12300 * configure.in (libc_cv_cc_nofma): Check for option to disable
12301 generation of FMA instructions.
12302 * configure: Regenerate.
12303 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12304 * sysdeps/ieee754/dbl-64/Makefile: New file.
12305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12306 Remove brandred-fma4.
12307 (CFLAGS-brandred-fma4.c): Remove.
12308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12309 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12310 define.
12311 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12312 define.
12313
8e95c99a
L
123142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12315
12316 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12317 LLONG_MAX != LONG_MAX.
12318 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12319 (_fitoa_word): Likewise.
12320 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12321 LLONG_MAX != LONG_MAX.
12322 * stdio-common/_itowa.h: Include <_itoa.h>.
12323 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12324 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12325 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12326 only if not defined.
12327 (_ITOA_WORD_TYPE): Likewise.
12328 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12329 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12330
6f4db457
DM
123312012-03-21 David S. Miller <davem@davemloft.net>
12332
12333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12334
7785fe5a
L
123352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12336
12337 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12338 of x86_64 when setting libc_cv_slibdir, libdir and
12339 libc_cv_localedir.
12340 * sysdeps/unix/sysv/linux/configure: Regenerated.
12341
4535cd55
JM
123422012-03-21 Joseph Myers <joseph@codesourcery.com>
12343
12344 * manual/lang.texi (Old Varargs): Remove section.
12345 (How Variadic): Update menu.
12346 (va_start): Do not mention varargs.h.
12347
17228132
TS
123482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12349 Joseph Myers <joseph@codesourcery.com>
12350
12351 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12352 link test.
12353 * configure: Regenerated.
12354
8149f976
TS
123552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12356
05f3d1f6
UD
12357 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12358 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12359 conformtest.pl
8149f976 12360
1a4ac776
JM
123612012-03-21 Joseph Myers <joseph@codesourcery.com>
12362
be22ce65
JM
12363 * NOTES: Remove.
12364 * Makefile (files-for-dist): Remove NOTES.
12365 (NOTES): Remove rule.
12366 * README: Don't refer to NOTES.
12367 * manual/creature.texi: Don't include macros.texi.
12368 * manual/intro.texi (creature.texi): Remove comment referring to
12369 NOTES.
12370
40b601fb
JM
12371 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12372 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12373 * configure: Regenerated.
12374 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12375 LIBC_TRY_CC_OPTION.
12376 (libc_cv_as_i686): Likewise.
12377 (libc_cv_cc_avx): Likewise.
12378 (libc_cv_cc_sse2avx): Likewise.
12379 (libc_cv_cc_fma4): Likewise.
12380 (libc_cv_cc_novzeroupper): Likewise.
12381 * sysdeps/i386/configure: Regenerated.
12382
1a4ac776
JM
12383 [BZ #13883]
12384 * sysdeps/i386/fpu/s_cexp.S: Remove.
12385 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12386 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12387 * math/libm-test.inc (cexp_test): Add more tests.
12388 * sysdeps/i386/fpu/libm-test-ulps: Update.
12389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12390
a458e7fe
AM
123912012-03-21 Allan McRae <allan@archlinux.org>
12392
12393 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12394
0cb7efc5
JM
123952012-03-21 Joseph Myers <joseph@codesourcery.com>
12396
12397 [BZ #13871]
12398 * math/w_exp2.c: Do not include <float.h>.
12399 (o_threshold, u_threshold): Remove.
12400 (__exp2): Calculate result before checking finiteness and calling
12401 __kernel_standard.
12402 * math/w_exp2f.c: Likewise.
12403 * math/w_exp2l.c: Likewise.
12404 * math/libm-test.inc (exp2_test): Require overflow exception for
12405 1e6 input.
2460d3aa
JM
12406
12407 [BZ #3866]
12408 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12409 range of signed 64-bit integers before using fistpll. Remove
12410 checks for whether integers fit in mantissa bits.
12411 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12412 the range of signed 32-bit integers before using fistpl. Remove
12413 checks for whether integers fit in mantissa bits.
12414 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12415 (__ieee754_powl): Test for y outside the range of signed 64-bit
12416 integers before using fistpll. Reduce 64-bit values to 63-bit
12417 ones as needed.
12418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12419 divide-by-zero is raised for zero to large negative powers.
12420 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12421 (__ieee754_powl): Test for y outside the range of signed 64-bit
12422 integers before using fistpll. Reduce 64-bit values to 63-bit
12423 ones as needed.
12424 * math/libm-test.inc (pow_test): Add more tests.
12425
eb96ffb0
L
124262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12427
12428 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12429 <stdio-common/_itoa.h>.
12430 * debug/segfault.c: Likewise.
12431 * elf/dl-cache.c: Likewise.
12432 * elf/dl-minimal.c: Likewise.
12433 * elf/dl-misc.c: Likewise.
12434 * elf/dl-sysdep.c: Likewise.
12435 * elf/dl-version.c: Likewise.
12436 * elf/rtld.c: Likewise.
12437 * hurd/hurdsock.c: Likewise.
12438 * hurd/lookup-retry.c: Likewise.
12439 * malloc/malloc.c: Likewise.
12440 * malloc/mtrace.c: Likewise.
12441 * nscd/nscd_getgr_r.c: Likewise.
12442 * nscd/nscd_getpw_r.c: Likewise.
12443 * nscd/nscd_getserv_r.c: Likewise.
12444 * posix/getopt_init.c: Likewise.
12445 * posix/wordexp.c: Likewise.
12446 * stdio-common/_itoa.c: Likewise.
12447 * stdio-common/printf_fphex.c: Likewise.
12448 * stdio-common/vfprintf.c: Likewise.
12449 * string/_strerror.c: Likewise.
12450 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12451 * sysdeps/i386/i686/hp-timing.h: Likewise.
12452 * sysdeps/mach/_strerror.c: Likewise.
12453 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12454 * sysdeps/mach/hurd/sethostid.c: Likewise.
12455 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12456 * sysdeps/mach/xpg-strerror.c: Likewise.
12457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12459 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12460 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12461 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12462 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12463 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12464 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12465 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12466 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12467 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12468 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12469 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12470 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12471 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12473 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12474 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12475 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12476 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12477 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12478
12479 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12480
12481 * stdio-common/_itoa.h: Moved to ...
12482 * sysdeps/generic/_itoa.h: Here.
12483
12484 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12485
12486 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12487 instead of "_itoa.h" and "_itowa.h".
12488 * stdio-common/vfprintf.: Likewise.
12489
d1af992d
L
124902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12491
12492 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12493 <bits/wordsize.h>.
12494 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12495 (__signbit): Likwise.
12496 (llrintf): Likwise.
12497 (llrint): Likwise.
12498
114883e0
L
124992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12500
12501 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12502 __WORDSIZE != 64.
12503
c135cc1b
JM
125042012-03-20 Joseph Myers <joseph@codesourcery.com>
12505
12506 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12507 OVERFLOW_EXCEPTION_OK.
12508 * math/libm-test.inc ("Philosophy"): Update comment about
12509 exception testing.
12510 (OVERFLOW_EXCEPTION): Define.
12511 (OVERFLOW_EXCEPTION_OK): Likewise.
12512 (INVALID_EXCEPTION_OK): Renumber.
12513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12514 (IGNORE_ZERO_INF_SIGN): Likewise.
12515 (test_exceptions): Handle FE_OVERFLOW.
12516 (exp10_test): Expect overflow exceptions.
12517 (exp2_test): Likewise.
12518 (expm1_test): Likewise.
12519 (nextafter_test): Likewise.
12520 (pow_test): Likewise.
12521 (scalbn_test): Likewise.
12522 (scalbln_test): Likewise.
12523
95443d88
L
125242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12525
12526 * sysdeps/x86_64/bits/atomic.h
12527 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12528 64bit integer.
12529 (atomic_exchange_acq): Likewise.
12530 (__arch_exchange_and_add_body): Likewise.
12531 (__arch_add_body): Likewise.
12532 (atomic_add_negative): Likewise.
12533 (atomic_add_zero): Likewise.
12534
490df6c4
L
125352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12536
c2722551 12537 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12538 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12539
5e52b189
L
125402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12543 Check __x86_64__ instead of __WORDSIZE.
12544
a9879d4c
L
125452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12546
12547 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12548
5df98260
DM
125492012-03-19 David S. Miller <davem@davemloft.net>
12550
e1497744
DM
12551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12552
5df98260
DM
12553 * sysdeps/sparc/fpu/fenv_private.h: New file.
12554 * sysdeps/sparc/fpu/math_private.h: Use it.
12555 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12556 Remove.
12557 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12558 (libc_feholdexcept_setroundl): Remove.
12559 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12560 Remove.
12561 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12562 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12563
b4c35121
L
125642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12565
12566 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12567 int64_t instead of long int.
12568 (INSERT_WORDS64): Likwise.
12569
56965fd7
L
125702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12571
12572 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12573 _Unwind_GetCFA return to _Unwind_Ptr first.
12574
83d1aec8
JM
125752012-03-19 Joseph Myers <joseph@codesourcery.com>
12576
1897ad44
JM
12577 [BZ #13629]
12578 * math/s_clog.c: Include <float.h>.
12579 (__clog): Scale large or subnormal inputs.
12580 * math/s_clogf.c: Likewise.
12581 * math/s_clogl.c: Likewise.
12582 * math/s_clog10.c: Include <float.h>.
12583 (M_LOG10_2): Define.
12584 (__clog10): Scale large or subnormal inputs.
12585 * math/s_clog10f.c: Likewise.
12586 * math/s_clog10l.c: Likewise.
12587 * math/libm-test.inc (clog_test): Add more tests.
12588 (clog10_test): Likewise.
12589 * sysdeps/i386/fpu/libm-test-ulps: Update.
12590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12591
7726d6a9
JM
12592 [BZ #11451]
12593 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12594 x and y.
12595 * math/libm-test.inc (atan2_test): Add another test.
12596
83d1aec8
JM
12597 * Makerules (common-objdir-compile): Remove.
12598 * sysdeps/unix/Makefile (config-generated): Do not add
12599 $(unix-generated) to variable.
12600 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12601 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12602 Remove rule.
12603 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12604 Likewise.
12605 [generic bits/local_lim.h] (before-compile): Do not append to
12606 variable.
12607 [generic bits/local_lim.h] (common-generated): Likewise.
12608 [generic sys/param.h] (before-compile): Do not append to variable.
12609 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12610 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12611 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12612 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12613 include.
12614 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12615 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12616 [generic sys/param.h] ($(addprefix
12617 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12618 [generic sys/param.h] (common-generated): Do not append to
12619 variable.
12620 [generic sys/param.h] (sysdep_headers): Likewise.
12621 [generic bits/errno.h] (before-compile): Do not append to
12622 variable.
12623 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12624 rule.
12625 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12626 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12627 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12628 [generic bits/errno.h] (common-generated): Do not append to
12629 variable.
12630 [generic bits/ioctls.h] (before-compile): Do not append to
12631 variable.
12632 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12633 rule.
12634 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12635 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12636 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12637 rule.
12638 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12639 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12640 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12641 [generic bits/ioctls.h] (common-generated): Do not append to
12642 variable.
12643 [generic sys/syscall.h] (syscall.h): Remove variable.
12644 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12645 rule.
12646 [generic sys/syscall.h] (before-compile): Do not append to
12647 variable.
12648 [generic sys/syscall.h] (common-generated): Likewise.
12649 * sysdeps/unix/errnos-tmpl.c: Remove file.
12650 * sysdeps/unix/errnos.awk: Likewise.
12651 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12652 * sysdeps/unix/ioctls.awk: Likewise.
12653 * sysdeps/unix/mk-local_lim.c: Likewise.
12654 * sysdeps/unix/snarf-ioctls: Likewise.
12655
4851a949
RH
126562012-03-19 Richard Henderson <rth@twiddle.net>
12657
bd37f2ee
RH
12658 * sysdeps/i386/fpu/fenv_private.h: New file.
12659 * sysdeps/i386/fpu/math_private.h: Use it.
12660 (math_opt_barrier, math_force_eval): Remove.
12661 (libc_feholdexcept_setround_53bit): Remove.
12662 (libc_feupdateenv_53bit): Remove.
12663 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12664 (math_opt_barrier, math_force_eval): Remove.
12665 (libc_feholdexcept): Remove.
12666 (libc_feholdexcept_setround): Remove.
12667 (libc_fetestexcept, libc_fesetenv): Remove.
12668 (libc_feupdateenv_test): Remove.
12669 (libc_feupdateenv, libc_feholdsetround): Remove.
12670 (libc_feresetround): Remove.
12671
d0adc922
RH
12672 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12673 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12674
0fe0f1f8
RH
12675 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12676 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12677 (libc_feupdateenv_testl): New.
12678 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12679 (libc_feupdateenv_testf): New.
12680 (libc_feupdateenv): Use libc_feupdateenv_test.
12681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12682 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12683
eb92c487
RH
12684 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12685 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12686 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12687 (libc_feresetround_noex): New.
12688 (libc_feresetround_noexf): New.
12689 (libc_feresetround_noexl): New.
12690 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12691 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12692 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12693 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12694 SET_RESTORE_ROUND.
12695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12697 (__cos): Likewise.
12698 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12700 SET_RESTORE_ROUND_NOEX.
12701 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12702 SET_RESTORE_ROUND_NOEXF.
12703 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12704 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12705 (libc_feholdsetroundf): New.
12706 (libc_feresetround, libc_feresetroundf): New.
12707
7d2e8012
RH
12708 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12709 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12710 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12711
b4dabbb4
RH
12712 * sysdeps/generic/math_private.h: Include <fenv.h>.
12713 (default_libc_feholdexcept): New.
12714 (default_libc_feholdexcept_setround): New.
12715 (default_libc_fesetenv, default_libc_feupdateenv): New.
12716 (libc_feholdexcept): Only define if undefined.
12717 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12718 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12719 (libc_feholdexcept_setroundl): Likewise.
12720 (libc_feholdexcept_setround_53bit): Likewise.
12721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12722 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12723 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12724 (libc_feupdateenv_53bit): Likewise.
12725 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12726 (libc_feholdexcept): Convert from macro to inline function.
12727 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12728 (libc_fesetenv, libc_feupdateenv): Likewise.
12729
4851a949
RH
12730 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12731 not previously defined.
12732 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12733 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12734 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12735 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12736 * sysdeps/ieee754/flt-32/math_private.h: New file.
12737 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12738 math_private.h below SET_FLOAT_WORD.
12739 (__isnan, __isinf_ns, __finite): Remove.
12740 (__isnanf, __isinf_nsf, __finitef): Remove.
12741
e79d442e
AS
127422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12743
12744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12745
90b80344
DM
127462012-03-17 David S. Miller <davem@davemloft.net>
12747
12748 [BZ #6471]
12749 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12750 for 2.16.
12751
edc21804
DM
127522012-03-16 David S. Miller <davem@davemloft.net>
12753
77e927af
DM
12754 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12755 warnings.
12756
374976dd
DM
12757 [BZ #6471]
12758 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12759 properly.
12760 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12761 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12762 sysdep_routines when subdir is sysvipc.
12763 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12764 __getshmlba helper.
12765
edc21804
DM
12766 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12767
473c3ef3
L
127682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12769
12770 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12771 [__LP64__].
12772
eb0f39b6
L
127732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12774
12775 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12776 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12777 (__lround): Renamed to ...
12778 (__llround): This. Replace long int with long long int.
12779 Define lround functions as aliases of llround functions.
12780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12781
6b6cd74b
L
127822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12783
12784 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12785 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12786 adresses to uintptr_t. Replace "long int" and "unsigned long
12787 int" with "greg_t" on va_arg.
12788
f1a77b01
L
127892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12790
12791 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12792 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12793
12794 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12795 Move e_machine check before EI_CLASS check. Handle x32
12796 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12797 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12798 SKIP_EM_IA_64 and include
12799 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12800
12801 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12802 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12803 (add_system_dir): New macro.
12804
12805 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12806 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12807
11b90b9f
JM
128082012-03-16 Joseph Myers <joseph@codesourcery.com>
12809
c36e1d23
JM
12810 [BZ #2551]
12811 [BZ #2552]
12812 [BZ #2553]
12813 [BZ #2554]
12814 [BZ #2562]
12815 [BZ #2563]
12816 [BZ #2565]
12817 [BZ #2566]
12818 [BZ #2576]
12819 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12820 (y0): Likewise.
12821 * math/w_j0f.c (j0f): Likewise.
12822 (y0f): Likewise.
12823 * math/w_j0l.c (__j0l): Likewise.
12824 (__y0l): Likewise.
12825 * math/w_j1.c (j1): Likewise.
12826 (y1): Likewise.
12827 * math/w_j1f.c (j1f): Likewise.
12828 (y1f): Likewise.
12829 * math/w_j1l.c (__j1l): Likewise.
12830 (__y1l): Likewise.
12831 * math/w_jn.c (jn): Likewise.
12832 (yn): Likewise.
12833 * math/w_jnf.c (jnf): Likewise.
12834 (ynf): Likewise.
12835 * math/w_jnl.c (__jnl): Likewise.
12836 (__ynl): Likewise.
12837 * math/libm-test.inc (j0_test): Add more tests.
12838 (j1_test): Likewise.
12839 (jn_test): Likewise. Add trailing semicolon to existing test.
12840 (y0_test): Likewise.
12841 (y1_test): Likewise.
12842 * sysdeps/i386/fpu/libm-test-ulps: Update.
12843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12844
11b90b9f
JM
12845 [BZ #13851]
12846 [BZ #13854]
12847 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12848 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12849 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12851 (__tanl): Set errno for infinite argument.
12852 * sysdeps/i386/fpu/mptan.c: Remove.
12853 * sysdeps/i386/fpu/s_tan.S: Likewise.
12854 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12855 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12856 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12857 * math/libm-test.inc (tan_test): Add more tests and enable more
12858 tests for double and long double.
12859 * sysdeps/i386/fpu/libm-test-ulps: Update.
12860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12861
6a1bd2a1
JK
128622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12863
12864 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12865 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12866
10a803e0
RM
128672012-03-16 Roland McGrath <roland@hack.frob.com>
12868
12869 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12870 * configure.in: Use it for both main tree and add-ons.
12871 * configure: Regenerated.
12872
f196c7f7
L
128732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12876
8848d99d
JM
128772012-03-16 Joseph Myers <joseph@codesourcery.com>
12878
96cbe7f4
JM
12879 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12880 in comment.
12881
8848d99d
JM
12882 [BZ #13851]
12883 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12884 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12885 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12886 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12888 infinite argument.
12889 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12891 != 0 for prec == 2.
12892 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12893 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12894 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12895 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12896 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12897 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12898 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12899 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12900 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12901 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12902 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12903 * math/libm-test.inc (cos_test): Add more tests and enable more
12904 tests for long double.
12905 (sin_test): Likewise.
12906 (sincos_test): Likewise.
12907 * sysdeps/i386/fpu/libm-test-ulps: Update.
12908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12909
dd7f4703
DM
129102012-03-16 David S. Miller <davem@davemloft.net>
12911
12912 * sysdeps/sparc/fpu/math_private.h: New file.
12913
006f1daa
DM
129142012-03-15 David S. Miller <davem@davemloft.net>
12915
c0c83bc8
DM
12916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12917 file.
e6a62e18 12918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12920 file.
e6a62e18
DM
12921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12927 sysdep routines.
12928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12929
88cb87d9
DM
12930 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12931 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12932
006f1daa 12933 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12935 sparc-ifunc.h
006f1daa 12936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12938 Likewise.
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12940 Likewise.
006f1daa
DM
12941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12945 Likewise.
006f1daa
DM
12946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12951 Likewise.
12952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12953 Likewise.
006f1daa
DM
12954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12978
11e0098e
AS
129792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12980
12981 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12982 scaling.
12983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12984
e85b09d0
AJ
129852012-03-15 Andreas Jaeger <aj@suse.de>
12986
12987 [BZ #13852]
12988 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12989 ieee754/flt-32 implementation for sin, cos and sincos.
12990 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12991 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12992 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12993 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12994 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12995 ieee754/flt-32 implementation for tan.
12996
12997 * math/libm-test.inc (cos_test): Enable some large input tests for
12998 float as well
12999 (sin_test): Likewise.
13000 (sincos_test): Likewise.
13001 (tan_test): Add tests for large input.
13002
13003 * sysdeps/i386/fpu/libm-test-ulps: Update.
13004
81c64153
AJ
130052012-03-15 Andreas Jaeger <aj@suse.de>
13006
13007 [BZ #13658]
13008 * math/libm-test.inc (cos_test): Add more test cases.
13009 (sin_test): Likewise.
13010 (sincos_test): Likewise.
13011
7bbfa5c6
AJ
130122012-03-15 Andreas Jaeger <aj@suse.de>
13013
13014 [BZ #13837]
13015 * math/libm-test.inc (cos_test): Add a test case for large input
13016 value.
13017 (sin_test): Likewise.
13018 (sincos_test): Likewise.
13019
130202012-03-15 Andreas Jaeger <aj@suse.de>,
13021 Joseph Myers <joseph@codesourcery.com>
13022
13023 [BZ #13658]
0671f479 13024 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13025 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13026 * sysdeps/i386/fpu/branred.c: Likewise.
13027 * sysdeps/i386/fpu/dosincos.c: Likewise.
13028 * sysdeps/i386/fpu/mpa.c: Likewise.
13029 * sysdeps/i386/fpu/s_cos.S: Likewise.
13030 * sysdeps/i386/fpu/s_sin.S: Likewise.
13031 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13032 * sysdeps/i386/fpu/sincos32.c: Likewise.
13033
13034 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13035 Define.
13036 (libc_feupdateenv_53bit): Define.
13037 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13038 Define.
13039 (libc_feupdateenv_53bit): Define.
13040
13041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13042 53 bit (without extend i386 double precision).
13043
13044 * math/libm-test.inc (sincos_test): Add tests for large input.
13045 (sin): Likewise.
13046 (cos): Likewise.
13047
13048 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13049
9cad04ea
AS
130502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13051
13052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13053
f7062b9a
DM
130542012-03-15 David S. Miller <davem@davemloft.net>
13055
13056 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13057 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13058 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13059 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13072 file.
f7062b9a 13073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13075 file.
f7062b9a 13076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13078 file.
f7062b9a 13079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13081 file.
f7062b9a
DM
13082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13084 fmin/fmax sysdep routines.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13086
7bd951ff
DM
130872012-03-14 David S. Miller <davem@davemloft.net>
13088
559398ab
DM
13089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13118 routines.
13119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13120 file.
559398ab 13121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13123 file.
559398ab 13124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13126 file.
559398ab 13127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13129 file.
559398ab 13130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13132 file.
559398ab 13133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13135 file.
13136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13137 file.
13138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13139 file.
13140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13141 file.
13142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13143 New file.
13144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13145 file.
13146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13147 file.
559398ab 13148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13150 file.
559398ab 13151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13153 file.
559398ab 13154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13156 file.
559398ab 13157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13159 VIS3 routines.
559398ab
DM
13160
13161 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13162 New file.
13163
5a1c1e32
DM
13164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13165
eae47a36
DM
13166 * sysdeps/sparc/configure.in: New file.
13167 * sysdeps/sparc/configure: Generate.
13168 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13169 * configure: Regenerate.
13170 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13171 * config.make.in (have-as-vis3): New.
13172 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13173 available use -Av9d instead of -Av9a.
13174 * sysdeps/sparc/sparc64/Makefile: Likewise.
13175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13177 New file.
13178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13179 file.
13180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13181 New file.
13182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13183 file.
eae47a36
DM
13184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13189
c0c83bc8
DM
13190 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13191 fzeros/fnegs to load 0x80000000 into a float register instead of
13192 using the stack.
7bd951ff
DM
13193 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13194
bd951ccb
JM
131952012-03-14 Joseph Myers <joseph@codesourcery.com>
13196
13197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13198 bits/syscall.h.
13199 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13200 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13201 ($(inst_includedir)/bits/syscall.h): Remove rule.
13202 ($(objpfx)bits/syscall.d): Include instead of
13203 $(objpfx)syscall-list.d.
13204 (generated): Change syscall-list.h and syscall-list.d to
13205 bits/syscall.h and bits/syscall.d.
13206
bb4e6db2
RM
132072012-03-14 Roland McGrath <roland@hack.frob.com>
13208
13209 [BZ #13846]
13210 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13211
aa4a2ae1
JM
132122012-03-14 Joseph Myers <joseph@codesourcery.com>
13213
e456826d
JM
13214 [BZ #13841]
13215 * math/s_csqrt.c: Include <float.h>.
13216 (__csqrt): Scale large or subnormal inputs.
13217 * math/s_csqrtf.c: Likewise.
13218 * math/s_csqrtl.c: Likewise.
13219 * math/libm-test.inc (csqrt_test): Add more tests.
13220 * sysdeps/i386/fpu/libm-test-ulps: Update.
13221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222
aa4a2ae1
JM
13223 [BZ #13840]
13224 * math/libm-test.inc (hypot_test): Add more tests.
13225
7c10fd35
DM
132262012-03-13 David S. Miller <davem@davemloft.net>
13227
13228 [BZ #13840]
13229 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13230 double-precision for the calculation instead of scaling.
13231
f453b98b
JM
132322012-03-13 Joseph Myers <joseph@codesourcery.com>
13233
13234 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13235 manipulate bits before adding and subtracting TWO52[sx].
13236 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13238 Likewise.
13239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13240
09a3453f
DM
132412012-03-13 David S. Miller <davem@davemloft.net>
13242
8e59da90
DM
13243 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13244 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13246 rtld-global-offsets.h
13247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13248
2a8ab7f2
DM
13249 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13250 large parameters.
13251
10f62770
DM
13252 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13253
5f0bdb18
DM
13254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13255 'err' in the ifdef scope in which it is actually used.
13256
09a3453f
DM
13257 * nss/nss_db/db-init.c: Include string.h
13258
b4b2eb5e
DM
132592012-03-12 David S. Miller <davem@davemloft.net>
13260
98bb2f1c
DM
13261 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13262 masking out of the most significant byte of random value used.
13263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13264 Fix coding style in previous change.
13265
b4b2eb5e
DM
13266 * sysdeps/unix/sysv/linux/kernel-features.h
13267 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13268 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13269 expression.
13270 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13271 later.
13272
6e226b09
DM
132732012-03-11 David S. Miller <davem@davemloft.net>
13274
a1bcbd40
DM
13275 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13276 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13278 for 'resultvar' otherwise things get truncated on 64-bit.
13279
cb9d6174
DM
13280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13281 Fix masking out of the most significant byte of random value used.
13282
6e226b09
DM
13283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13284
058c132d
AS
132852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13288
2d2cd515
DM
132892012-03-09 David S. Miller <davem@davemloft.net>
13290
13291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13292 variables with appropriate CPP guards.
13293 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13294 frame pointer, not the stack pointer. Correct layout comments. Fix test
13295 on resulting framesize and the management of the outregs buffer for pltexit.
13296 Preserve floating point return values across _dl_call_pltexit call.
13297 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13298 framesize and the management of the outregs buffer for pltexit.
13299 Preserve floating point return values across _dl_call_pltexit
13300 call.
13301 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13302 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13303 (print_exit): Fix format string for return register value.
13304
9a07f9d0
JM
133052012-03-10 Joseph Myers <joseph@codesourcery.com>
13306
13307 * sunrpc/Makefile (others): Add rpcgen.
13308 ($(objpfx)rpcgen): Remove special build rule and dependency on
13309 libc.
13310 * sunrpc/rpcgen.c: New file.
13311
547b5e30
PE
133122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13313
c524201a
PE
13314 [BZ #13673]
13315 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13316 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13317 * sysdeps/i386/crti.S: Likewise.
13318 * sysdeps/i386/crtn.S: Likewise.
13319 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13320 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13321 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13322 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13323 * sysdeps/sh/crti.S: Likewise.
13324 * sysdeps/sh/crtn.S: Likewise.
13325 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13326
7b6235f2
PE
13327 [BZ #13673]
13328 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13329 with URL.
13330 * locale/programs/locfile-kw.gperf: Likewise.
13331 * locale/programs/charmap-kw.h: Regenerated.
13332 * locale/programs/locfile-kw.h: Likewise.
13333
547b5e30
PE
13334 [BZ #13673]
13335 * intl/plural.y: Replace FSF snail mail address with URL.
13336 * intl/plural.c: Regenerated.
13337
5f0a5dae
RH
133382012-03-09 Richard Henderson <rth@twiddle.net>
13339
13340 * include/math_private.h: Remove file.
13341 * math/math_private.h: Move file ...
13342 * sysdeps/generic/math_private.h: ... here.
13343
b8c03620
RH
13344 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13345 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13346 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13347
4e234f5d 13348 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13349 and <math_private.h>.
13350 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13351 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13352 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13353 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13354 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13417 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13424 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13429 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13432 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13433 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13435 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13437 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13438 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13439 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13440 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13441 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13442 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13443 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13444 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13445 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13447 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13448 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13449 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13450 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13451 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13452 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13453 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13454 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13455 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13456 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13457 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13458 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13460 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13463 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13465 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13466 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13467 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13469 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13470 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13471 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13472 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13473 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13474 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13476 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13477 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13478 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13479 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13480 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13481 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13482 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13483 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13484 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13485 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13486 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13487 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13488 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13489 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13490 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13491 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13492 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13493 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13494 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13495 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13496 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13497 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13498 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13499 * sysdeps/ieee754/k_standard.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13603 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13604 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13605 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13645 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13649 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13651 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13652 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13653 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13654 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13655 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13656 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13657 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13658 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13659 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13660 * sysdeps/ieee754/s_lib_version.c: Likewise.
13661 * sysdeps/ieee754/s_matherr.c: Likewise.
13662 * sysdeps/ieee754/s_signgam.c: Likewise.
13663 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13664 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13665 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13666 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13667 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13668 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13669 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13670 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13671 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13672 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13673 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13674 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13675 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13676 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13677 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13678 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13679 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13680 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13681 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13682 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13684
1991fa03
JM
136852012-03-09 Joseph Myers <joseph@codesourcery.com>
13686
13687 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13688 * sunrpc/rpc_main.c: Likewise.
13689 * sunrpc/rpc_svcout.c: Likewise.
13690
60d6f5a6
DM
136912012-03-09 David S. Miller <davem@davemloft.net>
13692
13693 * include/math_private.h: New file.
13694
4962050e
JM
136952012-03-09 Joseph Myers <joseph@codesourcery.com>
13696
02a6f887
JM
13697 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13698 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13699 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13700 from <bits/socket_type.h>.
13701 (enum __socket_type): Don't define here.
13702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13704 bits/socket_type.h.
13705
c6e013c1
JM
13706 [BZ #13566]
13707 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13708 checking __USE_GNU.
13709
4962050e
JM
13710 * Makerules ($(inst_includedir)/%.h): New rule.
13711 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13712 (install-others): Remove variable setting.
13713 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13714
38842f45
RH
137152012-03-08 Richard Henderson <rth@twiddle.net>
13716
67bb6da6
RH
13717 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13718 from macro to inline function; merge with the
13719 !__LIBC_INTERNAL_MATH_INLINES version.
13720 (__ieee754_sqrtf): Likewise.
13721
15194b4b
RH
13722 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13723 to inline function.
13724 (__rintf, __floor, __floorf): Likewise.
13725
64e21ede
RH
13726 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13727 macro to inline function.
13728 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13729
38842f45
RH
13730 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13731 not <math/math_private.h>.
13732
c64bf5fe
DM
137332012-03-08 David S. Miller <davem@davemloft.net>
13734
13735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13736 copyright year.
13737 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13738
82d86f28
TS
137392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13740
13741 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13742 normalization.
13743 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13744 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13745
aea5d727
UD
137462012-03-08 Ulrich Drepper <drepper@gmail.com>
13747
13748 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13749 be defined individually, they must be defined as a block. Define
13750 S for printing a string instead of hidint the different by using a
13751 macro for adding the 'l'.
13752 * stdio-common/tst-fphex-wide.c: Adjust.
13753
70bca0a3
MP
137542012-03-07 Marek Polacek <polacek@redhat.com>
13755
13756 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13757
65b81130
MP
137582012-03-08 Marek Polacek <polacek@redhat.com>
13759
13760 [BZ #13806]
13761 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13762 * stdio-common/tst-fphex.c: Define a few macros to make the
13763 test reusable. Use them.
13764 * stdio-common/tst-fphex-wide.c: New file.
13765
07037eeb
JM
137662012-03-08 Joseph Myers <joseph@codesourcery.com>
13767
a7a93d50
JM
13768 [BZ #6911]
13769 * manual/macros.texi (gnusystems): New macro.
13770 (nongnusystems): Likewise.
13771 (gnulinuxhurdsystems): Likewise.
13772 (gnuhurdsystems): Likewise..
13773 (gnulinuxsystems): Likewise.
13774 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13775 variants of the GNU system, not "GNU system".
13776 * manual/conf.texi: Likewise.
13777 * manual/errno.texi: Likewise. Update example of errno macro
13778 expansion.
13779 * manual/filesys.texi: Likewise.
13780 (getumask): Document as specific to GNU/Hurd.
13781 * manual/install.texi: Likewise. Reword some references to
13782 GNU/Linux.
13783 * manual/intro.texi: Likewise.
13784 * manual/io.texi: Likewise.
13785 (File Name Portability): Detail which constraints are inapplicable
13786 to all GNU systems and which are only inapplicable to GNU/Hurd.
13787 * manual/job.texi: Likewise.
13788 * manual/llio.texi: Likewise.
13789 (O_NOCTTY): Document as present on GNU/Linux.
13790 * manual/maint.texi: Likewise.
13791 * manual/memory.texi: Likewise.
13792 * manual/pattern.texi: Likewise.
13793 * manual/pipe.texi: Likewise.
13794 * manual/process.texi: Likewise.
13795 * manual/resource.texi: Likewise.
13796 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13797 child on GNU/Hurd.
13798 * manual/setjmp.texi: Likewise.
13799 * manual/signal.texi: Likewise.
13800 * manual/startup.texi: Likewise.
13801 * manual/stdio.texi: Likewise.
13802 * manual/terminal.texi: Likewise.
13803 (ONLCR): Document as POSIX.
13804 (OXTABS): Document availability on GNU/Linux as XTABS.
13805 (ONOEOT): Document availability separately from other bits.
13806 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13807 * manual/time.texi: Likewise.
13808 * manual/users.texi: Likewise.
13809 * INSTALL: Regenerated.
13810 * sysdeps/gnu/errlist.c: Regenerated.
13811
07037eeb
JM
13812 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13813 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13814 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13815 puts.
13816 * configure: Regenerated.
13817
d1d3431a
JM
138182012-03-07 Joseph Myers <joseph@codesourcery.com>
13819
af6a1e37
JM
13820 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13821 default includes instead of AC_HEADER_CHECK.
13822 * sysdeps/i386/configure: Regenerated.
13823
d1d3431a
JM
13824 [BZ #10716]
13825 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13826 * math/s_cacoshf.c (__cacoshf): Likewise.
13827 * math/s_cacoshl.c (__cacoshl): Likewise.
13828 * math/s_casinh.c (__casinh): Set signs of result from argument.
13829 * math/s_casinhf.c (__casinhf): Likewise.
13830 * math/s_casinhl.c (__casinhl): Likewise.
13831 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13832 (casinh_test): Add more tests.
13833 * sysdeps/i386/fpu/libm-test-ulps: Update.
13834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13835
482ff4da
UD
138362012-03-07 Ulrich Drepper <drepper@gmail.com>
13837
872fda05
UD
13838 * po/zh_TW.po: Update from translation team.
13839
a4300c7a
UD
13840 * login/Makefile (distribute): Remove variable.
13841 * catgets/Makefile: Likewise.
13842 * mach/Makefile: Likewise.
13843 * malloc/Makefile: Likewise.
13844 * misc/Makefile: Likewise.
13845 * iconv/Makefile: Likewise.
13846 * nscd/Makefile: Likewise.
13847 * hurd/Makefile: Likewise.
13848 * manual/Makefile: Likewise.
13849 * locale/Makefile: Likewise.
13850 * intl/Makefile: Likewise.
13851 * conform/Makefile: Likewise.
13852 * nss/Makefile: Likewise.
13853 * time/Makefile: Likewise.
13854 * soft-fp/Makefile: Likewise.
13855 * dirent/Makefile: Likewise.
13856 * gmon/Makefile: Likewise.
13857 * po/Makefile: Likewise.
13858 * rt/Makefile: Likewise.
13859 * socket/Makefile: Likewise.
13860 * math/Makefile: Likewise.
13861 * signal/Makefile: Likewise.
13862 * debug/Makefile: Likewise.
13863 * elf/Makefile: Likewise.
13864 * timezone/Makefile: Likewise.
13865 * stdlib/Makefile: Likewise.
13866 * iconvdata/Makefile: Likewise.
13867 * sunrpc/Makefile: Likewise.
13868 * io/Makefile: Likewise.
13869 * argp/Makefile: Likewise.
13870 * inet/Makefile: Likewise.
13871 * hesiod/Makefile: Likewise.
13872 * grp/Makefile: Likewise.
13873 * csu/Makefile: Likewise.
13874 * wctype/Makefile: Likewise.
13875 * crypt/Makefile: Likewise.
13876 * libio/Makefile: Likewise.
13877 * string/Makefile: Likewise.
13878 * nis/Makefile: Likewise.
13879 * resolv/Makefile: Likewise.
13880 * stdio-common/Makefile: Likewise.
13881 * wcsmbs/Makefile: Likewise.
13882 * dlfcn/Makefile: Likewise.
13883 * posix/Makefile: Likewise.
13884
3b7c4e74 13885 [BZ #6959]
482ff4da
UD
13886 * timezone/Makefile: Don't install timezone files, just the programs
13887 and scripts.
13888
f72ed77d
UD
138892012-03-06 Ulrich Drepper <drepper@gmail.com>
13890
a000466f
UD
13891 * nss/databases.def: Add missing gshadow entry.
13892
f72ed77d
UD
13893 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13894
a53b7a4e
MP
138952012-03-06 Marek Polacek <polacek@redhat.com>
13896
13897 [BZ #13726]
13898 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13899 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13900 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13901 * stdio-common/tst-long-dbl-fphex.c: New file.
13902
e9258400
DM
139032012-03-06 David S. Miller <davem@davemloft.net>
13904
13905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13906 (set_obp_int): New function.
13907 (get_obp_int): New function.
13908 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13909 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13910 Avoid unused variable warnings on 'val' and use builtin_expect.
13911 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13912 __builtin_expect.
e9258400
DM
13913 (INLINE_CLONE_SYSCALL): Likewise.
13914
3bd2c723
DM
139152012-03-05 David S. Miller <davem@davemloft.net>
13916
13917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13918
bbb78d03
AS
139192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13920
884c5db4
AS
13921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13922
bbb78d03
AS
13923 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13924 only for |x| >= 40.
13925 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13926
1c9f702a 139272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13928
13929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13930 Replace gettimeofday with __vdso_gettimeofday.
13931
7be16f82
RM
13932 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13933 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13934 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13935
13936 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13937 time with __vdso_time.
13938
ed58a00f
JM
139392012-03-05 Joseph Myers <joseph@codesourcery.com>
13940
13941 * manual/lang.texi (size_t): Note types to which size_t may be
13942 equivalent with the GNU C Library, but do not describe when
13943 differences between them are significant.
13944
30ee4ced
AJ
139452012-03-05 Andreas Jaeger <aj@suse.de>
13946
13947 * sysdeps/i386/fpu/libm-test-ulps: Update.
13948
b7cd39e8
JM
139492012-03-05 Joseph Myers <joseph@codesourcery.com>
13950
13951 [BZ #3976]
13952 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13953 (__ieee754_pow): Save and restore rounding mode and use
13954 round-to-nearest for main computations.
13955 * math/libm-test.inc (pow_test_tonearest): New function.
13956 (pow_test_towardzero): Likewise.
13957 (pow_test_downward): Likewise.
13958 (pow_test_upward): Likewise.
13959 (main): Call the new functions.
13960 * sysdeps/i386/fpu/libm-test-ulps: Update.
13961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13962
13963 [BZ #3976]
13964 * math/libm-test.inc (cosh_test_tonearest): New function.
13965 (cosh_test_towardzero): Likewise.
13966 (cosh_test_downward): Likewise.
13967 (cosh_test_upward): Likewise.
13968 (sinh_test_tonearest): Likewise.
13969 (sinh_test_towardzero): Likewise.
13970 (sinh_test_downward): Likewise.
13971 (sinh_test_upward): Likewise.
13972 (main): Call the new functions.
13973 * sysdeps/i386/fpu/libm-test-ulps: Update.
13974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13975
6c6a98c9
TV
139762012-03-05 Tom de Vries <tom@codesourcery.com>
13977
13978 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13979 default stack guard is set in last bytes.
13980 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13981
21bb2d2e 139822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13983
21bb2d2e 13984 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13985
21bb2d2e
AJ
13986 [BZ #13656]
13987 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13988 possibly allocate from heap instead of stack.
13989 * stdio-common/bug-vfprintf-nargs.c: New file.
13990 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13991
c6922934
AS
139922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13993
13994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13995
bc957d53
MP
139962012-03-03 Marek Polacek <polacek@redhat.com>
13997
13998 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13999 * math/math_private.h: Likewise.
14000 * stdlib/tst-strtod.c: Likewise.
14001 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14002 * sysdeps/x86_64/bits/atomic.h: Likewise.
14003
6358490d
DM
140042012-03-02 David S. Miller <davem@davemloft.net>
14005
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14010 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14011 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14012 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14013 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14014
01ae168d
RM
140152012-03-02 Roland McGrath <roland@hack.frob.com>
14016
d9a17c07
RM
14017 [BZ #13792]
14018 * manual/examples/README: New file, says the example source files
14019 can be used under GPL>=2.
14020 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14021 line containing just "*/".
14022 * manual/examples/add.c: Add copyright header (GPL>=2).
14023 * manual/examples/argp-ex1.c: Likewise.
14024 * manual/examples/argp-ex2.c: Likewise.
14025 * manual/examples/argp-ex3.c: Likewise.
14026 * manual/examples/argp-ex4.c: Likewise.
14027 * manual/examples/atexit.c: Likewise.
14028 * manual/examples/db.c: Likewise.
14029 * manual/examples/dir.c: Likewise.
14030 * manual/examples/dir2.c: Likewise.
14031 * manual/examples/execinfo.c: Likewise.
14032 * manual/examples/filecli.c: Likewise.
14033 * manual/examples/filesrv.c: Likewise.
14034 * manual/examples/fmtmsgexpl.c: Likewise.
14035 * manual/examples/genpass.c: Likewise.
14036 * manual/examples/inetcli.c: Likewise.
14037 * manual/examples/inetsrv.c: Likewise.
14038 * manual/examples/isockad.c: Likewise.
14039 * manual/examples/longopt.c: Likewise.
14040 * manual/examples/memopen.c: Likewise.
14041 * manual/examples/memstrm.c: Likewise.
14042 * manual/examples/mkfsock.c: Likewise.
14043 * manual/examples/mkisock.c: Likewise.
14044 * manual/examples/mygetpass.c: Likewise.
14045 * manual/examples/pipe.c: Likewise.
14046 * manual/examples/popen.c: Likewise.
14047 * manual/examples/rprintf.c: Likewise.
14048 * manual/examples/search.c: Likewise.
14049 * manual/examples/select.c: Likewise.
14050 * manual/examples/setjmp.c: Likewise.
14051 * manual/examples/sigh1.c: Likewise.
14052 * manual/examples/sigusr.c: Likewise.
14053 * manual/examples/stpcpy.c: Likewise.
14054 * manual/examples/strdupa.c: Likewise.
14055 * manual/examples/strftim.c: Likewise.
14056 * manual/examples/strncat.c: Likewise.
14057 * manual/examples/subopt.c: Likewise.
14058 * manual/examples/swapcontext.c: Likewise.
14059 * manual/examples/termios.c: Likewise.
14060 * manual/examples/testopt.c: Likewise.
14061 * manual/examples/testpass.c: Likewise.
14062 * manual/examples/timeval_subtract.c: Likewise.
14063
01ae168d
RM
14064 [BZ #13792]
14065 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14066 function to ...
14067 * manual/timeval_subtract.c.texi: ... here, new file.
14068
49efa33d
DM
140692012-03-02 David S. Miller <davem@davemloft.net>
14070
14071 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14072
28afd92d
JM
140732012-03-02 Joseph Myers <joseph@codesourcery.com>
14074
804360ed
JM
14075 [BZ #3976]
14076 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14077 (__sin): Save and restore rounding mode and use round-to-nearest
14078 for all computations.
14079 (__cos): Save and restore rounding mode and use round-to-nearest
14080 for all computations.
14081 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14082 <fenv.h>.
14083 (tan): Save and restore rounding mode and use round-to-nearest for
14084 all computations.
14085 * math/libm-test.inc (cos_test_tonearest): New function.
14086 (cos_test_towardzero): Likewise.
14087 (cos_test_downward): Likewise.
14088 (cos_test_upward): Likewise.
14089 (sin_test_tonearest): Likewise.
14090 (sin_test_towardzero): Likewise.
14091 (sin_test_downward): Likewise.
14092 (sin_test_upward): Likewise.
14093 (tan_test_tonearest): Likewise.
14094 (tan_test_towardzero): Likewise.
14095 (tan_test_downward): Likewise.
14096 (tan_test_upward): Likewise.
14097 (main): Call the new functions.
14098 * sysdeps/i386/fpu/libm-test-ulps: Update.
14099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14100
a6d06d7b
JM
14101 [BZ #10135]
14102 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14103 small n, then large n, before computing and testing k+n.
14104 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14106 Likewise.
14107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14108 Likewise.
14109 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14110 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14111 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14112 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14113 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14114 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14115 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14116 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14117 * math/libm-test.inc (scalbn_test): Add more tests.
14118 (scalbln_test): Likewise.
14119
07e12bb3
JM
14120 * manual/filesys.texi (mode_t): Describe constraints on size and
14121 signedness, not exact equivalence to a particular type.
14122 (ino_t): Likewise.
14123 (ino64_t): Likewise.
14124 (dev_t): Likewise.
14125 (nlink_t): Likewise.
14126 (blkcnt_t): Likewise.
14127 (blkcnt64_t): Likewise.
14128 * manual/llio.texi (off_t): Likewise.
14129
28afd92d
JM
14130 [BZ #3976]
14131 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14132 (__ieee754_exp): Save and restore rounding mode and use
14133 round-to-nearest for all computations.
14134 * math/libm-test.inc (exp_test_tonearest): New function.
14135 (exp_test_towardzero): Likewise.
14136 (exp_test_downward): Likewise.
14137 (exp_test_upward): Likewise.
14138 (main): Call the new functions.
14139 * sysdeps/i386/fpu/libm-test-ulps: Update.
14140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14141
b1eeb65d
CD
141422012-03-01 Chris Demetriou <cgd@google.com>
14143
14144 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14145 have predictable order.
14146
53362a4b
DM
141472012-03-01 David S. Miller <davem@davemloft.net>
14148
3c969083
DM
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14150
759707de
DM
14151 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14152 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14153 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14154 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14155
dfdb8ff2
DM
14156 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14157 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14158 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14160 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14161 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14162 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14163 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14164 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14165
ead89f96
DM
14166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14167
7f66bd07
DM
14168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14169 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14170 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14171
53362a4b
DM
14172 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14173 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14174 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14175 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14176 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14177 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14178 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14179 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14180 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14181 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14182 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14183 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14185 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14188 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14189 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14190 * sysdeps/sparc/elf/configure: Regenerated.
14191
7b1902cb
JM
141922012-03-01 Joseph Myers <joseph@codesourcery.com>
14193
bec039bc
JM
14194 * configure.in (AS, LD): Require binutils 2.20 or later.
14195 * configure: Regenerated.
14196 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14197 as required minimum version.
14198 * INSTALL: Regenerated.
14199
7b1902cb
JM
14200 [BZ #2541]
14201 [BZ #4108]
14202 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14203 before squaring exponent.
14204 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14205 bottom long double and 27 bits of top long double before squaring
14206 exponent.
14207 * math/libm-test.inc (erfc_test): Add more tests.
14208 * sysdeps/i386/fpu/libm-test-ulps: Update.
14209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14211
f775c276
KT
142122012-03-01 Kai Tietz <ktietz@redhat.com>
14213
14214 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14215 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14216 containing bit-fields.
14217 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14218 * soft-fp/single.h (_FP_UNION_S): Likewise.
14219 * soft-fp/double.h (_FP_UNION_D): Likewise.
14220
5b8a4d4a
JM
142212012-02-29 Joseph Myers <joseph@codesourcery.com>
14222
0bab47b6
JM
14223 [BZ #13786]
14224 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14225 not include ../strcmp.S.
14226 [USE_AS_STRNCASECMP_L]: Likewise.
14227 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14228 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14229 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14230 (__strncasecmp_l_ia32): Define as alias to
14231 __strncasecmp_l_nonascii.
14232
0fcad3e2
JM
14233 [BZ #5794]
14234 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14235 * sysdeps/i386/fpu/libm-test-ulps: Update.
14236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14237
5b8a4d4a
JM
14238 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14240
8fdceb2e
JL
142412012-02-29 Jeff Law <law@redhat.com>
14242
14243 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14244 out of bounds read.
14245
1f393a11
MP
142462012-02-29 Marek Polacek <polacek@redhat.com>
14247
14248 [BZ #13706]
14249 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14250 * elf/Makefile: Add rules to run tst-unused-dep.out.
14251
8847f037
DM
142522012-02-28 David S. Miller <davem@davemloft.net>
14253
14254 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14255 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14256 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14257 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14258 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14259 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14260
169d7f11
JM
142612012-02-29 Joseph Myers <joseph@codesourcery.com>
14262
14263 * math/libm-test.inc (llround_test): Move one test from
14264 lround_test. Use TEST_f_L in moved test.
14265 (lround_test): Move misplaced test to llround_test. Add testcase
14266 from bug 2561.
14267
39adf059
UD
142682012-02-28 Ulrich Drepper <drepper@gmail.com>
14269
14270 * sysdeps/x86_64/fpu/e_expf.S: New file.
14271 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14272
71b5d1c5
SB
142732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14274
14275 [BZ #13637]
14276 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14277 of remain_len that may cause incomplete multi-byte character and
14278 false match.
14279 * posix/bug-regex33.c: New file.
14280 * posix/Makefile (tests): Add bug-regex33.
14281
1f77f049
JM
142822012-02-28 Joseph Myers <joseph@codesourcery.com>
14283
14284 * manual/macros.texi: New file.
14285 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14286 * manual/libc.texinfo: Include macros.texi.
14287 * manual/creatute.texi: Likewise.
14288 * manual/install.texi: Likewise.
14289 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14290 @glibcadj{} in references to the GNU C Library.
14291 * manual/charset.texi: Likewise.
14292 * manual/conf.texi: Likewise.
14293 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14294 when not using those macros.
14295 * manual/creature.texi: Likewise.
14296 * manual/crypt.texi: Likewise.
14297 * manual/errno.texi: Likewise.
14298 * manual/filesys.texi: Likewise.
14299 * manual/header.texi: Likewise.
14300 * manual/install.texi: Likewise.
14301 * manual/intro.texi: Likewise.
14302 * manual/io.texi: Likewise.
14303 * manual/job.texi: Likewise.
14304 * manual/lang.texi: Likewise.
14305 * manual/libc.texiinfo: Likewise.
14306 * manual/llio.texi: Likewise.
14307 * manual/locale.texi: Likewise.
14308 * manual/maint.texi: Likewise.
14309 * manual/math.texi: Likewise.
14310 * manual/memory.texi: Likewise.
14311 * manual/message.texi: Likewise.
14312 * manual/nss.texi: Likewise.
14313 * manual/pattern.texi: Likewise.
14314 * manual/process.texi: Likewise.
14315 * manual/resource.texi: Likewise.
14316 * manual/search.texi: Likewise.
14317 * manual/setjmp.texi: Likewise.
14318 * manual/signal.texi: Likewise.
14319 * manual/socket.texi: Likewise.
14320 * manual/startup.texi: Likewise.
14321 * manual/stdio.texi: Likewise.
14322 * manual/string.texi: Likewise.
14323 * manual/sysinfo.texi: Likewise.
14324 * manual/syslog.texi: Likewise.
14325 * manual/terminal.texi: Likewise.
14326 * manual/time.texi: Likewise.
14327 * manual/users.texi: Likewise.
14328 * INSTALL: Regenerated.
14329 * NOTES: Regenerated.
d40c5d54 14330 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14331
450bf206
AS
143322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14333
14334 * include/dirent.h: Include <dirstream.h> before
14335 <dirent/dirent.h>.
14336
741a235b
DM
143372012-02-28 David S. Miller <davem@davemloft.net>
14338
14339 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14340 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14341 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14342 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14343
d6b5aa58
DM
143442012-02-27 David S. Miller <davem@davemloft.net>
14345
1aff59a3
DM
14346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14348 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14349 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14350
d6b5aa58
DM
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14352 frame pointer instead of stack pointer relative arg slot.
14353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14356
433f48bf
CD
143572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14358
14359 [BZ #3992]
14360 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14361
d674b76d
DM
143622012-02-27 David S. Miller <davem@davemloft.net>
14363
14364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14368 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14369 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14370 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14371 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14372
0e7727f7
JM
143732012-02-27 Joseph Myers <joseph@codesourcery.com>
14374
14375 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14376 later. Allow versions 5-9.
43be4ca2 14377 * configure: Regenerated.
0e7727f7
JM
14378 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14379 required minimum version and 4.6 as recommended version. Do not
14380 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14381 * INSTALL: Regenerated.
0e7727f7 14382
a78bc654
DM
143832012-02-27 David S. Miller <davem@davemloft.net>
14384
428d5830
DM
14385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14391 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14392 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14393
a78bc654
DM
14394 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14395 manipulate bits before adding and subtracting TWO112[sx].
14396 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14397
4579f81c
RM
143982012-02-27 Roland McGrath <roland@hack.frob.com>
14399
36c8acb4
RM
14400 [BZ #13775]
14401 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14402 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14403 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14404 being in POSIX, because they are in 1003.1-2008.
14405
84ad622b
RM
14406 * rt/tst-aio.c: Include <fcntl.h>.
14407 * rt/tst-aio7.c: Likewise.
14408 * rt/tst-aio64.c: Likewise.
14409
4579f81c
RM
14410 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14411
abd923db
JM
144122012-02-27 Joseph Myers <joseph@codesourcery.com>
14413
14414 * manual/install.texi (--with-headers): Describe headers as
14415 interface headers, not private headers.
14416 (Specific advice for GNU/Linux systems): Describe use of headers
14417 from "make headers_install", not private headers from older
14418 kernels.
43be4ca2 14419 * INSTALL: Regenerated.
abd923db
JM
14420 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14421 Change to 2.6.19.
14422 * sysdeps/unix/sysv/linux/configure: Regenerated.
14423
6664049b
JM
14424 * manual/llio.texi (fclean): Remove documentation.
14425
bb8b6697
JM
14426 * manual/Makefile (libc-texi-generated): New variable. Include
14427 version.texi.
14428 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14429 $(libc-texi-generated), not duplicated list of files.
14430 (version.texi, stamp-version): New rules.
14431 (realclean): Remove $(libc-texi-generated), not individual files
14432 from that list. Do not remove dir-add.texinfo.
14433 * manual/libc.texinfo: Comment out uses of edition numbers and
14434 references to printed manual. Remove last-updated dates.
14435 (EDITION): Comment out.
14436 (ISBN): Likewise.
14437 (VERSION, UPDATED): Remove.
14438 (version.texi): Include.
14439
12e5c3b9
AS
144402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14441
14442 * sysdeps/posix/spawni.c: Include <signal.h>.
14443 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14444 * sysdeps/pthread/aio_fsync.c: Likewise.
14445
4efeffc1 144462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14447
ba63ba08
UD
14448 * conform/Makefile (tests): Run only when not cross-compiling and
14449 when fast-check is not defined.
14450
d94a4670
UD
14451 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14452 * conform/data/limits.h-data: Fixes for POSIX2008.
14453 * conform/run-conformtest.sh: Run all tests.
14454 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14455 headers.
14456 * include/bits/dlfcn.h: Likewise.
14457 * include/langinfo.h: Likewise.
14458 * include/monetary.h: Likewise.
14459 * include/sys/poll.h: Likewise.
14460
14461 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14462 for __USE_GNU.
14463 * posix/spawn.h: Define __need_sigset_t.
14464 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14465 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14466 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14467 to get sigevent_t only.
14468 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14469 only for __USE_GNU.
14470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14471 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14472 process_vm_writev only for __USE_GNU.
14473 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14474
14475 * conform/Makefile: For now ignore errors from run-conformtest.
14476 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14477 POSIX to avoid namespace pollution. Don't prepend headers.
14478 * conform/data/aio.h-data: Fixes for POSIX testing.
14479 * conform/data/fcntl.h-data: Likewise.
14480 * conform/data/glob.h-data: Likewise.
14481 * conform/data/grp.h-data: Likewise.
14482 * conform/data/pthread.h-data: Likewise.
14483 * conform/data/pwd.h-data: Likewise.
14484 * conform/data/signal.h-data: Likewise.
14485 * conform/data/spawn.h-data: Likewise.
14486 * conform/data/stdio.h-data: Likewise.
14487 * conform/data/stdlib.h-data: Likewise.
14488 * conform/data/stropts.h-data: Likewise.
14489 * conform/data/sys/mman.h-data: Likewise.
14490 * conform/data/sys/stat.h-data: Likewise.
14491 * conform/data/sys/types.h-data: Likewise.
14492 * conform/data/sys/wait.h-data: Likewise.
14493 * conform/data/time.h-data: Likewise.
14494 * conform/data/unistd.h-data: Likewise.
14495 * conform/data/utime.h-data: Likewise.
14496
14497 * io/sys/stat.h: fchmod was always in POSIX.
14498 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14499 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14500 * rt/aio.h: Define __need_timespec before including <time.h>.
14501 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14502 struct. Add forward declaration of pthread_attr_t and use it in
14503 sigevent.
14504 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14505 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14506 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14507 always remove CLK_TCK definition.
14508
c20105c3
AS
145092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14510
14511 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14512
7a270350
UD
145132012-02-25 Ulrich Drepper <drepper@gmail.com>
14514
31341567
UD
14515 * conform/run-conformtest.sh: New file.
14516 * conform/Makefile: Run run-conformtest for tests.
14517 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14518 support.
14519
14520 * conform/data/uchar.h-data: New file.
14521 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14522 * conform/data/arpa/inet.h-data: Likewise.
14523 * conform/data/assert.h-data: Likewise.
14524 * conform/data/complex.h-data: Likewise.
14525 * conform/data/cpio.h-data: Likewise.
14526 * conform/data/ctype.h-data: Likewise.
14527 * conform/data/dirent.h-data: Likewise.
14528 * conform/data/dlfcn.h-data: Likewise.
14529 * conform/data/errno.h-data: Likewise.
14530 * conform/data/fcntl.h-data: Likewise.
14531 * conform/data/float.h-data: Likewise.
14532 * conform/data/fmtmsg.h-data: Likewise.
14533 * conform/data/fnmatch.h-data: Likewise.
14534 * conform/data/ftw.h-data: Likewise.
14535 * conform/data/glob.h-data: Likewise.
14536 * conform/data/grp.h-data: Likewise.
14537 * conform/data/iconv.h-data: Likewise.
14538 * conform/data/inttypes.h-data: Likewise.
14539 * conform/data/langinfo.h-data: Likewise.
14540 * conform/data/libgen.h-data: Likewise.
14541 * conform/data/limits.h-data: Likewise.
14542 * conform/data/locale.h-data: Likewise.
14543 * conform/data/math.h-data: Likewise.
14544 * conform/data/monetary.h-data: Likewise.
14545 * conform/data/mqueue.h-data: Likewise.
14546 * conform/data/ndbm.h-data: Likewise.
14547 * conform/data/net/if.h-data: Likewise.
14548 * conform/data/netdb.h-data: Likewise.
14549 * conform/data/netinet/in.h-data: Likewise.
14550 * conform/data/nl_types.h-data: Likewise.
14551 * conform/data/poll.h-data: Likewise.
14552 * conform/data/pthread.h-data: Likewise.
14553 * conform/data/pwd.h-data: Likewise.
14554 * conform/data/regex.h-data: Likewise.
14555 * conform/data/sched.h-data: Likewise.
14556 * conform/data/search.h-data: Likewise.
14557 * conform/data/semaphore.h-data: Likewise.
14558 * conform/data/setjmp.h-data: Likewise.
14559 * conform/data/signal.h-data: Likewise.
14560 * conform/data/spawn.h-data: Likewise.
14561 * conform/data/stdarg.h-data: Likewise.
14562 * conform/data/stdio.h-data: Likewise.
14563 * conform/data/stdlib.h-data: Likewise.
14564 * conform/data/string.h-data: Likewise.
14565 * conform/data/strings.h-data: Likewise.
14566 * conform/data/stropts.h-data: Likewise.
14567 * conform/data/sys/ipc.h-data: Likewise.
14568 * conform/data/sys/mman.h-data: Likewise.
14569 * conform/data/sys/msg.h-data: Likewise.
14570 * conform/data/sys/resource.h-data: Likewise.
14571 * conform/data/sys/select.h-data: Likewise.
14572 * conform/data/sys/sem.h-data: Likewise.
14573 * conform/data/sys/shm.h-data: Likewise.
14574 * conform/data/sys/socket.h-data: Likewise.
14575 * conform/data/sys/stat.h-data: Likewise.
14576 * conform/data/sys/statvfs.h-data: Likewise.
14577 * conform/data/sys/time.h-data: Likewise.
14578 * conform/data/sys/timeb.h-data: Likewise.
14579 * conform/data/sys/times.h-data: Likewise.
14580 * conform/data/sys/types.h-data: Likewise.
14581 * conform/data/sys/uio.h-data: Likewise.
14582 * conform/data/sys/un.h-data: Likewise.
14583 * conform/data/sys/utsname.h-data: Likewise.
14584 * conform/data/sys/wait.h-data: Likewise.
14585 * conform/data/syslog.h-data: Likewise.
14586 * conform/data/tar.h-data: Likewise.
14587 * conform/data/termios.h-data: Likewise.
14588 * conform/data/utime.h-data: Likewise.
14589 * conform/data/utmpx.h-data: Likewise.
14590 * conform/data/varargs.h-data: Likewise.
14591 * conform/data/wchar.h-data: Likewise.
14592 * conform/data/wctype.h-data: Likewise.
14593 * conform/data/wordexp.h-data: Likewise.
14594
14595 * include/stropts.h: New file.
14596 * include/uchar.h: New file.
14597 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14598 * include/assert.h: Likewise.
14599 * include/ctype.h: Likewise.
14600 * include/dirent.h: Likewise.
14601 * include/dlfcn.h: Likewise.
14602 * include/fcntl.h: Likewise.
14603 * include/fnmatch.h: Likewise.
14604 * include/glob.h: Likewise.
14605 * include/grp.h: Likewise.
14606 * include/libio.h: Likewise.
14607 * include/locale.h: Likewise.
14608 * include/math.h: Likewise.
14609 * include/net/if.h: Likewise.
14610 * include/netdb.h: Likewise.
14611 * include/netinet/in.h: Likewise.
14612 * include/pthread.h: Likewise.
14613 * include/pwd.h: Likewise.
14614 * include/regex.h: Likewise.
14615 * include/sched.h: Likewise.
14616 * include/search.h: Likewise.
14617 * include/setjmp.h: Likewise.
14618 * include/signal.h: Likewise.
14619 * include/stdio.h: Likewise.
14620 * include/stdlib.h: Likewise.
14621 * include/string.h: Likewise.
14622 * include/sys/cdefs.h: Likewise.
14623 * include/sys/mman.h: Likewise.
14624 * include/sys/msg.h: Likewise.
14625 * include/sys/resource.h: Likewise.
14626 * include/sys/select.h: Likewise.
14627 * include/sys/socket.h: Likewise.
14628 * include/sys/stat.h: Likewise.
14629 * include/sys/statvfs.h: Likewise.
14630 * include/sys/time.h: Likewise.
14631 * include/sys/times.h: Likewise.
14632 * include/sys/uio.h: Likewise.
14633 * include/sys/utsname.h: Likewise.
14634 * include/sys/wait.h: Likewise.
14635 * include/termios.h: Likewise.
14636 * include/time.h: Likewise.
14637 * include/ulimit.h: Likewise.
14638 * include/unistd.h: Likewise.
14639 * include/utime.h: Likewise.
14640 * include/wchar.h: Likewise.
14641 * include/wctype.h: Likewise.
14642 * include/wordexp.h: Likewise.
14643
14644 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14645
7a270350
UD
14646 * time/time.h: TIME_UTC must be a macro.
14647 Make timespec_get available for ISO C11 only as well.
14648
7724defc
UD
146492012-02-24 Ulrich Drepper <drepper@gmail.com>
14650
14651 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14652 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14653
6b1d1d46
JM
146542012-02-24 Joseph Myers <joseph@codesourcery.com>
14655
14656 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14657
0f8bbd69
JM
146582012-02-24 Joseph Myers <joseph@codesourcery.com>
14659
14660 * manual/texinfo.tex: Update to version 2012-01-19.16.
14661
66ab80bc
JM
146622012-02-24 Joseph Myers <joseph@codesourcery.com>
14663
14664 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14665
74981cc5
RM
146662012-02-24 Roland McGrath <roland@hack.frob.com>
14667
ee968201
RM
14668 [BZ #13738]
14669 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14670 * manual/fdl-1.3.texi: New file.
14671 * manual/fdl-1.1.texi: File removed.
14672
74981cc5
RM
14673 [BZ #13738]
14674 * manual/libc.texinfo (FDL_VERSION): New @set.
14675 Use it for mention of FDL in cover text.
14676 (Documentation License): Use it in @include file name.
14677
7bb764bc
JM
146782012-02-22 Joseph Myers <joseph@codesourcery.com>
14679 Roland McGrath <roland@hack.frob.com>
14680
14681 [BZ #5461]
14682 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14683 not LONG_LONG_MAX and LONG_LONG_MIN.
14684 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14685 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14686 name.
14687 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14688
6cbeae47
JM
146892012-02-22 Joseph Myers <joseph@codesourcery.com>
14690
14691 [BZ #2547]
14692 [BZ #11365]
14693 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14694 manipulate bits before adding and subtracting TWO23[sx].
14695 * math/libm-test.inc (nearbyint_test): Add more tests.
14696
fe45ce09
JM
146972012-02-22 Joseph Myers <joseph@codesourcery.com>
14698
14699 [BZ #2548]
14700 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14701 bits before adding and subtracting TWO23[sx].
14702 * math/libm-test.inc (rint_test): Add more tests.
14703 (rint_test_tonearest): Likewise.
14704 (rint_test_towardzero): Likewise.
14705 (rint_test_downward): Likewise.
14706 (rint_test_upward: Likewise.
14707
ff3b3d82
JM
147082012-02-22 Joseph Myers <joseph@codesourcery.com>
14709
14710 [BZ #10110]
14711 * include/stdc-predef.h: New file. Extracted from features.h.
14712 * include/features.h: Include stdc-predef.h.
14713 * Makefile (headers): Add stdc-predef.h.
14714 * CONFORMANCE (Compiler limitations): Update.
14715
ef0aab35
JM
147162012-02-22 Joseph Myers <joseph@codesourcery.com>
14717
14718 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14719
58639409
DM
147202012-02-21 David S. Miller <davem@davemloft.net>
14721
14722 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14723 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14724
c0e70b25
DM
147252012-02-20 David S. Miller <davem@davemloft.net>
14726
14727 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14728 using a normal save/restore sequence, rather than allocating a
14729 dummy stack frame just to store a frame pointer and restore.
14730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14731
fb06851d
JM
147322012-02-21 Joseph Myers <joseph@codesourcery.com>
14733
14734 * manual/install.texi: Fix stray word in line-wrapped comment.
14735
7a8b71c3
DM
147362012-02-20 David S. Miller <davem@davemloft.net>
14737
d510c123
DM
14738 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14739 both binutils and gcc support GOTDATA.
14740
0722d7c2
DM
14741 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14742 "rd %pc" in the PIC register setup sequences.
14743
3d2b3019
DM
14744 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14745 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14746 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14747 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14748 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14750 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14751 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14753 (SYSCALL_ERROR_HANDLER): Likewise.
14754 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14755 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14757 (SYSCALL_ERROR_HANDLER): Likewise.
14758
c80098a9
DM
14759 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14760 (HAVE_GCC_GOTDATA): New.
14761 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14762 relocation support in both binutils and gcc.
14763 * sysdeps/sparc/elf/configure: Regenerate.
14764
3a2545a0
DM
14765 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14766 * sysdeps/sparc/sparc32/elf/configure: Delete.
14767 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14768 * sysdeps/sparc/sparc64/elf/configure: Delete.
14769 * sysdeps/sparc/elf/configure.in: New file.
14770 * sysdeps/sparc/elf/configure: Generate.
14771
7a8b71c3
DM
14772 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14773 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14775 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14776 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14777
f1e86fca
JM
147782012-02-21 Joseph Myers <joseph@codesourcery.com>
14779
14780 * manual/install.texi: Do not mention specific glibc version
14781 numbers.
14782 * manual/libc.texinfo (VERSION, UPDATED): Update.
14783 (@copying): Use @copyright{} and range of years.
14784
0e7dfaef
JM
147852012-02-21 Joseph Myers <joseph@codesourcery.com>
14786
14787 [BZ #13695]
14788 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14789 [crti.S not in sysdirs] (generated): Do not append.
14790 [crti.S not in sysdirs] (omit-deps): Likewise.
14791 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14792 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14793 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14794 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14795 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14796 Likewise.
14797 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14798 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14799 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14800 * csu/defs.awk: Remove file.
14801 * sysdeps/generic/initfini.c: Likewise.
14802 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14803 variable.
14804 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14805 Likewise.
14806
599af3ca
JM
148072012-02-20 Joseph Myers <joseph@codesourcery.com>
14808
14809 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14810 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14811 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14813 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14814 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14815 <bits/epoll.h>.
14816 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14817 (__EPOLL_PACKED): Define to empty if not defined by
14818 <bits/epoll.h>.
14819 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14820 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14821 bits/epoll.h.
14822
0e499750
JM
148232012-02-20 Joseph Myers <joseph@codesourcery.com>
14824
14825 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14826 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14827 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14828 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14829 <bits/timerfd.h>.
14830 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14832 bits/timerfd.h.
14833
5ad91f6e
JM
148342012-02-20 Joseph Myers <joseph@codesourcery.com>
14835
14836 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14837 in C locale.
14838 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14839 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14840 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14842
06b99b02
AJ
148432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14844
14845 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14846 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14847
7638c0fd
AS
148482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14849
14850 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14851 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14852 defined.
14853 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14854 Likewise.
14855 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14856 entry for 2.16.
14857
92221550
AJ
148582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14859
14860 * math/w_acos.c: Use non-signaling floating-point comparisons.
14861 * math/w_acosf.c: Likewise.
14862 * math/w_acosh.c: Likewise.
14863 * math/w_acoshf.c: Likewise.
14864 * math/w_acoshl.c: Likewise.
14865 * math/w_acosl.c: Likewise.
14866 * math/w_asin.c: Likewise.
14867 * math/w_asinf.c: Likewise.
14868 * math/w_asinl.c: Likewise.
14869 * math/w_atanh.c: Likewise.
14870 * math/w_atanhf.c: Likewise.
14871 * math/w_atanhl.c: Likewise.
14872 * math/w_exp2.c: Likewise.
14873 * math/w_exp2f.c: Likewise.
14874 * math/w_exp2l.c: Likewise.
14875 * math/w_j0.c: Likewise.
14876 * math/w_j0f.c: Likewise.
14877 * math/w_j0l.c: Likewise.
14878 * math/w_j1.c: Likewise.
14879 * math/w_j1f.c: Likewise.
14880 * math/w_j1l.c: Likewise.
14881 * math/w_jn.c: Likewise.
14882 * math/w_jnf.c: Likewise.
14883 * math/w_log.c: Likewise.
14884 * math/w_log10.c: Likewise.
14885 * math/w_log10f.c: Likewise.
14886 * math/w_log10l.c: Likewise.
14887 * math/w_log2.c: Likewise.
14888 * math/w_log2f.c: Likewise.
14889 * math/w_log2l.c: Likewise.
14890 * math/w_logf.c: Likewise.
14891 * math/w_logl.c: Likewise.
14892 * math/w_sqrt.c: Likewise.
14893 * math/w_sqrtf.c: Likewise.
14894 * math/w_sqrtl.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14897 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14898 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14899 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14900
ebaf36eb
JM
149012012-02-19 Joseph Myers <joseph@codesourcery.com>
14902
14903 [BZ #9739]
14904 * manual/string.texi (strnlen): Use correct parameter name in
14905 equivalent expression.
14906
71c254a6
JM
149072012-02-19 Joseph Myers <joseph@codesourcery.com>
14908
14909 [BZ #11174]
14910 * manual/users.texi (seteuid): Consistently use neweuid for
14911 argument name.
14912
16d2c631
JM
149132012-02-19 Joseph Myers <joseph@codesourcery.com>
14914
14915 [BZ #13704]
14916 * manual/nss.texi (Services in the NSS configuration): Correct
14917 list of services in example configuration file.
14918
cd837b09
NB
149192012-02-19 Nick Bowler <nbowler@draconx.ca>
14920
14921 [BZ #11322]
14922 * manual/arith.texi: Remove statements about negative zero
14923 behaving identically to zero.
14924
02c4bbad
JM
149252012-02-18 Joseph Myers <joseph@codesourcery.com>
14926
14927 [BZ #5993]
14928 * manual/install.texi: Do not document upgrading from libc5.
14929
366842e7
JM
149302012-02-18 Joseph Myers <joseph@codesourcery.com>
14931
14932 [BZ #4596]
14933 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14934
dd54084d
DM
149352012-02-18 David S. Miller <davem@davemloft.net>
14936
14937 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14938 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14939 %o7 across the call.
14940 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14941 instead.
14942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14943 SETUP_PIC_REG_LEAF.
14944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14945 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14946 * sysdeps/sparc/crtn.S: Likewise.
14947
2bcc53a3
UD
149482012-02-17 Ulrich Drepper <drepper@gmail.com>
14949
14950 * aout/Makefile: Remove.
14951
09c093b5
RK
149522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14953
14954 [BZ #13058]
14955 * manual/examples/argp-ex1.c (main): Format definition in GNU
14956 style.
14957 * manual/examples/argp-ex2.c (main): Likewise.
14958 * manual/examples/argp-ex3.c (main): Likewise.
14959 * manual/examples/argp-ex4.c (main): Likewise.
14960 * manual/examples/longopt.c (main): Use new-style prototype
14961 definition.
14962 * manual/examples/strncat.c (main): Specify return type and use
14963 (void) for arguments.
14964 * manual/examples/subopt.c (main): Use char **argv argument.
14965
2ee633a2
JM
149662012-02-17 Joseph Myers <joseph@codesourcery.com>
14967
14968 [BZ #5077]
14969 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14970 rounding modes.
14971
0520adde
FB
149722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14973
14974 [BZ #6907]
14975 * manual/string.texi (strchr): Change when strchrnul is
14976 recommended.
14977
3f4081cd
DGM
149782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14979
14980 [BZ #174]
14981 * manual/locale.texi (setlocale): Document LOCPATH.
14982
d1b10e78
JM
149832012-02-17 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #10210]
14986 * manual/process.texi (execle): Move @dots{} before last argument.
14987
79c6869c
PB
149882012-02-17 Paul Bolle <pebolle@tiscali.nl>
14989
14990 [BZ #12047]
14991 * manual/charset.texi (Generic Charset Conversion): Fix typo
14992 (LC_TYPE -> LC_CTYPE).
14993
cc6e48bc
NB
149942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14995
14996 [BZ #5805]
14997 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14998 (scalbnf): Likewise.
14999 (scalbnl): Likewise.
15000 (scalbln): Likewise.
15001 (scalblnf): Likewise.
15002 (scalblnl): Likewise.
15003 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15004 (vwarnx): Likewise.
15005 (verr): Likewise.
15006 (verrx): Likewise.
15007 * manual/filesys.texi (telldir): Use braces around return type.
15008 * manual/llio.texi (mmap): Add space after comma.
15009 (mmap64): Likewise.
15010 * manual/math.texi (jn): Use @var{} on parameter names.
15011 (jnf): Likewise.
15012 (jnl): Likewise.
15013 (yn): Likewise.
15014 (ynf): Likewise.
15015 (ynl): Likewise.
15016 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15017 line.
15018 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15019 "...".
15020 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15021 (sched_get_priority_max): Likewise.
15022 * manual/signal.texi (sigvec): Add space after comma.
15023 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15024 names.
15025 (if_indextoname): Likewise.
15026 (if_freenameindex): Likewise.
15027 (sendto): Use ',' instead of '.' in prototype.
15028 * manual/startup.texi (syscall): Use @dots{} instead of literal
15029 "...".
15030 * manual/stdio.texi (__fpending): Separate initial words of
15031 paragraph from @deftypefun line.
15032 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15033 "...".
15034 (vsyslog): Use @var{} on parameter names.
15035 * manual/terminal.texi (stty): Use @var{} on parameter names.
15036 * manual/users.texi (getutmp): Use @var{} on parameter names.
15037 (getutmpx): Likewise.
15038
5b23062f
JM
150392012-02-17 Joseph Myers <joseph@codesourcery.com>
15040
15041 [BZ #6884]
15042 * manual/stdio.texi (fopen): Fix typos in description of
15043 ",ccs=STRING".
15044
8dee4833
AJ
150452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15046
15047 [BZ #4026]
15048 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15049 get clock_id definition.
15050
9078ce93
TS
150512012-02-17 Thomas Schwinge <thomas@schwinge.name>
15052
15053 [BZ #4822]
15054 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15055 (madvise): Cast every argument to void on its own.
15056
3835c55f
JM
150572012-02-17 Joseph Myers <joseph@codesourcery.com>
15058
15059 [BZ #9902]
15060 * manual/startup.texi (Exit Status): Fix typo.
15061
35c47e37
JM
150622012-02-17 Joseph Myers <joseph@codesourcery.com>
15063
15064 [BZ #10140]
15065 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15066 * manual/examples/argp-ex2.c: Likewise.
15067 * manual/examples/argp-ex3.c: Likewise.
15068
e3b69ca7
RH
150692012-02-16 Richard Henderson <rth@redhat.com>
15070
15071 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15072 * sysdeps/s390/s390-32/initfini.c: Remove.
15073 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15074 * sysdeps/s390/s390-64/initfini.c: Remove.
15075
df83af67
KK
150762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15077
15078 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15079 compiler output for sysdeps/generic/initfini.c.
15080 * sysdeps/sh/elf/initfini.c: Remove file.
15081
f63f3380
DM
150822012-02-16 David S. Miller <davem@davemloft.net>
15083
fb59b3a4
DM
15084 [BZ #11494]
15085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15086
f63f3380
DM
15087 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15088 * sysdeps/sparc/crti.S: New file.
15089 * sysdeps/sparc/crtn.S: New file.
15090 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15091 * sysdeps/sparc/sparc64/Makefile: Likewise.
15092
df6a4a4a
MF
150932012-02-15 Mike Frysinger <vapier@gentoo.org>
15094
6dd8f3dc 15095 [BZ #3335]
df6a4a4a
MF
15096 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15097
1cac7236
RM
150982012-02-15 Roland McGrath <roland@hack.frob.com>
15099
d2c736f8
RM
15100 [BZ #4822]
15101 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15102
1cac7236
RM
15103 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15104 (write, read, close): Likewise.
15105 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15106
8e475601
JM
151072012-02-15 Joseph Myers <joseph@codesourcery.com>
15108
15109 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15110 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15111 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15112 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15113 <bits/signalfd.h>.
15114 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15116 bits/signalfd.h.
15117
ed656b40
MP
151182012-02-14 Marek Polacek <polacek@redhat.com>
15119
15120 * sysdeps/x86_64/crti.S: New file.
15121 * sysdeps/x86_64/crtn.S: New file.
15122 * sysdeps/x86_64/elf/initfini.c: Remove file.
15123
2a979d3a
JM
151242012-02-13 Joseph Myers <joseph@codesourcery.com>
15125
15126 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15127 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15128 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15129 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15130 <bits/inotify.h>.
15131 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15133 bits/inotify.h.
15134
2a418ac3
JM
151352012-02-13 Joseph Myers <joseph@codesourcery.com>
15136
15137 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15138 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15140 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15141 <bits/eventfd.h>.
15142 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15144 bits/eventfd.h.
15145
fb779be7
TS
151462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15147
e19e83c5
RM
15148 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15149 __feraiseexcept instead of feraiseexcept.
7c35ffed 15150
fb779be7
TS
15151 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15152 nanosleep invocations.
15153 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15154 strings, and add error checking for a nanosleep invocations.
15155
59ba27a6
PE
151562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15157
15158 Replace FSF snail mail address with URLs, as per GNU coding standards.
15159 Most of the snail mail addresses were wrong anyway, and omitting
15160 them makes the source code easier to maintain. Almost all of the
15161 changes are to license notices and to locale LC_IDENTIFICATION
15162 addresses, except for this one:
15163 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15164 not its snail mail address.
15165
57b957eb
RH
151662012-02-09 Richard Henderson <rth@twiddle.net>
15167
af850b1c
RH
15168 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15169 of kernel-features.h.
15170
57b957eb
RH
15171 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15172
6b73181a
MP
151732012-02-08 Marek Polacek <polacek@redhat.com>
15174
15175 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15176 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15177 * sysdeps/gnu/_G_config.h: Likewise.
15178 * sysdeps/generic/_G_config.h: Likewise.
15179
26ecc33a
AS
151802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15181
6c6dbc63
AS
15182 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15183 tests.
15184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15185
e216c012
AS
15186 * sysdeps/powerpc/powerpc32/crti.S: New file.
15187 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15188 * sysdeps/powerpc/powerpc64/crti.S: New file.
15189 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15190
26ecc33a
AS
15191 * Makeconfig (have-initfini): Don't set.
15192 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15193 * configure.in (nopic_initfini): Don't substitute.
15194 * config.h.in (HAVE_INITFINI): Don't #undef.
15195 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15196 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15197
3add8e13
JM
151982012-02-08 Joseph Myers <joseph@codesourcery.com>
15199
15200 Support crti.S and crtn.S provided directly by architectures.
15201 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15202 [crti.S in sysdirs] (omit-deps): Likewise.
15203 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15204 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15205 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15206 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15207 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15208 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15209 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15210 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15211 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15212 compiler output for sysdeps/generic/initfini.c.
15213 * sysdeps/i386/elf/Makefile: Remove file.
15214 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15215
a22f12b4
MP
152162012-02-07 Marek Polacek <polacek@redhat.com>
15217
15218 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15219 * sysdeps/gnu/_G_config.h: Likewise.
15220 * sysdeps/mach/hurd/_G_config.h: Likewise.
15221
148cf100
MP
152222012-02-07 Marek Polacek <polacek@redhat.com>
15223
15224 * math/Makefile (tests): Add tst-CMPLX2.
15225 * math/tst-CMPLX2.c: New file.
15226
cfdc0dd7
AS
152272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15228
84ba42c4
AS
15229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15230
cfdc0dd7
AS
15231 * math/libm-test.inc (jn_test): Add missing L suffix.
15232
622c86f4
MP
152332012-02-06 Marek Polacek <polacek@redhat.com>
15234
15235 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15236 * sysdeps/i386/fpu/e_powf.S: Likewise.
15237 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15238 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15239 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15240 * sysdeps/i386/fpu/e_pow.S: Likewise.
15241 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15242 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15243 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15244 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15245 * sysdeps/i386/fpu/e_log2.S: Likewise.
15246 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15247 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15248 * sysdeps/i386/fpu/e_powl.S: Likewise.
15249 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15251 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15252 * sysdeps/i386/fpu/e_logl.S: Likewise.
15253 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15254 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15255 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15256 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15258 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15259 * sysdeps/i386/fpu/e_log.S: Likewise.
15260 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15261 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15262 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15263 * sysdeps/i386/fpu/e_logf.S: Likewise.
15264 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15265 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15266 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15267 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15268 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15269 * sysdeps/i386/fpu/e_log10.S: Likewise.
15270 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15271 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15272 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15273 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15274 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15275 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15276 * sysdeps/i386/asm-syntax.h: Likewise.
15277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15279 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15280 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15281 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15282 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15283 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15284 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15285 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15286 * sysdeps/powerpc/sysdep.h: Likewise.
15287 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15288 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15289
d4a54ac6
JM
152902012-02-06 Joseph Myers <joseph@codesourcery.com>
15291
15292 [BZ #411]
15293 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15294
314054ea
JM
152952012-02-06 Joseph Myers <joseph@codesourcery.com>
15296
15297 * sysdeps/i386/sysdep.h: Include <features.h>.
15298 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15299 version.
15300
d8e0ca50
JM
153012012-02-05 Joseph Myers <joseph@codesourcery.com>
15302
15303 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15304 Define.
15305 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15306 LOAD_PIC_REG_STR.
15307
b1da7dd9
JM
153082012-02-03 Joseph Myers <joseph@codesourcery.com>
15309
15310 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15311 (SETUP_PIC_REG): Use GET_PC_THUNK.
15312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15313 macro.
15314
9a1d9254
JM
153152012-02-03 Joseph Myers <joseph@codesourcery.com>
15316
15317 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15318 for non-PIC compilation.
15319 (SETUP_PIC_REG): Add .p2align directive.
15320 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15321 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15322 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15323 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15324 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15325 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15327 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15328 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15329 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15330 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15331 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15332 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15333 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15334 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15335 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15336 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15337 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15338 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15339 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15340 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15341 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15342 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15343 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15346 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15348 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15349 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15350 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15352 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15353 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15354 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15355 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15356 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15357 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15358 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15359 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15360 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15361
65dc3b75
JM
153622012-02-03 Joseph Myers <joseph@codesourcery.com>
15363
15364 * math/tst-CMPLX.c: Include <stdio.h>.
15365
d55bf177
JM
153662012-01-31 Joseph Myers <joseph@codesourcery.com>
15367
15368 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15369 float.
15370 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15371 * sysdeps/sparc/bits/mathdef.h: Likewise.
15372
69db4f8f
MP
153732012-01-31 Marek Polacek <polacek@redhat.com>
15374
15375 * libio/libio.h: Don't define _PARAMS.
15376 * locale/programs/config.h: Don't define PARAMS.
15377 * stdlib/strtol_l.c: Likewise.
15378 (__strtol_l): Remove PARAMS from the prototype.
15379
41b81892
UD
153802012-01-31 Ulrich Drepper <drepper@gmail.com>
15381
3b49edc0
UD
15382 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15383 names. Just use the correct names. Remove unnecessary wrapper
15384 functions.
15385 * malloc/arena.c: Likewise.
15386 * malloc/hooks.c: Likewise.
15387
41b81892
UD
15388 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15389 ARENA_TEST says not to. Simplify test for creation of a new arena.
15390 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15391
27a25b6e
UD
153922012-01-30 Ulrich Drepper <drepper@gmail.com>
15393
15394 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15395 into tail calls.
15396 (update_get_addr): New function.
15397 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15398 GET_ADDR_MODULE parameter.
15399
c8a89e7d
JM
154002012-01-30 Joseph Myers <joseph@codesourcery.com>
15401
15402 * crypt/cert.c: Remove __STDC__ conditionals.
15403 * crypt/crypt-entry.c: Likewise.
15404 * crypt/crypt_util.c: Likewise.
15405 * libio/filedoalloc.c: Likewise.
15406 * libio/fileops.c: Likewise.
15407 * libio/genops.c: Likewise.
15408 * libio/iofclose.c: Likewise.
15409 * libio/iofdopen.c: Likewise.
15410 * libio/iofopen.c: Likewise.
15411 * libio/iofopen64.c: Likewise.
15412 * libio/iogetdelim.c: Likewise.
15413 * libio/iopopen.c: Likewise.
15414 * libio/obprintf.c: Likewise.
15415 * libio/oldfileops.c: Likewise.
15416 * libio/oldiofclose.c: Likewise.
15417 * libio/oldiofdopen.c: Likewise.
15418 * libio/oldiofopen.c: Likewise.
15419 * libio/oldiopopen.c: Likewise.
15420 * libio/wfiledoalloc.c: Likewise.
15421 * libio/wgenops.c: Likewise.
15422 * locale/programs/xmalloc.c: Likewise.
15423 * misc/syslog.c: Likewise.
15424 * stdio-common/xbug.c: Likewise.
15425 * string/memchr.c: Likewise.
15426 * string/memcmp.c: Likewise.
15427 * string/memrchr.c: Likewise.
15428 * string/rawmemchr.c: Likewise.
15429 * sysdeps/posix/getcwd.c: Likewise.
15430 * time/strftime_l.c: Likewise.
15431
3b100462
JM
154322012-01-30 Joseph Myers <joseph@codesourcery.com>
15433
15434 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15435 * config.make.in (config-cflags-sse2avx): Define.
15436 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15437 Fix typo.
15438
607998af
CM
154392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15440
15441 * scripts/config.guess: Update from upstream config git repository.
15442 * scripts/config.sub: Likewise.
15443
3601428f
CM
154442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15445
3ac8b282
CM
15446 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15447 (EM_NUM): Update.
15448 (R_TILEPRO_*, R_TILEGX_*): New macros.
15449
e034841e
CM
15450 * scripts/firstversions.awk: Fix bug in version range handling.
15451
540d7568
CM
15452 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15453
3601428f
CM
15454 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15455
463de862
CM
15456 * include/sys/epoll.h: New file.
15457 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15458 libc_hidden_def.
15459
73139a76
UD
154602012-01-28 Ulrich Drepper <drepper@gmail.com>
15461
96bc5b45
UD
15462 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15463 Avoid unnecessary __WORDSIZE == 64 test.
15464 (fmaxf): Use VEX format if possible.
15465 (fmax): Likewise.
15466 (fminf): Likewise.
15467 (fmin): Likewise.
15468
56f6f6a2
UD
15469 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15470 * math/math_private.h: Remove libc_fegetround* and
15471 libc_fesetround*.
15472 * sysdeps/i386/configure.in: Check for -msse2avx.
15473 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15474 also if SSE2AVX is defined.
15475 Remove libc_fegetround* and libc_fesetround*.
15476 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15477 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15479 of HAS_YMM_USABLE.
15480 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15481 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15482 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15483 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15484 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15485
73139a76
UD
15486 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15487
d73f93a4
AZ
154882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15489
15490 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15491 size is not set.
15492 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15493
6ee65ed6
UD
154942012-01-27 Ulrich Drepper <drepper@gmail.com>
15495
15496 [BZ #13618]
15497 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15498 relocation.
15499 * Makeconfig (libm): Define.
15500 * elf/Makefile: Add rules to build and run tst-relsort1.
15501 * elf/tst-relsort1.c: New file.
15502 * elf/tst-relsort1mod1.c: New file.
15503 * elf/tst-relsort1mod2.c: New file.
15504
8db21882
JM
155052012-01-27 Joseph Myers <joseph@codesourcery.com>
15506
15507 * math/s_ldexp.c: Remove __STDC__ conditionals.
15508 * math/s_ldexpf.c: Likewise.
15509 * math/s_ldexpl.c: Likewise.
15510 * math/s_nextafter.c: Likewise.
15511 * math/s_nexttowardf.c: Likewise.
15512 * math/s_significand.c: Likewise.
15513 * math/s_significandf.c: Likewise.
15514 * math/s_significandl.c: Likewise.
15515 * math/w_jnl.c: Likewise.
15516 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15517 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15518 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15519 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15520 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15522 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15523 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15525 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15526 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15528 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15529 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15530 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15531 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15532 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15533 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15537 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15538 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15539 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15540 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15541 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15542 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15543 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15544 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15545 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15546 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15547 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15548 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15549 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15550 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15551 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15552 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15553 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15554 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15555 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15556 * sysdeps/ieee754/k_standard.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15603 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15606 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15623 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15624 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15629 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15630 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15632 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15633 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15635 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15636 * sysdeps/ieee754/s_matherr.c: Likewise.
15637 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15638 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15639 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15641
965a54a4
JM
156422012-01-26 Joseph Myers <joseph@codesourcery.com>
15643
15644 * crypt/md5.h: Remove __STDC__ conditionals.
15645 * libio/libioP.h: Likewise.
15646 * locale/programs/config.h: Likewise.
15647 * sysdeps/generic/sysdep.h: Likewise.
15648 * sysdeps/i386/asm-syntax.h: Likewise.
15649 * sysdeps/s390/asm-syntax.h: Likewise.
15650 * sysdeps/unix/sysdep.h: Likewise.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15653
7071ad79
JM
156542012-01-26 Joseph Myers <joseph@codesourcery.com>
15655
15656 * libio/libio.h: Remove __STDC__ conditionals.
15657 * malloc/obstack.h: Likewise.
15658 * math/complex.h: Likewise.
15659 * math/math.h: Likewise.
15660 * sysdeps/generic/_G_config.h: Likewise.
15661 * sysdeps/gnu/_G_config.h: Likewise.
15662 * sysdeps/mach/hurd/_G_config.h: Likewise.
15663 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15664 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15665 * sysdeps/sparc/bits/mathdef.h: Likewise.
15666
afc5ed09
UD
156672012-01-26 Ulrich Drepper <drepper@gmail.com>
15668
15669 [BZ #13583]
15670 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15671 Clean up HAS_* macros.
afc5ed09 15672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15673 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15674 possible.
15675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15676 HAS_AVX.
15677 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15678 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15679 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15681 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15682
bdb6de1d
JM
156832012-01-25 Joseph Myers <joseph@codesourcery.com>
15684
15685 * elf/tst-unique3.cc (gets): Remove declaration.
15686 * elf/tst-unique3lib.cc (gets): Likewise.
15687 * elf/tst-unique3lib2.cc (gets): Likewise.
15688 * elf/tst-unique4.cc (gets): Likewise.
15689
b15549e6
UD
156902012-01-24 Ulrich Drepper <drepper@gmail.com>
15691
15692 * include/stdio.h: Add C++ protection. Add gets declarations and
15693 definitions.
15694 * debug/tst-chk1.c: Don't declare gets here.
15695 * stdio-common/tst-gets.c: Likewise.
15696
a037381f
JM
156972012-01-24 Joseph Myers <joseph@codesourcery.com>
15698
15699 * posix/glob: Remove directory.
15700
f1d4aa75
JM
157012012-01-24 Joseph Myers <joseph@codesourcery.com>
15702
15703 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15704
81c0c964
PT
157052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15706
15707 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15708 of the non-standard EPFNOSUPPORT.
15709
0ea698ae
ST
157102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15711
15712 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15713 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15714 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15715
d220b117
UD
157162012-01-21 Ulrich Drepper <drepper@gmail.com>
15717
15718 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15719
3e1aa84e
UD
157202012-01-20 Ulrich Drepper <drepper@gmail.com>
15721
15722 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15723 transient errors.
15724 * nscd/grpcache.c (cache_addgr): Likewise.
15725 * nscd/hstcache.c (cache_addhst): Likewise.
15726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15727 * nscd/pwdcache.c (cache_addpw): Likewise.
15728 * nscd/servicescache.c (cache_addserv): Likewise.
15729
400aa020
UD
157302012-01-16 Ulrich Drepper <drepper@gmail.com>
15731
d77e7869
UD
15732 * malloc/malloc.c: Various cleanups.
15733 * malloc/hooks.c: Likewise.
15734
400aa020
UD
15735 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15736 * stdlib/bug-fmtmsg1.c: New file.
15737
15738 * stdlib/fmtmsg.c (init): Add missing unlock.
15739 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15740
e0a309cf
MP
157412012-01-12 Marek Polacek <polacek@redhat.com>
15742
15743 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15744 and _GNU_SOURCE.
15745
929d11c7
WS
157462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15747
15748 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15749 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15750 macro to ensure uniqueness of label name.
15751 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15752 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15753
41d0e869
UD
157542012-01-11 Ulrich Drepper <drepper@gmail.com>
15755
0cc5ed3b
UD
15756 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15757
41d0e869
UD
15758 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15759 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15762
a47a831a
UD
157632012-01-10 Ulrich Drepper <drepper@gmail.com>
15764
daa891c0
UD
15765 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15766
15767 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15768 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15770
e58ef0f2
UD
15771 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15772
a47a831a 15773 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15774 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15775 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15777
15778 * math/bits/math-finite.h: Add ldexp support.
15779
a0bfc9c7
MP
157802012-01-10 Marek Polacek <polacek@redhat.com>
15781
15782 * locale/programs/localedef.h (show_archive_content): Add noreturn
15783 attribute.
15784
d6e97a1d
UD
157852012-01-09 Ulrich Drepper <drepper@gmail.com>
15786
15787 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15788
d5835c26
UD
157892012-01-08 Ulrich Drepper <drepper@gmail.com>
15790
e5f484c6
UD
15791 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15792
d5835c26
UD
15793 * io/Makefile (headers): Add bits/poll2.h.
15794
d1f741e9
WS
157952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15796
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15798 typo #include statement.
15799
ec09c1c4
UD
158002012-01-08 Ulrich Drepper <drepper@gmail.com>
15801
15802 * include/sys/cdefs.h: Define __attribute_alloc_size.
15803 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15804 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15805 * elf/pldd.c: Likewise.
15806 * iconv/iconv_charmap.c: Likewise.
15807 * iconv/iconvconfig.c: Likewise.
15808 * iconv/strtab.c: Likewise.
15809 * locale/programs/locale.c: Likewise.
15810 * locale/programs/localedef.h: Likewise.
15811 * locale/programs/simple-hash.c: Likewise.
15812 * nscd/nscd.h: Likewise.
15813 * nss/makedb.c: Likewise.
15814 * sysdeps/generic/ldconfig.h: Likewise.
15815 * locale/programs/localedef.c: Remove xmalloc prototype.
15816 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15817
20b38e03
PP
158182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15819
15820 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15821 appropriate.
15822
a0da5fe1
UD
158232012-01-08 Ulrich Drepper <drepper@gmail.com>
15824
1d5a644a 15825 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15826 * math/tst-CMPLX.c: New file.
1d5a644a 15827
8784a6db
UD
15828 * math/complex.h (CMPLXL): Fix typo.
15829
d9a216c0
UD
15830 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15831 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15832 GLIBC_2.16.
15833 * debug/tst-chk1.c: Add poll and ppoll tests.
15834 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15835 * include/sys/poll.h: Add hidden proto for ppoll.
15836 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15837 * sysdeps/mach/hurd/ppoll.c: Likewise.
15838 * io/ppoll.c: Likewise.
15839 * debug/poll_chk.c: New file.
15840 * debug/ppoll_chk.c: New file.
15841 * include/bits/poll2.h: New file.
15842 * io/bits/poll2.h: New file.
15843
ac097f5c
UD
15844 [BZ #1350]
15845 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15846
2119dcfa
UD
15847 * configure.in: static is always set to yes. Remove.
15848 * config.make.in: Don't set build-static.
15849 * Makeconfig: Remove use of build-static.
15850 * dlfcn/Makefile: Likewise.
15851 * elf/Makefile: Likewise.
15852 * math/Makefile: Likewise.
15853 * misc/Makefile: Likewise.
15854 * nptl/Makefile: Likewise.
15855 * sysdeps/mach/hurd/Makefile: Likewise.
15856
121766a9
UD
15857 * configure.in: PWD_P is not used anymore.
15858 * config.make.in: Remove PWD_P entry.
15859
51a1d39c 15860 * configure.in: Remove last remnants of RANLIB.
8720d066 15861 No need to check for signed size_t anymore.
215f4bdc
UD
15862 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15863 and IA-64.
3857022a 15864 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15865 * aclocal.m4: Likewise.
15866
d3ed7225
UD
15867 * wcsmbs/mbrtoc16.c: Implement using towc function.
15868 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15869 * wcsmbs/wcsmbsload.c: Likewise.
15870 * iconv/gconv_simple.c: Likewise.
15871 * iconv/gconv_int.h: Likewise.
15872 * iconv/gconv_builtin.h: Likewise.
15873 * iconv/iconv_prog.c: Remove CHAR16 handling.
15874
15875 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15876
15877 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15878
a0da5fe1
UD
15879 * configure.in: Remove --with-elf and --enable-bounded options.
15880 Dont set base_machine for ia64. More non-ELF conditions removed.
15881 Remove testing and setting of leading underscore information.
15882 * config.make.in (build-bounded): Set to no.
15883 * config.h.in: Remove NO_UNDERSCORES entry.
15884 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15885 them.
15886 * csu/start.c: Remove !NO_UNDERSCORE code.
15887 * locale/localeinfo.h: Likewise.
15888 * sysdeps/generic/machine-gmon.h: Likewise.
15889 * sysdeps/generic/sysdep.h: Likewise.
15890 * sysdeps/i386/sysdep.h: Likewise.
15891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15892 * sysdeps/mach/sysdep.h: Likewise.
15893 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15894 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15895 * sysdeps/sh/sysdep.h: Likewise.
15896 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15897 * sysdeps/unix/i386/sysdep.S: Likewise.
15898 * sysdeps/unix/sparc/start.c: Likewise.
15899 * sysdeps/unix/sparc/sysdep.S: Likewise.
15900 * sysdeps/unix/sparc/sysdep.h: Likewise.
15901 * sysdeps/unix/start.c: Likewise.
15902 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15903 * sysdeps/x86_64/sysdep.h: Likewise.
15904
df78418a
UD
159052012-01-07 Ulrich Drepper <drepper@gmail.com>
15906
a784e502
UD
15907 [BZ #13553]
15908 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15909 for non-gcc.
15910 * argp/argp-fmtstream.h: Use const instead __const.
15911 * argp/argp.h: Likewise.
15912 * assert/assert.h: Likewise.
15913 * bits/fenv.h: Likewise.
15914 * bits/sched.h: Likewise.
15915 * bits/sigset.h: Likewise.
15916 * bits/sigthread.h: Likewise.
15917 * catgets/nl_types.h: Likewise.
15918 * conform/data/pthread.h-data: Likewise.
15919 * crypt/crypt-private.h: Likewise.
15920 * crypt/crypt.h: Likewise.
15921 * crypt/crypt_util.c: Likewise.
15922 * ctype/ctype.h: Likewise.
15923 * debug/execinfo.h: Likewise.
15924 * debug/mbsnrtowcs_chk.c: Likewise.
15925 * debug/mbsrtowcs_chk.c: Likewise.
15926 * debug/wcsnrtombs_chk.c: Likewise.
15927 * debug/wcsrtombs_chk.c: Likewise.
15928 * debug/wcstombs_chk.c: Likewise.
15929 * dirent/dirent.h: Likewise.
15930 * dlfcn/dlfcn.h: Likewise.
15931 * elf/neededtest4.c: Likewise.
15932 * grp/grp.h: Likewise.
15933 * gshadow/gshadow.h: Likewise.
15934 * iconv/gconv.h: Likewise.
15935 * iconv/gconv_int.h: Likewise.
15936 * iconv/gconv_simple.c: Likewise.
15937 * iconv/iconv.h: Likewise.
15938 * iconv/loop.c: Likewise.
15939 * iconv/skeleton.c: Likewise.
15940 * include/aio.h: Likewise.
15941 * include/aliases.h: Likewise.
15942 * include/argz.h: Likewise.
15943 * include/arpa/inet.h: Likewise.
15944 * include/assert.h: Likewise.
15945 * include/dirent.h: Likewise.
15946 * include/dlfcn.h: Likewise.
15947 * include/execinfo.h: Likewise.
15948 * include/fcntl.h: Likewise.
15949 * include/fenv.h: Likewise.
15950 * include/glob.h: Likewise.
15951 * include/grp.h: Likewise.
15952 * include/libintl.h: Likewise.
15953 * include/mntent.h: Likewise.
15954 * include/netdb.h: Likewise.
15955 * include/pwd.h: Likewise.
15956 * include/rpc/netdb.h: Likewise.
15957 * include/sched.h: Likewise.
15958 * include/search.h: Likewise.
15959 * include/shadow.h: Likewise.
15960 * include/signal.h: Likewise.
15961 * include/stdio.h: Likewise.
15962 * include/stdlib.h: Likewise.
15963 * include/string.h: Likewise.
15964 * include/sys/socket.h: Likewise.
15965 * include/sys/stat.h: Likewise.
15966 * include/sys/statfs.h: Likewise.
15967 * include/sys/statvfs.h: Likewise.
15968 * include/sys/syslog.h: Likewise.
15969 * include/sys/time.h: Likewise.
15970 * include/sys/uio.h: Likewise.
15971 * include/time.h: Likewise.
15972 * include/unistd.h: Likewise.
15973 * include/utmp.h: Likewise.
15974 * include/wchar.h: Likewise.
15975 * include/wctype.h: Likewise.
15976 * inet/aliases.h: Likewise.
15977 * inet/arpa/inet.h: Likewise.
15978 * inet/netinet/ether.h: Likewise.
15979 * inet/netinet/in.h: Likewise.
15980 * intl/libintl.h: Likewise.
15981 * io/bits/fcntl2.h: Likewise.
15982 * io/fcntl.h: Likewise.
15983 * io/ftw.h: Likewise.
15984 * io/sys/poll.h: Likewise.
15985 * io/sys/stat.h: Likewise.
15986 * io/sys/statfs.h: Likewise.
15987 * io/sys/statvfs.h: Likewise.
15988 * io/utime.h: Likewise.
15989 * libio/bits/stdio.h: Likewise.
15990 * libio/bits/stdio2.h: Likewise.
15991 * libio/libio.h: Likewise.
15992 * libio/libioP.h: Likewise.
15993 * libio/stdio.h: Likewise.
15994 * locale/lc-ctype.c: Likewise.
15995 * locale/locale.h: Likewise.
15996 * login/utmp.h: Likewise.
15997 * malloc/arena.c: Likewise.
15998 * malloc/malloc.c: Likewise.
15999 * malloc/malloc.h: Likewise.
16000 * malloc/mcheck.c: Likewise.
16001 * malloc/mtrace.c: Likewise.
16002 * math/bits/mathcalls.h: Likewise.
16003 * math/fenv.h: Likewise.
16004 * math/math_private.h: Likewise.
16005 * misc/bits/error.h: Likewise.
16006 * misc/bits/syslog.h: Likewise.
16007 * misc/err.h: Likewise.
16008 * misc/error.h: Likewise.
16009 * misc/fstab.h: Likewise.
16010 * misc/mntent.h: Likewise.
16011 * misc/regexp.h: Likewise.
16012 * misc/search.h: Likewise.
16013 * misc/sgtty.h: Likewise.
16014 * misc/sys/mman.h: Likewise.
16015 * misc/sys/syslog.h: Likewise.
16016 * misc/sys/uio.h: Likewise.
16017 * misc/sys/xattr.h: Likewise.
16018 * misc/ttyent.h: Likewise.
16019 * nis/rpcsvc/ypclnt.h: Likewise.
16020 * nss/nss.h: Likewise.
16021 * posix/bits/unistd.h: Likewise.
16022 * posix/fnmatch.h: Likewise.
16023 * posix/glob.h: Likewise.
16024 * posix/sched.h: Likewise.
16025 * posix/spawn.h: Likewise.
16026 * posix/sys/wait.h: Likewise.
16027 * posix/unistd.h: Likewise.
16028 * posix/wordexp.h: Likewise.
16029 * pwd/pwd.h: Likewise.
16030 * resolv/netdb.h: Likewise.
16031 * resource/sys/resource.h: Likewise.
16032 * rt/aio.h: Likewise.
16033 * rt/bits/mqueue2.h: Likewise.
16034 * rt/mqueue.h: Likewise.
16035 * shadow/shadow.h: Likewise.
16036 * signal/signal.h: Likewise.
16037 * socket/send.c: Likewise.
16038 * socket/sendto.c: Likewise.
16039 * socket/sys/socket.h: Likewise.
16040 * stdio-common/printf.h: Likewise.
16041 * stdlib/bits/stdlib.h: Likewise.
16042 * stdlib/fmtmsg.h: Likewise.
16043 * stdlib/monetary.h: Likewise.
16044 * stdlib/stdlib.h: Likewise.
16045 * stdlib/ucontext.h: Likewise.
16046 * streams/stropts.h: Likewise.
16047 * string/argz.h: Likewise.
16048 * string/bits/string2.h: Likewise.
16049 * string/string.h: Likewise.
16050 * string/strings.h: Likewise.
16051 * sunrpc/rpc/auth.h: Likewise.
16052 * sunrpc/rpc/auth_des.h: Likewise.
16053 * sunrpc/rpc/clnt.h: Likewise.
16054 * sunrpc/rpc/netdb.h: Likewise.
16055 * sunrpc/rpc/pmap_clnt.h: Likewise.
16056 * sunrpc/rpc/xdr.h: Likewise.
16057 * sysdeps/generic/inttypes.h: Likewise.
16058 * sysdeps/generic/net/if.h: Likewise.
16059 * sysdeps/generic/sys/swap.h: Likewise.
16060 * sysdeps/gnu/net/if.h: Likewise.
16061 * sysdeps/gnu/utmpx.h: Likewise.
16062 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16063 * sysdeps/i386/i486/bits/string.h: Likewise.
16064 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16065 * sysdeps/s390/bits/string.h: Likewise.
16066 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16067 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16068 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16069 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16070 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16071 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16072 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16073 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16074 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16075 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16076 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16077 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16078 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16079 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16080 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16081 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16082 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16085 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16087 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16088 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16089 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16090 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16091 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16092 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16094 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16096 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16097 * sysvipc/sys/ipc.h: Likewise.
16098 * sysvipc/sys/msg.h: Likewise.
16099 * sysvipc/sys/sem.h: Likewise.
16100 * sysvipc/sys/shm.h: Likewise.
16101 * termios/termios.h: Likewise.
16102 * time/sys/time.h: Likewise.
16103 * time/time.h: Likewise.
16104 * wcsmbs/bits/wchar2.h: Likewise.
16105 * wcsmbs/uchar.h: Likewise.
16106 * wcsmbs/wchar.h: Likewise.
16107 * wctype/wctype.h: Likewise.
16108
0269750c
UD
16109 [BZ #13551]
16110 * Makeconfig: Remove all but ELF support including AIX support.
16111 * Makerules: Likewise.
16112 * config.h.in: Likewise.
16113 * config.make.in: Likewise.
16114 * configure: Likewise.
16115 * configure.in: Likewise.
16116 * csu/Makefile: Likewise.
16117 * csu/version.c: Likewise.
16118 * debug/Makefile: Likewise.
16119 * dlfcn/Makefile: Likewise.
16120 * elf/Makefile: Likewise.
16121 * extra-lib.mk: Likewise.
16122 * iconv/Makefile: Likewise.
16123 * include/libc-symbols.h: Likewise.
16124 * include/shlib-compat.h: Likewise.
16125 * resolv/Makefile: Likewise.
16126 * resolv/res_libc.c: Likewise.
16127 * rt/Makefile: Likewise.
16128 * sysdeps/i386/asm-syntax.h: Likewise.
16129 * sysdeps/i386/sysdep.h: Likewise.
16130 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16131 * sysdeps/mach/sysdep.h: Likewise.
16132 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16133 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16134 * sysdeps/s390/asm-syntax.h: Likewise.
16135 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16137 * sysdeps/sh/sysdep.h: Likewise.
16138 * sysdeps/unix/sparc/sysdep.h: Likewise.
16139 * sysdeps/wordsize-32/divdi3.c: Likewise.
16140 * sysdeps/x86_64/sysdep.h: Likewise.
16141
00bbd29b
UD
16142 * argp/Versions: Remove _argp_unlock_xxx.
16143
16144 [BZ #13559]
16145 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16146 * abilist/libBrokenLocale.abilist: Likewise.
16147 * abilist/libanl.abilist: Likewise.
16148 * abilist/libc.abilist: Likewise.
16149 * abilist/libcrypt.abilist: Likewise.
16150 * abilist/libdl.abilist: Likewise.
16151 * abilist/libm.abilist: Likewise.
16152 * abilist/libnsl.abilist: Likewise.
16153 * abilist/libpthread.abilist: Likewise.
16154 * abilist/libresolv.abilist: Likewise.
16155 * abilist/librt.abilist: Likewise.
16156 * abilist/libthread_db.abilist: Likewise.
16157 * abilist/libutil.abilist: Likewise.
16158 * abilist/libnss_db.abilist: New file.
16159
16160 * scripts/abilist.awk: Add support for indirect functions.
16161
a2693a0e
UD
16162 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16163
3f05895f
UD
16164 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16165
ecb6fb48
UD
16166 * shlib-versions: Remove entries for ports architectures.
16167
664f8cb9
UD
16168 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16169 files in ports.
16170 * elf/stackguard-macros.h: Remove support for IA-64.
16171 * elf/tst-auditmod1.c: Likewise.
16172 * sysdeps/generic/ldsodefs.h: Likewise.
16173
7ae81d88
UD
16174 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16175 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16176 configure files.
16177
bdeba135
UD
16178 [BZ #13552]
16179 * configure.in: Remove --enable-omitfp support.
16180 * FAQ.in: Adjust.
16181 * config.make.in: Likewise.
16182 * Makeconfig: Likewise.
16183 * manual/install.texi: Likewise.
16184
d75a0a62
UD
16185 In case anyone cares, the IA-64 architecture could move to ports.
16186 * sysdeps/ia64/*: Removed.
16187 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16188 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16189
dcc9756b
UD
16190 [BZ #13555]
16191 * configure.in: Remove entries for unsupported architectures.
16192
d3761ebc 16193 [BZ #13533]
9954432e
UD
16194 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16195 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16196 routines.
16197 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16198 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16199 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16200 fall back to using wcrtomb.
16201 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16202 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16203 renaming.
16204 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16205 * wcsmbs/tst-c16c32-1.c: New file.
16206
16207 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16208 local variable.
16209
c3a87236
UD
16210 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16211
28926a1b
UD
16212 * elf/tst-unique3.cc: Add explicit declaration of gets.
16213 * elf/tst-unique3lib.cc: Likewise.
16214 * elf/tst-unique3lib2.cc: Likewise.
16215 * elf/tst-unique4.cc: Likewise.
16216
df78418a
UD
16217 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16218
8ecd6b2a
JM
162192012-01-06 Joseph Myers <joseph@codesourcery.com>
16220
16221 [BZ #13566]
16222 * assert/assert.h (static_assert): Don't define for C++.
16223 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16224 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16225
9f115170
UD
162262012-01-03 Ulrich Drepper <drepper@gmail.com>
16227
5e0d0300
UD
16228 * iconv/loop.c (single loop): Fix assertion in storing of
16229 remaining bytes.
16230
9f115170
UD
16231 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16232
81fb02b0
UD
162332012-01-01 Ulrich Drepper <drepper@gmail.com>
16234
16235 * posix/getconf.c: Update copyright year.
16236 * nss/getent.c: Likewise.
a316c1f6 16237 * nss/makedb.c: Likewise.
81fb02b0
UD
16238 * iconv/iconvconfig.c: Likewise.
16239 * iconv/iconv_prog.c: Likewise.
16240 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16241 * elf/pldd.c: Likewise.
16242 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16243 * catgets/gencat.c: Likewise.
16244 * csu/version.c: Likewise.
16245 * elf/ldd.bash.in: Likewise.
16246 * elf/sprof.c (print_version): Likewise.
16247 * locale/programs/locale.c: Likewise.
16248 * locale/programs/localedef.c: Likewise.
a316c1f6 16249 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16250 * nscd/nscd.c (print_version): Likewise.
16251 * debug/xtrace.sh: Likewise.
16252 * malloc/memusage.sh: Likewise.
16253 * malloc/mtrace.pl: Likewise.
16254 * debug/catchsegv.sh: Likewise.
16255
2ba92745
JJ
162562011-12-30 Jakub Jelinek <jakub@redhat.com>
16257
16258 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16259 pure attribute.
16260
dadebdae
UD
162612011-12-24 Ulrich Drepper <drepper@gmail.com>
16262
d3761ebc 16263 [BZ #13533]
db6af3eb
UD
16264 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16265 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16266 transformations.
16267 * iconv/gconv_int.h: Likewise.
16268 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16269 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16270 from libc for GLIBC_2.16.
16271 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16272 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16273 * wcsmbs/uchar.h: Really define mbstate_t.
16274 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16275 * wcsmbs/c16rtomb.c: New file.
16276 * wcsmbs/mbrtoc16.c: New file.
16277 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16278 for C/POSIX locale.
16279 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16280 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16281
dadebdae
UD
16282 * wcsmbs/wchar.h: Add missing __restrict.
16283
67371b56
UD
162842011-12-23 Ulrich Drepper <drepper@gmail.com>
16285
74033a25
UD
16286 [BZ #13532]
16287 * time/Makefile (routines): Add timespec_get.
16288 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16289 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16290 timespec for ISO C11.
16291 * time/timespec_get.c: New file.
16292 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16293 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16294
380d7e87
UD
16295 [BZ #13531]
16296 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16297 * stdlib/stdlib.h: Declare aligned_alloc.
16298 * Versions.def: Add GLIBC_2.16 for libc.
16299 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16300
4e9e7a35
UD
16301 [BZ 13527]
16302 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16303 ISO C11.
16304
380d7e87 16305 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16306 code.
16307
03a71829
UD
16308 [BZ #13528]
16309 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16310
839e283e
UD
16311 [BZ #13529]
16312 * assert/assert.h (static_assert): Define.
16313
ce5294e2 16314 * version.h: Update for 2.16 development version.
90fa7312 16315
8d44e150 16316 [BZ #13526]
d7809905
UD
16317 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16318 _ISOC11_SOURCE.
16319
c0da14cd
UD
16320 * version.h (RELEASE): Bump for 2.15 release.
16321 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16322
530a3249
MP
16323 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16324 Patch by Marek Polacek <mpolacek@redhat.com>.
16325
67371b56
UD
16326 * bits/byteswap.h: Protect long long constants with __extension__.
16327 * sysdeps/i386/bits/byteswap.h: Likewise.
16328 * sysdeps/ia64/bits/byteswap.h: Likewise.
16329 * sysdeps/s390/bits/byteswap.h: Likewise.
16330 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16331
15db4de1
LD
163322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16333
16334 [BZ #13540]
bbe315ea
LD
16335 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16336 destination buffer.
15db4de1
LD
16337 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16338
2b2596b1
MP
163392011-12-23 Marek Polacek <polacek@redhat.com>
16340
16341 * elf/dl-addr.c (determine_info): Add inline keyword.
16342 * elf/tst-auditmod4b.c (check_avx): Likewise.
16343 * elf/tst-auditmod6b.c (check_avx): Likewise.
16344 * elf/tst-auditmod6c.c (check_avx): Likewise.
16345 * elf/tst-auditmod7b.c (check_avx): Likewise.
16346
70c6c246
UD
163472011-12-23 Ulrich Drepper <drepper@gmail.com>
16348
16349 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16350 !__SSE_MATH__.
16351
c044cf14
LD
163522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16353
15db4de1 16354 [BZ #13540]
c044cf14
LD
16355 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16356 processing for last bytes.
16357
6b13d9d9
BH
163582011-08-06 Bruno Haible <bruno@clisp.org>
16359
d455f537
BH
16360 [BZ #13061]
16361 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16362 U+0385, not to U+1FEE.
16363
6b13d9d9
BH
16364 [BZ #13062]
16365 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16366 entry for U+00A5 U+0301.
16367
db910efd
UD
163682011-12-22 Ulrich Drepper <drepper@gmail.com>
16369
27deeafc
UD
16370 [BZ #13166]
16371 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16372 buffer for the output is too small.
16373
aed9d171
UD
16374 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16375 optimization.
16376
db910efd
UD
16377 [BZ #13185]
16378 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16379 SSE flags if possible.
16380
2bd779ae
LD
163812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16382
e7f9dac3 16383 [BZ #13540]
2bd779ae
LD
16384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16385 processing for last bytes.
16386
154bfc16
JM
163872011-12-22 Joseph Myers <joseph@codesourcery.com>
16388
16389 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16390 (syscall-list-default-options, syscall-list-default-condition)
16391 (syscall-list-includes): Define.
16392 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16393 list of ABIs and options and #if conditions for each ABI. Do not
16394 handle common syscalls between ABIs specially.
16395 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16396 Remove.
16397 (syscall-list-variants, syscall-list-32bit-options)
16398 (syscall-list-32bit-condition, syscall-list-64bit-options)
16399 (syscall-list-64bit-condition): Define.
16400 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16401 (syscall-list-variants, syscall-list-32bit-options)
16402 (syscall-list-32bit-condition, syscall-list-64bit-options)
16403 (syscall-list-64bit-condition): Define.
16404 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16405 Remove.
16406 (syscall-list-variants, syscall-list-32bit-options)
16407 (syscall-list-32bit-condition, syscall-list-64bit-options)
16408 (syscall-list-64bit-condition): Define.
16409 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16410 Remove.
16411 (syscall-list-variants, syscall-list-32bit-options)
16412 (syscall-list-32bit-condition, syscall-list-64bit-options)
16413 (syscall-list-64bit-condition): Define.
16414
21eaf3a5
UD
164152011-12-22 Ulrich Drepper <drepper@gmail.com>
16416
16c6f992
UD
16417 * locale/iso-639.def: Add brx entry.
16418
41043168
UD
16419 [BZ #13328]
16420 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16421 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16422
21eaf3a5
UD
16423 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16424 __feraiseexcept_renamed.
16425
e3a851a2
UD
164262011-12-21 Ulrich Drepper <drepper@gmail.com>
16427
4920765e
UD
16428 [BZ #13538]
16429 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16430 EPOLLET with unsigned values.
16431 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16433
e3a851a2
UD
16434 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16435 to large cancellation.
16436 * math/s_cacoshf.c: Likewise.
16437 * math/s_cacoshl.c: Likewise.
16438
b27e24b8
RK
164392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16440
16441 [BZ #13305]
aebefeee 16442 [BZ #12786]
b27e24b8
RK
16443 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16444 * math/s_cacoshf.c: Likewise.
16445 * math/s_cacoshl.c: Likewise.
16446
ee190f67
UD
164472011-12-21 Ulrich Drepper <drepper@gmail.com>
16448
16449 [BZ #13439]
16450 * iconv/gconv.h: Define __GCONV_SWAP.
16451 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16452 * iconvdata/utf-16.c: Likewise.
16453 * iconvdata/utf-32.c: Likewise.
16454
707f25df
AS
164552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16456
16457 [BZ #13524]
16458 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16459 numerator after shifting it by one limb.
16460
d2daaa1e
RÁE
164612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16462
16463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16464 under [__USE_EXTERN_INLINES].
16465
a4647e72
UD
164662011-12-17 Ulrich Drepper <drepper@gmail.com>
16467
16468 [BZ #13446]
16469 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16470
f0b264f1
AZ
164712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16472
16473 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16474 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16475 optimized code.
16476 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16477 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16478 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16479 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16480 for strncasecmp/strncasecmp_l compilation.
16481 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16482 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16483
8ef4f244
MP
164842011-12-08 Marek Polacek <mpolacek@redhat.com>
16485
16486 [BZ #13484]
16487 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16488 of __asm__.
16489
97ac2654
UD
164902011-12-17 Ulrich Drepper <drepper@gmail.com>
16491
16492 [BZ #13506]
16493 * time/tzfile.c (__tzfile_read): Check values from file header.
16494
91d2a845
WS
164952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16496
16497 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16498 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16499 * powerpc/powerpc32/dl-start.S: Likewise.
16500 * powerpc/powerpc32/elf/start.S: Likewise.
16501 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16502 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16503 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16504 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16505 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16506 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16507 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16508 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16509 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16510 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16511 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16512 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16513 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16514 * powerpc/powerpc32/memset.S: Likewise.
16515 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16516 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16517 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16518 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16519 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16520 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16521 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16522 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16523 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16524 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16525 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16526 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16527 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16528
a1267ba1
AZ
165292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16530
16531 * math/libm-test.inc: Added more nearbyint tests.
16532 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16536
ad8ac1bd
RL
165372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16538
16539 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16540 FD_CLOEXEC.
16541
1d3e4b61
UD
165422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16543
16544 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16545 Add wcscpy-ssse3 wcscpy-c.
16546 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16547 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16548 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16549 * sysdeps/x86_64/wcschr.S: New file.
16550 * sysdeps/x86_64/wcsrchr.S: New file.
16551 * string/test-strcmp.c: Remove checking of wcscmp function for
16552 wrong alignments.
16553 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16554 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16555 wcsrchr-sse2 wcsrchr-c.
16556 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16557 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16558 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16559 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16560 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16561 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16562 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16563 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16564 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16565 * wcsmbc/wcschr.c (WCSCHR): New macro.
16566
5b330a2d
UD
165672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16568
16569 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16570 * wcsmbs/test-wcsrchr.c: New file.
16571 * string/test-strrchr.c: Add wcsrchr support.
16572 (WIDE): New macro.
16573 * wcsmbs/test-wcscpy.c: New file.
16574 * string/test-strcpy.c: Add wcscpy support.
16575 (WIDE): New macro.
26428b7c 16576
f039c043
UD
165772011-12-10 Ulrich Drepper <drepper@gmail.com>
16578
16579 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16580 the inner loop.
16581
850fb039
AS
165822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16583
16584 [BZ #13472]
16585 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16586
4efbd5cb
UD
165872011-12-04 Ulrich Drepper <drepper@gmail.com>
16588
52ff5dd0 16589 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16590 Minor optimizations.
52ff5dd0 16591
4efbd5cb
UD
16592 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16593 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16594 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16595
8a426e12
UD
165962011-12-03 Ulrich Drepper <drepper@gmail.com>
16597
aff2453d
UD
16598 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16599 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16600 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16601 for gcc to avoid warnings.
16602 * inet/Makefile (tests): Add tst-checks.
16603 * inet/tst-checks.c: New file.
16604
16605 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16606 warning.
16607
16608 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16609 __wmemcmp_sse2.
16610
16611 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16612 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16613
8a426e12
UD
16614 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16615
9bea3473
UD
166162011-12-02 Ulrich Drepper <drepper@gmail.com>
16617
3a965496
UD
16618 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16619 problem.
16620
9bea3473
UD
16621 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16622
f101631b
UD
166232011-11-29 Joseph Myers <joseph@codesourcery.com>
16624
16625 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16626 conditional on GCC version.
16627 (__arch_compare_and_exchange_val_8_acq)
16628 (__arch_compare_and_exchange_val_16_acq)
16629 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16630 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16631 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16632
a98275aa
UD
166332011-12-02 Joseph Myers <joseph@codesourcery.com>
16634
16635 * sysdeps/sh/backtrace.c: New file.
16636
d4cc29a2
AS
166372011-12-02 Andreas Schwab <schwab@redhat.com>
16638
16639 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16640 parenthesis.
16641
6257af2d
AS
166422011-12-01 Andreas Schwab <schwab@redhat.com>
16643
16644 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16645 falling back to utime.
16646
b5f44c1a
AS
166472011-11-30 Andreas Schwab <schwab@redhat.com>
16648
16649 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16650 expectations for float.
16651
f3a6cc0a
AS
166522011-11-29 Andreas Schwab <schwab@redhat.com>
16653
16654 * locale/weight.h (findidx): Add parameter len.
16655 * locale/weightwc.h (findidx): Likewise.
16656 * posix/fnmatch_loop.c (FCT): Adjust caller.
16657 * posix/regcomp.c (build_equiv_class): Likewise.
16658 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16659 * posix/regexec.c (check_node_accept_bytes): Likewise.
16660 * string/strcoll_l.c (STRCOLL): Likewise.
16661 * string/strxfrm_l.c (STRXFRM): Likewise.
16662
9d65ea3a
UD
166632011-11-17 Ulrich Drepper <drepper@gmail.com>
16664
16665 * Makefile.in: Remove CVSOPT handling.
16666 * configure.in: Remove use of AC_REVISION.
16667 * iconvdata/Makefile (distribute): No need to filter out CVS.
16668 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16669 handling.
16670
5583a086
AS
166712011-11-16 Andreas Schwab <schwab@redhat.com>
16672
16673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16674 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16675 [USE_AS_STRNCASECMP_L]: Likewise.
16676 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16677 NO_TLS_DIRECT_SEG_REFS.
16678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16679 Fix argument offsets for non-PIC.
16680 [USE_AS_STRNCASECMP_L]: Likewise.
16681 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16682 NO_TLS_DIRECT_SEG_REFS.
16683
d62a8200
UD
166842011-11-15 Ulrich Drepper <drepper@gmail.com>
16685
9d65ea3a 16686 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16687 O_CLOEXEC.
16688 * locale/loadlocale.c (_nl_load_locale): Likewise.
16689
09f93bd3
AS
166902011-11-15 Andreas Schwab <schwab@redhat.com>
16691
446514f9
AS
16692 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16693 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16694 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16695 (SYSCALL_GETTIME): Set errno on error.
16696
09f93bd3
AS
16697 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16698 count references to noai6ai_cached.
16699
312be3f9
UD
167002011-11-15 Ulrich Drepper <drepper@gmail.com>
16701
16702 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16703
16704 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16705 FD_CLOEXEC for /proc/self/maps.
16706
16707 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16708 FD_CLOEXEC for /proc/meminfo.
16709
16710 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16711 gai.conf.
16712
16713 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16714 FD_CLOEXEC for given file.
16715
16716 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16717
16718 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16719 FD_CLOEXEC for /etc/hosts.
16720 (_gethtent): Likewise.
16721
16722 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16723
16724 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16725 cancellation and set FD_CLOEXEC for /etc/netgroup.
16726
16727 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16728 reading /etc/publickey.
16729
16730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16731 allow cancellation when reading /etc/group.
16732
16733 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16734 cancellation.
16735 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16736
16737 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16738 when using data file.
16739
16740 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16741
16742 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16743 (write_nis_obj): Use "c" and "e" in fopen.
16744
16745 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16746
16747 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16748
16749 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16750
16751 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16752
16753 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16754 locale.alias.
16755
16756 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16757
16758 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16759
16760 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16761
16762 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16763 file parsing and set FD_CLOEXEC.
16764
82af0fa8
UD
167652011-11-14 Ulrich Drepper <drepper@gmail.com>
16766
16767 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16768
a5fb313c
AS
167692011-11-14 Andreas Schwab <schwab@redhat.com>
16770
16771 * malloc/arena.c (arena_get2): Don't call reused_arena when
16772 _int_new_arena failed.
16773
6abf3465
UD
167742011-11-14 Ulrich Drepper <drepper@gmail.com>
16775
16776 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16777 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16778 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16779 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16780 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16781 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16782 to compile strcasecmp and strncasecmp.
16783 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16784 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16785
16786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16787
76e3966e
UD
167882011-11-13 Ulrich Drepper <drepper@gmail.com>
16789
16790 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16791 locale-defines.sym to gen-as-const-headers.
16792 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16793 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16795 to compile strcasecmp and strncasecmp.
16796 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16797 strcasecmp_l and strncasecmp_l.
16798 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16799 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16800 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16801 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16802 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16803 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16804 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16805 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16806 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16807 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16808 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16809
ab26144e
UD
168102011-11-12 Ulrich Drepper <drepper@gmail.com>
16811
7edb22ef
UD
16812 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16813 result of SYSDEP_GETTIME_CPU to retval.
16814 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16815 parameter list to macro. Remove trailing semicolon. Adjust users.
16816
9694fc44
UD
16817 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16818 variable.
16819
8ad89ef8
UD
16820 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16821 mantissa words.
16822 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16823
0c822ef9
UD
16824 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16825 from unused variable.
16826
874e0564
UD
16827 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16828 DWARF definitions.
16829 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16830 for assembling.
16831
3a2edc79
UD
16832 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16833 over namespaces.
16834
f3c2577f
UD
16835 * sunrpc/rpc_prot.c (rejected): Fix case value.
16836
294ce126
UD
16837 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16838 unsigned long long int to avoid warnings in shift.
16839
5e2b63c6
UD
16840 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16841 of use of trans.
16842 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16843 variable tmp.
16844
e7f4b08e
UD
16845 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16846 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16847 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16848
ab26144e
UD
16849 * nis/nis_table.c (nis_list): Use variable of correct type for
16850 result of __follow_path call.
16851
8a6d5255
AZ
168522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16853
16854 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16855 of math functions ceil, trunc, floor, round, and sqrt, when
16856 avaliable on the platform.
16857 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16858 name clash.
16859 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16860 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16861 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16862
aaddc98c
MP
168632011-10-30 Marek Polacek <mpolacek@redhat.com>
16864
16865 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16866 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16867
95b7042b
RM
168682011-11-11 Roland McGrath <roland@hack.frob.com>
16869
16870 * include/unistd.h: Fix __readlink return type.
16871 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16872
57769839
UD
168732011-11-11 Ulrich Drepper <drepper@gmail.com>
16874
16875 * stdlib/ucontext.h: Undo last change for makecontext.
16876
edc5984d
AS
168772011-11-11 Andreas Schwab <schwab@redhat.com>
16878
98591e58
AS
16879 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16880
edc5984d
AS
16881 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16882 * setjmp/setjmp.h: Mark functions as non-leaf.
16883 * setjmp/bits/setjmp2.h: Likewise.
16884 * stdlib/ucontext.h: Likewise.
16885
77cdc054
AS
168862011-11-10 Andreas Schwab <schwab@redhat.com>
16887
16888 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16889 (reused_arena): Don't check arena limit.
16890 (arena_get2): Atomically check arena limit.
16891
fe72eebd
UD
168922011-11-08 Ulrich Drepper <drepper@gmail.com>
16893
5f078c32
UD
16894 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16895 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16896
fe72eebd
UD
16897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16898 instructions.
16899
ae1bc2fa
AS
169002011-11-07 Andreas Schwab <schwab@redhat.com>
16901
7583a88d
AS
16902 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16903 handler when locking.
16904
ae1bc2fa
AS
16905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16906 Fix size of allocated buffer.
16907
10fb0bfa
AS
169082011-11-04 Andreas Schwab <schwab@redhat.com>
16909
998832a4
AS
16910 [BZ #10103]
16911 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16912 declarations for long double functions.
16913 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16914
10fb0bfa
AS
16915 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16916
3d7ba52b
AS
169172011-11-03 Andreas Schwab <schwab@redhat.com>
16918
a9ae54a1
AS
16919 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16920 installed.
16921
3d7ba52b
AS
16922 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16923 is disabled.
16924
bc8db248
ST
169252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16926
16927 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16928
45b96dd6
AS
169292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16930
647776f6
AS
16931 * include/alloca.h (stackinfo_alloca_round): Define.
16932 (extend_alloca): Use it.
16933 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16934 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16935 here.
16936
d91a8b93
AS
16937 * scripts/check-local-headers.sh: Ignore libaudit.h.
16938
45b96dd6
AS
16939 * nscd/Makefile (extra-objs): Make recursively expanded.
16940
432d41ce
UD
169412011-11-01 Ulrich Drepper <drepper@gmail.com>
16942
34372fc6
UD
16943 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16945
fadb59f8
UD
16946 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16947 * posix/tst-rfc3484-2.c: Likewise.
16948 * posix/tst-rfc3484-3.c: Likewise.
16949
78239589
UD
16950 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16951 process_vm_writev.
16952 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16953 process_vm_writev.
16954 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16955 process_vm_writev from libc using GLIBC_2.15 version.
16956
432d41ce
UD
16957 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16958
02f9c6cf
PP
169592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16960
16961 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16962 stack usage.
16963
3a2c0242
UD
169642011-10-31 Ulrich Drepper <drepper@gmail.com>
16965
f4ec4833
UD
16966 [BZ #13367]
16967 * nss/getent.c (initgroups_keys): Show error message in case no group
16968 names are given.
16969
3a2c0242
UD
16970 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16971 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16972 __bump_nl_timestamp.
16973 * nscd/connections (nscd_init): When host database is served open
16974 netlink socket and request notification about configuration changes.
16975 (main_loop_poll): Track netlink file descriptor and bump timestamp
16976 in case data becomes available.
16977 (main_loop_epoll): Likewise.
16978 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16979 (database_pers_head): Add extra_data fileds.
16980 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16981 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16982 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16983 Adjust caller.
16984 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16985 in6ai data, call __free_in6ai.
16986 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16987 Add -DHAVE_NETLINK.
16988 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16989 interface information. Reuse previous data if netlink timestamp
16990 is not changed.
16991 (__bump_nl_timestamp): New function.
16992 (__free_in6ai): New function.
16993
636064eb
UD
169942011-10-30 Ulrich Drepper <drepper@gmail.com>
16995
16996 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16997 close_not_cancel_no_status here.
16998 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16999
9beb2334
UD
170002011-10-29 Ulrich Drepper <drepper@gmail.com>
17001
6ef76f3b
UD
17002 [BZ #13276]
17003 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17004 return value.
17005
0ffc4f3e 17006 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
17007 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17008 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17009
cb95113e
UD
170102011-07-03 Andreas Jaeger <aj@suse.de>
17011
17012 [BZ #10709]
17013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17014 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17015 * math/libm-test.inc (sin_test): Add test case.
17016
a1b560ff
UD
170172011-10-29 Ulrich Drepper <drepper@gmail.com>
17018
c9aaface
UD
17019 [BZ #13337]
17020 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17021 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17022
d272e7f1
UD
17023 * elf/chroot_canon.c (chroot_canon): Cleanups.
17024
1bc33071
UD
17025 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17026
1760874d
TJ
17027 [BZ #13335]
17028 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17029 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17030
51d91b18
UD
17031 * string/test-strchr.c: Make usable for strchrnul testing.
17032 * string/test-strchrnul.c: New file.
17033 * string/Makefile (strop-tests): Add strchrnul.
17034
a1b560ff 17035 * po/it.po: Update from translation team.
b611fb81 17036 * po/es.po: Likewise.
a1b560ff 17037
a5b81e1f
UD
170382011-10-28 Ulrich Drepper <drepper@gmail.com>
17039
fd52bc6d
UD
17040 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17041 the three constants needed as parameters. Drop the others.
17042 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17043 __m128i_strloadu_tolower.
52e4b9eb
UD
17044 Create and initialize variable zero and use it in all the places
17045 where _mm_setzero_si128 was used.
fd52bc6d 17046
a5b81e1f
UD
17047 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17048 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17049 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17050 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17051 anymore.
17052 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17053 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17054 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17055 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17056 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17057 __mpranred, __mptan.
17058 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17059 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17060 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17061 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17062 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17063 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17064 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17065 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17066 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17067
b4343346
AS
170682011-10-28 Andreas Schwab <schwab@redhat.com>
17069
0c92d8a8
AS
17070 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17071 redefine if SHARED.
17072 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17073
b4343346
AS
17074 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17075 wide char related routines to wcsmbs subdir.
17076
3871f58f
AS
170772011-10-27 Andreas Schwab <schwab@redhat.com>
17078
17079 [BZ #13344]
17080 * misc/sys/cdefs.h (__THROWNL): Define.
17081 * posix/unistd.h: Use __THREADNL instead of __THREAD
17082 for memory synchronization functions.
17083
94d44d9f
RM
170842011-10-26 Roland McGrath <roland@hack.frob.com>
17085
21b64b15 17086 [BZ #13349]
94d44d9f
RM
17087 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17088 doesn't exist.
17089 * manual/stdio.texi (Obstack Streams): Node removed.
17090
f6ce9294
AS
170912011-10-26 Andreas Schwab <schwab@redhat.com>
17092
80479147
AS
17093 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17094 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17095 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17096
f6ce9294
AS
17097 * math/math_private.h (math_force_eval): Allow non-addressable
17098 arguments.
17099 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17100
618280a1
UD
171012011-10-25 Ulrich Drepper <drepper@gmail.com>
17102
e0016b11
UD
17103 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17104 file is not needed.
17105
17106 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17107 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17108 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17109 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17111 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17113 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17114 Add AVX variants.
17115 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17116 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17117 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17118 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17119 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17120 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17121 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17122 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17123 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17124 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17125 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17126 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17127 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17128 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17129 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17130 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17131 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17133 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17134
17135 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17136 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17137
618280a1
UD
17138 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17139 place. Use VEX encoding when compiling for AVX.
17140
37822576
AS
171412011-10-25 Andreas Schwab <schwab@redhat.com>
17142
1f1e1947
AS
17143 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17144 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17145
37822576
AS
17146 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17147
31ea014d
UD
171482011-10-25 Ulrich Drepper <drepper@gmail.com>
17149
d7826aa1 17150 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17151 useless if() expression.
d7826aa1
UD
17152 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17162 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17163 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17164 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17165 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17166 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17167 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17170 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17171
31ea014d
UD
17172 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17173
16437fec
AS
171742011-10-25 Andreas Schwab <schwab@redhat.com>
17175
17176 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17177 condition.
17178 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17179
31d3cc00
UD
171802011-10-25 Ulrich Drepper <drepper@gmail.com>
17181
17182 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17183 .text section. Avoid duplicate constants.
17184 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17190 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17192 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17193 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17194 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17196 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17199 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17201 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17207 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17208 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17209 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17210 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17211 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17212 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17213 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17214 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17215 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17217 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17218 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17219 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17220 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17221 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17222 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17223 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17224 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17225 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17226 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17227 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17228 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17229
58985aa9
UD
172302011-10-24 Ulrich Drepper <drepper@gmail.com>
17231
202c9deb
UD
17232 * sysdeps/x86_64/dla.h: Move to ...
17233 * sysdeps/x86_64/fpu/dla.h: ...here.
17234 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17235 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17236
af968f62
UD
17237 * config.make.in: Add have-mfma4 entry.
17238 * configure.in: Substitute libc_cv_cc_fma4.
17239 * math/Makefile (dbl-only-routines): Add sincostab.
17240 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17241 Use __sincostab not sincos.
17242 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17243 name is a macro.
17244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17245 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17248 using __copysign.
17249 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17250 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17251 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17252 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17253 and __inv.
17254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17255 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17256 __copysign.
17257 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17258 define aliases when function name is a macro.
17259 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17260 sysdeps/ieee754/dbl-64/sincos.tbl.
17261 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17262 fma4-enabled routines.
17263 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17264 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17265 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17266 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17267 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17268 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17270 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17271 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17272 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17273 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17274 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17275 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17276 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17277 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17278 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17279 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17280 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17281 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17282 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17283 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17284 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17285 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17286 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17288 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17290 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17291 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17292 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17293
58985aa9
UD
17294 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17295 rename.
17296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17297 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17299 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17301 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17303 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17304
a201fbcf
AS
173052011-10-24 Andreas Schwab <schwab@redhat.com>
17306
17307 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17308
fc2ee42a
LD
173092011-10-23 Ulrich Drepper <drepper@gmail.com>
17310
bb3129bd
UD
17311 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17312
0275fff8
UD
17313 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17314 prediction.
17315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17316
2fa2ae85
UD
17317 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17318 Remove unused variable magic_bits.
17319 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17320
fc2ee42a
LD
17321 * string/strnlen.c: Define and use STRNLEN macro.
17322 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17323 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17325 * wcsmbs/wcslen.c: Define and use WCSLEN.
17326 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17327 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17328 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17329 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17330 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17331 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17332 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17333
ce7dd29f
LD
173342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17335
17336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17337 strnlen-sse2-no-bsf.
17338 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17339 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17340 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17341 Add strnlen support.
17342 (USE_AS_STRNLEN): New macro.
17343 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17344 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17345 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17346 * sysdeps/x86_64/wcslen.S: New file.
17347
979c70a3
MZ
173482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17349
17350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17351 XMM-moves are used for copying on small sizes.
17352
2d09f82f
LD
173532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17354
17355 * wcsmbs/Makefile (strop-tests): Add wcschr.
17356 * wcsmbs/test-wcschr.c: New file.
17357 * string/test-strchr.c: Update.
17358 Add wcschr support.
17359 (WIDE): New macro.
17360
619fccca
LD
173612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17362
2d09f82f 17363 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17364 * wcsmbs/test-wcslen.c: New file.
17365 * string/test-strlen.c: Update.
17366 Add wcslen support.
17367 (WIDE): New macro.
17368
09f699ea
UD
173692011-10-23 Ulrich Drepper <drepper@gmail.com>
17370
17371 * po/it.po: Update from translation team.
17372
95584d3b
LD
173732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17374
17375 * sysdeps/x86_64/wcscmp.S: Update.
17376 Fix wrong comparison semantics.
17377 wcscmp shall use signed comparison not unsigned.
17378 Don't use substraction to avoid overflow bug.
17379 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17380 * wcsmbc/wcscmp.c: Likewise.
17381 * string/test-strcmp.c: Likewise.
17382 Add new tests to check cases with negative values.
17383
c8b3296b
UD
173842011-10-23 Ulrich Drepper <drepper@gmail.com>
17385
17386 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17387 * sysdeps/x86_64/dla.h: ...here. New file.
17388 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17397
246ad57a
AS
173982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17399
17400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17401 __ynl_finite aliases.
17402
a1a87169
UD
174032011-10-22 Ulrich Drepper <drepper@gmail.com>
17404
0d355eb7
UD
17405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17406
a1a87169
UD
17407 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17408 define DLA_FMA.
17409 [DLA_FMA] (EMULV): Use DLA_FMA.
17410 [DLA_FMA] (MUL12): Use EMULV.
17411 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17412 that are not needed.
17413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17420
ee2aafe0
AS
174212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17422
17423 * math/s_nan.c: Undef __nan.
17424 * math/s_nanf.c: Undef __nanf.
17425 * math/s_nanl.c: Undef __nanl.
17426 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17427 "math_private.h".
17428
bc62c2fb
UD
174292011-10-22 Ulrich Drepper <drepper@gmail.com>
17430
77425c63
UD
17431 * math/s_catan.c: Add branch predictions.
17432 * math/s_catanf.c: Likewise.
17433 * math/s_catanh.c: Likewise.
17434 * math/s_catanhf.c: Likewise.
17435 * math/s_catanhl.c: Likewise.
17436 * math/s_catanl.c: Likewise.
17437 * math/s_cexp.c: Likewise.
17438 * math/s_cexpf.c: Likewise.
17439 * math/s_cexpl.c: Likewise.
17440 * math/s_clog.c: Likewise.
17441 * math/s_clog10.c: Likewise.
17442 * math/s_clog10f.c: Likewise.
17443 * math/s_clog10l.c: Likewise.
17444 * math/s_clogf.c: Likewise.
17445 * math/s_clogl.c: Likewise.
17446 * math/s_csqrt.c: Likewise.
17447 * math/s_csqrtf.c: Likewise.
17448 * math/s_csqrtl.c: Likewise.
17449 * math/s_ctanf.c: Likewise.
17450 * math/s_ctanh.c: Likewise.
17451 * math/s_ctanhf.c: Likewise.
17452 * math/s_ctanhl.c: Likewise.
17453 * math/s_ctanl.c: Likewise.
17454
bc62c2fb
UD
17455 * math/math_private.h: Define __nan, __nanf, __nanl.
17456 * math/s_cacosh.c: Include <math_private.h>.
17457 * math/s_cacoshl.c: Likewise.
17458 * math/s_casinh.c: Likewise.
17459 * math/s_casinhf.c: Likewise.
17460 * math/s_casinhl.c: Likewise.
17461 * math/s_ccos.c: Rely entire on ccosh.
17462 * math/s_ccosf.c: Rely entire on ccoshf.
17463 * math/s_ccosl.c: Rely entirely on ccoshl.
17464 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17465 Remove tests for FE_INVALID.
17466 * math/s_ccoshf.c: Likewise.
17467 * math/s_ccoshl.c: Likewise.
17468 * math/s_csin.c: Likewise.
17469 * math/s_csinf.c: Likewise.
17470 * math/s_csinh.c Likewise.
17471 * math/s_csinhf.c: Likewise.
17472 * math/s_csinhl.c: Likewise.
17473 * math/s_csinl.c: Likewise.
17474 * math/s_ctan.c: Likewise.
17475 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17476 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17478
8ec250a4
UD
174792011-10-21 Ulrich Drepper <drepper@gmail.com>
17480
c196fed8
UD
17481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17482 compilation problems.
17483
8ec250a4
UD
17484 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17485 __builtin_expect.
17486
8d4f46c6
UD
174872011-10-20 Ulrich Drepper <drepper@gmail.com>
17488
ed72b654
UD
17489 * sysdeps/i386/configure.in: Test for -mfma4 option.
17490 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17491 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17492 COMMON_CPUID_INDEX_80000001.
17493 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17494 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17495 use it if FMA3 is not supported.
17496 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17497
8d4f46c6
UD
17498 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17499 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17500
d45c60c2
AS
175012011-10-20 Andreas Schwab <schwab@redhat.com>
17502
17503 [BZ #12892]
17504 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17505 it would create a cycle with a link time dependency.
17506
d9a4d2ab
UD
175072011-10-19 Ulrich Drepper <drepper@gmail.com>
17508
855d1560
UD
17509 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17510 instruction.
17511 * string/Makefile (strop-tests): Add rawmemchr.
17512 * string/test-rawmemchr.c: New file.
17513
d9a4d2ab
UD
17514 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17516 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17517 when compiling str{,n}casecmp and when AVX is available. Hook up
17518 new optimized code in initializers.
17519
8f3b1ffe
AS
175202011-10-19 Andreas Schwab <schwab@redhat.com>
17521
17522 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17523 __feraiseexcept instead of feraiseexcept.
17524
d38f1dba
UD
175252011-10-18 Ulrich Drepper <drepper@gmail.com>
17526
d9a8d0ab
UD
17527 * math/math_private.h: Define defaults for libc_fetestexcept and
17528 libc_feupdateenv.
17529 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17530 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17531 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17532 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17533 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17534 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17535 libc_fetestexcept and libc_feupdateenv.
17536
4855e3dd
UD
17537 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17538 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17539 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17540 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17541 libc_feholdexcept_setround.
17542
581d30e3
UD
17543 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17544 Add s_nearbyint-c and s_nearbyintf-c.
17545 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17546 nearbyintf inlines.
17547 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17548 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17549 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17550 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17551
d38f1dba
UD
17552 * math/math_private.h: Define defaults for libc_fegetround,
17553 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17554 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17555 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17557 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17558 standard functions.
17559 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17560 Remove comments and hacks for old compiler versions.
17561 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17562 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17563 libc_feholdexceptl.
17564
caa6c9d8
AS
175652011-10-18 Andreas Schwab <schwab@redhat.com>
17566
17567 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17568 (__feraiseexcept_renamed): Add __NTH.
17569 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17570 namespace violations.
17571
97c066e6
UD
175722011-10-17 Ulrich Drepper <drepper@gmail.com>
17573
99ce7b04
UD
17574 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17575
1004d182
UD
17576 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17577
228a984d
UD
17578 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17579 recently added interfaces.
17580 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17581
c8553a6a
UD
17582 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17583 about macro parameter expansion.
17584
ed22dcf6
UD
17585 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17586 __NO_MATH_INLINES is defined. Cleanups.
17587
17588 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17589 and __floorf is target has SSE4.1.
17590 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17591 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17592 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17593 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17594
b171c137
UD
17595 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17596 name.
17597 (floorf): Likewise.
17598
97c066e6
UD
17599 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17600
629f62ef
AS
176012011-10-17 Andreas Schwab <schwab@redhat.com>
17602
49a43d80
AS
17603 * misc/sys/cdefs.h: Fix last change.
17604
629f62ef
AS
17605 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17606 database lookup.
17607
e453f6cd
UD
176082011-10-16 Ulrich Drepper <drepper@gmail.com>
17609
aa78043a
UD
17610 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17611
ad0f5cad
UD
17612 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17613 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17614 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17617 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17618 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17619 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17620 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17621 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17622 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17623 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17624 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17625 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17626 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17627 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17628 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17629 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17630 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17631 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17632 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17633 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17634
17635 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17636 ceil, ceilf, floor, floorf.
17637
17638 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17639 Perform IRELATIVE relocations last.
17640
e453f6cd
UD
17641 * elf/do-rel.h: Add another parameter nrelative, replacing the
17642 local variable with the same name. Change name of the function
17643 to end in Rel or Rela (uppercase).
17644 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17645 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17646 elf_dynamic_do_##reloc function.
17647
fd5bdc09
UD
176482011-10-15 Ulrich Drepper <drepper@gmail.com>
17649
79b195b5
UD
17650 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17651 is sufficient, at least on modern CPUs.
17652
d4a28569
UD
17653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17654
b61099b5
UD
17655 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17656 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17657
bcf01e6d
UD
17658 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17659 __expl_finite.
17660 * math/bits/math-finite.h: Add entries for exp.
17661 * math/e_expl.c: Add __*_finite alias.
17662 * sysdeps/i386/fpu/e_exp.S: Likewise.
17663 * sysdeps/i386/fpu/e_expf.S: Likewise.
17664 * sysdeps/i386/fpu/e_expl.c: Likewise.
17665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17666 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17667 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17669 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17670 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17671 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17672
ba1a0d59
UD
17673 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17674 is sufficient, at least on modern CPUs.
17675
fd5bdc09
UD
17676 * ctype/ctype-info.c (__ctype_init): Define.
17677 * include/ctype.h (__ctype_init): Declare.
17678 (__ctype_b_loc): The variable is always initialized.
17679 (__ctype_toupper_loc): Likewise.
17680 (__ctype_tolower_loc): Likewise.
17681 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17682 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17683
7872cfb0
AS
176842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17685
b468825a
AS
17686 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17687
7872cfb0
AS
17688 * configure.in: Also look in $cxxmachine/include for C++ system
17689 headers.
17690
be13f7bf
LD
176912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17692
17693 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17694 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17695 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17696 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17698 (USE_AS_WMEMCMP): New macro.
17699 Fixing indents.
17700 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17701 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17702 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17703 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17705 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17706 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17707 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17708 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17709 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17710 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17711 (USE_AS_WMEMCMP): New macro.
17712 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17713 * sysdeps/string/test-memcmp.c: Update.
17714 Fix simple_wmemcmp.
17715 Add new tests.
17716 * wcsmbs/wmemcmp.c: Update.
17717 (WMEMCMP): New macro.
17718 Fix overflow bug.
17719
556a2007
AJ
177202011-10-12 Andreas Jaeger <aj@suse.de>
17721
17722 [BZ #13268]
17723 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17724
538faaa7
UD
177252011-10-15 Ulrich Drepper <drepper@gmail.com>
17726
ab6737ff
UD
17727 * libio/iofwide.c (do_length): Avoid warning.
17728
538faaa7
UD
17729 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17730
396a21b1
UD
177312011-10-14 Ulrich Drepper <drepper@gmail.com>
17732
cdf2901f
UD
17733 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17734
38ad40ce
UD
17735 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17736 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17737 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17738 * sysdeps/i386/i686/fpu/e_log.S: New file.
17739 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17740 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17741
396a21b1
UD
17742 * ctype/ctype.h: Add support for inlined isXXX functions when
17743 compiling C++ code.
17744
6b1f68c9
AS
177452011-10-14 Andreas Schwab <schwab@redhat.com>
17746
349290c0
AS
17747 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17748
6b1f68c9
AS
17749 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17750
f2282d42
RM
177512011-10-13 Roland McGrath <roland@hack.frob.com>
17752
17753 [BZ #13291]
17754 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17755
5298ffa8
AS
177562011-10-13 Andreas Schwab <schwab@redhat.com>
17757
714fad23
AS
17758 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17759 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17760 feraiseexcept.
17761
81dcc7fb
AS
17762 * sysdeps/x86_64/memrchr.S: Check for zero size.
17763
5298ffa8
AS
17764 * string/stratcliff.c: Add memrchr tests.
17765
951fbcec
LD
177662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17767
17768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17769 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17770 rawmemchr-sse2 rawmemchr-sse2-bsf.
17771 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17772 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17773 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17774 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17775 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17776 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17777 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17778 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17779 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17780 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17781 * string/memrchr.c (MEMRCHR): New macro.
17782
0ac5ae23
UD
177832011-10-12 Ulrich Drepper <drepper@gmail.com>
17784
17785 Add integration with gcc's -ffinite-math-only and optimize wrapper
17786 functions in libm.
17787 * Versions.def: Define GLIBC_2.15 version for libm.
17788 * math/Makefile (headers): Add bits/math-finite.h.
17789 * math/bits/math-finite.h: New file.
17790 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17791 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17792 * math/e_acoshl.c: Add __*_finite alias.
17793 * math/e_acosl.c: Likewise.
17794 * math/e_asinl.c: Likewise.
17795 * math/e_atan2l.c: Likewise.
17796 * math/e_atanhl.c: Likewise.
17797 * math/e_coshl.c: Likewise.
17798 * math/e_exp10.c: Likewise.
17799 * math/e_exp10f.c: Likewise.
17800 * math/e_exp10l.c: Likewise.
17801 * math/e_exp2l.c: Likewise.
17802 * math/e_fmodl.c: Likewise.
17803 * math/e_gammal_r.c: Likewise.
17804 * math/e_hypotl.c: Likewise.
17805 * math/e_j0l.c: Likewise.
17806 * math/e_j1l.c: Likewise.
17807 * math/e_jnl.c: Likewise.
17808 * math/e_lgammal_r.c: Likewise.
17809 * math/e_log10l.c: Likewise.
17810 * math/e_log2l.c: Likewise.
17811 * math/e_logl.c: Likewise.
17812 * math/e_powl.c: Likewise.
17813 * math/e_sinhl.c: Likewise.
17814 * math/e_sqrtl.c: Likewise.
17815 * math/e_scalb.c: Completely rewritten and optimized.
17816 * math/e_scalbf.c: Likewise.
17817 * math/e_scalbl.c: Likewise.
17818 * math/w_acos.c: Likewise.
17819 * math/w_acosf.c: Likewise.
17820 * math/w_acosl.c: Likewise.
17821 * math/w_acosh.c: Likewise.
17822 * math/w_acoshf.c: Likewise.
17823 * math/w_acoshl.c: Likewise.
17824 * math/w_asin.c: Likewise.
17825 * math/w_asinf.c: Likewise.
17826 * math/w_asinl.c: Likewise.
17827 * math/w_atan2.c: Likewise.
17828 * math/w_atan2f.c: Likewise.
17829 * math/w_atan2l.c: Likewise.
17830 * math/w_atanh.c: Likewise.
17831 * math/w_atanhf.c: Likewise.
17832 * math/w_atanhl.c: Likewise.
17833 * math/w_exp10.c: Likewise.
17834 * math/w_exp10f.c: Likewise.
17835 * math/w_exp10l.c: Likewise.
17836 * math/w_fmod.c: Likewise.
17837 * math/w_fmodf.c: Likewise.
17838 * math/w_fmodl.c: Likewise.
17839 * math/w_j0.c: Likewise.
17840 * math/w_j0f.c: Likewise.
17841 * math/w_j0l.c: Likewise.
17842 * math/w_j1.c: Likewise.
17843 * math/w_j1f.c: Likewise.
17844 * math/w_j1l.c: Likewise.
17845 * math/w_jn.c: Likewise.
17846 * math/w_jnf.c: Likewise.
17847 * math/w_log.c: Likewise.
17848 * math/w_logf.c: Likewise.
17849 * math/w_logl.c: Likewise.
17850 * math/w_log10.c: Likewise.
17851 * math/w_log10f.c: Likewise.
17852 * math/w_log10l.c: Likewise.
17853 * math/w_log2.c: Likewise.
17854 * math/w_log2f.c: Likewise.
17855 * math/w_log2l.c: Likewise.
17856 * math/w_pow.c: Likewise.
17857 * math/w_powf.c: Likewise.
17858 * math/w_powl.c: Likewise.
17859 * math/w_remainder.c: Likewise.
17860 * math/w_remainderf.c: Likewise.
17861 * math/w_remainderl.c: Likewise.
17862 * math/w_scalb.c: Likewise.
17863 * math/w_scalbf.c: Likewise.
17864 * math/w_scalbl.c: Likewise.
17865 * math/w_sqrt.c: Likewise.
17866 * math/w_sqrtf.c: Likewise.
17867 * math/w_sqrtl.c: Likewise.
17868 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17869 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17870 used.
17871 * math/math_private.h: Declare __kernel_standard_f.
17872 * math/w_cosh.c: Remove cruft and optimize a bit.
17873 * math/w_coshf.c: Likewise.
17874 * math/w_coshl.c: Likewise.
17875 * math/w_exp2.c: Likewise.
17876 * math/w_exp2f.c: Likewise.
17877 * math/w_exp2l.c: Likewise.
17878 * math/w_hypot.c: Likewise.
17879 * math/w_hypotf.c: Likewise.
17880 * math/w_hypotl.c: Likewise.
17881 * math/w_lgamma.c: Likewise.
17882 * math/w_lgamma_r.c: Likewise.
17883 * math/w_lgammaf.c: Likewise.
17884 * math/w_lgammaf_r.c: Likewise.
17885 * math/w_lgammal.c: Likewise.
17886 * math/w_lgammal_r.c: Likewise.
17887 * math/w_sinh.c: Likewise.
17888 * math/w_sinhf.c: Likewise.
17889 * math/w_sinhl.c: Likewise.
17890 * math/w_tgamma.c: Likewise.
17891 * math/w_tgammaf.c: Likewise.
17892 * math/w_tgammal.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17894 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17895 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17896 Minor optimizations. Pretty printing. Remove cruft.
17897 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17898 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17899 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17901 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17902 * sysdeps/i386/fpu/e_asin.S: Likewise.
17903 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17904 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17905 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17906 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17907 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17908 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17909 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17910 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17911 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17912 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17913 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17914 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17915 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17916 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17917 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17918 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17919 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17920 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17921 * sysdeps/i386/fpu/e_log.S: Likewise.
17922 * sysdeps/i386/fpu/e_log10.S: Likewise.
17923 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17924 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17925 * sysdeps/i386/fpu/e_log2.S: Likewise.
17926 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17927 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17928 * sysdeps/i386/fpu/e_logf.S: Likewise.
17929 * sysdeps/i386/fpu/e_logl.S: Likewise.
17930 * sysdeps/i386/fpu/e_pow.S: Likewise.
17931 * sysdeps/i386/fpu/e_powf.S: Likewise.
17932 * sysdeps/i386/fpu/e_powl.S: Likewise.
17933 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17934 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17935 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17936 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17937 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17938 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17939 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17940 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17941 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17948 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17950 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17951 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17952 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17962 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17963 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17965 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17966 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17967 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17969 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17970 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17971 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17973 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17974 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17976 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17977 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17978 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17981 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17982 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17983 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18025 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18027 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18030 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18033 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18034 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18035 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18036 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18037 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18038 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18039 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18040 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18041 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18042 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18043 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18044 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18045 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18046 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18047 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18048 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18049 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18050 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18051 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18052 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18053 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18054 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18055 (__isnanf): Likewise.
18056 (__isinf_ns): Likewise.
18057 (__isinf_nsf): Likewise.
18058 (__finite): Likewise.
18059 (__finitef): Likewise.
18060 (__ieee754_sqrt): Define as macro.
18061 (__ieee754_sqrtf): Define as macro.
18062 (__ieee754_sqrtl): Define as macro.
18063 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18064 inlined copy.
18065 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18066 __FINITE_MATH_ONLY__ consistent.
18067 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18068
12cc2fcd
AS
180692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18070
a843a204
AS
18071 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18072 of rawmemchr.
18073
12cc2fcd
AS
18074 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18075
c853acd5
UD
180762011-10-09 Ulrich Drepper <drepper@gmail.com>
18077
18078 * po/ja.po: Update from translation team.
18079
c658d255
RM
180802011-10-08 Roland McGrath <roland@hack.frob.com>
18081
110946e4
RM
18082 * locale/programs/locarchive.c (prepare_address_space): New function.
18083 (create_archive, enlarge_archive, open_archive): Use it.
18084
50604220
RM
18085 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18086 inside [SHARED], where it is used.
18087
c658d255
RM
18088 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18089
18090 * nss/getent.c (netgroup_keys): Remove unused variable.
18091 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18092
6a621eb7
UD
180932011-10-08 Ulrich Drepper <drepper@gmail.com>
18094
7edb55ce
UD
18095 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18096 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18098 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18099 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18100 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18101 * math/Makefile (libm-calls): Add s_isinf_ns.
18102 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18103 * math/multc3.c: Likewise.
18104 * math/s_casin.c: Likewise.
18105 * math/s_casinf.c: Likewise.
18106 * math/s_casinl.c: Likewise.
18107 * math/s_ccos.c: Likewise.
18108 * math/s_ccosf.c: Likewise.
18109 * math/s_ccosl.c: Likewise.
18110 * math/s_ctan.c: Likewise.
18111 * math/s_ctanf.c: Likewise.
18112 * math/s_ctanh.c: Likewise.
18113 * math/s_ctanhf.c: Likewise.
18114 * math/s_ctanhl.c: Likewise.
18115 * math/s_ctanl.c: Likewise.
18116 * math/w_fmod.c: Likewise.
18117 * math/w_fmodf.c: Likewise.
18118 * math/w_fmodl.c: Likewise.
18119 * math/w_remainder.c: Likewise.
18120 * math/w_remainderf.c: Likewise.
18121 * math/w_remainderl.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18123 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18124 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18126 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18127 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18128 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18129 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18130
187da0ae
UD
18131 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18132 of the number.
18133 * stdio-common/printf_fphex.c: Likewise.
18134 * stdio-common/printf_size.c: Likewise.
18135
9277c064
UD
18136 * math/e_exp10.c: Include math_private.h using <...> not "...".
18137 * math/e_exp10f.c: Likewise.
18138 * math/e_exp10l.c: Likewise.
18139 * math/e_exp2l.c: Likewise.
18140 * math/e_j0l.c: Likewise.
18141 * math/e_j1l.c: Likewise.
18142 * math/e_jnl.c: Likewise.
18143 * math/e_lgammal_r.c: Likewise.
18144 * math/e_rem_pio2l.c: Likewise.
18145 * math/e_scalb.c: Likewise.
18146 * math/e_scalbf.c: Likewise.
18147 * math/e_scalbl.c: Likewise.
18148 * math/k_cosl.c: Likewise.
18149 * math/k_sinl.c: Likewise.
18150 * math/k_tanl.c: Likewise.
18151 * math/s_cacoshf.c: Likewise.
18152 * math/s_catan.c: Likewise.
18153 * math/s_catanf.c: Likewise.
18154 * math/s_catanh.c: Likewise.
18155 * math/s_catanhf.c: Likewise.
18156 * math/s_catanhl.c: Likewise.
18157 * math/s_catanl.c: Likewise.
18158 * math/s_ccosh.c: Likewise.
18159 * math/s_ccoshf.c: Likewise.
18160 * math/s_ccoshl.c: Likewise.
18161 * math/s_cexp.c: Likewise.
18162 * math/s_cexpf.c: Likewise.
18163 * math/s_cexpl.c: Likewise.
18164 * math/s_clog.c: Likewise.
18165 * math/s_clog10.c: Likewise.
18166 * math/s_clog10f.c: Likewise.
18167 * math/s_clog10l.c: Likewise.
18168 * math/s_clogf.c: Likewise.
18169 * math/s_clogl.c: Likewise.
18170 * math/s_csin.c: Likewise.
18171 * math/s_csinf.c: Likewise.
18172 * math/s_csinh.c: Likewise.
18173 * math/s_csinhf.c: Likewise.
18174 * math/s_csinhl.c: Likewise.
18175 * math/s_csinl.c: Likewise.
18176 * math/s_csqrt.c: Likewise.
18177 * math/s_csqrtf.c: Likewise.
18178 * math/s_csqrtl.c: Likewise.
18179 * math/s_ctan.c: Likewise.
18180 * math/s_ctanf.c: Likewise.
18181 * math/s_ctanh.c: Likewise.
18182 * math/s_ctanhf.c: Likewise.
18183 * math/s_ctanhl.c: Likewise.
18184 * math/s_ctanl.c: Likewise.
18185 * math/s_ldexp.c: Likewise.
18186 * math/s_ldexpf.c: Likewise.
18187 * math/s_ldexpl.c: Likewise.
18188 * math/s_significand.c: Likewise.
18189 * math/s_significandf.c: Likewise.
18190 * math/s_significandl.c: Likewise.
18191 * math/w_acos.c: Likewise.
18192 * math/w_acosf.c: Likewise.
18193 * math/w_acosh.c: Likewise.
18194 * math/w_acoshf.c: Likewise.
18195 * math/w_acoshl.c: Likewise.
18196 * math/w_acosl.c: Likewise.
18197 * math/w_asin.c: Likewise.
18198 * math/w_asinf.c: Likewise.
18199 * math/w_asinl.c: Likewise.
18200 * math/w_atan2.c: Likewise.
18201 * math/w_atan2f.c: Likewise.
18202 * math/w_atan2l.c: Likewise.
18203 * math/w_atanh.c: Likewise.
18204 * math/w_atanhf.c: Likewise.
18205 * math/w_atanhl.c: Likewise.
18206 * math/w_cosh.c: Likewise.
18207 * math/w_coshf.c: Likewise.
18208 * math/w_coshl.c: Likewise.
18209 * math/w_dremf.c: Likewise.
18210 * math/w_exp10.c: Likewise.
18211 * math/w_exp10f.c: Likewise.
18212 * math/w_exp10l.c: Likewise.
18213 * math/w_exp2.c: Likewise.
18214 * math/w_exp2f.c: Likewise.
18215 * math/w_fmod.c: Likewise.
18216 * math/w_fmodf.c: Likewise.
18217 * math/w_fmodl.c: Likewise.
18218 * math/w_hypot.c: Likewise.
18219 * math/w_hypotf.c: Likewise.
18220 * math/w_hypotl.c: Likewise.
18221 * math/w_j0.c: Likewise.
18222 * math/w_j0f.c: Likewise.
18223 * math/w_j0l.c: Likewise.
18224 * math/w_j1.c: Likewise.
18225 * math/w_j1f.c: Likewise.
18226 * math/w_j1l.c: Likewise.
18227 * math/w_jn.c: Likewise.
18228 * math/w_jnf.c: Likewise.
18229 * math/w_jnl.c: Likewise.
18230 * math/w_lgamma.c: Likewise.
18231 * math/w_lgamma_r.c: Likewise.
18232 * math/w_lgammaf.c: Likewise.
18233 * math/w_lgammaf_r.c: Likewise.
18234 * math/w_lgammal.c: Likewise.
18235 * math/w_lgammal_r.c: Likewise.
18236 * math/w_log.c: Likewise.
18237 * math/w_log10.c: Likewise.
18238 * math/w_log10f.c: Likewise.
18239 * math/w_log10l.c: Likewise.
18240 * math/w_log2.c: Likewise.
18241 * math/w_log2f.c: Likewise.
18242 * math/w_log2l.c: Likewise.
18243 * math/w_logf.c: Likewise.
18244 * math/w_logl.c: Likewise.
18245 * math/w_pow.c: Likewise.
18246 * math/w_powf.c: Likewise.
18247 * math/w_powl.c: Likewise.
18248 * math/w_remainder.c: Likewise.
18249 * math/w_remainderf.c: Likewise.
18250 * math/w_remainderl.c: Likewise.
18251 * math/w_scalb.c: Likewise.
18252 * math/w_scalbf.c: Likewise.
18253 * math/w_scalbl.c: Likewise.
18254 * math/w_sinh.c: Likewise.
18255 * math/w_sinhf.c: Likewise.
18256 * math/w_sinhl.c: Likewise.
18257 * math/w_sqrt.c: Likewise.
18258 * math/w_sqrtf.c: Likewise.
18259 * math/w_sqrtl.c: Likewise.
18260 * math/w_tgamma.c: Likewise.
18261 * math/w_tgammaf.c: Likewise.
18262 * math/w_tgammal.c: Likewise.
18263
6a621eb7
UD
18264 * po/ja.po: Update from translation team.
18265
bf582445
AJ
182662011-09-29 Andreas Jaeger <aj@suse.de>
18267
f9efbf3a
AJ
18268 [BZ #13179]
18269 * sunrpc/netname.c (netname2host): Fix logic.
18270
bf582445
AJ
18271 [BZ #6779]
18272 [BZ #6783]
18273 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18274 correctly.
18275 * math/w_remainder.c (__remainder): Likewise.
18276 * math/w_remainderf.c (__remainderf): Likewise.
18277 * math/libm-test.inc (remainder_test): Add test cases.
18278
48693bea
AK
182792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18280
18281 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18282 sdiv_qrnnd.
18283
42622229
LD
182842011-10-07 Ulrich Drepper <drepper@gmail.com>
18285
18286 * string/test-memcmp.c: Avoid unncessary #defines.
18287 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18288
093ecf92
LD
182892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18290
18291 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18292 Use new sse2 version for core i3 - i7 as it's faster
18293 than sse42 version.
18294 (bit_Prefer_PMINUB_for_stringop): New.
18295 * sysdeps/x86_64/rawmemchr.S: Update.
18296 Replace with faster SSE2 version.
18297 * sysdeps/x86_64/memrchr.S: New file.
18298 * sysdeps/x86_64/memchr.S: Update.
18299 Replace with faster SSE2 version.
18300
fde56e5c
MP
183012011-09-12 Marek Polacek <mpolacek@redhat.com>
18302
18303 * elf/dl-load.c (lose): Add cast to avoid warning.
18304
21fd49a9
UD
183052011-10-07 Ulrich Drepper <drepper@gmail.com>
18306
5a06e643
UD
18307 * po/ca.po: Update from translation team.
18308
684ae515
UD
18309 * inet/getnetgrent_r.c: Hook up nscd.
18310 * nscd/Makefile (routines): Add nscd_netgroup.
18311 (nscd-modules): Add netgroupcache.
18312 (CFLAGS-netgroupcache.c): Define.
18313 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18314 (cache_search): Add const to second parameter.
18315 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18316 INNETGR.
18317 (dbs): Add netgrdb entry.
18318 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18319 (verify_persistent_db): Handle netgrdb.
18320 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18321 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18322 GETFDNETGR.
18323 (netgroup_response_header): Define.
18324 (innetgroup_response_header): Define.
18325 (datahead): Add netgroup_response_header and innetgroup_response_header
18326 elements.
18327 * nscd/nscd.conf: Add entries for netgroup cache.
18328 * nscd/nscd.h (dbtype): Add netgrdb.
18329 (_PATH_NSCD_NETGROUP_DB): Define.
18330 (netgroup_iov_disabled): Declare.
18331 (xmalloc, xcalloc, xrealloc): Move declarations here.
18332 (cache_search): Adjust prototype.
18333 Add netgroup-related prototypes.
18334 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18335 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18336 (__nscd_innetgr): Declare.
18337 * nscd/selinux.c (perms): Use access_vector_t as element type and
18338 add netgroup-related initializers.
18339 * nscd/netgroupcache.c: New file.
18340 * nscd/nscd_netgroup.c: New file.
18341 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18342 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18343 For four parameters use innetgr.
18344 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18345 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18346 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18347 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18348
21fd49a9
UD
18349 * nscd/connections.c (register_traced_file): Don't register file
18350 for disabled databases.
18351
054c0457
UD
183522011-10-06 Ulrich Drepper <drepper@gmail.com>
18353
32b63198
UD
18354 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18355
054c0457
UD
18356 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18357 from tree and freeing node.
18358
64031225
JO
183592011-09-25 Jiri Olsa <jolsa@redhat.com>
18360
18361 * nss/nsswitch.c (__nss_database_lookup): Handle
18362 nss_parse_service_list out of memory case.
18363
0490345c
JO
183642011-09-15 Jiri Olsa <jolsa@redhat.com>
18365
18366 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18367 out of memory case.
18368
3a62d00d
AS
183692011-10-04 Andreas Schwab <schwab@redhat.com>
18370
18371 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18372 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18373 pass it down.
18374 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18375 elf_machine_rela, elf_machine_lazy_rel.
18376 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18377 (ELF_DYNAMIC_DO_REL): Likewise.
18378 (ELF_DYNAMIC_DO_RELA): Likewise.
18379 (ELF_DYNAMIC_RELOCATE): Likewise.
18380 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18381 to ELF_DYNAMIC_DO_REL.
18382 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18383 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18384 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18385 elf_machine_rela.
18386 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18387 skip_ifunc, don't call ifunc function if non-zero.
18388 (elf_machine_rela): Likewise.
18389 (elf_machine_lazy_rel): Likewise.
18390 (elf_machine_lazy_rela): Likewise.
18391 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18392 (elf_machine_lazy_rel): Likewise.
18393 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18394 Likewise.
18395 (elf_machine_lazy_rel): Likewise.
18396 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18397 Likewise.
18398 (elf_machine_lazy_rel): Likewise.
18399 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18400 (elf_machine_lazy_rel): Likewise.
18401 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18402 (elf_machine_lazy_rel): Likewise.
18403 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18404 (elf_machine_lazy_rel): Likewise.
18405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18406 (elf_machine_lazy_rel): Likewise.
18407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18408 (elf_machine_lazy_rel): Likewise.
18409 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18410 (elf_machine_lazy_rel): Likewise.
18411
68577918
UD
184122011-09-28 Ulrich Drepper <drepper@gmail.com>
18413
18414 * nss/nss_files/files-init.c (_nss_files_init): Use static
18415 initialization for all the *_traced_file variables.
18416
68822d74
AS
184172011-09-28 Andreas Schwab <schwab@redhat.com>
18418
18419 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18420
2056100b
RM
184212011-09-27 Roland McGrath <roland@hack.frob.com>
18422
18423 [BZ #13226]
18424 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18425
32c76b63
AS
184262011-09-27 Andreas Schwab <schwab@redhat.com>
18427
18428 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18429 Reread the line before reparsing it.
18430
bf972c9d
AS
184312011-09-26 Andreas Schwab <schwab@redhat.com>
18432
18433 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18434
e057a1b5
JM
184352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18436 Maxim Kuvyrkov <maxim@codesourcery.com>
18437 Joseph Myers <joseph@codesourcery.com>
18438
18439 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18440 if needed for __stack_chk_guard.
18441
bc7e1c36
RM
184422011-09-19 Roland McGrath <roland@hack.frob.com>
18443
ecb1482f
RM
18444 * sysdeps/posix/spawni.c (script_execute): Always define it.
18445 It will be optimized away if unused.
18446 (maybe_script_execute): New function.
18447 (__spawni): Call it.
18448
bc7e1c36
RM
18449 * Makerules: Don't include tls.make.
18450 (config-tls): Always set to thread.
18451 * tls.make.c: File removed.
18452
1c3b002b
MF
184532011-09-19 Mike Frysinger <vapier@gentoo.org>
18454
18455 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18456 * config.make.in (CPPFLAGS-config): New substituted variable.
18457
2840865d
UD
184582011-09-15 Ulrich Drepper <drepper@gmail.com>
18459
88738eb6
UD
18460 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18461
cbf645a6 18462 [BZ #13192]
2840865d
UD
18463 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18464 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18465
b402e91a
RM
184662011-09-15 Roland McGrath <roland@hack.frob.com>
18467
18468 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18469 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18471 (CALL_FAIL): Likewise.
18472 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18473 (CALL_FAIL): Macro removed.
18474 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18475
4c1a1f71
UD
184762011-09-15 Ulrich Drepper <drepper@gmail.com>
18477
18478 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18479 for __FINITE_MATH_ONLY__ == 1.
18480
edc121be
AS
184812011-09-15 Andreas Schwab <schwab@redhat.com>
18482
18483 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18484 __ieee754_sqrt instead of sqrt.
18485 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18486 __ieee754_sqrtf instead of sqrtf.
18487 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18488 __floorf instead of floorf.
18489 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18490 __floorf, __truncf instead of floorf, truncf.
18491
cd205654
UD
184922011-09-14 Ulrich Drepper <drepper@gmail.com>
18493
ee4d0315
UD
18494 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18495
cd205654
UD
18496 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18497 __extern_always_inline.
18498 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18499 32-bit.
18500
48b67d71
AS
185012011-09-14 Andreas Schwab <schwab@redhat.com>
18502
18503 * elf/rtld.c (dl_main): Also relocate in dependency order when
18504 doing symbol dependency testing.
18505
1ae12c75
AS
185062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18507
18508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18509 Always define `refsym'.
18510
995a80df
AS
185112011-09-13 Andreas Schwab <schwab@redhat.com>
18512
e529793b
AS
18513 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18514 (__FD_ELT): Renamed from __FDELT.
18515 * misc/bits/select2.h (__FD_ELT): Likewise.
18516 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18517 __FD_MASK instead of __FDELT, __FDMASK.
18518 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18519 Likewise.
18520 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18521 Likewise.
18522
52d4fef8
AS
18523 * elf/Makefile (gen-ldd): Fix pattern.
18524
995a80df
AS
18525 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18526 (init_tls): Likewise.
18527
8682f8b0
UD
185282011-09-12 Ulrich Drepper <drepper@gmail.com>
18529
18530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18531
de82006d
AS
185322011-09-12 Andreas Schwab <schwab@redhat.com>
18533
a7c8e6a1
AS
18534 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18535 `struct cmsghdr *' instead of `void *'.
18536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18537 Likewise.
18538
0f31fe77
AS
185392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18540
18541 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18542 if non-absolute.
18543 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18544 ldd_rewrite_script.
0f31fe77 18545
32b4c839
UD
185462011-09-11 Ulrich Drepper <drepper@gmail.com>
18547
83cd1420
UD
18548 * configure.in: Remove --with-tls option.
18549 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18550 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18551 out in case it is missing.
18552 * sysdeps/ia64/elf/configure.in: Likewise.
18553 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18554 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18555 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18556 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18557 * sysdeps/sh/elf/configure.in: Likewise.
18558 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18559 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18560 * sysdeps/x86_64/elf/configure.in: Likewise.
18561 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18562 * sysdeps/mach/hurd/tls.h: Likewise.
18563
633f745d
UD
18564 [BZ #13067]
18565 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18566
f318beb8
UD
18567 [BZ #13090]
18568 * configure.in: Fix use of AC_INIT.
18569
32b4c839
UD
18570 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18571
3ce1f295
UD
185722011-09-10 Ulrich Drepper <drepper@gmail.com>
18573
bb016596
UD
18574 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18575 __set_errno.
8e58439c
UD
18576 * malloc/hooks.c: Likewise.
18577
aebae053 18578 [BZ #11929]
02d46fc4
UD
18579 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18580 variables statically.
18581 (narenas): Initialize.
18582 (list_lock): Initialize.
bb016596
UD
18583 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18584 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18585 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18586 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18587 Add initializers to main_arena and mp_.
18588 (malloc_state): Remove pagesize member. Change all users to use
18589 GLRO(dl_pagesize).
18590
18591 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18592 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18593 is always initialized.
18594
22a89187
UD
18595 * malloc/malloc.c: Removed unused configurations and dead code.
18596 * malloc/arena.c: Likewise.
18597 * malloc/hooks.c: Likewise.
02d46fc4 18598 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18599
d063d164
UD
18600 * include/tls.h: Removed. USE___THREAD must always be defined.
18601 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18602 * elf/dl-libc.c: Likewise.
18603 * elf/dl-tsd.c: Likewise.
18604 * include/errno.h: Likewise.
18605 * include/netdb.h: Likewise.
18606 * include/resolv.h: Likewise.
18607 * inet/herrno-loc.c: Likewise.
18608 * inet/herrno.c: Likewise.
18609 * malloc/arena.c: Likewise.
18610 * malloc/hooks.c: Likewise.
18611 * malloc/malloc.c: Likewise.
18612 * resolv/res-state.c: Likewise.
18613 * resolv/res_libc.c: Likewise.
18614 * sysdeps/i386/dl-machine.h: Likewise.
18615 * sysdeps/ia64/dl-machine.h: Likewise.
18616 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18617 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18618 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18619 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18620 * sysdeps/sh/dl-machine.h: Likewise.
18621 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18622 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18623 * sysdeps/unix/i386/sysdep.S: Likewise.
18624 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18625 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18630 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18632 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18634 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18635 * sysdeps/x86_64/dl-machine.h: Likewise.
18636 * tls.make.c: Likewise.
18637
3ce1f295
UD
18638 * configure.in: Remove --with-__thread option. Make tests for
18639 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18640 tls_model attribute fail if no support is available. Remove
18641 USE_IN_LIBIO.
18642 * Makeconfig: Adjust for dropped configure option. All features are
18643 now mandatory.
18644 * Makerules: Likewise.
18645 * Versions.def: Likewise.
18646 * argp/argp-fmtstream.c: Likewise.
18647 * argp/argp-fmtstream.h: Likewise.
18648 * argp/argp-help.c: Likewise.
18649 * assert/assert.c: Likewise.
18650 * config.h.in: Likewise.
18651 * config.make.in: Likewise.
18652 * configure: Likewise.
18653 * configure.in: Likewise.
18654 * csu/Versions: Likewise.
18655 * csu/init.c: Likewise.
18656 * elf/tst-audit2.c: Likewise.
18657 * elf/tst-tls10.c: Likewise.
18658 * elf/tst-tls10.h: Likewise.
18659 * elf/tst-tls11.c: Likewise.
18660 * elf/tst-tls12.c: Likewise.
18661 * elf/tst-tls14.c: Likewise.
18662 * elf/tst-tlsmod11.c: Likewise.
18663 * elf/tst-tlsmod12.c: Likewise.
18664 * elf/tst-tlsmod13.c: Likewise.
18665 * elf/tst-tlsmod13a.c: Likewise.
18666 * elf/tst-tlsmod14a.c: Likewise.
18667 * elf/tst-tlsmod15b.c: Likewise.
18668 * elf/tst-tlsmod16a.c: Likewise.
18669 * elf/tst-tlsmod16b.c: Likewise.
18670 * elf/tst-tlsmod7.c: Likewise.
18671 * elf/tst-tlsmod8.c: Likewise.
18672 * elf/tst-tlsmod9.c: Likewise.
18673 * gmon/gmon.c: Likewise.
18674 * grp/fgetgrent_r.c: Likewise.
18675 * grp/putgrent.c: Likewise.
18676 * hurd/fopenport.c: Likewise.
18677 * include/libc-symbols.h: Likewise.
18678 * include/tls.h: Likewise.
18679 * intl/gettextP.h: Likewise.
18680 * intl/loadinfo.h: Likewise.
18681 * locale/global-locale.c: Likewise.
18682 * locale/localeinfo.h: Likewise.
18683 * mach/devstream.c: Likewise.
18684 * malloc/arena.c: Likewise.
18685 * malloc/set-freeres.c: Likewise.
18686 * misc/err.c: Likewise.
18687 * misc/getttyent.c: Likewise.
18688 * misc/mntent_r.c: Likewise.
18689 * posix/getopt.c: Likewise.
18690 * posix/wordexp.c: Likewise.
18691 * pwd/fgetpwent_r.c: Likewise.
18692 * resolv/Versions: Likewise.
18693 * resolv/res_hconf.c: Likewise.
18694 * shadow/fgetspent_r.c: Likewise.
18695 * shadow/putspent.c: Likewise.
18696 * stdio-common/printf_fphex.c: Likewise.
18697 * stdio-common/tmpfile.c: Likewise.
18698 * stdlib/abort.c: Likewise.
18699 * stdlib/fmtmsg.c: Likewise.
18700 * sunrpc/auth_unix.c: Likewise.
18701 * sunrpc/clnt_perr.c: Likewise.
18702 * sunrpc/clnt_tcp.c: Likewise.
18703 * sunrpc/clnt_udp.c: Likewise.
18704 * sunrpc/clnt_unix.c: Likewise.
18705 * sunrpc/openchild.c: Likewise.
18706 * sunrpc/svc_simple.c: Likewise.
18707 * sunrpc/svc_tcp.c: Likewise.
18708 * sunrpc/svc_udp.c: Likewise.
18709 * sunrpc/svc_unix.c: Likewise.
18710 * sunrpc/xdr.c: Likewise.
18711 * sunrpc/xdr_array.c: Likewise.
18712 * sunrpc/xdr_rec.c: Likewise.
18713 * sunrpc/xdr_ref.c: Likewise.
18714 * sunrpc/xdr_stdio.c: Likewise.
18715
1248c1c4
PB
187162011-09-09 Ulrich Drepper <drepper@gmail.com>
18717
18718 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18719
187202011-07-03 Andreas Jaeger <aj@suse.de>
18721
18722 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18723 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18724 regenerate with gen-libm-tests.pl.
18725
187262010-05-12 Petr Baudis <pasky@suse.cz>
18727
18728 [BZ #11589]
18729 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18730 around j0() zero points by switching to j1().
18731 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18735
f22e1074
UD
187362011-09-09 Ulrich Drepper <drepper@gmail.com>
18737
f19009c1
UD
18738 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18739 instead of 0.
18740 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18741 instead of 0. .
18742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18743 Patch in part by Pavel Roskin <proski@gnu.org>.
18744
3f8cc204
UD
18745 [BZ #13138]
18746 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18747 realloc.
18748 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18749 Free memory block if necessary.
18750
f22e1074
UD
18751 [BZ #12847]
18752 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18753 be NULL. Don't lock in this case.
18754
0a2349f9
RM
187552011-09-09 Roland McGrath <roland@hack.frob.com>
18756
18757 * elf/elf.h (ELFOSABI_GNU): New macro.
18758 (ELFOSABI_LINUX): Define to that.
18759
f3cdd467
DZ
187602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18761
18762 * string/strncat.c (strncat): Undef the symbol in case it has been
18763 defined in bits/string.h.
18764
74718d13
UD
187652011-09-09 Ulrich Drepper <drepper@gmail.com>
18766
633e9e0f
UD
18767 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18768
0a2349f9 18769 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18770 link map.
18771
f9924780
AJ
187722011-08-17 Andreas Jaeger <aj@suse.de>
18773
18774 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18775
7f5517aa
PP
187762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18777 Ian Lance Taylor <iant@google.com>
18778
18779 * math/libm-test.inc (lround_test): New testcase.
18780 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18781
762011fe
UD
187822011-09-08 Ulrich Drepper <drepper@gmail.com>
18783
92963737
UD
18784 * Makefile: Remove support for automatic cvs check-ins.
18785 * Makerules: Likewise.
18786 * config.make.in: Likewise.
18787 * configure.in: Likewise.
18788 * intl/Makefile: Likewise.
18789 * locale/Makefile: Likewise.
18790 * po/Makefile: Likewise.
18791 * posix/Makefile: Likewise.
18792 * sysdeps/gnu/Makefile: Likewise.
18793 * sysdeps/mach/hurd/Makefile: Likewise.
18794 * sysdeps/sparc/sparc32/Makefile: Likewise.
18795
b0727fd8
JS
18796 [BZ #13118]
18797 * posix/Makefile (bug-regex32-ENV): Define.
18798 Patch by John Stanley <jpsinthemix@verizon.net>.
18799
a0f33f99
UD
18800 * misc/Makefile (headers): Add bits/select2.h.
18801 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18802 * misc/bits/select2.h: New file.
18803 * include/bits/select2.h: New file.
18804 * debug/Makefile (routines): Add fdelt_chk.
18805 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18806 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18807 FD_ISSET.
18808 * debug/fdelt_chk.c: New file.
18809
762011fe
UD
18810 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18811 * wcsmbs/test-wmemcmp.c: Likewise.
18812 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18813 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18814
188152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18816
18817 * string/Makefile (strop-tests): Add memcmp.
18818 * string/test-wmemcmp.c: New file.
18819 * string/test-memcmp.c: Add wmemcmp support.
18820
7f513ec8
RM
188212011-09-08 Roland McGrath <roland@hack.frob.com>
18822
0442afb4
RM
18823 [BZ #13153]
18824 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18825 2011-07-19 change.
18826
7f513ec8
RM
18827 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18828 garbage value in a __mach_port_mod_refs call in the cases of the
18829 task-self and thread-self ports.
18830
a12b2239
ST
188312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18832
18833 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18834
610f9ab4
AS
188352011-09-08 Andreas Schwab <schwab@redhat.com>
18836
7f513ec8 18837 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18838
48882a1a
LD
188392011-09-07 Ulrich Drepper <drepper@gmail.com>
18840
b49865be
UD
18841 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18842
fdc86bc9
UD
18843 * elf/dl-libc.c (dlerror_run): Pass back error code from
18844 dl_catch_error.
18845
c966526a
UD
18846 [BZ #13123]
18847 * elf/dl-load.c (lose): Free l_origin if it is valid.
18848
48882a1a
LD
18849 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18850 names.
18851 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18852 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18854 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18856 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18857
77a2a8b4
AZ
188582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18859
18860 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18861 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18862 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18863 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18864 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18865 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18866 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18867 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18868 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18869 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18870
24f579d8
AM
188712011-08-15 Alan Modra <amodra@gmail.com>
18872
18873 [BZ #13092]
18874 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18875 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18876 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18877 ppc_mcount to static-only-routines.
18878 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18879 __mcount_internal.
18880 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18881 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18882
3d4837df
UD
188832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18884
18885 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18886 for finite and infinity parameters.
18887
22700377
WS
188882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18889
18890 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18891 and add nop instructions for throughput optimization.
18892 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18893
5025581e
WS
188942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18895
18896 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18897 aligned copy for power7 with vector-scalar instructions.
18898 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18899
08a300c9
L
189002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18903 AVX check.
18904
59178ef9
AS
189052011-09-07 Andreas Schwab <schwab@redhat.com>
18906
18907 [BZ #13144]
18908 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18909 last change.
18910
e38ba7ab
UD
189112011-09-07 Ulrich Drepper <drepper@gmail.com>
18912
18913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18914 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18915 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18916 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18917 clock_gettime.
18918
d53a73ac
UD
189192011-09-06 Ulrich Drepper <drepper@gmail.com>
18920
fc8bffcc
UD
18921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18922 Forgot to demangle the pointer.
18923
ceaa0c5d
UD
18924 * sysdeps/i386/sysdep.h: Define atom_text_section.
18925 * sysdeps/x86_64/sysdep.h: Likewise.
18926 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18927 section with atom_text_section.
18928 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18929 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18930 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18931 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18932 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18933
a77d3c17
UD
18934 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18935 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18936 already be defined. Change to take two parameters and don't assign
18937 result to variable. Adjust all users.
18938 Define INTERNAL_GETTIME if not already defined.
18939 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18940 call.
18941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18942 HAVE_CLOCK_GETTIME_VSYSCALL.
18943 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18944
d53a73ac
UD
18945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18946 gettimeofday vsyscall, just use time.
18947
a8f84144
AS
189482011-09-06 Andreas Schwab <schwab@redhat.com>
18949
18950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18951 <errno.h>.
18952
ef606249
UD
189532011-09-06 Ulrich Drepper <drepper@gmail.com>
18954
18955 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18956 syscall on x86-64.
18957 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18958 syscall.
18959 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18961 syscall if possible.
18962
6585cb60
UD
189632011-09-05 Ulrich Drepper <drepper@gmail.com>
18964
18965 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18966 e_ident. Don't pass to find_mapsXX.
18967 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18968
a5f524e4
LD
189692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18970
18971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18972 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18973 * sysdeps/x86_64/multiarch/strchr.S: Update.
18974 Check bit_slow_BSF bit.
18975 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18976 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18977 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18978
554881ef
UD
189792011-09-05 Ulrich Drepper <drepper@gmail.com>
18980
d96de963
UD
18981 [BZ #13134]
18982 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18983 before glibc 2.15.
18984 (tryshell): Define.
18985 (__spawni): Change last parameter to be flag. Test
18986 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18987 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18988 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18989 * posix/spawni.c: Likewise.
18990 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18991 * posix/spawnp.c: Likewise. Change normal version to use
18992 SPAWN_XFLAGS_USE_PATH.
18993 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18994 SPAWN_XFLAGS_TRY_SHELL.
18995
d48e5868
UD
18996 [BZ #13150]
18997 * posix/glob.h: Remove gcc 1.x support.
18998
554881ef
UD
18999 [BZ #13068]
19000 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19001
693fb948
LD
190022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19003
19004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19005 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19006 strrchr-sse2-bsf
19007 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19008 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19009 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19010 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19011 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19012 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19013
1b48c537
UD
190142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19015
49d42c37
UD
19016 * sysdeps/x86_64/wcscmp.S: New file.
19017
1b48c537
UD
19018 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19019 wcscmp-c wcscmp-sse2
19020 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19021 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19022 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19023 * wcsmbs/wcscmp.c: Allow renaming.
19024
15c95c5d
DM
190252011-09-05 David S. Miller <davem@davemloft.net>
19026
19027 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19028 stack slot, rather than the struct return pointer slot.
19029 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19030 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19032 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19033
2f0ad8f3
UD
190342011-09-05 Ulrich Drepper <drepper@gmail.com>
19035
d88ae418
UD
19036 * po/ja.po: Update from translation team.
19037
2f0ad8f3
UD
19038 [BZ #13144]
19039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19040 kernel in 64-bit binaries.
19041
5f4318d1
DM
190422011-09-01 David S. Miller <davem@davemloft.net>
19043
19044 * elf/elf.h (HWCAP_SPARC_*): Move to..
19045 * sysdeps/sparc/sysdep.h: this new file and add new values.
19046 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19047 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19048 _DL_HWCAP_COUNT to 24.
19049 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19050 entries.
19051 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19052 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19053 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19055 instead of magic constants.
19056 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19057
3ba57516
DM
190582011-08-31 David S. Miller <davem@davemloft.net>
19059
19060 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19062 Reimplement to do errno handling inline.
19063 (SYSCALL_ERROR_HANDLER): New macro.
19064 (__SYSCALL_STRING): Do not do errno handling in asm.
19065 (__CLONE_SYSCALL_STRING): Delete.
19066 (__INTERNAL_SYSCALL_STRING): Delete.
19067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19068 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19069 (PSEUDO): Reimplement to do errno handling inline.
19070 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19071 (SYSCALL_ERROR_HANDLER): New macro.
19072 (__SYSCALL_STRING): Do not do errno handling in asm.
19073 (__CLONE_SYSCALL_STRING): Delete.
19074 (__INTERNAL_SYSCALL_STRING): Delete.
19075 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19076 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19077 i386.
19078 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19079 (inline_syscall*): Add 'err' argument.
19080 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19081 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19082 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19083 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19084
19085 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19086 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19087
2bc17433
AS
190882011-08-30 Andreas Schwab <schwab@redhat.com>
19089
19090 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19091
fbeb5f4d
JO
190922011-08-29 Jiri Olsa <jolsa@redhat.com>
19093
19094 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19095 directive.
19096
ad69cc26
DM
190972011-08-24 David S. Miller <davem@davemloft.net>
19098
19099 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19100
39dd69df
AS
191012011-08-24 Andreas Schwab <schwab@redhat.com>
19102
19103 * elf/Makefile: Add rules to build and run unload8 test.
19104 * elf/unload8.c: New file.
19105 * elf/unload8mod1.c: New file.
19106 * elf/unload8mod1x.c: New file.
19107 * elf/unload8mod2.c: New file.
19108 * elf/unload8mod3.c: New file.
19109
19110 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19111 it wasn't used.
19112
2c0b250a
DM
191132011-08-23 David S. Miller <davem@davemloft.net>
19114
19115 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19116 subtract stack bias.
19117 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19118 %sp not %fp in calculations.
19119 (_JMPBUF_UNWINDS_ADJ): Likewise.
19120
22044b48
DM
19121 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19122 (aio_suspend): Call it to force an exception region around the
19123 AIO_MISC_WAIT() invocation.
19124
2cae4995
AS
191252011-08-23 Andreas Schwab <schwab@redhat.com>
19126
19127 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19128 backslash.
19129
873a772e
AJ
191302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19131
19132 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19133 protection macro.
19134 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19135 and <dl-machine.h>.
19136 (Elf64_FuncDesc): Remove.
19137
25ad0df1
DM
191382011-08-22 David S. Miller <davem@davemloft.net>
19139
19140 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19141 sigaltstack check, add missing cfi directives.
19142 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19143 missing cfi directives, and sigaltstack handling.
19144
e888bcbe
AS
191452011-08-16 Andreas Schwab <schwab@redhat.com>
19146
19147 [BZ #11724]
19148 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19149 object is seen twice.
19150 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19151
19152 * elf/Makefile (distribute): Add tst-initorder2.c.
19153 (tests): Add tst-initorder2.
19154 (modules-names): Add tst-initorder2a tst-initorder2b
19155 tst-initorder2c tst-initorder2d. Add rules to build them.
19156 ($(objpfx)tst-initorder2.out): New rule.
19157 * elf/tst-initorder2.c: New file.
19158 * elf/tst-initorder2.exp: New file.
19159
87162f46
AS
191602011-08-22 Andreas Schwab <schwab@redhat.com>
19161
70538b7f
AS
19162 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19163
f55ffe58
AS
19164 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19165 dependencies back to end of function.
19166
87162f46
AS
19167 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19168 $(elfobjdir)/ld.so.
19169
91b392a4
UD
191702011-08-21 Ulrich Drepper <drepper@gmail.com>
19171
19172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19173 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19175 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19176 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19177 of __vdso_gettimeofday.
19178 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19179 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19180 attribute_hidden.
19181 (_libc_vdso_platform_setup): Remove initialization of
19182 __vdso_gettimeofday and __vdso_time.
19183
5c43483f
UD
191842011-08-20 Ulrich Drepper <drepper@gmail.com>
19185
775a77e7
UD
19186 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19187 and fgetc_unlocked.
19188 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19189 getc_unlocked.
89f447ed 19190
49c74ba9
UD
19191 * elf/dl-open.c (add_to_global): Report additions to the global scope
19192 for LD_DEBUG=scopes.
19193 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19194 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19195
5c43483f
UD
19196 [BZ #13114]
19197 * stdio-common/Makefile (tests): Add bug24.
19198 * stdio-common/bug24.c: New file.
19199
a101b025
AJ
192002011-08-19 Andreas Jaeger <aj@suse.de>
19201
19202 [BZ #13114]
19203 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19204 non-existant file when using close-on-exec mode.
19205
c88f1766
UD
192062011-08-20 Ulrich Drepper <drepper@gmail.com>
19207
0276a718
UD
19208 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19209 the very first instruction.
19210
c88f1766
UD
19211 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19212 the CFI state in the end.
19213 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19214 inclusion of dl-trampoline.h.
19215 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19216
51ccffa0
AS
192172011-08-19 Andreas Schwab <schwab@redhat.com>
19218
94d7165f
AS
19219 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19220 expectations for long double.
19221
51ccffa0
AS
19222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19223 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19224
fd708658 192252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19226
19227 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19228 artificual limit depends upon the system page size.
19229
44f0a71e
UD
192302011-08-17 Ulrich Drepper <drepper@gmail.com>
19231
19232 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19233 * resolv/Makefile: Define CFLAGS-libresolv.
19234
8de79a24
AS
192352011-08-17 Andreas Schwab <schwab@redhat.com>
19236
19237 * nss/makedb.c (compute_tables): Make variables used in nested
19238 function static.
19239
27724598
UD
192402011-08-17 Ulrich Drepper <drepper@gmail.com>
19241
c5305d88
UD
19242 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19243 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19244 if buffer was too small.
19245
27724598
UD
19246 * elf/pldd.c (main): Attach to all threads in the process.
19247 Rewrite /proc handling to use *at functions.
19248
076fe015
UD
192492011-08-16 Ulrich Drepper <drepper@gmail.com>
19250
174baab3
UD
19251 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19252 specifies first scope to show.
19253 (dl_open_worker): Update callers. Move printing scope of new
19254 object to before the relocation.
44f0a71e 19255 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19256 * sysdeps/generic/ldsodefs.h: Update declaration.
19257
076fe015
UD
19258 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19259 string for the scope number.
19260
a60df2c3
UD
192612011-08-14 Ulrich Drepper <drepper@gmail.com>
19262
19263 * nscd/servicescache.c (cache_addserv): Make sure written is always
19264 initialized.
19265
5e4287d1
RM
192662011-08-14 Roland McGrath <roland@hack.frob.com>
19267
85ae0589
RM
19268 * sysdeps/i386/i486/bits/atomic.h
19269 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19270 statement expression, so as to suppress "set but not used" warning.
19271 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19272
69f63097
RM
19273 * string/strncat.c (STRNCAT): Use prototype definition.
19274
675456ef
RM
19275 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19276 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19277 -Iprograms here.
19278 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19279 (localedef-modules): Add localedef.
19280 (locale-modules): Add locale.
19281
5e4287d1
RM
19282 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19283 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19284 to avoid a warning.
19285
9c96ff23
DM
192862011-08-14 David S. Miller <davem@davemloft.net>
19287
19288 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19289 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19290
f9ddf089
UD
192912011-08-13 Ulrich Drepper <drepper@gmail.com>
19292
44f0a71e 19293 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19294 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19295 * elf/rtld.c (dl_main): Set l_name of vDSO.
19296 Call _dl_show_scope when DL_DEBUG_SCOPES.
19297 (process_dl_debug): Recognize scopes flag and also set it for all.
19298 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19299 Declare _dl_show_scope.
19300
1dc27704
UD
19301 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19302 (do_dlopen): Pass caller_dlopen to dl_open.
19303 (__libc_dlopen_mode): Initialize caller_dlopen.
19304
f9ddf089
UD
19305 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19306 of libc. Make tolower call locale-independent. Optimize a bit by
19307 using isdigit instead of isalnum.
19308 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19309
9ac533d3
UD
193102011-08-12 Ulrich Drepper <drepper@gmail.com>
19311
19312 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19313 was a dependency or dynamically loaded.
19314
89edf2e9
UD
193152011-08-11 Ulrich Drepper <drepper@gmail.com>
19316
8e999d29
UD
19317 * intl/l10nflist.c: Allow architecture-specific pop function.
19318 * sysdeps/x86_64/l10nflist.c: New file.
19319
89edf2e9
UD
19320 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19321 classification.
19322
14d96785
AS
193232011-08-10 Andreas Schwab <schwab@redhat.com>
19324
19325 * include/dirent.h: Add libc_hidden_proto for scandirat and
19326 scandirat64. Don't declare __scandirat64.
19327 * dirent/scandirat.c: Add libc_hidden_def.
19328 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19329 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19330
6761ac04
DM
193312011-08-10 David S. Miller <davem@davemloft.net>
19332
19333 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19334 enum.
19335 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19336 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19338
c55fbd1e
UD
193392011-08-09 Ulrich Drepper <drepper@gmail.com>
19340
19341 * Versions.def [libc]: Add GLIBC_2.15.
19342 * dirent/Makefile (routines): Add scandirat and scandirat64.
19343 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19344 GLIBC_2.15.
19345 * dirent/dirent.h: Declare scandirat and scandirat64.
19346 * dirent/scandirat.c: New file.
19347 * dirent/scandirat64.c: New file.
19348 * sysdeps/wordsize-64/scandirat.c: New file.
19349 * sysdeps/wordsize-64/scandirat64.c: New file.
19350 * dirent/opendir.c: Define opendirat.
19351 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19352 using scandirat.
19353 * dirent/scandir64.c: Adjust for scandir.c change.
19354 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19355 __scandirat64, and __scandir_cancel_handler.
19356 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19357 additional parameter and use openat instead of open (outside of ld.so).
19358 Add new __opendir as wrapper around __opendirat.
19359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19360 here without requiring old scandirat implementation.
19361
879165f2
UD
193622011-08-08 Ulrich Drepper <drepper@gmail.com>
19363
19364 * dirent/scandir.c (cancel_handler): Renamed to
19365 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19366 defined. Adjust users.
19367 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19368 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19369
cb7e923b
UD
193702011-08-04 Ulrich Drepper <drepper@gmail.com>
19371
16292edd
UD
19372 * string/test-string.h (IMPL): Use __STRING to expand name and then
19373 stringify it.
19374
cb7e923b
UD
19375 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19376 of cleanups.
19377
cff82933
LD
193782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19379
19380 * string/Makefile: Update.
19381 (strop-tests): Append strncat.
19382 * string/test-wcscmp.c: New file.
19383 New comprehensive test for wcscmp.
19384 * string/test-strcmp.c: Update.
19385 (WIDE): New define.
19386
9be9bfcc
AS
193872011-07-22 Andreas Schwab <schwab@redhat.com>
19388
19389 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19390 line.
19391
2e96f1c7
AS
193922011-07-26 Andreas Schwab <schwab@redhat.com>
19393
19394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19395 encoding to ACE if AI_IDN.
19396
85188888
JJ
193972011-08-01 Jakub Jelinek <jakub@redhat.com>
19398
19399 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19400 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19401
5fa16e9b
LD
194022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19403
19404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19405 Fix overflow bug in strncat.
19406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19407
19408 * string/test-strncat.c: Update.
19409 Add new tests for checking overflow bugs.
19410
194112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19412
19413 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19414 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19415 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19416 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19417 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19418 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19419 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19420 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19421 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19422
19423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19424 (USE_AS_STRCAT): Define.
19425 Add strcat and strncat support.
19426 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19427
8c1a459f
AS
194282011-07-25 Andreas Schwab <schwab@redhat.com>
19429
19430 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19431 __n bigger than INT_MAX+1.
19432 (__strncmp_g): Likewise.
19433
bba33c28
UD
194342011-07-23 Ulrich Drepper <drepper@gmail.com>
19435
798be72d
UD
19436 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19437 * libio/stido.h: Likewise.
19438
8accd4dc
UD
19439 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19440 (AF_NFC): Define.
19441 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19442 (AF_NFC): Define.
19443
cbff0d96
UD
19444 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19445 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19446 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19447 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19449
9191c04a
UD
19450 [BZ #13021]
19451 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19452 installed.
19453
bba33c28
UD
19454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19455 typo.
19456 (_dl_x86_64_save_sse): Likewise.
19457
90f139dd
UD
194582011-07-22 Ulrich Drepper <drepper@gmail.com>
19459
1aae088a
UD
19460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19461 OSXSAVE.
19462 (_dl_x86_64_save_sse): Likewise.
19463
8e2045f5
UD
19464 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19465
90f139dd
UD
19466 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19467
1d002f25
AS
194682011-07-21 Andreas Schwab <schwab@redhat.com>
19469
19470 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19471 change.
19472 (_dl_x86_64_save_sse): Use correct AVX check.
19473
21137f89
UD
194742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19475
19476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19477 bug in strncpy/strncat.
19478 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19479
a65c0b7a
UD
194802011-07-21 Ulrich Drepper <drepper@gmail.com>
19481
19482 * string/tester.c (test_strcat): Add tests for different alignments
19483 of source and destination.
19484 (test_strncat): Likewise.
19485
6986b98a
UD
194862011-07-20 Ulrich Drepper <drepper@gmail.com>
19487
90bb2039
UD
19488 [BZ #12852]
19489 * posix/glob.c (glob): Check passed in values before using them in
19490 expressions to avoid some overflows.
19491 (glob_in_dir): Likewise.
19492
5644ef54
UD
19493 [BZ #13007]
19494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19495 check for AVX enablement so that we don't crash with old kernels and
19496 new hardware.
19497 * elf/tst-audit4.c: Add same checks here.
19498 * elf/tst-audit6.c: Likewise.
19499
19500 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19501
bfc9dc9b
AS
195022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19503
19504 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19505
702e64bb
UD
195062011-07-20 Ulrich Drepper <drepper@gmail.com>
19507
19508 * po/cs.po: Update from translation team.
19509 * po/bg.po: Likewise.
19510
295e904f
MP
195112011-07-12 Marek Polacek <mpolacek@redhat.com>
19512
19513 * misc/sys/cdefs.h: Add support for const attribute.
19514 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19515 to gnu_dev_{major,minor,makedev} functions.
19516
3ff94596
MP
195172011-07-20 Marek Polacek <mpolacek@redhat.com>
19518
19519 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19520
28b59fca
AS
195212011-07-20 Andreas Schwab <schwab@redhat.com>
19522
19523 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19524 strlen results.
19525
19df733e
AK
195262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19527
19528 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19529 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19530 register in order to avoid conflicts with the soft frame pointer
19531 being held in r11 when necessary.
19532 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19533 (INTERNAL_VSYSCALL_NCS): Likewise.
19534
c8835729
MP
195352011-07-14 Marek Polacek <mpolacek@redhat.com>
19536
19537 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19538 * elf/dl-fini.c (_dl_fini): Adjust caller.
19539 * elf/dl-close.c (_dl_close_worker): Likewise.
19540 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19541
b902330c
MP
195422011-07-15 Marek Polacek <mpolacek@redhat.com>
19543
8991e135
MP
19544 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19545 "aux_cache->nlibs < 0".
19546
b902330c
MP
19547 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19548 in the reload-count case.
19549
99710781
LD
195502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19551
19552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19553 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19554 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19555 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19556 * sysdeps/x86_64/multiarch/strcat.S: New file.
19557 * sysdeps/x86_64/multiarch/strncat.S: New file.
19558 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19560 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19561 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19563 (USE_AS_STRCAT): Define.
19564 Add strcat and strncat support.
19565 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19567 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19568 * string/strncat.c: Update.
19569 (USE_AS_STRNCAT): Define.
19570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19571 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19572 and i7.
19573 * sysdeps/x86_64/multiarch/init-arch.h
19574 (bit_Prefer_PMINUB_for_stringop): New.
19575 (index_Prefer_PMINUB_for_stringop): Likewise.
19576 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19577 bit_Prefer_PMINUB_for_stringop.
19578
7dc6bd90
UD
195792011-07-19 Ulrich Drepper <drepper@gmail.com>
19580
19581 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19582 buffer64.
19583 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19584 of casting of buffer.
19585 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19586 buffer32 and buffer64.
19587 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19588 writes instead of casting of buffer.
19589 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19590 buffer32.
19591 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19592 casting of buffer.
19593
e0e72284
AS
195942011-07-19 Andreas Schwab <schwab@redhat.com>
19595
19596 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19597
feb1eb0b
UD
195982011-07-19 Ulrich Drepper <drepper@gmail.com>
19599
19600 * nscd/nscd.c (termination_handler): Don't do anything for a database
19601 if it has not yet been initialized.
19602
298711ff
UD
196032011-07-18 Ulrich Drepper <drepper@gmail.com>
19604
19605 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19606
196072011-07-15 Marek Polacek <mpolacek@redhat.com>
19608
19609 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19610
f9d68389
UD
196112011-07-18 Ulrich Drepper <drepper@gmail.com>
19612
19613 * po/nl.po: Update from translation team.
19614 * po/sv.po: Likewise.
19615
db290cf5
RM
196162011-07-16 Roland McGrath <roland@hack.frob.com>
19617
19618 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19619 now disallowed by GCC.
5c550700 19620
fd5e21c7
RM
19621 * configure.in (use-default-link): Default to yes if a test -shared
19622 link meets our qualifications.
19623 * configure: Regenerated.
19624
5c550700
RM
19625 * config.make.in (output-format): New variable.
19626 * configure.in: Check for ld --print-output-format support.
19627 * configure: Regenerated.
19628 * Makerules ($(common-objpfx)format.lds)
19629 [$(output-format) != unknown]: Just use $(output-format),
19630 instead of the linker-script munging.
19631
9fa2c032
RM
196322011-07-14 Roland McGrath <roland@hack.frob.com>
19633
a6928d51
RM
19634 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19635 of $(common-objpfx)shlib.lds.
19636 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19637
661607b3
RM
19638 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19639 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19640
9fa2c032
RM
19641 * configure.in (-z relro check): Adjust test code to add a large
19642 writable data section after it.
19643 * configure: Regenerated.
19644
defe9061
RM
196452011-07-11 Roland McGrath <roland@hack.frob.com>
19646
19647 * configure.in (-z relro check): Fix test code to make the variable
19648 truly const.
19649 * configure: Regenerated.
19650
319b9ad4
UD
196512011-07-11 Ulrich Drepper <drepper@gmail.com>
19652
19653 * nscd/nscd.h (struct traced_file): Define.
19654 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19655 elements. Add traced_files.
19656 (inotify_fd): Declare.
19657 (register_traced_file): Declare.
19658 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19659 (inotify_fd): Export.
19660 (resolv_conf_descr): Remove.
19661 (nscd_init): Move inotify descriptor creation to main.
19662 Don't register files for notification here.
19663 (register_traced_file): New function.
19664 (invalidate_cache): Don't use reset_res to determine whether to call
19665 res_init, go through the list of registered files.
19666 (main_loop_poll): The inotify descriptors are now stored in the
19667 structures for the traced files.
19668 (main_loop_epoll): Likewise
19669 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19670 to __nss_disable_nscd.
19671 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19672 for a database anymore. Check the records for all the registered
19673 files instead.
19674 * nss/Makefile (libnss_files-routines): Add files-init.
19675 (libnss_db-routines): Add db-init.
19676 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19677 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19678 * nss/nss_db/db-init.c: New file.
19679 * nss/nss_files/files-init.c: New file.
19680 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19681 __nss_lookup_function.
19682 (__nss_lookup_function): Call nss_load_library.
19683 (nss_load_all_libraries): New function.
19684 (__nss_disable_nscd): Take parameter with callback function for files
19685 to register. Set is_nscd. Load all the DSOs for the NSS modules
19686 used for the cached services.
19687 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19688 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19689 options for features to all the files in nscd.
19690
19691 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19692
23bee3e8
RM
196932011-07-10 Roland McGrath <roland@hack.frob.com>
19694
19695 * csu/elf-init.c (__libc_csu_init): Comment typo.
19696
46a5b7f0
UD
196972011-07-09 Ulrich Drepper <drepper@gmail.com>
19698
19699 * po/pl.po: Update from translation team.
19700 * po/ja.po: Likewise.
19701 * po/ru.po: Likewise.
19702 * po/ko.po: Likewise.
19703 * po/fr.po: Likewise.
19704
d30cf5bb
RM
197052011-07-09 Roland McGrath <roland@hack.frob.com>
19706
113ddea4
RM
19707 * configure.in (.ctors/.dtors header and trailer check):
19708 Use an empirical test on a built program.
19709 * configure: Regenerated.
19710
574920b4
RM
19711 * configure.in (-z relro check): Use an empirical test on a built DSO.
19712 Detect, but do not require, on ia64.
19713 * configure: Regenerated.
19714
d30cf5bb
RM
19715 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19716 Update tests that use readelf to use $READELF instead.
19717 * configure: Regenerated.
19718
8538fdb3
UD
197192011-07-08 Ulrich Drepper <drepper@gmail.com>
19720
19721 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19722 if the result is not used.
19723
04d08991
AJ
197242011-07-05 Andreas Jaeger <aj@suse.de>
19725
19726 [BZ#9696]
19727 * stdlib/tst-strtod.c: Add testcase.
19728
de283087
AD
197292011-07-07 Ulrich Drepper <drepper@gmail.com>
19730
4e5f31c8 19731 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19732 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19733 The latter has a higher limit. Take additional parameter to pass to
19734 the new function.
19735 (__pathconf): Pass file to __statfs_link_max.
19736 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19737 __statfs_link_max.
19738 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19739 __statfs_link_max.
19740
de283087
AD
19741 [BZ #12868]
19742 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19744 Handle Lustre.
19745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19746 (__statfs_filesize_max): Likewise.
19747 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19748
c75fa153
AJ
197492011-07-05 Andreas Jaeger <aj@suse.de>
19750
19751 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19752
1a544854
UD
197532011-07-06 Marek Polacek <mpolacek@redhat.com>
19754
19755 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19756 `status' variable.
19757 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19758 Likewise.
19759
6f0eec67
UD
197602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19761
19762 * Makefile (strop-tests): Add strncat.
19763 * string/test-strncat.c: New file.
19764
aae30307
UD
197652011-06-30 Marek Polacek <mpolacek@redhat.com>
19766
19767 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19768
c0cfb5eb
UD
197692011-06-21 Andreas Jaeger <aj@suse.de>
19770
19771 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19772 Copy rule from iconvdata/Makefile.
19773
01636b21
UD
197742011-07-06 Ulrich Drepper <drepper@gmail.com>
19775
19776 [BZ #12922]
19777 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19778 but no long options are defined, just return 'W'.
19779
9895c8bc
UD
197802011-06-22 Marek Polacek <mpolacek@redhat.com>
19781
19782 [BZ #9696]
19783 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19784
5d4cf042
UD
197852011-07-06 Ulrich Drepper <drepper@gmail.com>
19786
19787 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19788 netgroups to read.
960e5535 19789 (innetgr): Likewise.
5d4cf042 19790
751eb97e
RM
197912011-07-05 Roland McGrath <roland@hack.frob.com>
19792
19793 * config.make.in (install_root): Default to $(DESTDIR).
19794
f15f1e45
UD
197952011-07-05 Ulrich Drepper <drepper@gmail.com>
19796
19797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19798
4e34ac6a
RM
197992011-07-02 Roland McGrath <roland@hack.frob.com>
19800
5e9b6af4
RM
19801 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19802
84f9ea0f
RM
19803 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19804 containing directory rather than embedding absolute directory names.
19805
ea5ee9f7
RM
19806 * scripts/check-local-headers.sh: Rewritten using awk.
19807 Match by word, not by line. Print error messages for matches.
19808 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19809
1b74661a
RM
19810 * Makerules [shlib-lds-flags empty]:
19811 ($(common-objpfx)libc_pic.opts): New target.
19812 ($(common-objpfx)libc_pic.os.clean): New target.
19813 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19814
19815 * config.make.in (OBJCOPY): New variable.
19816 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19817 * configure: Regenerated.
19818
f781ef40
RM
19819 * config.make.in (use-default-link): New variable.
19820 * configure.in (use_default_link): Grok --with-default-link to set it.
19821 * configure: Regenerated.
19822 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19823 (shlib-lds, shlib-lds-flags): Define to empty.
19824
2d4fa81e
RM
19825 * Makerules (shlib-lds): New variable.
19826 (shlib-lds-flags): New variable.
19827 (build-shlib, build-moduile, build-module-asneeded): Use it.
19828 ($(common-objpfx)libc.so): Use $(shlib-lds).
19829 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19830 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19831
31fffa6b
RM
19832 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19833 DT_FLAGS/DT_FLAGS_1 with zero flags.
19834
4e34ac6a
RM
19835 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19836 linker script munging.
19837
fcfc776b
UD
198382011-07-02 Ulrich Drepper <drepper@gmail.com>
19839
19840 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19841 as 128-bit value.
19842 * crypt/sha512.c (sha512_process_block): Perform total addition using
19843 128-bit if possible.
19844 (__sha512_finish_ctx): Likewise.
19845 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19846 as 64-bit value.
19847 * crypt/sha256.c (SWAP64): Define.
19848 (sha256_process_block): Perform total addition using 64-bit if
19849 possible.
19850 (__sha256_finish_ctx): Likewise.
19851
99231d9a
UD
198522011-07-01 Ulrich Drepper <drepper@gmail.com>
19853
19854 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19856 * nscd/hstcache.c (cache_addhst): Likewise.
19857 * nscd/grpcache.c (cache_addgr): Likewise.
19858 * nscd/aicache.c (addhstaiX): Likewise
19859 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19860
445b4a53
TK
198612011-07-01 Thorsten Kukuk <kukuk@suse.de>
19862
19863 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19865 * nscd/hstcache.c (cache_addhst): Likewise.
19866 * nscd/grpcache.c (cache_addgr): Likewise.
19867 * nscd/aicache.c (addhstaiX): Likewise
19868
6d4d8e8e
AS
198692011-07-01 Andreas Schwab <schwab@redhat.com>
19870
19871 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19872 domain only when needed.
19873
89f654c5
AS
198742011-06-30 Andreas Schwab <schwab@redhat.com>
19875
19876 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19877 is always restored.
19878
cf3b23ff
UD
198792011-06-29 Ulrich Drepper <drepper@gmail.com>
19880
19881 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19882 are re-adding the entry.
19883 * nscd/servicescache.c (cache_addserv): Likewise.
19884
751626f9
AJ
198852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19886
19887 * sysdeps/generic/dl-irel.h: fix protection against multiple
19888 inclusions.
19889 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19890
9113ea1f
UD
198912011-06-28 Ulrich Drepper <drepper@gmail.com>
19892
5c0b8d90
UD
19893 [BZ #12935]
19894 * malloc/memusage.sh: Fix quoting in message.
19895 * debug/xtrace.sh: Likewise.
19896
9113ea1f
UD
19897 * configure.in: Remove support for --experimental-malloc option, make
19898 it the default.
19899 * config.make.in: Likewise.
19900 * malloc/Makefile: Likewise.
19901
a4172181
AS
199022011-06-27 Andreas Schwab <schwab@redhat.com>
19903
19904 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19905 two-byte characters.
19906
78a7eee7
RM
199072011-06-27 Roland McGrath <roland@hack.frob.com>
19908
62bede13
RM
19909 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19910 AC_CACHE_CHECK invocation.
19911 * configure: Regenerated.
19912
78a7eee7
RM
19913 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19914
5ce33a62
UD
199152011-06-27 Ulrich Drepper <drepper@gmail.com>
19916
034807a9
UD
19917 [BZ #12350]
19918 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19919 bit from old_res_options.
19920
4902da17
UD
19921 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19922
5ce33a62
UD
19923 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19924 value type for setfct.
19925
c2344f56
L
199262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19927
19928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19929 __gettimeofday instead of gettimeofday.
19930
68468076
UD
199312011-06-26 Ulrich Drepper <drepper@gmail.com>
19932
19933 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19934
acb0d739
L
199352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19936
19937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19938
19939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19940 info.
19941
8912479f
L
199422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19943
19944 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19945 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19946 strcpy-sse2-unaligned strncpy-sse2-unaligned
19947 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19948 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19949 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19950 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19951 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19952 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19953 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19954 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19955 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19956 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19957 (STRCPY): Support SSE2 and SSSE3 versions.
19958
d5495a11
UD
199592011-06-24 Ulrich Drepper <drepper@gmail.com>
19960
19961 [BZ #12874]
19962 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19963 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19964 kernels which artificially limit size of requests.
19965
0b1cbaae
L
199662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19967
19968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19969 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19970 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19971 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19972 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19973 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19974 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19975 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19976 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19978 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19979 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19980 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19981 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19982 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19983 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19984 Enable unaligned load optimization for Intel Core i3, i5 and i7
19985 processors.
19986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19987 Define.
19988 (index_Fast_Unaligned_Load): Define.
19989 (HAS_FAST_UNALIGNED_LOAD): Define.
19990
07f494a0
MP
199912011-06-23 Marek Polacek <mpolacek@redhat.com>
19992
19993 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19994
fa3fc0fe
UD
199952011-06-22 Ulrich Drepper <drepper@gmail.com>
19996
19997 [BZ #12907]
19998 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19999 until it is clear that the information is realy needed.
20000 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20001
e12df166
AS
200022011-06-22 Andreas Schwab <schwab@redhat.com>
20003
20004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20005
852eb34d
UD
200062011-06-22 Ulrich Drepper <drepper@gmail.com>
20007
84e2a551
UD
20008 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20009 /sys/devices/system/cpu/online if it is usable.
20010
852eb34d
UD
20011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20012 reading the information from the /proc filesystem to once a second.
20013
6e502e19
UD
200142011-06-21 Andreas Jaeger <aj@suse.de>
20015
20016 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20017 NULL after inclusion of kernel headers.
20018
75d39ff2
UD
200192011-06-21 Ulrich Drepper <drepper@gmail.com>
20020
51f9aa6a
UD
20021 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20022 calls to internal_setent.
20023
c0244a9d
UD
20024 [BZ #12885]
20025 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20026 addresses using gethostbyname4_r ignore IPv4 addresses.
20027
c5e3c2ae
UD
20028 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20029 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20030
75d39ff2
UD
20031 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20032
42675c6f
DM
200332011-06-20 David S. Miller <davem@davemloft.net>
20034
20035 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20036 inclusions.
20037 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20038
20039 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20040 (elf_irel): Use it.
20041 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20042 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20043 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20044 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20045 * sysdeps/x86_64/dl-irel.h: Likewise.
20046
20047 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20048 * elf/dl-sym.c: Likewise.
20049
57912a71
UD
200502011-06-15 Ulrich Drepper <drepper@gmail.com>
20051
20052 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20053 need to dereference resplen2.
20054
ee22793d
AS
200552011-06-14 Andreas Schwab <schwab@redhat.com>
20056
20057 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20058
a9e836b0
UD
200592011-06-15 Ulrich Drepper <drepper@gmail.com>
20060
77fb9117
UD
20061 * Makeconfig: Define vardbdir and inst_vardbdir.
20062 * nss/Makefile: Add rules to install db-Makefile.
20063
40c1b22c
UD
20064 * nss/nss_db/db-XXX.c: Cleanup.
20065
9f2da732
UD
20066 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20067 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20068 GLIBC_PRIVATE.
20069 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20070 * nss/makedb.c: Implement -g option to specify that value strings
20071 are generated and should not be added to table iterated over for
20072 get*ent calls.
20073 * nss/nss_db/db-initgroups.c: New file.
20074
82e9a1f7
UD
20075 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20076 interface.
20077
c41af17e
UD
20078 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20079 (internal_getgrouplist): Adjust to name change.
20080 Update use_initgroups_entry if this is not the first call.
20081 * nss/databases.def: Add initgroups entry.
20082
a9e836b0
UD
20083 * nss/makedb.c (compute_tables): Check result of multiple hash table
20084 sizes to minimize maximum chain length.
20085
2666d441
UD
200862011-06-14 Ulrich Drepper <drepper@gmail.com>
20087
20088 * Versions.def: Add entry for libnss_db.
20089 * shlib-versions: Likewise.
20090 * nss/Makefile: Add rules to build libnss_db.
20091 * nss/Versions: Add libnss_db information. Organize libnss_files
20092 entries better.
20093 * nss/db-Makefile: Add gshadow support. Change rules for the new
20094 makedb progra. Some minor improvements to generate smaller files.
20095 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20096 here from...
20097 * nss/makedb.c: ...here.
20098 Improve database format to be smaller and require less memory at
20099 runtime.
20100 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20101 db anymore.
20102 * nss/nss_db/db-netgrp.c: Likewise.
20103 * nss/nss_db/db-open.c: Likewise.
20104 * nss/nss_files/flies-XXX.x: Adjust comments.
20105 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20106 * nss/nss_files/files-grp.c: Likewise.
20107 * nss/nss_files/files-hosts.c: Likewise.
20108 * nss/nss_files/files-network.c: Likewise.
20109 * nss/nss_files/files-proto.c: Likewise.
20110 * nss/nss_files/files-pwd.c: Likewise.
20111 * nss/nss_files/files-rpc.c: Likewise.
20112 * nss/nss_files/files-service.c: Likewise.
20113 * nss/nss_files/files-sgrp.c: Likewise.
20114 * nss/nss_files/files-spwd.c: Likewise.
20115 * nss/nss_db/db-alias.c: Removed.
20116 * nss/nss_db/dummy-db.h: Removed.
20117
9ee76b5a
UD
201182011-06-02 Ulrich Drepper <drepper@gmail.com>
20119
20120 * nss/makedb.c: Rewritten to not use database library.
20121 * nss/Makefile: Update to build new makedb program.
20122
c71ca1f8
AJ
201232011-06-14 Andreas Jaeger <aj@suse.de>
20124
20125 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20126 memset declaration.
20127
3154bfb8
UD
201282011-06-10 Andreas Schwab <schwab@redhat.com>
20129
20130 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20131 tmpbuf.
20132
b350afab
RM
201332011-06-10 Roland McGrath <roland@hack.frob.com>
20134
decd4e50
RM
20135 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20136 * elf/Makefile ($(objpfx)ld.so): Likewise.
20137
5615eaf2
RM
20138 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20139 Don't list ld.so twice in dependencies.
20140
20141 * posix/bug-regex31.c: Include <stdlib.h>.
20142
20143 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20144
20145 * nis/nss_compat/compat-spwd.c
20146 (getspent_next_nss_netgr): Remove unused variable.
20147 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20148
20149 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20150 nonmembers" output to use the right array.
20151
20152 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20153
20154 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20155
20156 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20157 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20158 * catgets/gencat.c (read_input_file): Likewise.
20159 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20160
20161 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20162 variable definition inside #if's controlling its use.
20163
20164 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20165
20166 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20167
20168 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20169
20170 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20171 unreachable code.
20172
20173 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20174
b68e08db
RM
20175 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20176 * configure: Regenerated.
20177
b350afab
RM
20178 * Makerules: Revert last change.
20179 * elf/Makefile: Likewise.
20180
28368601
RM
201812011-06-09 Roland McGrath <roland@hack.frob.com>
20182
20183 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20184 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20185 (reloc-link): Likewise.
20186
11988f8f
UD
201872011-06-09 Ulrich Drepper <drepper@gmail.com>
20188
20189 * elf/Makefile: Add rules to build pldd.
20190 * elf/pldd.c: New file.
20191 * elf/pldd-xx.c: New file.
20192
e80fab37
UD
201932011-06-07 Ulrich Drepper <drepper@gmail.com>
20194
20195 * version.h: Update for 2.15 development version.
20196
9b849836
DM
201972011-06-07 David S. Miller <davem@davemloft.net>
20198
20199 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20200 ifuncs.
20201 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20202 elf_machine_lazy_rel): Likewise.
20203 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20205 elf_machine_lazy_rel): Likewise.
20206 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20207 dl_hwcap via passed in argument.
20208 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20209 Likewise.
20210
5a31b283
AK
202112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20212
20213 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20214
069e52f8
RM
202152011-06-06 Roland McGrath <roland@hack.frob.com>
20216
20217 [BZ #12849]
20218 * manual/fdl-1.1.texi: New file, verbatim from:
20219 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20220 * manual/lgpl-2.1.texi: New file, verbatim from:
20221 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20222 * manual/Makefile (licenses): New variable, list those new file names.
20223 (texis): Use it.
20224 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20225
20226 * manual/fdl.texi: File removed.
20227 * manual/lesser.texi: File removed.
20228 * manual/libc.texinfo (Copying, Documentation License):
20229 Use new @include file names, put @appendix directive before @include.
20230
f16846a5
JJ
202312011-06-04 Jakub Jelinek <jakub@redhat.com>
20232
20233 [BZ #12841]
20234 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20235 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20236 (mq_open): Add __NTH.
20237
3d29045b
L
202382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20239
20240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20241 Assume Intel Core i3/i5/i7 processor if AVX is available.
20242
8c297311
UD
202432011-05-31 Ulrich Drepper <drepper@gmail.com>
20244
20245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20246 typo.
20247
c8fc0c91
UD
202482011-05-31 Andreas Schwab <schwab@redhat.com>
20249
20250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20251 memory. Use alloca_account. Fix memory leak when retrying.
20252
5b27a807
UD
202532011-05-31 Ulrich Drepper <drepper@gmail.com>
20254
356f8bc6
UD
20255 * version.h (RELEASE): Bump for 2.14 release.
20256 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20257
5b27a807
UD
20258 * config.make.in (RANLIB): Remove entry.
20259
01f16ab0
UD
202602011-05-30 Ulrich Drepper <drepper@gmail.com>
20261
41fce8bd
UD
20262 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20263 (libc.pot): Work around missing support for .ksh extension in xgettext.
20264
4769ae77
UD
20265 [BZ #12684]
20266 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20267 if both request failed.
20268 (send_dg): In case of server errors clear resplen or *resplen2.
20269
6b1e7d19
UD
20270 [BZ #12454]
20271 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20272 when there are multiple maps.
20273 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20274 (_dl_fini): Remove test here.
20275
01f16ab0
UD
20276 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20277
b1ebd700
UD
202782011-05-29 Ulrich Drepper <drepper@gmail.com>
20279
7ae22829
UD
20280 [BZ #12350]
20281 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20282 bit from old_res_options.
20283 (gaih_inet): Likewise.
20284
553149f6 20285 [BZ #11099]
18a84741 20286 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20287 as signed.
20288
652ffab1
UD
20289 * resolv/res_init.c (res_setoptions): Make the code more compact.
20290
16985fd0
UD
20291 [BZ #11558]
20292 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20293 set RES_USEVC.
20294
0464f746
UD
20295 [BZ #11634]
20296 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20297
7d17596c
UD
20298 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20299
cf6bbbd7
UD
20300 [BZ #11781]
20301 * malloc/malloc.h: Declare malloc hook variables as volatile.
20302
13f1ab36
UD
20303 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20304 in last patch.
20305
b1ebd700
UD
20306 [BZ #11799]
20307 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20308 raise in the comment.
80e2212d
UD
20309 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20311 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20312
ce67228d
UD
203132011-05-28 Ulrich Drepper <drepper@gmail.com>
20314
8887a920
UD
20315 [BZ #12811]
20316 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20317 grow the buffers more if it already has to be sufficient.
20318 (build_wcs_upper_buffer): Likewise.
20319 * posix/regexec.c (check_matching): Likewise.
20320 (clean_state_log_if_needed): Likewise.
20321 (extend_buffers): Don't enlarge buffers beyond size of the input
20322 buffer.
20323 Patches mostly by Emil Wojak <emil@wojak.eu>.
20324 * posix/bug-regex32.c: New file.
20325 * posix/Makefile (tests): Add bug-regex32.
20326
4f031072
UD
20327 * locale/findlocale.c (_nl_find_locale): Return right away if
20328 _nl_explode_name failed.
20329 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20330
d0478f0c
UD
20331 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20332
de81b246
UD
20333 * debug/xtrace.sh: Unify messages.
20334 * malloc/memusage.sh: Likewise.
20335
c738465a
UD
20336 [BZ #12813]
20337 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20338 time symbol from vDSO. Substitute with vsyscall if not available.
20339 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20340 __vdso_time.
20341
f1f929d7
UD
20342 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20343 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20344 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20345 Add sendmmsg and internal_sendmmsg.
20346 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20347 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20348 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20349
ce67228d
UD
20350 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20351 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20352 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20353
e57420c6
UD
203542011-05-27 Ulrich Drepper <drepper@gmail.com>
20355
a8509ca5
UD
20356 [BZ #12813]
20357 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20358 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20359 available.
20360 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20361 __vdso_getcpu.
20362
e57420c6
UD
20363 [BZ #12814]
20364 * iconvdata/Makefile (tests): Add bug-iconv9.
20365 * iconvdata/bug-iconv9.c: New file.
20366
4d07db15
AS
203672011-05-27 Andreas Schwab <schwab@redhat.com>
20368
20369 [BZ #12814]
20370 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20371
ea486f69
JJ
203722011-05-25 Jakub Jelinek <jakub@redhat.com>
20373
20374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20375 (struct user_regs_struct): Change intcs field back to cs.
20376
6f038433
UD
203772011-05-25 Ulrich Drepper <drepper@gmail.com>
20378
20379 * po/ja.po: Update from translation team.
20380
67f86a25
UD
203812011-05-23 Ulrich Drepper <drepper@gmail.com>
20382
20383 [BZ #12795]
20384 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20385 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20386
def7fbd6
AS
203872011-05-20 Andreas Schwab <schwab@redhat.com>
20388
20389 * stdlib/longlong.h: Update from GCC.
20390
f50ef8f1
AS
203912011-05-23 Andreas Schwab <schwab@redhat.com>
20392
20393 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20394 parameter name.
20395 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20396 Add parameter name.
20397 (__sysconf): Pass it down.
20398
de7ce8f1
UD
203992011-05-22 Ulrich Drepper <drepper@gmail.com>
20400
f2962a71
UD
20401 [BZ #12671]
20402 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20403 some situations.
20404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20405 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20406 add in in __libc_use_alloca calls. Adjust callers.
20407 (glob): Use malloc in some situations.
20408
de7ce8f1
UD
20409 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20410 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20411 pltexit.
20412
aec84f53
UD
204132011-05-21 Ulrich Drepper <drepper@gmail.com>
20414
05bb4a68
UD
20415 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20416 and CLOCK_BOOTTIME_ALARM.
20417
7ea72f99
UD
20418 [BZ #12782]
20419 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20420 is returned.
20421
7e4afad5
UD
20422 * string/_strerror.c (__strerror_r): Print negative errors as signed
20423 numbers.
20424
8e211fec
UD
20425 [BZ #12777]
20426 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20427 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20428 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20429
f7d82dc9
UD
20430 * configure.in: Fix typo in redirection and correct removal of test
20431 files in two cases.
20432
cc9e536d
UD
20433 [BZ #12788]
20434 * locale/setlocale.c (new_composite_name): Fix test to check for
20435 identical name of all categories.
20436
aec84f53
UD
20437 [BZ #12792]
20438 * libio/filedoalloc.c (local_isatty): New function.
20439 (_IO_file_doallocate): Use local_isatty.
20440 * stdio-common/perror.c (perror): In case a new stream is used
20441 forward the stream error.
20442 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20443 error flag.
20444
78e64fdc
RT
204452011-05-20 Ulrich Drepper <drepper@gmail.com>
20446
34a9094f
UD
20447 [BZ #11869]
20448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20449 alloca.
20450 * include/alloca.h (extend_alloca_account): Define.
20451
78e64fdc
RT
20452 [BZ #11857]
20453 * posix/regex.h: Fix comments with documentation of user-accessible
20454 fields after compilation and describe correct free'ing of pattern
20455 after re_compile_pattern.
20456 Patch by Reuben Thomas <rrt@sc3d.org>.
20457
457bddfc
RA
204582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20459
20460 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20461 and -mno-altivec to prevent the compiler from using Altivec and/or
20462 VSX instructions when the corresponding registers are not available.
20463
a4527b51
AS
204642011-05-19 Andreas Schwab <schwab@redhat.com>
20465
20466 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20467
ed690b2f
UD
204682011-05-19 Ulrich Drepper <drepper@gmail.com>
20469
20470 * libio/freopen.c (freopen): Use __dup2, not dup2.
20471 * libio/freopen64.c (freopen64): Likewise.
20472
8db73634
L
204732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20474
20475 [BZ #12775]
20476 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20477 * math/Makefile (tests): Add test-powl.
20478 (CFLAGS-test-powl.c): Define.
20479 * math/test-powl.c: New file.
20480
0a197a9d
L
204812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20482
20483 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20484
ee30c380
UD
204852011-05-17 Ulrich Drepper <drepper@gmail.com>
20486
20487 [BZ #11837]
20488 * iconvdata/gb18030.c: Update to GB18020-2005.
20489
6ce75379
UD
204902011-05-16 Ulrich Drepper <drepper@gmail.com>
20491
a4b89fd8
AR
20492 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20493 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20494 Patch by Aharon Robbins <arnold@skeeve.com>.
20495
ea389b12
UD
20496 [BZ #11892]
20497 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20498 on the stack.
20499
68a3f91f
UD
20500 [BZ #11895]
20501 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20502 through underflows.
20503
15cc7dd1
UD
20504 [BZ #12766]
20505 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20506 point to strings before performing equality test for error_one_per_line
20507 mode.
20508
f3799213
UD
20509 [BZ #11697]
20510 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20511
d79a9c94
UD
20512 [BZ #11820]
20513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20514 (struct user_fpregs_struct): Avoid __uint*_t types.
20515
56e5eb46
UD
20516 [BZ #6420]
20517 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20518 symbol info. Use it instead of calling _dl_addr locally.
20519 (lock_and_info): New function.
20520 (tr_freehook): Call lock_and_info and pass symbol info as additional
20521 parameter to tr_where.
20522 (tr_mallochook): Likewise.
20523 (tr_reallochook): Likewise.
20524 (tr_memalignhook): Likewise.
20525
6ce75379
UD
20526 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20527 used and couldn't be at all thread-safe.
20528
f8a3b5bf
UD
205292011-05-15 Ulrich Drepper <drepper@gmail.com>
20530
94b7cc37
UD
20531 * libio/freopen.c (freopen): Don't close old file descriptor
20532 before the new one is opened. Instead dup the new file descriptor
20533 to the old one after the new stream is created.
20534 * libio/freopen64.c (freopen64): Likewise.
20535 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20536 * libio/fileops.c (_IO_new_file_close_it): Handle new
20537 _IO_FLAGS2_NOCLOSE flag.
20538 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20539 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20540 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20541 _IO_FLAGS2_NOCLOSE flag.
20542 * include/unistd.h: Add hidden_proto for dup3.
20543 Define __have_dup3.
20544 * io/dup3.c: Define hidden symbol.
20545 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20546
bd25564e
UD
20547 [BZ #7101]
20548 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20549 when an incomplete long option is used.
20550 * posix/tst-getopt_long1.c: New file.
20551 * posix/Makefile (tests): Add tst-getopt_long1.
20552
c84cfef4
UD
20553 [BZ #10138]
20554 * scripts/config.guess: Update from autoconf-2.68.
20555 * scripts/config.sub: Likewise.
20556
3b85df27
UD
20557 [BZ #10157]
20558 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20559 tests into ...
20560 (has_cpuclock): ...this. New function.
20561 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20562 macro here based on has_cpuclock code.
20563
15a856b1
UD
20564 [BZ #10149]
20565 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20566 First byte (not low byte) is now always NUL.
20567 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20568
05f399e6
UD
20569 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20570 Use non-cancelable interfaces.
20571
10a52685 20572 [BZ #9809]
94ecc67d
UD
20573 * locale/iso-639.def: Add entry for Sorani.
20574
f8a3b5bf
UD
20575 [BZ #11901]
20576 * include/stdlib.h: Move include protection to the right place.
20577 Define abort_msg_s. Declare __abort_msg with it.
20578 * stdlib/abort.c (__abort_msg): Adjust type.
20579 * assert/assert.c (__assert_fail_base): New function. Majority
20580 of code from __assert_fail. Allocate memory for __abort_msg with
20581 mmap.
20582 (__assert_fail): Now call __assert_fail_base.
20583 * assert/assert-perr.c: Remove bulk of implementation. Use
20584 __assert_fail_base.
20585 * include/assert.hL Declare __assert_fail_base.
20586 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20587 mmap.
20588 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20589
1af4e298
UD
205902011-05-14 Ulrich Drepper <drepper@gmail.com>
20591
f8a3b5bf 20592 [BZ #11952]
d26dfc60
MG
20593 [BZ #12453]
20594 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20595 until all modules are registered in the DTV.
20596 * elf/Makefile: Add rules to build and run tst-tls19.
20597 * elf/tst-tls19.c: New file.
20598 * elf/tst-tls19mod1.c: New file.
20599 * elf/tst-tls19mod2.c: New file.
20600 * elf/tst-tls19mod3.c: New file.
20601 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20602
2fc54d6f
UD
20603 [BZ #12083]
20604 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20605 correctly.
20606
98d76b46
UD
20607 [BZ #12601]
20608 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20609 two-byte sequence errors.
20610 * iconvdata/Makefile (tests): Add bug-iconv8.
20611 * iconvdata/bug-iconv8.c: New file.
20612
da3c19ef
UD
20613 [BZ #12626]
20614 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20615 buf2 definition.
20616
ca408c15
UD
20617 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20618
d6f67f7d
UD
20619 [BZ #12432]
20620 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20621 (dummy_getcfa): New function.
20622 (init): Get _Unwind_GetCFA address, use dummy if not found.
20623 (backtrace_helper): In recursion check, also check whether CFA changes.
20624 (__backtrace): Completely initialize arg.
20625
1af4e298 20626 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20627 storing incomplete byte sequence in state object. Avoid testing for
20628 guaranteed too small input if we know there is enough data available.
1af4e298 20629
da62f81b
AS
206302011-05-11 Andreas Schwab <schwab@redhat.com>
20631
20632 * Makeconfig (+link-pie): Indent.
20633 * Rules (binaries-pie): Define if $(have-fpie) and
20634 $(build-shared).
20635 (binaries-shared): Also filter out $(binaries-pie).
20636 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20637 * nscd/Makefile (others-pie): Add nscd.
20638 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20639 ($(objpfx)nscd): Remove command override.
20640 * login/Makefile (others-pie): Add pt_chown.
20641 ($(objpfx)pt_chown): Remove command override.
20642 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20643 remove command overrides.
20644
fcabc0f8
UD
206452011-05-13 Ulrich Drepper <drepper@gmail.com>
20646
20030ae6
UD
20647 * libio/tst_putwc.c: Fix error messages.
20648
fcabc0f8
UD
20649 [BZ #12724]
20650 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20651 currently writing and seek to current position when not.
20652 * libio/Makefile (tests): Add bug-fclose1.
20653 * libio/bug-fclose1.c: New file.
20654
320a5dc0
PB
206552011-05-12 Ulrich Drepper <drepper@gmail.com>
20656
20657 [BZ #12511]
20658 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20659 don't set DF_1_NODELETE here.
20660 (do_lookup_x): When entering new entry test for copy relocation
20661 and if necessary set DF_1_NODELETE flag.
20662 * elf/tst-unique4.cc: New file.
20663 * elf/tst-unique4.h: New file.
20664 * elf/tst-unique4lib.cc: New file.
20665 * elf/Makefile: Add rules to build and run tst-unique4.
20666 Patch by Piotr Bury <pbury@goahead.com>.
20667
22836f52
UD
206682011-05-11 Ulrich Drepper <drepper@gmail.com>
20669
f574184a
UD
20670 [BZ #12052]
20671 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20672
e1fb097f
UD
20673 [BZ #12625]
20674 * misc/mntent_r.c (addmntent): Flush the stream after the output
20675
22836f52
UD
20676 [BZ #12393]
20677 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20678 (is_trusted_path_normalize): Skip initial colon. Append slash
20679 to empty buffer. Duplicate is_trusted_path code but allow
20680 constructed patch to be prefix.
20681 (is_dst): Allow $ORIGIN followed by /.
20682 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20683 Correct testing of result of is_trusted_path_normalize
20684 (decompose_rpath): Fix warning.
20685
7b3b0b2a
UD
206862011-05-10 Ulrich Drepper <drepper@gmail.com>
20687
20688 [BZ #11257]
20689 * grp/initgroups.c (internal_getgrouplist): When we found the service
20690 list through the initgroups entry in nsswitch.conf do not always
20691 continue on a successful lookup. Don't always use the
eac80ce2 20692 __nss_group_database value if it is set.
7b3b0b2a
UD
20693 * nss/nsswitch.conf (initgroups): Change action for successful db
20694 lookup to continue for compatibility.
20695
2a81eaa5
UD
206962011-05-09 Ulrich Drepper <drepper@gmail.com>
20697
be97a69e
UD
20698 [BZ #11532]
20699 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20700 and CP774 modules.
20701 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20702 and CP774 modules.
20703 * iconvdata/tst-tables.sh: Likewise.
20704 * iconvdata/cp770.c: New file.
20705 * iconvdata/cp771.c: New file.
20706 * iconvdata/cp772.c: New file.
20707 * iconvdata/cp773.c: New file.
20708 * iconvdata/cp774.c: New file.
20709 * iconvdata/testdata/CP770: New file.
20710 * iconvdata/testdata/CP770..UTF8: New file.
20711 * iconvdata/testdata/CP771: New file.
20712 * iconvdata/testdata/CP771..UTF8: New file.
20713 * iconvdata/testdata/CP772: New file.
20714 * iconvdata/testdata/CP772..UTF8: New file.
20715 * iconvdata/testdata/CP773: New file.
20716 * iconvdata/testdata/CP773..UTF8: New file.
20717 * iconvdata/testdata/CP774: New file.
20718 * iconvdata/testdata/CP774..UTF8: New file.
20719
20720 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20721 END CHARMAP line.
20722 * iconvdata/gen-8bit-gap.sh: Likewise.
20723 * iconvdata/gen-8bit.sh: Likewise.
20724
c1e9e399
UD
20725 * locale/iso-639.def: Add ary entry.
20726
24c55fb3 20727 [BZ #11258]
96b4b1b0
UD
20728 * locale/C-translit.h.in: Add U20A1 transliteration.
20729
bdc2f971
KB
20730 [BZ #12178]
20731 * locale/iso-639.def: Add wae entry.
20732 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20733
2952b117
UD
20734 [BZ #12545]
20735 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20736 for n.
20737
2a81eaa5
UD
20738 [BZ #12711]
20739 * locale/C-translit.h.in: Add entry for U20B9.
20740 Patch by pravin.d.s@gmail.com.
20741
28377d1b
UD
207422011-05-08 Ulrich Drepper <drepper@gmail.com>
20743
7fb90fb8
UD
20744 [BZ #12713]
20745 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20746 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20747 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20748 in rtld. Use *stat64.
7fb90fb8 20749 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20750 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20751 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20752 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20753 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20754 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20755 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20756 __fstatat64 macros.
7fb90fb8
UD
20757 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20758 * dirent/rewinddir.c: Add libc_hidden_def.
20759 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20760 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20761
28377d1b
UD
20762 * include/dirent.h (__alloc_dir): Add flags parameter.
20763 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20764 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20765 __alloc_dir.
20766 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20767 from fdopendir if O_CLOEXEC is already set.
20768
66bdbaa4
AM
207692011-03-15 Alan Modra <amodra@gmail.com>
20770
20771 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20772 l_tls_firstbyte_offset non-zero. Save padding offset in
20773 l_tls_firstbyte_offset for later use.
20774 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20775 freeing static tls block.
20776
95721191
JN
207772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20778
20779 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20780 where #ifdef was intended. The intent is to prevent ARG_MAX from
20781 being defined by the kernel headers.
20782
f87dfb1f
UD
207832011-05-07 Ulrich Drepper <drepper@gmail.com>
20784
20785 [BZ #12734]
20786 * resolv/resolv.h: Define RES_NOTLDQUERY.
20787 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20788 no-tld-query and set RES_NOTLDQUERY.
20789 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20790 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20791 modern BIND to search name as TLD unless forbidden.
20792
47c3cd7a
UD
207932011-05-07 Petr Baudis <pasky@suse.cz>
20794 Ulrich Drepper <drepper@gmail.com>
20795
20796 [BZ #12393]
20797 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20798 (is_trusted_path): ...to here.
c1e9ea35 20799 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20800 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20801 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20802
8a35c912
PP
208032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20804
20805 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20806 __BEGIN/__END_DECLS.
20807
acd41f47
UD
208082011-05-06 Ulrich Drepper <drepper@gmail.com>
20809
20810 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20811 NSS_STATUS_NOTFOUND if no record was found.
20812
597df647
AS
208132011-05-05 Andreas Schwab <schwab@redhat.com>
20814
20815 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20816 (headers-not-in-tirpc): Remove rpc/netdb.h
20817 * resolv/netdb.h: Revert last change.
20818
b9af1301
PP
208192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20820
20821 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20822 circular dependency between libgcc.a and libc.a.
20823
4e34d5f5
AS
208242011-05-05 Andreas Schwab <schwab@redhat.com>
20825
20826 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20827 * nis/Makefile: Don't install rpcsvc/*.
20828 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20829 instead of <rpc/types.h>.
20830 (MAXHOSTNAMELEN): Define.
20831
00ee369c
AS
208322011-05-03 Andreas Schwab <schwab@redhat.com>
20833
20834 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20835
0b592a30
MB
208362011-04-28 Maciej Babinski <mbabinski@google.com>
20837
20838 [BZ #12714]
20839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20840 gethostbyname4_r when IPv6 results are possible.
20841
6e04cbbe
UD
208422011-05-02 Ulrich Drepper <drepper@gmail.com>
20843
20844 [BZ #12723]
20845 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20846 _PC_PIPE_BUF handling.
20847
e4ecafe0
BH
208482011-04-30 Bruno Haible <bruno@clisp.org>
20849
20850 [BZ #12717]
20851 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20852 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20853 to 'int'.
20854 * inet/getnameinfo.c (getnameinfo): Likewise.
20855
125ee683
UD
208562011-04-29 Ulrich Drepper <drepper@gmail.com>
20857
20858 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20859 to groups setting in database lookup.
20860 * nss/nsswitch.conf: Add initgroups entry.
20861
b722481a
EB
208622011-04-22 Ulrich Drepper <drepper@gmail.com>
20863
20864 [BZ #12685]
20865 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20866 mode string.
20867 Patch by Eric Blake <eblake@redhat.com>.
20868
4df46dbd
L
208692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20870
20871 * sunrpc/Makefile (need-export-routines): Add svc_run.
20872 (routines): Remove svc_run.
20873 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20874 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20875 * sunrpc/svc_run.c (svc_run): Likewise.
20876 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20877
e84142d2
UD
208782011-04-21 Ulrich Drepper <drepper@gmail.com>
20879
20880 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20881 problem in reallocation in last patch.
20882
877175d8
UD
208832011-04-20 Ulrich Drepper <drepper@gmail.com>
20884
20885 * sunrpc/Makefile: Move inclusion of Rules.
20886
ab8eed78
UD
208872011-04-19 Ulrich Drepper <drepper@gmail.com>
20888
20889 * nss/nss_files/files-initgroups.c: New file.
20890 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20891 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20892 _nss_files_initgroups_dyn.
20893
e3d8f584
RS
208942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20895
20896 * elf/elf.h (R_ARM_IRELATIVE): Define.
20897
af190f45
UD
208982011-04-19 Ulrich Drepper <drepper@gmail.com>
20899
20900 * po/ru.po: Update from translation team.
20901
53cf59ef
UD
209022011-04-17 Ulrich Drepper <drepper@gmail.com>
20903
20904 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20905 dependencies.
20906
4c559bcd
MF
209072011-02-06 Mike Frysinger <vapier@gentoo.org>
20908
20909 [BZ #12653]
20910 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20911 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20912 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20913 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20915
4420675c
AS
209162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20917
20918 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20919 differing bytes.
20920 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20921 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20922 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20923
75ea32ab
UD
209242011-04-17 Ulrich Drepper <drepper@gmail.com>
20925
20926 [BZ #12420]
20927 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20928 storing it.
20929 * stdlib/bug-getcontext.c: New file.
20930 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20931
27390476
AK
209322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20933
20934 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20935 instructions into .machine "z9-109".
20936 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20937 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20938
10442705
AK
209392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20940
20941 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20942 between environment variables and auxiliary vector.
20943
7b57bfe5
UD
209442011-04-16 Ulrich Drepper <drepper@gmail.com>
20945
20946 * Makefile: Add rules to build linkobj/libc.so.
20947 * include/libc-symbols.h: Define libc_hidden_nolink.
20948 * include/rpc/auth.h: Mark functions which are to be hidden.
20949 * include/rpc/auth_des.h: Likewise.
20950 * include/rpc/auth_unix.h: Likewise.
20951 * include/rpc/clnt.h: Likewise.
20952 * include/rpc/des_crypt.h: Likewise.
20953 * include/rpc/key_prot.h: Likewise.
20954 * include/rpc/pmap_clnt.h: Likewise.
20955 * include/rpc/pmap_prot.h: Likewise.
20956 * include/rpc/pmap_rmt.h: Likewise.
20957 * include/rpc/rpc_msg.h: Likewise.
20958 * include/rpc/svc.h: Likewise.
20959 * include/rpc/svc_auth.h: Likewise.
20960 * include/rpc/xdr.h: Likewise.
20961 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20962 * nss/Makefile: Likewise.
20963 * sunrpc/Makefile: Don't install headers. Build library with normal
20964 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20965 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20966 for the compat linking library. Remove use of INTDEF/INTUSE.
20967 * sunrpc/auth_none.c: Likewise.
20968 * sunrpc/auth_unix.c: Likewise.
20969 * sunrpc/authdes_prot.c: Likewise.
20970 * sunrpc/authuxprot.c: Likewise.
20971 * sunrpc/clnt_gen.c: Likewise.
20972 * sunrpc/clnt_perr.c: Likewise.
20973 * sunrpc/clnt_raw.c: Likewise.
20974 * sunrpc/clnt_simp.c: Likewise.
20975 * sunrpc/clnt_tcp.c: Likewise.
20976 * sunrpc/clnt_udp.c: Likewise.
20977 * sunrpc/clnt_unix.c: Likewise.
20978 * sunrpc/des_crypt.c: Likewise.
20979 * sunrpc/des_soft.c: Likewise.
20980 * sunrpc/get_myaddr.c: Likewise.
20981 * sunrpc/key_call.c: Likewise.
20982 * sunrpc/key_prot.c: Likewise.
20983 * sunrpc/netname.c: Likewise.
20984 * sunrpc/pm_getmaps.c: Likewise.
20985 * sunrpc/pm_getport.c: Likewise.
20986 * sunrpc/pmap_clnt.c: Likewise.
20987 * sunrpc/pmap_prot.c: Likewise.
20988 * sunrpc/pmap_prot2.c: Likewise.
20989 * sunrpc/pmap_rmt.c: Likewise.
20990 * sunrpc/publickey.c: Likewise.
20991 * sunrpc/rpc_cmsg.c: Likewise.
20992 * sunrpc/rpc_common.c: Likewise.
20993 * sunrpc/rpc_dtable.c: Likewise.
20994 * sunrpc/rpc_prot.c: Likewise.
20995 * sunrpc/rpc_thread.c: Likewise.
20996 * sunrpc/rtime.c: Likewise.
20997 * sunrpc/svc.c: Likewise.
20998 * sunrpc/svc_auth.c: Likewise.
20999 * sunrpc/svc_authux.c: Likewise.
21000 * sunrpc/svc_raw.c: Likewise.
21001 * sunrpc/svc_run.c: Likewise.
21002 * sunrpc/svc_simple.c: Likewise.
21003 * sunrpc/svc_tcp.c: Likewise.
21004 * sunrpc/svc_udp.c: Likewise.
21005 * sunrpc/svc_unix.c: Likewise.
21006 * sunrpc/svcauth_des.c: Likewise.
21007 * sunrpc/xcrypt.c: Likewise.
21008 * sunrpc/xdr.c: Likewise.
21009 * sunrpc/xdr_array.c: Likewise.
21010 * sunrpc/xdr_float.c: Likewise.
21011 * sunrpc/xdr_intXX_t.c: Likewise.
21012 * sunrpc/xdr_mem.c: Likewise.
21013 * sunrpc/xdr_rec.c: Likewise.
21014 * sunrpc/xdr_ref.c: Likewise.
21015 * sunrpc/xdr_sizeof.c: Likewise.
21016 * sunrpc/xdr_stdio.c: Likewise.
21017
e6c61494
UD
210182011-04-10 Ulrich Drepper <drepper@gmail.com>
21019
21020 [BZ #12650]
21021 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21022 * sysdeps/ia64/dl-tls.h: Likewise.
21023 * sysdeps/powerpc/dl-tls.h: Likewise.
21024 * sysdeps/s390/dl-tls.h: Likewise.
21025 * sysdeps/sh/dl-tls.h: Likewise.
21026 * sysdeps/sparc/dl-tls.h: Likewise.
21027 * sysdeps/x86_64/dl-tls.h: Likewise.
21028 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21029
34fe483e
AS
210302011-03-14 Andreas Schwab <schwab@redhat.com>
21031
21032 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21033 rpath element also skip the following colon.
21034 (expand_dynamic_string_token): Add is_path parameter and pass
21035 down to DL_DST_REQUIRED and _dl_dst_substitute.
21036 (decompose_rpath): Call expand_dynamic_string_token with
21037 non-zero is_path. Ignore empty rpaths.
21038 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21039 with zero is_path.
21040
f12a32e6
AS
210412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21042
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21044 Make cancelable.
21045
38a7d692
UD
210462011-04-09 Ulrich Drepper <drepper@gmail.com>
21047
21048 [BZ #12655]
21049 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21050 Patch by Filipe David Manana <fdmanana@apache.org>.
21051
e451d22b
AS
210522011-04-07 Andreas Schwab <schwab@redhat.com>
21053
21054 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21055 Maintain aligned stack.
21056 (CHECK_RSP): Remove unused macro.
21057
dedc7c7b
UD
210582011-04-03 Ulrich Drepper <drepper@gmail.com>
21059
21060 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21061 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21062
94521213
UD
210632011-04-02 Ulrich Drepper <drepper@gmail.com>
21064
21065 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21066
8cb700c0 21067 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21068
0354e355
L
210692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21070
21071 [BZ #12518]
21072 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21073 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21074 * sysdeps/x86_64/memmove.c: New file.
21075 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21076 (memcpy): Renamed to ...
21077 (__new_memcpy): This.
21078 (memcpy): Provide GLIBC_2_14 memcpy.
21079 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21080 (memcpy): Provide GLIBC_2_2_5 memcpy.
21081
8593482f
UD
210822011-04-01 Ulrich Drepper <drepper@gmail.com>
21083
21084 [BZ #12631]
21085 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21086
81a5726b
AS
210872011-03-30 Andreas Schwab <schwab@redhat.com>
21088
21089 * misc/syncfs.c: New file.
21090 * misc/Makefile (routines): Add syncfs.
21091 * posix/unistd.h: Declare syncfs.
21092 * sysdeps/unix/syscalls.list: Add syncfs.
21093
00e5419f
AS
210942011-04-01 Andreas Schwab <schwab@redhat.com>
21095
21096 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21097 open_by_handle_at.
21098 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21099 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21101 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21103 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21104 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21105
748876bf
UD
211062011-04-01 Ulrich Drepper <drepper@gmail.com>
21107
658e451d
UD
21108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21109 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21110 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21112 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21115
748876bf
UD
21116 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21117 sync_file_range.c with -fexceptions.
21118 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21119 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21120 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21121 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21122 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21123 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21124 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21125 sync_file_range as cancellation point
21126 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21127 now a wrapper around __call_sync_file_range with cancellation handling.
21128 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21129 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21130 function name to __call_sync_file_range.
21131 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21132 Add call_sync_file_range.
748876bf 21133
6e63d5e1
AS
211342011-04-01 Andreas Schwab <schwab@redhat.com>
21135
21136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21137 bits/timex.h.
6e63d5e1 21138
46998f74
UD
211392011-04-01 Ulrich Drepper <drepper@gmail.com>
21140
4c1423ed
UD
21141 * iconv/iconv.h: Fix typo in comment.
21142 * io/fcntl.h: Likewise.
21143 * libio/stdio.h: Likewise.
21144 * posix/spawn.h: Likewise.
21145 * posix/unistd.h: Likewise.
21146 * stdlib/stdlib.h: Likewise.
21147 * time/time.h: Likewise.
21148 * wcsmbs/wchar.h: Likewise.
21149
158648c0
UD
21150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21151 open_by_handle): Add.
21152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21153 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21154 Augment a few comments.
21155 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21160 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21161 open_by_handle.
21162
46998f74
UD
21163 * io/fcntl.h (AT_EMPTY_PATH): Define.
21164
83fe108b
UD
211652011-03-30 Ulrich Drepper <drepper@gmail.com>
21166
21167 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21168 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21169 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21170 to...
21171 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21172 * Versions.def: Add GLIBC_2.14.
21173 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21174 Export.
83fe108b 21175
bb242059
UD
211762011-03-22 Ulrich Drepper <drepper@gmail.com>
21177
21178 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21179 round counter.
21180 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21181
c97a1282
L
211822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21183
21184 [BZ #12597]
21185 * string/test-strncmp.c (do_page_test): New function.
21186 (check2): Likewise.
21187 (test_main): Call check2.
21188 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21189
2a115601
UD
211902011-03-20 Ulrich Drepper <drepper@gmail.com>
21191
21192 [BZ #12587]
21193 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21194 Handle cache information in CPU leaf 4.
21195 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21196
8126d904
UD
211972011-03-18 Ulrich Drepper <drepper@gmail.com>
21198
042c49c6 21199 [BZ #12583]
8126d904
UD
21200 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21201 character representation.
21202 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21203
ccfe366e
RA
212042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21205
21206 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21207 END(__isnan) to END(__isnanf) to match function entry point/label
21208 EALIGN(__isnanf,...).
21209
c6e13027
JJ
212102011-03-10 Jakub Jelinek <jakub@redhat.com>
21211
21212 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21213
33f85a3f
UD
212142011-03-10 Ulrich Drepper <drepper@gmail.com>
21215
028478fa
UD
21216 [BZ #12510]
21217 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21218 copy from the symbol referenced in the relocation to initialize the
21219 used variable.
21220 Patch by Piotr Bury <pbury@goahead.com>.
21221 * elf/Makefile: Add rules to build and tst-unique3.
21222 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21223 * elf/tst-unique3.cc: New file.
21224 * elf/tst-unique3.h: New file.
21225 * elf/tst-unique3lib.cc: New file.
21226 * elf/tst-unique3lib2.cc: New file.
21227
33f85a3f
UD
21228 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21229
03592fc7
MF
212302011-03-10 Mike Frysinger <vapier@gentoo.org>
21231
21232 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21233 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21234 to _start.
03592fc7 21235
6a5ee102
UD
212362011-03-06 Ulrich Drepper <drepper@gmail.com>
21237
21238 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21239 to-be-loaded object along a path to loader is ld.so.
21240
7e4ba49c
HJ
212412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21242 Ulrich Drepper <drepper@gmail.com>
21243
21244 * sysdeps/x86_64/memset.S: After aligning destination, code
21245 branches to different locations depending on the value of
21246 misalignment, when multiarch is enabled. Fix this.
21247
212482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21249
21250 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21251 Set _x86_64_preferred_memory_instruction for AMD processsors.
21252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21253 Set bit_Prefer_SSE_for_memop for AMD processors.
21254
13a804de
UD
212552011-03-04 Ulrich Drepper <drepper@gmail.com>
21256
21257 * libio/fmemopen.c (fmemopen): Optimize a bit.
21258
9d25c392
AS
212592011-03-03 Andreas Schwab <schwab@redhat.com>
21260
21261 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21262
a5543c6a
RM
212632011-03-03 Roland McGrath <roland@redhat.com>
21264
21265 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21266
012d35f7
DM
212672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21268
7e4ba49c 21269 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21270 __bzero_ultra1 instead of __memset_ultra1.
21271
4bff6e01
AS
212722011-02-23 Andreas Schwab <schwab@redhat.com>
21273 Ulrich Drepper <drepper@gmail.com>
21274
21275 [BZ #12509]
21276 * include/link.h (struct link_map): Add l_orig_initfini.
21277 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21278 returning unsuccessfully.
21279 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21280 close of a file loaded at startup, restore the original l_initfini
21281 list.
21282 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21283 list, store the pointer.
21284 * elf/Makefile ($(objpfx)noload-mem): New rule.
21285 (noload-ENV): Define.
21286 (tests): Add $(objpfx)noload-mem.
21287 * elf/noload.c: Include <memcheck.h>.
21288 (main): Call mtrace. Close all opened handles.
21289
f2092faf
AS
212902011-02-17 Andreas Schwab <schwab@redhat.com>
21291
21292 [BZ #12454]
21293 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21294 dependencies are missing.
21295
6c8a2e88
ST
212962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21297
f2092faf 21298 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21299 Hurd needs munmap.
21300 * sysdeps/mach/hurd/ifreq.h: New file.
21301
84a42118
PB
213022011-01-27 Petr Baudis <pasky@suse.cz>
21303 Ulrich Drepper <drepper@gmail.com>
21304
071f805e 21305 [BZ 12445]#
84a42118
PB
21306 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21307 to extend_alloca().
21308 * stdio-common/bug23.c: New file.
21309 * stdio-common/Makefile (tests): Add bug23.
21310
e23fe25b
AS
213112010-09-28 Andreas Schwab <schwab@redhat.com>
21312 Ulrich Drepper <drepper@gmail.com>
21313
21314 [BZ #12489]
21315 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21316 before performing relro protection. At old place add assertion
21317 to make sure nothing changed.
21318
d3f02e10
NS
213192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21320 Glauber de Oliveira Costa <glommer@gmail.com>
21321
21322 * elf/elf.h: Add new ARM TLS relocs.
21323
d55fd7a5
RA
213242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21325
21326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21327 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21328 cast from r3.
21329 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21330 'tests' variable.
21331 * sysdeps/wordsize-64/tst-writev.c: New file.
21332
2206397e
RA
213332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21334
21335 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21336 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21337 insns in _dl_start to prevent a TOC reference before relocs are
21338 resolved.
21339
e9433893
UD
213402011-02-15 Ulrich Drepper <drepper@gmail.com>
21341
21342 [BZ #12469]
21343 * Makeconfig: Remove RANLIB definition.
21344 * Makerules: Don't use RANLIB.
21345 * aclocal.m4: Remove ranlib test.
21346 * configure.in: No need to check for ranlib.
21347 * elf/rtld-Rules: Don't use RANLIB.
21348
f75286c6
ST
213492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21350
8e31c82d
ST
21351 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21352 protection macro.
21353 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21354 inclusion protection macro.
21355
f75286c6
ST
21356 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21357 SIGRTMIN and SIGRTMAX and print information in that case only when
21358 SIGRTMIN is defined.
21359
c1d0e639
JJ
213602011-02-11 Jakub Jelinek <jakub@redhat.com>
21361
21362 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21363 arginfo fn returning -1.
21364
21365 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21366 and thousands string is zero terminated.
21367
edf9294e
AS
213682011-02-03 Andreas Schwab <schwab@redhat.com>
21369
21370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21371 sysdeps/unix/sysv/linux/bits/socket.h.
21372
2b7e92df
ST
213732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21374
edf9294e
AS
21375 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21376 (__CPU_COUNT): Remove old macros.
21377 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21378 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21379 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21380 (__sched_cpualloc, __sched_cpufree): Add declarations.
21381
a4c7ea7b
UD
213822011-02-05 Ulrich Drepper <drepper@gmail.com>
21383
21384 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21385 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21386 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21387 (readdhstai): Return value of addhstaiX call.
21388 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21389 (addgrbyX): Return value returned by cache_addgr.
21390 (readdgrbyname): Return value returned by addgrbyX.
21391 (readdgrbygid): Likewise.
21392 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21393 (addpwbyX): Return value returned by cache_addpw.
21394 (readdpwbyname): Return value returned by addhstbyX.
21395 (readdpwbyuid): Likewise.
21396 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21397 (addservbyX): Return value returned by cache_addserv.
21398 (readdservbyname): Return value returned by addservbyX:
21399 (readdservbyport): Likewise.
21400 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21401 (addhstbyX): Return value returned by cache_addhst.
21402 (readdhstbyname): Return value returned by addhstbyX.
21403 (readdhstbyaddr): Likewise.
21404 (readdhstbynamev6): Likewise.
21405 (readdhstbyaddrv6): Likewise.
21406 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21407 (readdinitgroups): Return value returned by addinitgroupsX.
21408 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21409 (prune_cache): Keep track of timeout value of re-added entries.
21410 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21411 * nscd/nscd.h: Adjust prototypes of readd* functions.
21412
a0bf67cc
RM
214132011-02-04 Roland McGrath <roland@redhat.com>
21414
21415 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21416 (nis_stats): Likewise.
21417 * nis/nis_modify.c (nis_modify): Likewise.
21418 * nis/nis_remove.c (nis_remove): Likewise.
21419 * nis/nis_add.c (nis_add): Likewise.
21420
21421 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21422
21423 * posix/fnmatch_loop.c: Add some consts.
21424
21425 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21426
435b95eb
L
214272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21428
21429 [BZ #12460]
21430 * config.make.in (config-cflags-novzeroupper): Define.
21431 * configure.in: Substitute libc_cv_cc_novzeroupper.
21432 * elf/Makefile (AVX-CFLAGS): Define.
21433 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21434 (CFLAGS-tst-auditmod4a.c): Likewise.
21435 (CFLAGS-tst-auditmod4b.c): Likewise.
21436 (CFLAGS-tst-auditmod6b.c): Likewise.
21437 (CFLAGS-tst-auditmod6c.c): Likewise.
21438 (CFLAGS-tst-auditmod7b.c): Likewise.
21439 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21440
8517b15e
UD
214412011-02-02 Ulrich Drepper <drepper@gmail.com>
21442
21443 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21444 function to the callback.
21445 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21446
10a656fe
AS
214472011-02-02 Andreas Schwab <schwab@redhat.com>
21448
21449 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21450 of errno.
21451
968dad0a
UD
214522011-01-19 Ulrich Drepper <drepper@gmail.com>
21453
9f94d2ea 21454 [BZ #11724]
968dad0a
UD
21455 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21456 of constructors.
21457 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21458 of destructors.
21459 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21460
21461 [BZ #11724]
21462 * elf/Makefile: Add rules to build and run new test.
21463 * elf/tst-initorder.c: New file.
21464 * elf/tst-initorder.exp: New file.
21465 * elf/tst-initordera1.c: New file.
21466 * elf/tst-initordera2.c: New file.
21467 * elf/tst-initordera3.c: New file.
21468 * elf/tst-initordera4.c: New file.
21469 * elf/tst-initorderb1.c: New file.
21470 * elf/tst-initorderb2.c: New file.
21471 * elf/tst-order-a1.c: New file.
21472 * elf/tst-order-a2.c: New file.
21473 * elf/tst-order-a3.c: New file.
21474 * elf/tst-order-a4.c: New file.
21475 * elf/tst-order-b1.c: New file.
21476 * elf/tst-order-b2.c: New file.
21477 * elf/tst-order-main.c: New file.
21478 New test case by George Gensure <werkt0@gmail.com>.
21479
86e92359
UD
214802010-10-01 Andreas Schwab <schwab@redhat.com>
21481
21482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21483 decoding ACE if AI_CANONIDN.
21484
5d5732b0
UD
214852011-01-18 Ulrich Drepper <drepper@gmail.com>
21486
21487 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21488
a77e8cbc
UD
214892011-01-17 Ulrich Drepper <drepper@gmail.com>
21490
6392473f
UD
21491 * version.h (RELEASE): Bump for 2.13 release.
21492 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21493
620a0529
UD
21494 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21495
18ba70a5
UD
21496 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21497 MADV_NOHUGEPAGE.
32465c3e
UD
21498 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21499 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21500 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21501 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21502 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21503 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21504
c0dafcf1
UD
21505 * posix/getconf.c: Update copyright year.
21506 * catgets/gencat.c: Likewise.
21507 * csu/version.c: Likewise.
21508 * debug/catchsegv.sh: Likewise.
21509 * debug/xtrace.sh: Likewise.
21510 * elf/ldconfig.c: Likewise.
21511 * elf/ldd.bash.in: Likewise.
21512 * elf/sprof.c (print_version): Likewise.
21513 * iconv/iconv_prog.c: Likewise.
21514 * iconv/iconvconfig.c: Likewise.
21515 * locale/programs/locale.c: Likewise.
21516 * locale/programs/localedef.c: Likewise.
21517 * malloc/memusage.sh: Likewise.
21518 * malloc/mtrace.pl: Likewise.
21519 * nscd/nscd.c (print_version): Likewise.
21520 * nss/getent.c: Likewise.
21521
a77e8cbc
UD
21522 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21523 PF_CAIF, and PF_ALG.
21524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21525
77e8bddf
AS
215262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21527
1f20b93a
AS
21528 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21529 (modules-names): Use them.
21530 (ifunc-test-modules, ifunc-pie-tests): Define.
21531 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21532 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21533 (test-extras): Likewise.
21534 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21535 $(compile-command.c).
21536 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21537 (all-built-dso): Define.
21538 (check-textrel.out, check-execstack.out): Depend on it.
21539
77e8bddf
AS
21540 * configure.in: Don't override --enable-multi-arch.
21541
bc425b33
UD
215422011-01-15 Ulrich Drepper <drepper@gmail.com>
21543
21544 [BZ #6812]
21545 * nscd/hstcache.c (tryagain): Define.
21546 (cache_addhst): Return tryagain not notfound for temporary errors.
21547 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21548 failed.
21549
794c3ad3
UD
215502011-01-14 Ulrich Drepper <drepper@gmail.com>
21551
70181fdd
UD
21552 [BZ #10563]
21553 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21554 to make the syscall.
21555 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21556
794c3ad3
UD
21557 [BZ #12378]
21558 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21559 and fall back to matching as normal character if the string ends before
21560 the matching ']' is found. This is what POSIX requires.
21561 * posix/testfnm.c: Adjust test result.
21562 * posix/globtest.sh: Adjust test result. Add new test.
21563 * posix/tst-fnmatch.input: Likewise.
21564 * posix/tst-fnmatch2.c: Add new test.
21565
68dc9497
AS
215662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21567
21568 * elf/Makefile (check-execstack): Revert last change. Depend on
21569 check-execstack.h.
21570 (check-execstack.h): New target.
21571 (generated): Add check-execstack.h.
21572 * elf/check-execstack.c: Include "check-execstack.h".
21573 (main): Revert last change.
21574 (handle_file): Return zero if GNU_STACK is absent and
21575 DEFAULT_STACK_PERMS doesn't include PF_X.
21576
451f001b
UD
215772011-01-13 Ulrich Drepper <drepper@gmail.com>
21578
cfa28e56
UD
21579 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21580 in child fails because the descriptor is already closed.
8cf8ce17
UD
21581 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21582 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21583 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21584
1086d70d
UD
21585 [BZ #12397]
21586 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21587 syscall.
21588
451f001b
UD
21589 [BZ #10484]
21590 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21591 temporary buffer used to handle multi lookups locally.
a85b5cb4 21592 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21593
08769175
UD
215942011-01-12 Ulrich Drepper <drepper@gmail.com>
21595
21596 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21597 loader is ld.so.
21598
5e49c52e
UD
215992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21600
21601 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21602 alignment for SSE2.
21603
60522a5f
UD
216042011-01-12 Ulrich Drepper <drepper@gmail.com>
21605
21606 [BZ #12394]
21607 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21608 characters. When rounding increased number of integer digits recompute
21609 number of groups.
21610 * stdio-common/tst-grouping.c: New file.
21611 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21612
f257bbd7
UD
216132011-01-09 Ulrich Drepper <drepper@gmail.com>
21614
21615 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21616 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21617
21618 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21619 void.
21620 * bits/select.h: Likewise.
21621
fa9c15cb
UD
216222011-01-08 Ulrich Drepper <drepper@gmail.com>
21623
21624 * po/ja.po: Update from translation team.
21625
16c2895f
DM
216262011-01-04 David S. Miller <davem@sunset.davemloft.net>
21627
21628 [BZ #11155]
21629 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21630 implementation just like for lxstat, fxstatat, et al.
21631
2543fef2
JM
216322010-12-27 Jim Meyering <meyering@redhat.com>
21633
21634 [BZ #12348]
21635 * posix/regexec.c (build_trtable): Return failure indication upon
21636 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21637
98727dbe
UD
216382010-12-25 Ulrich Drepper <drepper@gmail.com>
21639
5bd6dc5c
UD
21640 [BZ #12201]
21641 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21642 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21643 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21644 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21645
97983464
UD
21646 [BZ #12207]
21647 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21648
98727dbe
UD
21649 [BZ #12204]
21650 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21651 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21652
4a531bb0
L
216532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21654
21655 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21656 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21657 script has SORT_BY_INIT_PRIORITY.
21658 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21659 NO_CTORS_DTORS_SECTIONS is defined.
21660 * elf/soinit.c: Likewise.
21661 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21662 NO_CTORS_DTORS_SECTIONS is defined.
21663 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21664 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21665 * sysdeps/sh/init-first.c: Likewise.
21666 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21667
07eb4b71
UD
216682010-12-24 Ulrich Drepper <drepper@gmail.com>
21669
21670 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21671 always use the slow path.
21672
30950a5f
RA
216732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21674
21675 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21676 similar rule which adds the sysdep directories to the header search in
21677 order to pick up the correct platform stackinfo.h.
21678 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21679 perform test if it is, otherwise return successfully without testing.
21680 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21681 DEFAULT_STACK_PERMS define in stackinfo.h.
21682 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21683 defined in stackinfo.h.
21684 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21685 DEFAULT_STACK_PERMS defined in stackinfo.h.
21686 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21687 * sysdeps/ia64/stackinfo.h: Likewise.
21688 * sysdeps/s390/stackinfo.h: Likewise.
21689 * sysdeps/sh/stackinfo.h: Likewise.
21690 * sysdeps/sparc/stackinfo.h: Likewise.
21691 * sysdeps/x86_64/stackinfo.h: Likewise.
21692 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21693 PF_X for powerpc64. Retain PF_X for powerpc32.
21694
db753e2c
UD
216952010-12-19 Ulrich Drepper <drepper@gmail.com>
21696
14b697f7
UD
21697 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21698 accurately.
db753e2c
UD
21699 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21700 GETDENTS_64BIT_ALIGNED.
21701
28300719
UD
217022010-12-14 Ulrich Drepper <dreper@gmail.com>
21703
14b697f7 21704 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21705
4f197237
AS
217062010-12-10 Andreas Schwab <schwab@redhat.com>
21707
dbb0472f
AS
21708 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21709 _GNU_SOURCE.
21710
4f197237
AS
21711 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21712 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21713 Remove __restrict.
21714 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21715 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21716
fb88ac72
UD
217172010-12-09 Ulrich Drepper <drepper@gmail.com>
21718
21719 [BZ #11655]
21720 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21721 are initialized.
21722
42acbb92
JJ
217232010-12-09 Jakub Jelinek <jakub@redhat.com>
21724
21725 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21726
c038d98d
UD
217272010-12-03 Ulrich Drepper <drepper@gmail.com>
21728
21729 * po/it.po: Update from translation team.
21730
3a4a2499
L
217312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21732
21733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21734 unused codes.
21735
1e24cf6e
UD
217362010-11-30 Ulrich Drepper <drepper@gmail.com>
21737
21738 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21739
a7690819
AS
217402010-11-24 Andreas Schwab <schwab@redhat.com>
21741
21742 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21743 specially.
21744 (gaih_getanswer_slice): Likewise.
21745
3bf8d1b1
JJ
217462010-10-20 Jakub Jelinek <jakub@redhat.com>
21747
21748 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21749
6db52fbb
PB
217502010-05-31 Petr Baudis <pasky@suse.cz>
21751
21752 [BZ #11149]
21753 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21754 silently even in the chroot mode.
21755
eaca7569
UD
217562010-11-22 Ulrich Drepper <drepper@gmail.com>
21757
21758 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21759 last patch a bit. Pretty printing
21760
3056dcdb
UD
217612010-05-31 Petr Baudis <pasky@suse.cz>
21762
21763 [BZ #10085]
21764 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21765 initialization of skip_initgroups_dyn.
21766
cf7c9078
UD
217672010-11-19 Ulrich Drepper <drepper@gmail.com>
21768
21769 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21771
a1fb5e3e
UD
217722010-11-16 Ulrich Drepper <drepper@gmail.com>
21773
21774 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21775
3540d66b
AS
217762010-11-11 Andreas Schwab <schwab@redhat.com>
21777
21778 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21779 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21780 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21781 ($(objpfx)tst-fnmatch-mem): New rule.
21782 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21783 * posix/tst-fnmatch.c (main): Call mtrace.
21784
13b69574
L
217852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21786
21787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21788 Support Intel processor model 6 and model 0x2c.
21789
da93d214
LM
217902010-11-10 Luis Machado <luisgpm@br.ibm.com>
21791
21792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21793 signed comparison.
21794
8ca52c6e
L
217952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21796
21797 [BZ #12205]
21798 * string/test-strncasecmp.c (check_result): New function.
21799 (do_one_test): Use it.
21800 (check1): New function.
21801 (test_main): Use it.
21802 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21803 Support strcasecmp and strncasecmp.
21804
69da074d
UD
218052010-11-08 Ulrich Drepper <drepper@gmail.com>
21806
21807 [BZ #12194]
21808 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21809 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21810
ff02d528
L
218112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21812
21813 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21814 IFUNC support.
21815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21816 memset-x86-64.
21817 * sysdeps/x86_64/multiarch/bzero.S: New file.
21818 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21819 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21820 * sysdeps/x86_64/multiarch/memset.S: New file.
21821 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21823 Set bit_Prefer_SSE_for_memop for Intel processors.
21824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21825 Define.
21826 (index_Prefer_SSE_for_memop): Define.
21827 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21828
344d0b54
LM
218292010-11-04 Luis Machado <luisgpm@br.ibm.com>
21830
21831 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21832 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21833
c0dde15b
UD
218342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21835
21836 [BZ #12191]
21837 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21838 (__x86_64_raw_data_cache_size_half): Likewise.
21839 (__x86_64_raw_shared_cache_size): Likewise.
21840 (__x86_64_raw_shared_cache_size_half): Likewise.
21841
21842 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21843 (__x86_64_raw_data_cache_size_half): Likewise.
21844 (__x86_64_raw_shared_cache_size): Likewise.
21845 (__x86_64_raw_shared_cache_size_half): Likewise.
21846 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21847 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21848 and __x86_64_raw_shared_cache_size_half. Round
21849 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21850 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21851 to multiple of 256 bytes.
21852
0e516e0e
MS
218532010-11-03 Ulrich Drepper <drepper@gmail.com>
21854
21855 [BZ #12167]
21856 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21857 of inacessible symlinks. Verify result of symlink before returning it.
21858 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21859 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21860
0e012e87
ER
218612010-10-28 Erich Ritz <erichritz@gmail.com>
21862
21863 * math/math.h (isinf): Fix typo in comment.
21864
de0ff7bc
UD
218652010-11-01 Ulrich Drepper <drepper@gmail.com>
21866
21867 * po/da.po: Update from translation team.
21868
fa41c84d
UD
218692010-10-26 Ulrich Drepper <drepper@gmail.com>
21870
21871 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21872 is added to the list.
21873
f0967738
AK
218742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21875 Ulrich Drepper <drepper@gmail.com>
21876
21877 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21878 the global list here. Move code to...
21879 (_dl_add_to_namespace_list): ...here. New function.
21880 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21881 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21882 * elf/dl-load.c (lose): Don't remove the element from the list.
21883 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21884 (_dl_map_object): Likewise.
21885
218862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21887
21888 [BZ #12159]
21889 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21890 into all bytes of SSE register.
21891 Patch by Richard Li <richardpku@gmail.com>.
21892
f0967738 218932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21894
21895 [BZ #12140]
21896 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21897 perturbing.
21898
d0b9e94f
MB
218992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21900
21901 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21902 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21903 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21906 submachine.
21907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21908
8e9f92e9
AS
219092010-10-22 Andreas Schwab <schwab@redhat.com>
21910
21911 * include/dlfcn.h (__RTLD_SECURE): Define.
21912 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21913 mode & __RTLD_SECURE instead.
21914 (open_path): Rename preloaded parameter to secure.
21915 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21916 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21917 * elf/dl-deps.c (openaux): Likewise.
21918 * elf/rtld.c (struct map_args): Remove is_preloaded.
21919 (map_doit): Don't use it.
21920 (dl_main): Likewise.
21921 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21922 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21923
bc96fbda
AS
219242010-09-09 Andreas Schwab <schwab@redhat.com>
21925
21926 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21927 (sysd-rules-targets): Remove duplicates.
21928 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21929 rtld-%.$o dependency.
21930
22cd1c9b
AS
219312010-10-18 Andreas Schwab <schwab@redhat.com>
21932
21933 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21934 _dl_map_object do it.
21935
18edac48
UD
219362010-10-19 Ulrich Drepper <drepper@gmail.com>
21937
21938 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21939 fast fma builtins, define the macros in the C99 standard.
21940 (FP_FAST_FMAF): Likewise.
21941 (FP_FAST_FMAL): Likewise.
21942 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21943
21944 * bits/mathdef.h: Update copyright year.
21945 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21946
d2050124
MM
219472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21948
21949 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21950 builtins, define the macros in the C99 standard.
21951 (FP_FAST_FMAF): Likewise.
21952 (FP_FAST_FMAL): Likewise.
21953 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21954 multiply/add.
21955 (FP_FAST_FMAF): Likewise.
21956
475facd1
JJ
219572010-10-15 Jakub Jelinek <jakub@redhat.com>
21958
21959 [BZ #3268]
21960 * math/libm-test.inc (fma_test): Some new testcases.
21961 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21962 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21963 y and infinite z. Do multiplication by C already in long double.
21964 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21966 y and infinite z. Do bitwise or of inexact bit into u.d.
21967 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21968 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21969 * sysdeps/i386/fpu/s_fma.S: Removed.
21970 * sysdeps/i386/fpu/s_fmal.S: Removed.
21971
7c08a05c
JJ
219722010-10-16 Jakub Jelinek <jakub@redhat.com>
21973
21974 [BZ #3268]
21975 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21977 computation is not scheduled after fetestexcept. Fix value
21978 of minimum denormal long double.
21979
f3f7372d
JJ
219802010-10-14 Jakub Jelinek <jakub@redhat.com>
21981
21982 [BZ #3268]
21983 * math/libm-test.inc (fma_test): Add some more tests.
21984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21985 correctly.
21986
14d43591
AS
219872010-10-15 Andreas Schwab <schwab@redhat.com>
21988
21989 * scripts/data/localplt-s390-linux-gnu.data: New file.
21990 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21991
5e908464
JJ
219922010-10-13 Jakub Jelinek <jakub@redhat.com>
21993
21994 [BZ #3268]
21995 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21996 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21997 instead of dbl-64.
21998 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21999 inlines.
22000 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22002 if one of x and y is very large and the other is subnormal.
22003 * sysdeps/s390/fpu/s_fmaf.c: New file.
22004 * sysdeps/s390/fpu/s_fma.c: New file.
22005 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22006 * sysdeps/powerpc/fpu/s_fma.S: New file.
22007 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22008 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22009 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22010
220112010-10-12 Jakub Jelinek <jakub@redhat.com>
22012
22013 [BZ #3268]
22014 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22015 fma tests.
22016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22017 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22018 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22019 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22020 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22021 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22022 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22023
b833d51f
UD
220242010-10-12 Ulrich Drepper <drepper@redhat.com>
22025
22026 [BZ #12078]
22027 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22028 * posix/bug-regex31.input: Add test case.
22029
1751705d
UD
220302010-10-11 Ulrich Drepper <drepper@gmail.com>
22031
e9b9cbf5
UD
22032 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22033 * posix/bug-regex31.input: New file.
22034
22035 [BZ #12078]
22036 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22037 (parse_sub_exp): Fix last change, use postorder.
22038
ef06edbe
UD
22039 * posix/bug-regex31.c: New file.
22040 * posix/Makefile: Add rules to build and run bug-regex31.
22041
a129c80d
UD
22042 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22043
22044 [BZ #12078]
22045 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22046
b76b818e
UD
22047 [BZ #12108]
22048 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22049 to have entries in sys_siglist.
22050
1751705d
UD
22051 [BZ #12093]
22052 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22053 be NULL.
22054
9ff8d36f
JJ
220552010-10-07 Jakub Jelinek <jakub@redhat.com>
22056
22057 [BZ #3268]
22058 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22059 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22060 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22061 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22062 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22063 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22064 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22065 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22066 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22067 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22068 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22069 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22070 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22071 * math/ftestexcept.c (fetestexcept): Likewise.
22072 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22073 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22074 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22075 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22076 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22077 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22078 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22079
af325969
UD
220802010-10-11 Ulrich Drepper <drepper@gmail.com>
22081
c579b202 22082 [BZ #12107]
af325969
UD
22083 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22084 newline.
22085
67a67b95
UD
220862010-10-06 Ulrich Drepper <drepper@gmail.com>
22087
22088 * string/bug-strstr1.c: New file.
22089 * string/Makefile: Add rules to build and run bug-strstr1.
22090
5fb308bc
EB
220912010-10-05 Eric Blake <eblake@redhat.com>
22092
22093 [BZ #12092]
22094 * string/str-two-way.h (two_way_long_needle): Always clear memory
22095 when skipping input due to the shift table.
22096
45db99c7
UD
220972010-10-03 Ulrich Drepper <drepper@gmail.com>
22098
3b111893
UD
22099 [BZ #12005]
22100 * malloc/mcheck.c: Handle large requests.
22101
45db99c7
UD
22102 [BZ #12077]
22103 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22104 for strncmp and strncasecmp.
22105 * string/stratcliff.c: Add tests for strcmp and strncmp.
22106 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22107
cf7a1eb8
NI
221082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22109
22110 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22111 __set_fpscr.
22112
6484ba5e
AJ
221132010-09-30 Andreas Jaeger <aj@suse.de>
22114
22115 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22116 (CGROUP_SUPER_MAGIC): Define.
22117 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22118 Handle btrfs and cgroup file systems.
22119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22120 Likewise.
22121
91c42559
LM
221222010-09-27 Luis Machado <luisgpm@br.ibm.com>
22123
22124 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22125 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22126
87a97932
AK
221272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22128
22129 [BZ #12067]
22130 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22131 trying to locate the ELF header.
22132
c21cc9bc
AS
221332010-09-27 Andreas Schwab <schwab@redhat.com>
22134
22135 [BZ #11611]
22136 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22137 Mask out sign-bit copies when constructing f_fsid.
22138
315970f6
PB
221392010-09-24 Petr Baudis <pasky@suse.cz>
22140
22141 * debug/stack_chk_fail_local.c: Add missing licence exception.
22142 * debug/warning-nop.c: Likewise.
22143
1ac7a2c7
JM
221442010-09-15 Joseph Myers <joseph@codesourcery.com>
22145
22146 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22147 implementing getdents64 using getdents syscall, set d_type if
22148 __ASSUME_GETDENTS32_D_TYPE.
22149
56801c50
AS
221502010-09-16 Andreas Schwab <schwab@redhat.com>
22151
22152 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22153 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22154
dda51327
UD
221552010-09-21 Ulrich Drepper <drepper@redhat.com>
22156
22157 [BZ #12037]
22158 * posix/unistd.h: Undo change of feature selection for ftruncate from
22159 2010-01-11.
22160
8ffcee4a
UD
221612010-09-20 Ulrich Drepper <drepper@redhat.com>
22162
a545ecd9 22163 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22164 detection.
22165
e24f0a8b
AS
221662010-09-20 Andreas Schwab <schwab@redhat.com>
22167
22168 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22169 fanotify_mark.
22170 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22171
7291c56f
AS
221722010-09-14 Andreas Schwab <schwab@redhat.com>
22173
22174 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22175 variables after CHECK_SP call.
22176 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22177
bc5fb037
AS
221782010-09-13 Andreas Schwab <schwab@redhat.com>
22179 Ulrich Drepper <drepper@redhat.com>
22180
22181 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22182 re-relocationg ld.so.
22183 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22184 _dl_init_paths call.
22185 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22186 here anymore.
22187
e66e7419
UD
221882010-09-14 Ulrich Drepper <drepper@redhat.com>
22189
22190 * resolv/res_init.c (__res_vinit): Count the default server we added.
22191
c044aa75
CLT
221922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22193 Ulrich Drepper <drepper@redhat.com>
22194
22195 [BZ #11968]
22196 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22197 (____longjmp_chk): Use %ebx for saving value across system call.
22198 Add unwind info.
22199
32cf4069
AS
222002010-09-06 Andreas Schwab <schwab@redhat.com>
22201
22202 * manual/Makefile: Don't mix pattern rules with normal rules.
22203
817328ee
AS
222042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22205
22206 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22207 operation.
22208 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22209 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22210 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22211 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22213 Likewise.
22214
29fddf61
UD
222152010-09-04 Ulrich Drepper <drepper@redhat.com>
22216
22217 [BZ #11979]
22218 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22219 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22220
0959ffc9
UD
222212010-09-02 Ulrich Drepper <drepper@redhat.com>
22222
22223 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22224 * sysdeps/x86_64/addmul_1.S: Likewise.
22225 * sysdeps/x86_64/lshift.S: Likewise.
22226 * sysdeps/x86_64/mul_1.S: Likewise.
22227 * sysdeps/x86_64/rshift.S: Likewise.
22228 * sysdeps/x86_64/sub_n.S: Likewise.
22229 * sysdeps/x86_64/submul_1.S: Likewise.
22230
ece29840
ST
222312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22232
0959ffc9
UD
22233 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22234 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22235 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22236 * bits/sched.h [__need_schedparam]
ece29840 22237 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22238 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22239 (__defined_schedparam): Define to 1.
ece29840
ST
22240 (__sched_param): New structure, identical to sched_param.
22241 (__need_schedparam): Undefine.
22242
e53a31fe
MF
222432010-08-31 Mike Frysinger <vapier@gentoo.org>
22244
fdc0c10d
MF
22245 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22246 (epoll_create1): Declare.
22247
e53a31fe
MF
22248 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22249
a726d796
AS
222502010-08-31 Andreas Schwab <schwab@redhat.com>
22251
22252 [BZ #7066]
22253 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22254 shifting retval into place.
22255
2f3e3dc7
UD
222562010-09-01 Ulrich Drepper <drepper@redhat.com>
22257
f2933da9
UD
22258 * nis/rpcsvc/nis.h: Update copyright notice.
22259 * nis/rpcsvc/nis.x: Likewise.
22260 * nis/rpcsvc/nis_callback.h: Likewise.
22261 * nis/rpcsvc/nis_callback.x: Likewise.
22262 * nis/rpcsvc/nis_object.x: Likewise.
22263 * nis/rpcsvc/nis_tags.h: Likewise.
22264 * nis/rpcsvc/yp.h: Likewise.
22265 * nis/rpcsvc/yp.x: Likewise.
22266 * nis/rpcsvc/ypupd.h: Likewise.
22267 * nis/yp_xdr.c: Likewise.
22268 * nis/ypupdate_xdr.c: Likewise.
22269
2f3e3dc7
UD
22270 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22271 mainly the body of pmap_getport. Add parameters to specify timeouts.
22272 (pmap_getport): Use __libc_rpc_getport.
22273 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22274 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22275 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22276
f3dcc2f9
AS
222772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22278
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22280 fanotify_mark.
22281
6d34eb5b
RM
222822010-08-27 Roland McGrath <roland@redhat.com>
22283
22284 * sysdeps/i386/i686/multiarch/Makefile
22285 (CFLAGS-varshift.c): New variable.
22286
9ea3de11
UD
222872010-08-27 Ulrich Drepper <drepper@redhat.com>
22288
c96d23fc
UD
22289 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22290 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22291
9ea3de11
UD
22292 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22293
22294 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22295
623aac7f
L
222962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22297
22298 * sysdeps/x86_64/strlen.S: Unroll the loop.
22299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22300 strlen-sse2 strlen-sse2-bsf.
22301 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22302 __strlen_no_bsf if bit_Slow_BSF is set.
22303 (__strlen_sse42): Removed.
22304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22305 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22306
8b2b7715
RM
223072010-08-25 Roland McGrath <roland@redhat.com>
22308
22309 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22310 * sysdeps/x86_64/multiarch/varshift.c: New file.
22311 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22312 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22313 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22314 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22315
e73015f2
L
223162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22317
22318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22319 strlen-sse2 strlen-sse2-bsf.
22320 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22321 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22322 (__strlen_sse2): Removed.
22323 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22326 bit_Slow_BSF for Atom.
22327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22328 (index_Slow_BSF): Define.
22329 (HAS_SLOW_BSF): Define.
22330
df24a73e
UD
223312010-08-25 Ulrich Drepper <drepper@redhat.com>
22332
22333 [BZ #10851]
22334 * resolv/res_init.c (__res_vinit): When no server address at all
22335 is given default to loopback.
22336
f2ac4868
RM
223372010-08-24 Roland McGrath <roland@redhat.com>
22338
09055553
RM
22339 * configure.in: Remove config-name.h generation.
22340 * configure: Regenerated.
22341 * config-name.in: File removed.
22342 * scripts/config-uname.sh: New file.
22343 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22344 ($(objdir)config-name.h): New target.
22345
f2ac4868
RM
22346 * sunrpc/rpc_parse.h: Avoid nested comment.
22347
73f27d5e
RH
223482010-08-24 Richard Henderson <rth@redhat.com>
22349 Ulrich Drepper <drepper@redhat.com>
22350 H.J. Lu <hongjiu.lu@intel.com>
22351
22352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22354 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22355 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22356 _mm_alignr_epi8 with _mm_loadu_si128.
22357 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22358 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22359 (__m128i_shift_right): Removed.
22360 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22361 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22362 * sysdeps/x86_64/multiarch/varshift.h: New file.
22363 * sysdeps/x86_64/multiarch/varshift.S: New file.
22364
84b9230c
MF
223652010-08-21 Mike Frysinger <vapier@gentoo.org>
22366
22367 * configure.in: Move assembler checks to before sysdep dir checking.
22368
9bbd0ddc
PB
223692010-08-20 Petr Baudis <pasky@suse.cz>
22370
22371 * LICENSES: Sync the sunrpc license.
22372
9da4bb31
UD
223732010-08-19 Ulrich Drepper <drepper@redhat.com>
22374
a7ab6ec8
UD
22375 * sunrpc/auth_des.c: Update copyright notice once again.
22376 * sunrpc/auth_none.c: Likewise.
22377 * sunrpc/auth_unix.c: Likewise.
22378 * sunrpc/authdes_prot.c: Likewise.
22379 * sunrpc/authuxprot.c: Likewise.
22380 * sunrpc/bindrsvprt.c: Likewise.
22381 * sunrpc/clnt_gen.c: Likewise.
22382 * sunrpc/clnt_perr.c: Likewise.
22383 * sunrpc/clnt_raw.c: Likewise.
22384 * sunrpc/clnt_simp.c: Likewise.
22385 * sunrpc/clnt_tcp.c: Likewise.
22386 * sunrpc/clnt_udp.c: Likewise.
22387 * sunrpc/clnt_unix.c: Likewise.
22388 * sunrpc/des_crypt.c: Likewise.
22389 * sunrpc/des_soft.c: Likewise.
22390 * sunrpc/get_myaddr.c: Likewise.
22391 * sunrpc/getrpcport.c: Likewise.
22392 * sunrpc/key_call.c: Likewise.
22393 * sunrpc/key_prot.c: Likewise.
22394 * sunrpc/openchild.c: Likewise.
22395 * sunrpc/pm_getmaps.c: Likewise.
22396 * sunrpc/pm_getport.c: Likewise.
22397 * sunrpc/pmap_clnt.c: Likewise.
22398 * sunrpc/pmap_prot.c: Likewise.
22399 * sunrpc/pmap_prot2.c: Likewise.
22400 * sunrpc/pmap_rmt.c: Likewise.
22401 * sunrpc/rpc/auth.h: Likewise.
22402 * sunrpc/rpc/auth_unix.h: Likewise.
22403 * sunrpc/rpc/clnt.h: Likewise.
22404 * sunrpc/rpc/des_crypt.h: Likewise.
22405 * sunrpc/rpc/key_prot.h: Likewise.
22406 * sunrpc/rpc/netdb.h: Likewise.
22407 * sunrpc/rpc/pmap_clnt.h: Likewise.
22408 * sunrpc/rpc/pmap_prot.h: Likewise.
22409 * sunrpc/rpc/pmap_rmt.h: Likewise.
22410 * sunrpc/rpc/rpc.h: Likewise.
22411 * sunrpc/rpc/rpc_des.h: Likewise.
22412 * sunrpc/rpc/rpc_msg.h: Likewise.
22413 * sunrpc/rpc/svc.h: Likewise.
22414 * sunrpc/rpc/svc_auth.h: Likewise.
22415 * sunrpc/rpc/types.h: Likewise.
22416 * sunrpc/rpc/xdr.h: Likewise.
22417 * sunrpc/rpc_clntout.c: Likewise.
22418 * sunrpc/rpc_cmsg.c: Likewise.
22419 * sunrpc/rpc_common.c: Likewise.
22420 * sunrpc/rpc_cout.c: Likewise.
22421 * sunrpc/rpc_dtable.c: Likewise.
22422 * sunrpc/rpc_hout.c: Likewise.
22423 * sunrpc/rpc_main.c: Likewise.
22424 * sunrpc/rpc_parse.c: Likewise.
22425 * sunrpc/rpc_parse.h: Likewise.
22426 * sunrpc/rpc_prot.c: Likewise.
22427 * sunrpc/rpc_sample.c: Likewise.
22428 * sunrpc/rpc_scan.c: Likewise.
22429 * sunrpc/rpc_scan.h: Likewise.
22430 * sunrpc/rpc_svcout.c: Likewise.
22431 * sunrpc/rpc_tblout.c: Likewise.
22432 * sunrpc/rpc_util.c: Likewise.
22433 * sunrpc/rpc_util.h: Likewise.
22434 * sunrpc/rpcinfo.c: Likewise.
22435 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22436 * sunrpc/rpcsvc/key_prot.x: Likewise.
22437 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22438 * sunrpc/rpcsvc/mount.x: Likewise.
22439 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22440 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22441 * sunrpc/rpcsvc/rex.x: Likewise.
22442 * sunrpc/rpcsvc/rstat.x: Likewise.
22443 * sunrpc/rpcsvc/rusers.x: Likewise.
22444 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22445 * sunrpc/rpcsvc/spray.x: Likewise.
22446 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22447 * sunrpc/rtime.c: Likewise.
22448 * sunrpc/svc.c: Likewise.
22449 * sunrpc/svc_auth.c: Likewise.
22450 * sunrpc/svc_authux.c: Likewise.
22451 * sunrpc/svc_raw.c: Likewise.
22452 * sunrpc/svc_run.c: Likewise.
22453 * sunrpc/svc_simple.c: Likewise.
22454 * sunrpc/svc_tcp.c: Likewise.
22455 * sunrpc/svc_udp.c: Likewise.
22456 * sunrpc/svc_unix.c: Likewise.
22457 * sunrpc/svcauth_des.c: Likewise.
22458 * sunrpc/xcrypt.c: Likewise.
22459 * sunrpc/xdr.c: Likewise.
22460 * sunrpc/xdr_array.c: Likewise.
22461 * sunrpc/xdr_float.c: Likewise.
22462 * sunrpc/xdr_mem.c: Likewise.
22463 * sunrpc/xdr_rec.c: Likewise.
22464 * sunrpc/xdr_ref.c: Likewise.
22465 * sunrpc/xdr_sizeof.c: Likewise.
22466 * sunrpc/xdr_stdio.c: Likewise.
22467
9da4bb31
UD
22468 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22469 handling.
22470
bdaa77bc
AS
224712010-08-19 Andreas Schwab <schwab@redhat.com>
22472
22473 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22474
fe2f79db
LM
224752010-08-19 Luis Machado <luisgpm@br.ibm.com>
22476
22477 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22478 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22479 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22480 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22481 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22482 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22483 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22484 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22485 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22486 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22487 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22488 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22489 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22490 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22491
b9b42ee0
AB
224922010-07-26 Anton Blanchard <anton@samba.org>
22493
22494 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22495 * malloc/arena.c (heap_trim): Likewise.
22496
1c06ba31
UD
224972010-08-16 Ulrich Drepper <drepper@redhat.com>
22498
22499 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22500 here. Not...
22501 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22502 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22503
f8392f40
L
225042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22505
22506 * sysdeps/i386/elf/Makefile: New file.
22507
3162f12e
AS
225082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22509
22510 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22511 from fanotify_init.
22512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22513 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22514
28c90b2c
UD
225152010-08-15 Ulrich Drepper <drepper@redhat.com>
22516
22517 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22518 of strncasecmp_l.
1feccb6c 22519 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22520
ca6bb004
UD
225212010-08-14 Ulrich Drepper <drepper@redhat.com>
22522
e9f82e0d
UD
22523 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22524 strncase_l-nonascii.
22525 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22526 Add strncase_l-ssse3.
22527 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22528 * sysdeps/x86_64/strcmp.S: Likewise.
22529 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22530 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22531 * sysdeps/x86_64/strncase.S: New file.
22532 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22533 * sysdeps/x86_64/strncase_l.S: New file.
22534 * string/Makefile (strop-tests): Add strncasecmp.
22535 * string/test-strncasecmp.c: New file.
22536
22537 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22538 warning.
22539
ca6bb004
UD
22540 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22541 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22542
052fa7b3
AS
225432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22544
22545 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22546
962dba78
UD
225472010-08-12 Ulrich Drepper <drepper@redhat.com>
22548
22549 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22550 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22551 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22552
bebff237
AM
225532010-05-01 Alan Modra <amodra@gmail.com>
22554
22555 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22556 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22557 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22558 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22559 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22560 tidying. Don't tail-call __sigjmp_save for static lib.
22561 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22562 save location.
22563 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22564 (CALL_MCOUNT): Add eh info, and nop after bl.
22565 (TAIL_CALL_SYSCALL_ERROR): New macro.
22566 (PSEUDO_RET): Use it.
22567 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22568 Correct save location of integer regs and cr.
22569 (_dl_profile_resolve): Correct cr save location. Delete nops
22570 after bl when SHARED. Reduce cfi size a little by better
22571 placement of cfi directives.
22572 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22573 make a stack frame. Instead use parm save area as a temp.
22574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22575 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22577 Don't make a stack frame for parent, use parm save area.
22578 Increase child stack frame to 112 bytes. Don't save unused reg,
22579 and adjust reg usage. Set up cfi on error recovery and
22580 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22582 (__makecontext): Add dummy nop after jump to exit.
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22584 Use correct parm save area and cr save, reduce stack frame.
22585 Correct cfi for possible PSEUDO_RET frame setup.
22586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22587 Branch to local label emitted by PSEUDO_RET rather than
22588 __syscall_error.
22589
02637374
AS
225902010-08-12 Andreas Schwab <schwab@redhat.com>
22591
22592 [BZ #11904]
22593 * locale/programs/locale.c (print_assignment): New function.
22594 (show_locale_vars): Use it.
22595
c3e2f19b
UD
225962010-08-11 Ulrich Drepper <drepper@redhat.com>
22597
3cdaa6ad
UD
22598 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22599 field.
22600 (struct statfs64): Likewise.
22601 (_STATFS_F_FLAGS): Define.
22602 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22604 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22605 (ST_VALID): Define locally.
22606 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22607 __statvfs_getflags, use the provided value.
22608 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22609 __ASSUME_STATFS_F_FLAGS.
22610
754f7da3
UD
22611 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22612
10b3bedc
UD
22613 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22614 Add sys/fanotify.h.
22615 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22616 fanotify_mask for GLIBC_2.13.
22617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22618 fanotify_init and fanotify_mark.
22619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22620 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22621
c08fb0d7
UD
22622 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22623 Add prlimit.
22624 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22625 prlimit64 for GLIBC_2.13.
22626 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22627 prlimit64.
22628 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22629 syscall.
22630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22631 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22632 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22633 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22634 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22635 add prlimit alias.
22636 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22637
15bac72b
UD
22638 [BZ #11903]
22639 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22640 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22641
c3e2f19b
UD
22642 * nss/Makefile: Add rules to build and run tst-nss-test1.
22643 * shlib-versions: Add entry for libnss_test1.
22644 * nss/nss_test1.c: New file.
22645 * nss/tst-nss-test1.c: New file.
22646
22647 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22648 (__nss_configure_lookup): Set appropriate entry in
22649 __nss_configure_lookup to true.
22650 * nss/nsswitch.h: Define enum with indeces of databases in
22651 databases and __nss_database_custom arrays. Declare
22652 __nss_database_custom.
22653 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22654 to avoid using nscd when custom rules are installed.
22655 * nss/getXXbyYY_r.c: Likewise.
22656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22657
22658 * nss/nss_files/files-parse.c: Whitespace fixes.
22659
f15ce4d8
UD
226602010-08-09 Ulrich Drepper <drepper@redhat.com>
22661
22662 [BZ #11883]
22663 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22664 * posix/fnmatch_loop.c: Likewise.
22665
d22e4cc9
AK
226662010-07-17 Andi Kleen <ak@linux.intel.com>
22667
22668 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22669 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22670 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22671 * Versions.def [GLIBC_2.13]: Add.
22672
805bc17d
UD
226732010-08-06 Ulrich Drepper <drepper@redhat.com>
22674
22675 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22676 Also fail if tpwd after pwuid call is NULL.
22677
5a42321d
ST
226782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22679
22680 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22681 when converting to ms.
22682
fd3ebeda
ST
226832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22684
22685 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22686 EOPNOTSUPP errors with ENOTTY.
22687 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22688 EOPNOTSUPP errors with ENOTTY.
22689
73507d3a
UD
226902010-07-31 Ulrich Drepper <drepper@redhat.com>
22691
22692 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22693 Add strcasecmp_l-ssse3.
22694 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22695 strcasecmp.
22696 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22697 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22698 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22699
fe36dd02
UD
227002010-07-30 Ulrich Drepper <drepper@redhat.com>
22701
66f6765a
UD
22702 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22703
42e08a54
UD
22704 * string/Makefile (strop-tests): Add strcasecmp.
22705 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22706 strcasecmp_l-nonascii.
22707 (gen-as-const-headers): Add locale-defines.sym.
22708 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22709 * sysdeps/x86_64/strcasecmp.S: New file.
22710 * sysdeps/x86_64/strcasecmp_l.S: New file.
22711 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22712 * sysdeps/x86_64/locale-defines.sym: New file.
22713 * string/test-strcasecmp.c: New file.
22714
fe36dd02
UD
22715 * string/test-strcasestr.c: Test both ends of the range of characters.
22716 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22717
48cbc0d6
RM
227182010-07-29 Roland McGrath <roland@redhat.com>
22719
76e6d6bc 22720 [BZ #11856]
48cbc0d6
RM
22721 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22722
880113d9
UD
227232010-07-27 Ulrich Drepper <drepper@redhat.com>
22724
22725 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22726 for ld.so.
22727
deb9cabb
AS
227282010-07-27 Andreas Schwab <schwab@redhat.com>
22729
22730 * manual/memory.texi (Malloc Tunable Parameters): Document
22731 M_PERTURB.
22732
1c7570ff
RM
227332010-07-26 Roland McGrath <roland@redhat.com>
22734
22735 [BZ #11840]
22736 * configure.in (-fgnu89-inline check): Set and substitute
22737 gnu89_inline, not libc_cv_gnu89_inline.
22738 * configure: Regenerated.
22739 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22740
24fb0f88
UD
227412010-07-26 Ulrich Drepper <drepper@redhat.com>
22742
22743 * string/test-strnlen.c: New file.
22744 * string/Makefile (strop-tests): Add strnlen.
22745 * string/tester.c (test_strnlen): Add a few more test cases.
22746 * string/tst-strlen.c: Better error reporting.
22747
22748 * sysdeps/x86_64/strnlen.S: New file.
22749
8e96b93a
UD
227502010-07-24 Ulrich Drepper <drepper@redhat.com>
22751
22752 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22753 lower-latency instructions.
22754
dbc676d4
UD
227552010-07-23 Ulrich Drepper <drepper@redhat.com>
22756
22757 * string/test-strcasestr.c: New file.
22758 * string/test-strstr.c: New file.
22759 * string/Makefile (strop-tests): Add strstr and strcasestr.
22760 * string/str-two-way.h: Don't undefine MAX.
22761 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22762
f6a31e0e
AS
227632010-07-21 Andreas Schwab <schwab@redhat.com>
22764
22765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22766 strcasestr-nonascii.
22767 (CFLAGS-strcasestr-nonascii.c): Define.
22768 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22769 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22770 Remove unused attribute.
22771
5dbc3b6c
RM
227722010-07-20 Roland McGrath <roland@redhat.com>
22773
22774 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22775 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22776 ld.so.cache was broken. With it, there is no way to disable dsocaps
22777 like LD_HWCAP_MASK can disable hwcaps.
22778
23d101d8
EPM
227792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22780
22781 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22782
cc9f2e47
UD
227832010-07-16 Ulrich Drepper <drepper@redhat.com>
22784
22785 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22786 call in strcasestr.
22787 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22788 __strcasestr_sse42_nonascii.
22789 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22790 strcasestr-nonascii.c.
22791 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22792
77c1b069
LM
227932010-06-15 Luis Machado <luisgpm@br.ibm.com>
22794
22795 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22796 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22797 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22798 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22799
440566c3
UD
228002010-07-09 Ulrich Drepper <drepper@redhat.com>
22801
22802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22803 fcntl.
22804
5be9d05d
AS
228052010-07-06 Andreas Schwab <schwab@redhat.com>
22806
c30b7ee2 22807 [BZ #11577]
5be9d05d
AS
22808 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22809 dl_signal_cerror.
22810
8a492a67
UD
228112010-07-06 Ulrich Drepper <drepper@redhat.com>
22812
22813 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22814 _PC_PIPE_BUF using F_GETPIPE_SZ.
22815
713df3d5
RM
228162010-07-05 Roland McGrath <roland@redhat.com>
22817
22818 * manual/arith.texi (Rounding Functions): Fix rint description
22819 implicit in round description.
22820
702e8f14
UD
228212010-07-02 Ulrich Drepper <drepper@redhat.com>
22822
22823 * elf/Makefile: Fix linking for a few tests to make recent linker
22824 happy.
22825
52ed8be9
AS
228262010-06-30 Andreas Schwab <schwab@redhat.com>
22827
22828 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22829 $(common-objpfx)libc_nonshared.a.
22830
f47c9a11
LM
228312010-06-21 Luis Machado <luisgpm@br.ibm.com>
22832
22833 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22834 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22835 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22836 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22837 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22838 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22839 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22840 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22855 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22856 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22857 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22858 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22859 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22860 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22861 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22862 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22863 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22864 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22865 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22866 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22881
6fb8cbcb
L
228822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22885 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22886 * string/memmove.c (memmove): Renamed to ...
22887 (MEMMOVE): ...this. Default to memmove.
22888 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22889 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22890 (END_CHK): Define.
22891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22892 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22893 mempcpy-ssse3-back memmove-ssse3-back.
22894 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22896 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22897 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22898 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22899 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22900 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22901 * sysdeps/x86_64/multiarch/memmove.c: New file.
22902 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22903 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22904 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22905 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22906 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22907 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22908 Define.
22909 (index_Fast_Copy_Backward): Define.
22910 (HAS_ARCH_FEATURE): Define.
22911 (HAS_FAST_REP_STRING): Define.
22912 (HAS_FAST_COPY_BACKWARD): Define.
22913
4e733bac 229142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22915
22916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22917 Restore proper fallback handling.
22918
63c4ed22
UD
229192010-06-19 Ulrich Drepper <drepper@redhat.com>
22920
ac2b484c
UD
22921 [BZ #11701]
22922 * posix/group_member.c (__group_member): Correct checking loop.
22923
63c4ed22
UD
22924 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22925 OOM in getpwuid_r correctly. Return error number when the caller
22926 should return, otherwise -1.
22927 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22928 call returning > 0 value.
22929 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22930
765ade4b
AS
229312010-06-07 Andreas Schwab <schwab@redhat.com>
22932
22933 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22934 libc_nonshared.a from targets in modules-names.
22935
80da2e09
KS
229362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22937
22938 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22939 requires it.
22940
158db122
LM
229412010-06-10 Luis Machado <luisgpm@br.ibm.com>
22942
22943 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22944 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22946 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22947
caa78cf8
AS
229482010-06-02 Andreas Schwab <schwab@redhat.com>
22949
22950 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22951
b2ef2c01
UD
229522010-06-14 Ulrich Drepper <drepper@redhat.com>
22953
22954 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22955 and F_GETPIPE_SZ.
22956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22958 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22960 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22962
fbd643b6
RM
229632010-06-14 Roland McGrath <roland@redhat.com>
22964
22965 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22966
f32f2869
JJ
229672010-06-07 Jakub Jelinek <jakub@redhat.com>
22968
22969 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22970 __REDIRECT followed by __THROW.
22971 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22972 * posix/getopt.h (getopt): Likewise.
22973
2a50c078
EPM
229742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22975
22976 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22977 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22978 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22979 in AT_FLAGS.
22980 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22981 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22982
eb5ad2eb
LM
229832010-05-28 Luis Machado <luisgpm@br.ibm.com>
22984
22985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22986
3c88fe1e
L
229872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22988
22989 [BZ #11640]
22990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22991 Properly check family and model.
22992
d2f73151
TY
229932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22994
22995 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22996
ebd2e13d
LM
229972010-05-24 Luis Machado <luisgpm@br.ibm.com>
22998
22999 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23000
b32b8b45
UD
230012010-05-21 Ulrich Drepper <drepper@redhat.com>
23002
23003 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23004 symbol reference.
23005
9acbe24d
AS
230062010-05-19 Andreas Schwab <schwab@redhat.com>
23007
23008 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23009 symbol reference.
23010
f0ccf6ea
AS
230112010-05-21 Andreas Schwab <schwab@redhat.com>
23012
3d04ff3a
AS
23013 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23014 and internal_recvmmsg.
23015 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23016 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23017 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23018 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23019
f0ccf6ea
AS
23020 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23021 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23022 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23023
5b08ac57
AS
230242010-05-20 Andreas Schwab <schwab@redhat.com>
23025
23026 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23027
4828935d
LM
230282010-05-17 Luis Machado <luisgpm@br.ibm.com>
23029
23030 POWER7 optimizations.
23031 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23032 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23033
373d545e
UD
230342010-05-19 Ulrich Drepper <drepper@redhat.com>
23035
23036 * version.h: Update for 2.13 development version.
23037
21a2b1ae
AS
230382010-05-12 Andrew Stubbs <ams@codesourcery.com>
23039
23040 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23041 exceptions. Return 0.
23042
3f7dcb2b
RM
230432010-05-07 Roland McGrath <roland@redhat.com>
23044
23045 * elf/ldconfig.c (main): Add a const.
23046
5f24d53a 230472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23048
a160f8d8
UD
23049 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23050 (args_options): Add no-idn option.
23051 (ahosts_keys_int): Add idn_flags to ai_flags.
23052 (parse_option): Handle 'i' option to clear idn_flags.
23053
5f24d53a
UD
23054 * malloc/malloc.c (_int_free): Possible race in the most recently
23055 added check. Only act on the data if no current modification
23056 happened.
265bb1ce
UD
23057
23058See ChangeLog.17 for earlier changes.