]> sourceware.org Git - glibc.git/blame - ChangeLog
* locales/uk_UA (currency_symbol): Fix.
[glibc.git] / ChangeLog
CommitLineData
c9d6789e
MF
12012-12-03 Mike Frysinger <vapier@gentoo.org>
2
3 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5
4b7634a5
JL
62012-12-03 Jeff Law <law@redhat.com>
7
8 * time/sys/time.h (settimeofday): Do not mark TV argument
9 as __nonnull.
10
eb6cbd24
MF
112012-12-01 Mike Frysinger <vapier@gentoo.org>
12
13 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14 when currently writing and seek to current position when not.
15 * libio/Makefile (tests): Remove bug-fclose1.
16 * libio/bug-fclose1.c: Delete.
17
f638872a
JM
182012-12-01 Joseph Myers <joseph@codesourcery.com>
19
20 * manual/arith.texi (feenableexcept): Fix typo.
21 (fedisableexcept): Likewise.
22
48085d14
RM
232012-11-30 Roland McGrath <roland@hack.frob.com>
24
25 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26 second, differently-typed declaration, rather than a cast.
27
1a538b9f
SP
282012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29
30 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31 * include/rpc/svc.h: ... here.
32
d07f2ff1 332012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34
35 [BZ #13013]
36 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37 depending n and resplen2 to catch cases where answer
38 equals answerp2.
39
c93ec1f0
CD
402012-11-29 Carlos O'Donell <carlos@systemhalted.org>
41
42 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
43 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
44
37db69de
MF
452012-11-29 Mike Frysinger <vapier@gentoo.org>
46
47 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48
e10c4e4f
RM
492012-11-29 Roland McGrath <roland@hack.frob.com>
50
51 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52
2af1b328
JL
532012-11-28 Jeff Law <law@redhat.com>
54
55 [BZ #13761]
56 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57 dataset_temporary. Track alloca usage into alloca_used.
58 If dataset is large allocate and release it via malloc/free.
59
111db5b1
FW
602012-06-04 Florian Weimer <fweimer@redhat.com>
61
f06cc227 62 [BZ #14197]
111db5b1
FW
63 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
64
dd694abd
DM
652012-11-28 David S. Miller <davem@davemloft.net>
66
67 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68
9984dd01
JM
692012-11-28 Joseph Myers <joseph@codesourcery.com>
70
71 [BZ #14803]
72 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73 of pi/2 rounded to nearest to 64 bits.
74 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
75 nearest to 64 bits.
76 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
77 bits.
78
14bc93a9
JL
792012-11-28 Jeff Law <law@redhat.com>
80 Martin Osvald <mosvald@redhat.com>
81
82 [BZ #14889]
83 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
84 * sunrpc/svc.c: Include time.h.
85 (__svc_accept_failed): New function.
86 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
87 any reason other than EINTR, call __svc_accept_failed.
88 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
89 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
90
e3c6aa3a
AS
912012-11-28 Andreas Schwab <schwab@suse.de>
92
93 * scripts/abilist.awk: Also handle indirect functions in .opd
94 section.
95
1bead169
JM
962012-11-28 Joseph Myers <joseph@codesourcery.com>
97
98 [BZ #13881]
99 * sysdeps/x86/fpu/powl_helper.c: New file.
100 * sysdeps/x86/fpu/Makefile: Likewise.
101 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
102 (p3): New object.
103 (__ieee754_powl): Use __powl_helper for finite arguments except
104 integer exponents below 8.
105 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
106 (p3): New object.
107 (__ieee754_powl): Use __powl_helper for finite arguments except
108 integer exponents below 8.
109 * math/libm-test.inc (pow_test): Add more tests and enable some
110 previously disabled tests.
111 * sysdeps/i386/fpu/libm-test-ulps: Update.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113
0817d63d
SP
1142012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
115 Carlos O'Donell <carlos_odonell@mentor.com>
116
117 * nss/makedb.c (is_prime): Assert that input is odd and greater
118 than 4. Note that fact in a comment too.
119 (next_prime): Add 4 to input.
120
de2fd463
SP
1212012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
122
123 [BZ #11741]
124 * libio/Makefile (tests): Add test case tst-fwrite-error.
125 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
126 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
127 * libio/tst-fwrite-error.c: New test case.
128
c515fb51
L
1292012-11-26 H.J. Lu <hongjiu.lu@intel.com>
130
131 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
132 before casting to void *.
133 * include/libc-internal.h (__pointer_type): New macro.
134 (__integer_if_pointer_type_sub): Likewise.
135 (__integer_if_pointer_type): Likewise.
136 (cast_to_integer): Likewise.
137 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
138 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
139 before casting to atomic64_t.
140 (atomic_exchange_acq): Likewise.
141 (__arch_exchange_and_add_body): Likewise.
142 (__arch_add_body): Likewise.
143 (atomic_add_negative): Likewise.
144 (atomic_add_zero): Likewise.
145
4cf77aa9
JM
1462012-11-26 Joseph Myers <joseph@codesourcery.com>
147
148 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
149 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
150 (add_fdes): Likewise.
151 (linear_search_fdes): Likewise.
152 (binary_search_unencoded_fdes): Likewise.
153
d260b3b4
AS
1542012-11-26 Andreas Schwab <schwab@linux-m68k.org>
155
156 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
157
67060746
AC
1582012-11-24 Adam Conrad <adconrad@0c3.net>
159
160 * configure.in: Autodetect C++ header directories.
161 * configure: Regenerated.
162
800938a1
MF
1632012-11-23 Mike Frysinger <vapier@gentoo.org>
164
165 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
166
4e6e34e6
AS
1672012-11-23 Andreas Schwab <schwab@linux-m68k.org>
168
169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
170
7c7feb47
JM
1712012-11-22 Joseph Myers <joseph@codesourcery.com>
172
7184dcdf
JM
173 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
174 LDBL_MANT_DIG == 106]: Disable some tests.
175 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
176 Likewise.
177 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
178 Likewise.
179
0a42601f
JM
180 [BZ #14871]
181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
182 input for small inputs. Return +/- pi/2 for large inputs.
183 * math/libm-test.inc (atan_test): Add more tests.
184
79c9b9fe
JM
185 * sysdeps/generic/unwind-dw2-fde-glibc.c
186 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
187 __attribute__ ((unused)).
188
c60d3bf2
JM
189 [BZ #14645]
190 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
191 x * y if x and y are nonzero and z is zero.
192
ef1e0867
JM
193 [BZ #14811]
194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
195 nonzero exponents with absolute value below 0x1p-117 to +/-
196 0x1p-117.
197
1468ded3
JM
198 [BZ #14869]
199 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
200 up arguments below 2**-450, not just those below 2**-500.
201 * math/libm-test.inc (hypot_test): Add another test.
202
8e27e3cc
JM
203 [BZ #14868]
204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
205 Return a+b for ratio over 2**120, not 2**60.
206 * math/libm-test.inc (hypot_test): Add another test.
207
c9c0279b
JM
208 * math/libm-test.inc (clog_test): Use
209 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
210 (clog10_test): Likewise.
211
7c7feb47
JM
212 [BZ #6778]
213 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
214
fff1530e
AS
2152012-11-22 Andreas Schwab <schwab@suse.de>
216
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218
94558d30
PT
2192012-11-22 Pino Toscano <toscano.pino@tiscali.it>
220
221 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
222 printf output with newline.
223
7e1be741
L
2242012-11-21 H.J. Lu <hongjiu.lu@intel.com>
225
6bfea974
L
226 [BZ #14865]
227 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
228 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
229 -z nodlopen, -z initfirst and -z execstack support.
230 * configure: Regenerated.
231
7e1be741
L
232 * elf/elf.h (DF_1_NODIRECT): New macro.
233 (DF_1_IGNMULDEF): Likewise.
234 (DF_1_NOKSYMS): Likewise.
235 (DF_1_NOHDR): Likewise.
236 (DF_1_EDITED): Likewise.
237 (DF_1_NORELOC): Likewise.
238 (DF_1_SYMINTPOSE): Likewise.
239 (DF_1_GLOBAUDIT): Likewise.
240 (DF_1_SINGLETON): Likewise.
241 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
242 DT_1_SUPPORTED_MASK bits.
243 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
244
105ce2ce
CD
2452012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
246
247 * sysdeps/unix/make-syscalls.sh: Document prefixes.
248
123be9de
TS
2492012-11-20 Thomas Schwinge <thomas@codesourcery.com>
250
d072f3f7
TS
251 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
252 macro.
253
123be9de
TS
254 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
255 (sendmmsg): Move declarations...
256 * socket/sys/socket.h: ... here.
257 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
258 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
259 include it from...
260 * socket/recvmmsg.c: ... this new file.
261 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
262 (sendmmsg): Rename to __sendmmsg, create weak alias and make
263 definition of __sendmmsg hidden.
264 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
265 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
266 Move ENOSYS stub into and include it from...
267 * socket/sendmmsg.c: ... this new file.
268 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
269 (sysdep_routines): Move recvmmsg and sendmmsg...
270 * socket/Makefile (routines): ... here.
271 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
272 (GLIBC_PRIVATE): Add __sendmmsg.
273 * include/sys/socket.h (__sendmmsg): Add declarations.
274 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
275 sendmmsg.
276
cf9a5d18
JM
2772012-11-20 Joseph Myers <joseph@codesourcery.com>
278
279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
280 variable I1 with __attribute__ ((unused)).
281 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
282
ecd4caf9
JM
2832012-11-19 Joseph Myers <joseph@codesourcery.com>
284
be14d48f
JM
285 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
286 DUMMY variables with __attribute__ ((unused)).
287
ecd4caf9
JM
288 * bits/byteswap.h: Include <bits/types.h>.
289 (__bswap_64): Use __uint64_t instead of unsigned long long int.
290
986cab95
PT
2912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
292
293 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
294 string_t. Do not manually set errno.
295 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
296 length with __strnlen. Make sure to both set errno and return it on
297 failure.
298
6d33cc9d
DM
2992012-11-19 David S. Miller <davem@davemloft.net>
300
301 With help from Joseph Myers.
302 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
303 very large arguments properly.
304 * math/libm-test.inc (atan_test): New tests.
305 (atan2_test): New tests.
306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
308
ee663277
JM
3092012-11-19 Joseph Myers <joseph@codesourcery.com>
310
877f2d8e
JM
311 [BZ #14856]
312 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
313 Define to 3.
314
116fc08a
JM
315 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
316 [POSIX] (EADDRNOTAVAIL): Likewise.
317 [POSIX] (EAFNOSUPPORT): Likewise.
318 [POSIX] (EALREADY): Likewise.
319 [POSIX] (ECONNABORTED): Likewise.
320 [POSIX] (ECONNREFUSED): Likewise.
321 [POSIX] (ECONNRESET): Likewise.
322 [POSIX] (EDESTADDRREQ): Likewise.
323 [POSIX] (EDQUOT): Likewise.
324 [POSIX] (EHOSTUNREACH): Likewise.
325 [POSIX] (EIDRM): Likewise.
326 [POSIX] (EISCONN): Likewise.
327 [POSIX] (ELOOP): Likewise.
328 [POSIX] (EMULTIHOP): Likewise.
329 [POSIX] (ENETDOWN): Likewise.
330 [POSIX] (ENETUNREACH): Likewise.
331 [POSIX] (ENOBUFS): Likewise.
332 [POSIX] (ENODATA): Likewise.
333 [POSIX] (ENOLINK): Likewise.
334 [POSIX] (ENOMSG): Likewise.
335 [POSIX] (ENOPROTOOPT): Likewise.
336 [POSIX] (ENOSR): Likewise.
337 [POSIX] (ENOSTR): Likewise.
338 [POSIX] (ENOTCONN): Likewise.
339 [POSIX] (ENOTSOCK): Likewise.
340 [POSIX] (EOPNOTSUPP): Likewise.
341 [POSIX] (EOVERFLOW): Likewise.
342 [POSIX] (EPROTO): Likewise.
343 [POSIX] (EPROTONOSUPPORT): Likewise.
344 [POSIX] (EPROTOTYPE): Likewise.
345 [POSIX] (ESTALE): Likewise.
346 [POSIX] (ETIME): Likewise.
347 [POSIX] (ETXTBSY): Likewise.
348 [POSIX] (EWOULDBLOCK): Likewise.
349 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
350 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
351 [POSIX] (SEEK_CUR): Likewise.
352 [POSIX] (SEEK_END): Likewise.
353 [POSIX || UNIX98] (mode_t): Do not require.
354 [POSIX] (off_t): Likewise.
355 [POSIX] (pid_t): Likewise.
356 [POSIX] (sys/stat.h): Do not allow header.
357 [POSIX] (unistd.h): Likewise.
358 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
359 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
360 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
361 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
362 require.
363 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
364 sigevent): Specify elements.
365 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
366 entry.
367 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
368 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
369
a483863f
JM
370 * conform/data/cpio.h-data [POSIX]: Disable whole file.
371 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
372 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
373 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
374 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
375 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
376 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
377 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
378 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
379 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
380 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
381 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
382 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
384 Likewise.
385 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
386 Likewise.
387 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
388 Likewise.
389 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
390 Likewise.
391 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
392 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
393 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
394 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
395 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
396 Specify lower bound on value.
397 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
398 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
399 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
400 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
401 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
402 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
403 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
404 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
405 value.
406 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
407 as optional.
408 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
409 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
410 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
411 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
412 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
413 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
414 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
415 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
416 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
417 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
418 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
419 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
420 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
421 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
422 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
423 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
424 entry.
425 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
426 optional.
427 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
428 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
429 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
430 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
431 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
432 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
433 Likewise.
434 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
435 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
436 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
437 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
438 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
439 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
440 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
441 as optional.
442 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
443 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
444 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
445 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
446 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
447 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
448 specify as optional.
449 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
450 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
451 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
452 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
453 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
454 [XPG3] (NL_LANGMAX): Likewise.
455 [POSIX || XPG3] (NL_MSGMAX): Likewise.
456 [POSIX || XPG3] (NL_NMAX): Likewise.
457 [POSIX || XPG3] (NL_SETMAX): Likewise.
458 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
459 [XPG3] (NZERO): Likewise.
460 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
461 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
462 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
463 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
464 (REG_ERANGE): Expect.
465 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
466 optional-constant.
467 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
468 Use (void) in prototype.
469 [POSIX] (*_t): Allow.
470 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
471 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
472 (WRDE_BADVAL): Expect.
473
5ba924e3
JM
474 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
475 expect.
476 [XPG3 || XPG4] (O_RSYNC): Likewise.
477 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
478 Likewise.
479 [XPG3 || XPG4] (pthread_sigmask): Likewise.
480 [XPG3 || XPG4] (sigqueue): Likewise.
481 [XPG3 || XPG4] (sigtimedwait): Likewise.
482 [XPG3 || XPG4] (sigwaitinfo): Likewise.
483 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
484 [XPG3 || XPG4] (vsnprintf): Likewise.
485 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
486 Likewise.
487 [XPG3 || XPG4] (blksize_t): Likewise.
488 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
489 Likewise.
490 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
491 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
492 [XPG3 || XPG4] (struct itimerspec): Likewise.
493 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
494 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
495 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
496 [XPG3 || XPG4] (clockid_t): Likewise.
497 [XPG3 || XPG4] (timer_t): Likewise.
498 [XPG3 || XPG4] (clock_getres): Likewise.
499 [XPG3 || XPG4] (clock_gettime): Likewise.
500 [XPG3 || XPG4] (clock_settime): Likewise.
501 [XPG3 || XPG4] (nanosleep): Likewise.
502 [XPG3 || XPG4] (timer_create): Likewise.
503 [XPG3 || XPG4] (timer_delete): Likewise.
504 [XPG3 || XPG4] (timer_gettime): Likewise.
505 [XPG3 || XPG4] (timer_getoverrun): Likewise.
506 [XPG3 || XPG4] (timer_settime): Likewise.
507 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
508 [XPG3 || XPG4] (getlogin_r): Likewise.
509 [XPG3 || XPG4] (pread): Likewise.
510 [XPG3 || XPG4] (pthread_atfork): Likewise.
511 [XPG3 || XPG4] (pwrite): Likewise.
512
ee663277
JM
513 [BZ #14835]
514 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
515 <bits/siginfo.h>.
516
942caa16
PT
5172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
518
e19af380
PT
519 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
520 finalizing MALLSTREAM.
521
942caa16
PT
522 * sysdeps/mach/hurd/syncfs.c: New file.
523
cfde9b46
SP
5242012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
525
526 [BZ #14719]
527 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
528 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
529 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
530 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
531 (_nss_dns_gethostbyname4_r): Likewise.
532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
533 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
534
f6da27e5
PH
5352012-11-19 Peng Haitao <penght@cn.fujitsu.com>
536
537 [BZ #13763]
538 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
539
6665d4a2
SM
5402012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
541
1f51ee92
SM
542 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
543 * elf/cache.c (print_entry): Print ",AArch64" for
544 FLAG_AARCH64_LIB64
545
6665d4a2
SM
546 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
547 * elf/cache.c (print_entry): Print ",hard-float" for
548 FLAG_ARM_LIBHF.
549
05b227bd
DM
5502012-11-18 David S. Miller <davem@davemloft.net>
551
552 With help from Joseph Myers.
553 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
554 cutoff to 2**-13.
555 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
556 cutoff to 2**-25.
557 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
558 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
559 small.
560 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
561 * math/libm-test.inc (y0_test): New tests.
562 (y1_test): New tests.
563 * sysdeps/i386/fpu/libm-test-ulps: Update.
564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
566
786b0b67
AS
5672012-11-18 Andreas Schwab <schwab@linux-m68k.org>
568
569 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
570 64-bit targets.
571 * configure: Regenerated.
572
8e18b86d
DM
5732012-11-17 David S. Miller <davem@davemloft.net>
574
575 [BZ #14811]
576 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
577 nonzero exponents with absolute value below 0x1p-128 to +/-
578 0x1p-128.
579
531f1ae0
JM
5802012-11-17 Joseph Myers <joseph@codesourcery.com>
581
12df29e2
JM
582 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
583
150dc1a0
JM
584 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
585
531f1ae0
JM
586 * posix/getconf-speclist.c: New file.
587 * posix/posix-envs.def: Likewise.
588 * posix/confstr.c (START_ENV_GROUP): New macro.
589 (END_ENV_GROUP): Likewise.
590 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
591 (KNOWN_PRESENT_ENV_STRING): Likewise.
592 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
593 (UNKNOWN_ENVIRONMENT): Likewise.
594 (confstr): Include posix-envs.def instead of handling
595 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
596 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
597 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
598 (END_ENV_GROUP): Likewise.
599 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
600 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
601 (UNKNOWN_ENVIRONMENT): Likewise.
602 (__sysconf): Include posix-envs.def instead of handling associated
603 cases directly here.
604 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
605 preprocessing getconf-speclist.c rather than running getconf or
606 generating empty file.
607
a93f9cbc
PT
6082012-11-16 Pino Toscano <toscano.pino@tiscali.it>
609
610 * scripts/check-local-headers.sh: Ignore 'mach' headers.
611
d64d9f87
AL
6122012-11-16 Andrej Lajovic <natrij@gmail.com>
613
614 [BZ #14672]
615 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
616
447885eb
DM
6172012-11-16 David S. Miller <davem@davemloft.net>
618
619 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
620 smaller than LDBL_EPSILON/2.0L, just return xm1.
621
bcbf9830
L
6222012-11-16 H.J. Lu <hongjiu.lu@intel.com>
623
624 * elf/tst-array1.c (init): Set constructor priority to 1000.
625 (fini): Set destructor priority to 1000.
626 * elf/tst-array2dep.c: Likewise.
627
2b766585
SP
6282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
629
630 [BZ #11741]
631 * libio/fileops.c (_IO_new_file_write): Correctly return error.
632 (_IO_new_file_xsputn): Also return EOF if none of the input
633 data was written when overflow failed.
634 * libio/iopadn.c (_IO_padn): Likewise.
635 * libio/iowpadn.c (_IO_wpadn): Likewise.
636 * stdio-common/tst-put-error.c: Add copyright notice.
637 (do_test): Add case for printing padded string.
638 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
639 _IO_padn returned error.
640 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
641 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
642 return EOF.
643
b1848fde
SP
6442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
645
646 * libio/libioP.h: Add comment note that the references to C++
647 bits are now obsolete.
648
2fd89785
MS
6492012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
650
651 * math/libm-test.inc (check_complex): Use asprintf.
652
e3ea5409
JM
6532012-11-14 Joseph Myers <joseph@codesourcery.com>
654
655 * debug/pcprofiledump.c (print_version): Update copyright year.
656 * malloc/memusagestat.c (print_version): Likewise.
657
2e64d265
L
6582012-11-14 H.J. Lu <hongjiu.lu@intel.com>
659
660 [BZ #14831]
661 * elf/Makefile (tests): Add tst-audit8.
662 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
663 ($(objpfx)tst-audit8.out): New target.
664 (tst-audit8-ENV): New variable.
665 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
666 audit if l_reloc_result is NULL.
667 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
668 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
669 * elf/tst-audit8.c: New file.
670
c485e4d2
MS
6712012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
672
673 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
674 * misc/Makefile (CFLAGS-select.c): Define.
675 * posix/Makefile (CFLAGS-pause.c): Define.
676
3a0d900a
DM
6772012-11-13 David S. Miller <davem@davemloft.net>
678
679 * crypt/Makefile: Move test targets after toplevel Rules
680 inclusion. Grab any necessary sysdep routines when linking.
681 * crypt/md5.c (md5_process_block): Remove define, we will always
682 name it __md5_process_block.
683 (md5_finish_ctx): Update md5_process_block call.
684 (md5_stream): Likewise.
685 (md5_process_bytes): Likewise.
686 (md5_process_block): Rename to __md5_process_block and move to ...
687 * crypt/md5-block.c: ... here.
688 * crypt/sha256.c (sha256_process_block): Move to ...
689 * crypt/sha256-block.c: ... here.
690 * crypt/sha512.c (sha512_process_block): Move to ...
691 * crypt/sha512-block.c: ... here.
692 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
693 path.
694 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
695 * sysdeps/sparc/sparc64/multiarch/Makefile
696 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
697 crypt subdir.
698 (localedef-aux): Add md5 crypto assembler when in locale subdir.
699 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
700 multiarch changes.
701 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
702 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
703 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
704 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
705 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
706 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
707 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
708 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
709 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
710 file.
711 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
713 file.
714 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
715
8ca89318
JM
7162012-11-13 Joseph Myers <joseph@codesourcery.com>
717
e27d476a
JM
718 * timezone/tzselect.ksh: Update from tzcode git revision
719 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
720 * timezone/zdump.c: Likewise.
721 * timezone/zic.c: Likewise.
722 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
723 in TZVERSION setting, not $(PKGVERSION).
724 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
725 REPORT_BUGS_TO settings.
726
8ca89318
JM
727 [BZ #14838]
728 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
729 macro.
730
47594329
MS
7312012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
732
733 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
734 detection to immediately after _FP_ROUND().
735 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
736 bits are 0.
737
640ac3f1
DM
7382012-11-11 David S. Miller <davem@davemloft.net>
739
740 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
741 inttypes.h
742 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
743 __close rather than their public counterparts.
744
3d2577bb
JM
7452012-11-10 Joseph Myers <joseph@codesourcery.com>
746
747 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
748 file.
749 [UNIX98] (sem_timedwait): Do not expect.
750 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
751 [XPG4 || UNIX98] (sockatmark): Do not expect.
752 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
753 (clock_getcpuclockid): Do not expect.
754 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
755 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
756 Do not expect.
757 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
758 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
759 [UNIX98] (vwscanf): Likewise.
760 [UNIX98] (vswscanf): Likewise.
761
fb1ae1ee
JM
7622012-11-09 Joseph Myers <joseph@codesourcery.com>
763
9ec6f8bd
JM
764 * timezone/version.h: Remove file.
765 * timezone/README: Do not refer to version.h.
766 * timezone/Makefile ($(objpfx)zic.o): New dependency on
767 $(objpfx)version.h.
768 ($(objpfx)zdump.o): Likewise.
c3f81911 769 ($(objpfx)version.h): New target.
9ec6f8bd 770
0aa8f8a1
JM
771 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
772 2012i.
773 * timezone/README: Don't mention modification to tzselect.ksh.
774 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
775 work on unmodified tzselect.ksh. Substitute version numbers in
776 tzselect.ksh.
777
4e87147f
JM
778 * Makefile (format-me): Remove.
779 (INSTALL): Adjust indentation. Use commands directly instead of
780 using $(format-me).
781
8b748aed
JM
782 * aclocal.m4 (ACX_PKGVERSION): New macro.
783 (ACX_BUGURL): Likewise.
784 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
785 (PKGVERSION): New AC_DEFINE_UNQUOTED.
786 (REPORT_BUGS_TO): Likewise.
787 * configure: Regenerated.
788 * config.h.in (PKGVERSION): New macro.
789 (REPORT_BUGS_TO): Likewise.
790 * config.make.in (PKGVERSION): New variable.
791 (PKGVERSION_TEXI): Likewise.
792 (REPORT_BUGS_TO): Likewise.
793 (REPORT_BUGS_TEXI): Likewise.
794 * Makefile (format-me): Use -I$(common-objpfx)manual.
795 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
796 ($(common-objpfx)manual/%): New target.
797 (manual/%): Remove target.
798 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
799 (print_version): Use PKGVERSION.
800 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
801 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
802 and REPORT_BUGS_TO.
803 ($(objpfx)xtrace): Likewise.
804 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
805 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
806 (print_version): Use PKGVERSION.
807 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
808 (do_version): Use PKGVERSION.
809 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
810 REPORT_BUGS_TO.
811 (common-ldd-rewrite): Likewise.
812 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
813 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
814 (print_version): Use PKGVERSION.
815 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
816 * elf/pldd.c (argp_program_bug_address): Remove variable.
817 (more_help): New function.
818 (argp): Use more_help.
819 (print_version): Use PKGVERSION.
820 * elf/sln.c (main): Use PKGVERSION.
821 (usage): Use REPORT_BUGS_TO.
822 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
823 (top level): Use PKGVERSION.
824 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
825 (print_version): Use PKGVERSION.
826 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
827 (print_version): Use PKGVERSION.
828 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
829 (print_version): Use PKGVERSION.
830 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
831 (print_version): Use PKGVERSION.
832 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
833 (print_version): Use PKGVERSION.
834 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
835 (print_version): Use PKGVERSION.
836 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
837 and BUGURL.
838 ($(objpfx)memusage): Likewise.
839 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
840 (do_version): Use PKGVERSION.
841 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
842 (print_version): Use PKGVERSION.
843 * malloc/mtrace.pl ($PACKAGE): Remove variable.
844 ($PKGVERSION): New variable.
845 ($REPORT_BUGS_TO): Likewise.
846 (usage): Use $REPORT_BUGS_TO.
847 (top level): Use $PKGVERSION.
848 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
849 ($(objpfx)pkgvers.texi): New rule.
850 ($(objpfx)stamp-pkgvers): Likewise.
851 * manual/install.texi: Include pkgvers.texi.
852 (--with-pkgversion): Document new configure option.
853 (--with-bugurl): Likewise.
854 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
855 than necessarily for this particular distribution. Use
856 REPORT_BUGS_TO for where to report bugs.
857 * INSTALL: Regenerated.
858 * manual/libc.texinfo: Include pkgvers.texi.
859 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
860 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
861 (print_version): Use PKGVERSION.
862 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
863 (print_version): Use PKGVERSION.
864 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
865 (print_version): Use PKGVERSION.
866 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
867 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
868 macro.
869 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
870 (print_version): Use PKGVERSION.
871 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
872 (print_version): Use PKGVERSION.
873 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
874 and PKGVERSION.
875
92e4b6a9
JM
876 * timezone/checktab.awk: Update from tzcode 2012i.
877 * timezone/ialloc.c: Likewise.
878 * timezone/private.h: Likewise.
879 * timezone/scheck.c: Likewise.
880 * timezone/tzfile.h: Likewise.
881 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
882 (TZVERSION): Hardcode tzcode version number.
883 * timezone/zdump.c: Update from tzcode 2012i.
884 * timezone/zic.c: Likewise.
885 * timezone/version.h: New file.
886 * timezone/README: Describe version.h. Update upstream location.
887
9bde902c
JM
888 [BZ #14824]
889 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
890 (mktemp): Enable declaration.
891 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
895 Likewise.
896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
897 Likewise.
898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
899 Likewise.
900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
901 Likewise.
902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
903 Likewise.
904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
905 Likewise.
906
fb1ae1ee
JM
907 [BZ #14821]
908 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
909 offset in buffer as u_int32_t not u_long. Consistently use memcpy
910 for copies of such integer values.
911 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
912 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
913
2c1adbcb
AJ
9142012-11-09 Andreas Jaeger <aj@suse.de>
915
916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
917 definitions and declarations that are provided by
918 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
919
d0f8457e
AK
9202012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
921
922 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
923 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
924 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
925 definition.
926
57241e26
MS
9272012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
928
929 * elf/elf.h: Update comment before AArch64 relocations.
930
60e8270d
DM
9312012-11-07 David S. Miller <davem@davemloft.net>
932
933 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
934 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
935 (__start_context): Declare.
936 (__makecontext_ret): Delete.
937 (__makecontext): Hook up __start_context instead of
938 __makecontext_ret.
939 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
940 (sysdep_routines): Add __start_context when in stdlib.
941
0fbb0fbc
JM
9422012-11-07 Joseph Myers <joseph@codesourcery.com>
943
944 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
945 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
946 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
947 hardcoded "nm".
948 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
949 (READELF): New variable. Use it instead of hardcoded "readelf".
950
eb48db7e
L
9512012-11-07 H.J. Lu <hongjiu.lu@intel.com>
952
953 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
954 * sysdeps/x86/Makefile: Here.
955 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
956 * sysdeps/x86/tst-xmmymm.sh: This.
957
05bcf62a
JM
9582012-11-07 Joseph Myers <joseph@codesourcery.com>
959
c4b6cf53
JM
960 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
961 expectations.
962 [UNIX98] (pthread_barrier_t): Do not expect.
963 [UNIX98] (pthread_barrierattr_t): Likewise.
964 [UNIX98] (pthread_spinlock_t): Likewise.
965 [UNIX98] (pthread_barrier_destroy): Likewise.
966 [UNIX98] (pthread_barrier_init): Likewise.
967 [UNIX98] (pthread_barrier_wait): Likewise.
968 [UNIX98] (pthread_barrierattr_destroy): Likewise.
969 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
970 [UNIX98] (pthread_barrierattr_init): Likewise.
971 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
972 [UNIX98] (pthread_getcpuclockid): Likewise.
973 [UNIX98] (pthread_mutex_timedlock): Likewise.
974 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
975 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
976 [UNIX98] (pthread_sigmask): Likewise.
977 [UNIX98] (pthread_spin_destroy): Likewise.
978 [UNIX98] (pthread_spin_init): Likewise.
979 [UNIX98] (pthread_spin_lock): Likewise.
980 [UNIX98] (pthread_spin_trylock): Likewise.
981 [UNIX98] (pthread_spin_unlock): Likewise.
982 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
983 Do not expect.
984 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
985 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
986 [XPG3 || XPG4] (pthread_cond_t): Likewise.
987 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
988 [XPG3 || XPG4] (pthread_key_t): Likewise.
989 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
990 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
991 [XPG3 || XPG4] (pthread_once_t): Likewise.
992 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
993 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
994 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
995 [XPG3 || XPG4] (pthread_t): Likewise.
996
cbe6e120
JM
997 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
998 not expect.
999 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1000
1b126443
JM
1001 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1002 Change function return type to int.
1003
b961a573
JM
1004 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1005 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1006 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1007 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1008 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1009 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1010 [!POSIX] (posix_madvise): Likewise.
1011 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1012 && !UNIX98].
1013 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1014 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1015 (mode_t): Likewise.
1016 (posix_mem_offset): Likewise.
1017 (posix_typed_mem_get_info): Likewise.
1018 (posix_typed_mem_open): Likewise.
1019
9e188909
JM
1020 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1021 Change condition to [XOPEN2K8].
1022
05bcf62a
JM
1023 * conform/conformtest.pl: Preprocess allow-header data with -x c
1024 instead of from stdin.
1025 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1026 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1027 [C99-based standards] (cerfc): Likewise.
1028 [C99-based standards] (cexp2): Likewise.
1029 [C99-based standards] (cexpm1): Likewise.
1030 [C99-based standards] (clog10): Likewise.
1031 [C99-based standards] (clog1p): Likewise.
1032 [C99-based standards] (clog2): Likewise.
1033 [C99-based standards] (clgamma): Likewise.
1034 [C99-based standards] (ctgamma): Likewise.
1035 [C99-based standards] (cerff): Likewise.
1036 [C99-based standards] (cerfcf): Likewise.
1037 [C99-based standards] (cexp2f): Likewise.
1038 [C99-based standards] (cexpm1f): Likewise.
1039 [C99-based standards] (clog10f): Likewise.
1040 [C99-based standards] (clog1pf): Likewise.
1041 [C99-based standards] (clog2f): Likewise.
1042 [C99-based standards] (clgammaf): Likewise.
1043 [C99-based standards] (ctgammaf): Likewise.
1044 [C99-based standards] (cerfl): Likewise.
1045 [C99-based standards] (cerfcl): Likewise.
1046 [C99-based standards] (cexp2l): Likewise.
1047 [C99-based standards] (cexpm1l): Likewise.
1048 [C99-based standards] (clog10l): Likewise.
1049 [C99-based standards] (clog1pl): Likewise.
1050 [C99-based standards] (clog2l): Likewise.
1051 [C99-based standards] (clgammal): Likewise.
1052 [C99-based standards] (ctgammal): Likewise.
1053 * conform/data/inttypes.h-data [C99-based standards]: Include
1054 stdint.h-data. Remove all expectations for stdint.h contents.
1055 [C99-based standards] (PRI*): Do not allow.
1056 [C99-based standards] (SCN*): Likewise.
1057 [C99-based standards] (*_t): Likewise.
1058 [C99-based-standards] (PRId8): Expect macro.
1059 [C99-based-standards] (PRIi8): Likewise.
1060 [C99-based-standards] (PRIo8): Likewise.
1061 [C99-based-standards] (PRIu8): Likewise.
1062 [C99-based-standards] (PRIx8): Likewise.
1063 [C99-based-standards] (PRIX8): Likewise.
1064 [C99-based-standards] (SCNd8): Likewise.
1065 [C99-based-standards] (SCNi8): Likewise.
1066 [C99-based-standards] (SCNo8): Likewise.
1067 [C99-based-standards] (SCNu8): Likewise.
1068 [C99-based-standards] (SCNx8): Likewise.
1069 [C99-based-standards] (PRIdLEAST8): Likewise.
1070 [C99-based-standards] (PRIiLEAST8): Likewise.
1071 [C99-based-standards] (PRIoLEAST8): Likewise.
1072 [C99-based-standards] (PRIuLEAST8): Likewise.
1073 [C99-based-standards] (PRIxLEAST8): Likewise.
1074 [C99-based-standards] (PRIXLEAST8): Likewise.
1075 [C99-based-standards] (SCNdLEAST8): Likewise.
1076 [C99-based-standards] (SCNiLEAST8): Likewise.
1077 [C99-based-standards] (SCNoLEAST8): Likewise.
1078 [C99-based-standards] (SCNuLEAST8): Likewise.
1079 [C99-based-standards] (SCNxLEAST8): Likewise.
1080 [C99-based-standards] (PRIdFAST8): Likewise.
1081 [C99-based-standards] (PRIiFAST8): Likewise.
1082 [C99-based-standards] (PRIoFAST8): Likewise.
1083 [C99-based-standards] (PRIuFAST8): Likewise.
1084 [C99-based-standards] (PRIxFAST8): Likewise.
1085 [C99-based-standards] (PRIXFAST8): Likewise.
1086 [C99-based-standards] (SCNdFAST8): Likewise.
1087 [C99-based-standards] (SCNiFAST8): Likewise.
1088 [C99-based-standards] (SCNoFAST8): Likewise.
1089 [C99-based-standards] (SCNuFAST8): Likewise.
1090 [C99-based-standards] (SCNxFAST8): Likewise.
1091 [C99-based-standards] (PRId16): Likewise.
1092 [C99-based-standards] (PRIi16): Likewise.
1093 [C99-based-standards] (PRIo16): Likewise.
1094 [C99-based-standards] (PRIu16): Likewise.
1095 [C99-based-standards] (PRIx16): Likewise.
1096 [C99-based-standards] (PRIX16): Likewise.
1097 [C99-based-standards] (SCNd16): Likewise.
1098 [C99-based-standards] (SCNi16): Likewise.
1099 [C99-based-standards] (SCNo16): Likewise.
1100 [C99-based-standards] (SCNu16): Likewise.
1101 [C99-based-standards] (SCNx16): Likewise.
1102 [C99-based-standards] (PRIdLEAST16): Likewise.
1103 [C99-based-standards] (PRIiLEAST16): Likewise.
1104 [C99-based-standards] (PRIoLEAST16): Likewise.
1105 [C99-based-standards] (PRIuLEAST16): Likewise.
1106 [C99-based-standards] (PRIxLEAST16): Likewise.
1107 [C99-based-standards] (PRIXLEAST16): Likewise.
1108 [C99-based-standards] (SCNdLEAST16): Likewise.
1109 [C99-based-standards] (SCNiLEAST16): Likewise.
1110 [C99-based-standards] (SCNoLEAST16): Likewise.
1111 [C99-based-standards] (SCNuLEAST16): Likewise.
1112 [C99-based-standards] (SCNxLEAST16): Likewise.
1113 [C99-based-standards] (PRIdFAST16): Likewise.
1114 [C99-based-standards] (PRIiFAST16): Likewise.
1115 [C99-based-standards] (PRIoFAST16): Likewise.
1116 [C99-based-standards] (PRIuFAST16): Likewise.
1117 [C99-based-standards] (PRIxFAST16): Likewise.
1118 [C99-based-standards] (PRIXFAST16): Likewise.
1119 [C99-based-standards] (SCNdFAST16): Likewise.
1120 [C99-based-standards] (SCNiFAST16): Likewise.
1121 [C99-based-standards] (SCNoFAST16): Likewise.
1122 [C99-based-standards] (SCNuFAST16): Likewise.
1123 [C99-based-standards] (SCNxFAST16): Likewise.
1124 [C99-based-standards] (PRId32): Likewise.
1125 [C99-based-standards] (PRIi32): Likewise.
1126 [C99-based-standards] (PRIo32): Likewise.
1127 [C99-based-standards] (PRIu32): Likewise.
1128 [C99-based-standards] (PRIx32): Likewise.
1129 [C99-based-standards] (PRIX32): Likewise.
1130 [C99-based-standards] (SCNd32): Likewise.
1131 [C99-based-standards] (SCNi32): Likewise.
1132 [C99-based-standards] (SCNo32): Likewise.
1133 [C99-based-standards] (SCNu32): Likewise.
1134 [C99-based-standards] (SCNx32): Likewise.
1135 [C99-based-standards] (PRIdLEAST32): Likewise.
1136 [C99-based-standards] (PRIiLEAST32): Likewise.
1137 [C99-based-standards] (PRIoLEAST32): Likewise.
1138 [C99-based-standards] (PRIuLEAST32): Likewise.
1139 [C99-based-standards] (PRIxLEAST32): Likewise.
1140 [C99-based-standards] (PRIXLEAST32): Likewise.
1141 [C99-based-standards] (SCNdLEAST32): Likewise.
1142 [C99-based-standards] (SCNiLEAST32): Likewise.
1143 [C99-based-standards] (SCNoLEAST32): Likewise.
1144 [C99-based-standards] (SCNuLEAST32): Likewise.
1145 [C99-based-standards] (SCNxLEAST32): Likewise.
1146 [C99-based-standards] (PRIdFAST32): Likewise.
1147 [C99-based-standards] (PRIiFAST32): Likewise.
1148 [C99-based-standards] (PRIoFAST32): Likewise.
1149 [C99-based-standards] (PRIuFAST32): Likewise.
1150 [C99-based-standards] (PRIxFAST32): Likewise.
1151 [C99-based-standards] (PRIXFAST32): Likewise.
1152 [C99-based-standards] (SCNdFAST32): Likewise.
1153 [C99-based-standards] (SCNiFAST32): Likewise.
1154 [C99-based-standards] (SCNoFAST32): Likewise.
1155 [C99-based-standards] (SCNuFAST32): Likewise.
1156 [C99-based-standards] (SCNxFAST32): Likewise.
1157 [C99-based-standards] (PRId64): Likewise.
1158 [C99-based-standards] (PRIi64): Likewise.
1159 [C99-based-standards] (PRIo64): Likewise.
1160 [C99-based-standards] (PRIu64): Likewise.
1161 [C99-based-standards] (PRIx64): Likewise.
1162 [C99-based-standards] (PRIX64): Likewise.
1163 [C99-based-standards] (SCNd64): Likewise.
1164 [C99-based-standards] (SCNi64): Likewise.
1165 [C99-based-standards] (SCNo64): Likewise.
1166 [C99-based-standards] (SCNu64): Likewise.
1167 [C99-based-standards] (SCNx64): Likewise.
1168 [C99-based-standards] (PRIdLEAST64): Likewise.
1169 [C99-based-standards] (PRIiLEAST64): Likewise.
1170 [C99-based-standards] (PRIoLEAST64): Likewise.
1171 [C99-based-standards] (PRIuLEAST64): Likewise.
1172 [C99-based-standards] (PRIxLEAST64): Likewise.
1173 [C99-based-standards] (PRIXLEAST64): Likewise.
1174 [C99-based-standards] (SCNdLEAST64): Likewise.
1175 [C99-based-standards] (SCNiLEAST64): Likewise.
1176 [C99-based-standards] (SCNoLEAST64): Likewise.
1177 [C99-based-standards] (SCNuLEAST64): Likewise.
1178 [C99-based-standards] (SCNxLEAST64): Likewise.
1179 [C99-based-standards] (PRIdFAST64): Likewise.
1180 [C99-based-standards] (PRIiFAST64): Likewise.
1181 [C99-based-standards] (PRIoFAST64): Likewise.
1182 [C99-based-standards] (PRIuFAST64): Likewise.
1183 [C99-based-standards] (PRIxFAST64): Likewise.
1184 [C99-based-standards] (PRIXFAST64): Likewise.
1185 [C99-based-standards] (SCNdFAST64): Likewise.
1186 [C99-based-standards] (SCNiFAST64): Likewise.
1187 [C99-based-standards] (SCNoFAST64): Likewise.
1188 [C99-based-standards] (SCNuFAST64): Likewise.
1189 [C99-based-standards] (SCNxFAST64): Likewise.
1190 [C99-based-standards] (PRIdMAX): Likewise.
1191 [C99-based-standards] (PRIiMAX): Likewise.
1192 [C99-based-standards] (PRIoMAX): Likewise.
1193 [C99-based-standards] (PRIuMAX): Likewise.
1194 [C99-based-standards] (PRIxMAX): Likewise.
1195 [C99-based-standards] (PRIXMAX): Likewise.
1196 [C99-based-standards] (SCNdMAX): Likewise.
1197 [C99-based-standards] (SCNiMAX): Likewise.
1198 [C99-based-standards] (SCNoMAX): Likewise.
1199 [C99-based-standards] (SCNuMAX): Likewise.
1200 [C99-based-standards] (SCNxMAX): Likewise.
1201 [C99-based-standards] (PRIdPTR): Likewise.
1202 [C99-based-standards] (PRIiPTR): Likewise.
1203 [C99-based-standards] (PRIoPTR): Likewise.
1204 [C99-based-standards] (PRIuPTR): Likewise.
1205 [C99-based-standards] (PRIxPTR): Likewise.
1206 [C99-based-standards] (PRIXPTR): Likewise.
1207 [C99-based-standards] (SCNdPTR): Likewise.
1208 [C99-based-standards] (SCNiPTR): Likewise.
1209 [C99-based-standards] (SCNoPTR): Likewise.
1210 [C99-based-standards] (SCNuPTR): Likewise.
1211 [C99-based-standards] (SCNxPTR): Likewise.
1212 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1213 allow.
1214 * conform/data/stdint.h-data: Update comments to clarify
1215 requirements.
1216 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1217 type.
1218 [C99-based standards] (INT8_MAX): Likewise.
1219 [C99-based standards] (INT16_MIN): Likewise.
1220 [C99-based standards] (INT16_MAX): Likewise.
1221 [C99-based standards] (INT32_MIN): Likewise.
1222 [C99-based standards] (INT32_MAX): Likewise.
1223 [C99-based standards] (INT64_MIN): Likewise.
1224 [C99-based standards] (INT64_MAX): Likewise.
1225 [C99-based standards] (UINT8_MAX): Likewise.
1226 [C99-based standards] (UINT16_MAX): Likewise.
1227 [C99-based standards] (UINT32_MAX): Likewise.
1228 [C99-based standards] (UINT64_MAX): Likewise.
1229 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1230 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1231 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1232 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1233 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1234 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1235 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1236 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1237 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1238 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1239 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1240 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1241 [C99-based standards] (INT_FAST8_MIN): Likewise.
1242 [C99-based standards] (INT_FAST8_MAX): Likewise.
1243 [C99-based standards] (INT_FAST16_MIN): Likewise.
1244 [C99-based standards] (INT_FAST16_MAX): Likewise.
1245 [C99-based standards] (INT_FAST32_MIN): Likewise.
1246 [C99-based standards] (INT_FAST32_MAX): Likewise.
1247 [C99-based standards] (INT_FAST64_MIN): Likewise.
1248 [C99-based standards] (INT_FAST64_MAX): Likewise.
1249 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1250 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1251 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1252 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1253 [C99-based standards] (INTPTR_MIN): Likewise.
1254 [C99-based standards] (INTPTR_MAX): Likewise.
1255 [C99-based standards] (UINTPTR_MAX): Likewise.
1256 [C99-based standards] (INTMAX_MIN): Likewise.
1257 [C99-based standards] (INTMAX_MAX): Likewise.
1258 [C99-based standards] (UINTMAX_MAX): Likewise.
1259 [C99-based standards] (PTRDIFF_MIN): Likewise.
1260 [C99-based standards] (PTRDIFF_MAX): Likewise.
1261 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1262 [C99-based standards] (SIZE_MAX): Likewise.
1263 [C99-based standards] (WCHAR_MAX): Likewise.
1264 [C99-based standards] (WINT_MAX): Likewise.
1265 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1266 constraint on value.
1267 [C99-based standards] (WCHAR_MIN): Likewise.
1268 [C99-based standards] (WINT_MIN): Likewise.
1269 [C99-based standards] (*_t): Allow.
1270 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1271 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1272 Include math.h-data and complex.h-data. Remove all expectations
1273 of math.h and complex.h contents.
1274 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1275 at end of line.
1276 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1277 (struct tm): Expect tag.
1278 [C99-based-standards] (wcstof): Expect function.
1279 [C99-based-standards] (wcstold): Likewise.
1280 [C99-based-standards] (wcstoll): Likewise.
1281 [C99-based-standards] (wcstoull): Likewise.
1282 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1283 macro-int-constant. Specify type.
1284 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1285 constraint on value.
1286 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1287 Specify type.
1288 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1289 Specify value.
1290 [ISO C standards]: Do not allow headers.
1291 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1292 wcs[abcdefghijklmnopqrstuvwxyz]*.
1293 [ISO C standards] (*_t): Do not allow.
1294 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1295 Expect function.
1296 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1297 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1298 Specify type.
1299 [ISO C standards]: Do not allow headers.
1300 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1301 is[abcdefghijklmnopqrstuvwxyz]*.
1302 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1303 to[abcdefghijklmnopqrstuvwxyz]*.
1304 [ISO C standards] (*_t): Do not allow.
1305 * conform/data/stdalign.h-data: New file.
1306 * conform/data/stdbool.h-data: Likewise.
1307 * conform/data/stdnoreturn.h-data: Likewise.
1308
7514feb8
RM
13092012-11-07 Roland McGrath <roland@hack.frob.com>
1310
1311 [BZ #14815]
1312 * manual/filesys.texi (Directory Entries): Typo fix.
1313 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1314
19b2ecfc
MS
13152012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1316
1317 * elf/elf.h (EM_AARCH64): New macro.
1318 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1319 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1320 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1321 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1322 (R_AARCH64_TLSDESC): Likewise.
1323 (NT_ARM_TLS): Likewise.
1324 (NT_ARM_HW_BREAK): Likewise.
1325 (NT_ARM_HW_WATCH): Likewise.
1326
60e235ee
JM
13272012-11-07 Joseph Myers <joseph@codesourcery.com>
1328
1329 [BZ #14811]
1330 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1331 (__ieee754_powl): Saturate nonzero exponents with absolute value
1332 below 0x1p-79 to +/- 0x1p-79.
1333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1334 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1335 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1336 nonzero exponents with absolute value below 0x1p-32 to +/-
1337 0x1p-32.
1338 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1339 (__ieee754_powl): Saturate nonzero exponents with absolute value
1340 below 0x1p-79 to +/- 0x1p-79.
1341 * math/libm-test.inc (pow_test): Add more tests.
1342
0ab234b7
AK
13432012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1344
1345 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1346 _dl_s390_cap_flags with kernel. Increase string length.
1347 (_dl_s390_platforms): Add z196 and zEC12.
1348
45832f74
JM
13492012-11-07 Joseph Myers <joseph@codesourcery.com>
1350
1351 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1352 Change XOPEN21K to XOPEN2K.
1353
19218757
MK
13542012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1355
1356 * string/memmove.c: Use memcpy when possible.
1357
c5f45721
AJ
13582012-11-06 Andreas Jaeger <aj@suse.de>
1359
1360 * po/eo.po: Update from translation team.
1361
82477c28
JM
13622012-11-06 Joseph Myers <joseph@codesourcery.com>
1363
1364 [BZ #14793]
1365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1366 exponent and small x and y exponents, scale x or y up. Increase
1367 by 2 the exponent used in scaling up.
1368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1370 * math/libm-test.inc (fma_test): Add more tests.
1371 (fma_test_towardzero): Likewise.
1372 (fma_test_downward): Likewise.
1373 (fma_test_upward): Likewise.
1374
99252c8c
JM
13752012-11-05 Joseph Myers <joseph@codesourcery.com>
1376
acfa885f
JM
1377 [BZ #14805]
1378 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1379 fenv_t *.
1380
99252c8c
JM
1381 [BZ #14801]
1382 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1383 namespace for names of struct fields.
1384 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1385 fenv_t fields.
1386 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1387 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1388
d6d98dea
ST
13892012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1390
1391 [BZ #3665]
1392 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1393
e10bb107
TS
13942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1395
1396 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1397 PTR_DEMANGLE.
1398
1399 [BZ #5246]
1400 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1401 PTR_DEMANGLE.
1402
a0c2940d
JM
14032012-11-04 Joseph Myers <joseph@codesourcery.com>
1404
1405 [BZ #14797]
1406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1407 definitely overflow as x * y not x * y + z.
1408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1410 * math/libm-test.inc (fma_test): Add more tests.
1411 (fma_test_towardzero): Likewise.
1412 (fma_test_downward): Likewise.
1413 (fma_test_upward): Likewise.
1414
b830319d
TS
14152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1416
1417 [BZ #157]
1418
1419 * include/stub-tag.h: Remove file.
1420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1421 '#include' of it.
1422 * manual/maint.texi (Porting): Don't reference it.
1423 * Makerules ($(objpfx)stubs): Likewise.
1424 * dirent/closedir.c: Don't include <stub-tag.h>.
1425 * dirent/dirfd.c: Likewise.
1426 * dirent/fdopendir.c: Likewise.
1427 * dirent/getdents.c: Likewise.
1428 * dirent/getdents64.c: Likewise.
1429 * dirent/opendir.c: Likewise.
1430 * dirent/readdir.c: Likewise.
1431 * dirent/readdir64.c: Likewise.
1432 * dirent/readdir64_r.c: Likewise.
1433 * dirent/readdir_r.c: Likewise.
1434 * dirent/rewinddir.c: Likewise.
1435 * dirent/seekdir.c: Likewise.
1436 * dirent/telldir.c: Likewise.
1437 * gmon/profil.c: Likewise.
1438 * grp/setgroups.c: Likewise.
1439 * inet/if_index.c: Likewise.
1440 * io/access.c: Likewise.
1441 * io/chdir.c: Likewise.
1442 * io/chmod.c: Likewise.
1443 * io/chown.c: Likewise.
1444 * io/close.c: Likewise.
1445 * io/dup.c: Likewise.
1446 * io/dup2.c: Likewise.
1447 * io/dup3.c: Likewise.
1448 * io/euidaccess.c: Likewise.
1449 * io/faccessat.c: Likewise.
1450 * io/fchdir.c: Likewise.
1451 * io/fchmod.c: Likewise.
1452 * io/fchmodat.c: Likewise.
1453 * io/fchown.c: Likewise.
1454 * io/fchownat.c: Likewise.
1455 * io/fcntl.c: Likewise.
1456 * io/flock.c: Likewise.
1457 * io/fstatfs.c: Likewise.
1458 * io/fstatfs64.c: Likewise.
1459 * io/fstatvfs.c: Likewise.
1460 * io/fstatvfs64.c: Likewise.
1461 * io/futimens.c: Likewise.
1462 * io/fxstat.c: Likewise.
1463 * io/fxstat64.c: Likewise.
1464 * io/fxstatat.c: Likewise.
1465 * io/fxstatat64.c: Likewise.
1466 * io/getcwd.c: Likewise.
1467 * io/isatty.c: Likewise.
1468 * io/lchmod.c: Likewise.
1469 * io/lchown.c: Likewise.
1470 * io/link.c: Likewise.
1471 * io/linkat.c: Likewise.
1472 * io/lseek.c: Likewise.
1473 * io/lseek64.c: Likewise.
1474 * io/lxstat64.c: Likewise.
1475 * io/mkdir.c: Likewise.
1476 * io/mkdirat.c: Likewise.
1477 * io/mkfifo.c: Likewise.
1478 * io/mkfifoat.c: Likewise.
1479 * io/open.c: Likewise.
1480 * io/open64.c: Likewise.
1481 * io/openat.c: Likewise.
1482 * io/openat64.c: Likewise.
1483 * io/pipe.c: Likewise.
1484 * io/pipe2.c: Likewise.
1485 * io/poll.c: Likewise.
1486 * io/posix_fadvise.c: Likewise.
1487 * io/posix_fadvise64.c: Likewise.
1488 * io/posix_fallocate.c: Likewise.
1489 * io/posix_fallocate64.c: Likewise.
1490 * io/read.c: Likewise.
1491 * io/readlink.c: Likewise.
1492 * io/readlinkat.c: Likewise.
1493 * io/rmdir.c: Likewise.
1494 * io/sendfile.c: Likewise.
1495 * io/sendfile64.c: Likewise.
1496 * io/statfs.c: Likewise.
1497 * io/statfs64.c: Likewise.
1498 * io/statvfs.c: Likewise.
1499 * io/statvfs64.c: Likewise.
1500 * io/symlink.c: Likewise.
1501 * io/symlinkat.c: Likewise.
1502 * io/ttyname.c: Likewise.
1503 * io/ttyname_r.c: Likewise.
1504 * io/umask.c: Likewise.
1505 * io/unlink.c: Likewise.
1506 * io/unlinkat.c: Likewise.
1507 * io/utime.c: Likewise.
1508 * io/utimensat.c: Likewise.
1509 * io/write.c: Likewise.
1510 * io/xmknod.c: Likewise.
1511 * io/xmknodat.c: Likewise.
1512 * io/xstat.c: Likewise.
1513 * io/xstat64.c: Likewise.
1514 * login/getpt.c: Likewise.
1515 * login/grantpt.c: Likewise.
1516 * login/unlockpt.c: Likewise.
1517 * math/e_acoshl.c: Likewise.
1518 * math/e_acosl.c: Likewise.
1519 * math/e_asinl.c: Likewise.
1520 * math/e_atan2l.c: Likewise.
1521 * math/e_atanhl.c: Likewise.
1522 * math/e_coshl.c: Likewise.
1523 * math/e_expl.c: Likewise.
1524 * math/e_fmodl.c: Likewise.
1525 * math/e_gammal_r.c: Likewise.
1526 * math/e_hypotl.c: Likewise.
1527 * math/e_j0l.c: Likewise.
1528 * math/e_j1l.c: Likewise.
1529 * math/e_jnl.c: Likewise.
1530 * math/e_lgammal_r.c: Likewise.
1531 * math/e_log10l.c: Likewise.
1532 * math/e_log2l.c: Likewise.
1533 * math/e_logl.c: Likewise.
1534 * math/e_powl.c: Likewise.
1535 * math/e_rem_pio2l.c: Likewise.
1536 * math/e_sinhl.c: Likewise.
1537 * math/e_sqrtl.c: Likewise.
1538 * math/fclrexcpt.c: Likewise.
1539 * math/fedisblxcpt.c: Likewise.
1540 * math/feenablxcpt.c: Likewise.
1541 * math/fegetenv.c: Likewise.
1542 * math/fegetexcept.c: Likewise.
1543 * math/fegetround.c: Likewise.
1544 * math/feholdexcpt.c: Likewise.
1545 * math/fesetenv.c: Likewise.
1546 * math/fesetround.c: Likewise.
1547 * math/feupdateenv.c: Likewise.
1548 * math/fgetexcptflg.c: Likewise.
1549 * math/fraiseexcpt.c: Likewise.
1550 * math/fsetexcptflg.c: Likewise.
1551 * math/ftestexcept.c: Likewise.
1552 * math/k_cosl.c: Likewise.
1553 * math/k_rem_pio2l.c: Likewise.
1554 * math/k_sinl.c: Likewise.
1555 * math/k_tanl.c: Likewise.
1556 * math/s_asinhl.c: Likewise.
1557 * math/s_atanl.c: Likewise.
1558 * math/s_cbrtl.c: Likewise.
1559 * math/s_erfl.c: Likewise.
1560 * math/s_expm1l.c: Likewise.
1561 * math/s_log1pl.c: Likewise.
1562 * math/s_tanhl.c: Likewise.
1563 * misc/acct.c: Likewise.
1564 * misc/brk.c: Likewise.
1565 * misc/chflags.c: Likewise.
1566 * misc/chroot.c: Likewise.
1567 * misc/fchflags.c: Likewise.
1568 * misc/fgetxattr.c: Likewise.
1569 * misc/flistxattr.c: Likewise.
1570 * misc/fremovexattr.c: Likewise.
1571 * misc/fsetxattr.c: Likewise.
1572 * misc/fsync.c: Likewise.
1573 * misc/ftruncate.c: Likewise.
1574 * misc/futimes.c: Likewise.
1575 * misc/futimesat.c: Likewise.
1576 * misc/getdomain.c: Likewise.
1577 * misc/getdtsz.c: Likewise.
1578 * misc/gethostid.c: Likewise.
1579 * misc/gethostname.c: Likewise.
1580 * misc/getloadavg.c: Likewise.
1581 * misc/getpagesize.c: Likewise.
1582 * misc/getsysstats.c: Likewise.
1583 * misc/getxattr.c: Likewise.
1584 * misc/gtty.c: Likewise.
1585 * misc/ioctl.c: Likewise.
1586 * misc/lgetxattr.c: Likewise.
1587 * misc/listxattr.c: Likewise.
1588 * misc/llistxattr.c: Likewise.
1589 * misc/lremovexattr.c: Likewise.
1590 * misc/lsetxattr.c: Likewise.
1591 * misc/lutimes.c: Likewise.
1592 * misc/madvise.c: Likewise.
1593 * misc/mincore.c: Likewise.
1594 * misc/mlock.c: Likewise.
1595 * misc/mlockall.c: Likewise.
1596 * misc/mmap.c: Likewise.
1597 * misc/mprotect.c: Likewise.
1598 * misc/msync.c: Likewise.
1599 * misc/munlock.c: Likewise.
1600 * misc/munlockall.c: Likewise.
1601 * misc/munmap.c: Likewise.
1602 * misc/preadv.c: Likewise.
1603 * misc/preadv64.c: Likewise.
1604 * misc/ptrace.c: Likewise.
1605 * misc/pwritev.c: Likewise.
1606 * misc/pwritev64.c: Likewise.
1607 * misc/readv.c: Likewise.
1608 * misc/reboot.c: Likewise.
1609 * misc/remap_file_pages.c: Likewise.
1610 * misc/removexattr.c: Likewise.
1611 * misc/revoke.c: Likewise.
1612 * misc/select.c: Likewise.
1613 * misc/setdomain.c: Likewise.
1614 * misc/setegid.c: Likewise.
1615 * misc/seteuid.c: Likewise.
1616 * misc/sethostid.c: Likewise.
1617 * misc/sethostname.c: Likewise.
1618 * misc/setregid.c: Likewise.
1619 * misc/setreuid.c: Likewise.
1620 * misc/setxattr.c: Likewise.
1621 * misc/sstk.c: Likewise.
1622 * misc/stty.c: Likewise.
1623 * misc/swapoff.c: Likewise.
1624 * misc/swapon.c: Likewise.
1625 * misc/sync.c: Likewise.
1626 * misc/syncfs.c: Likewise.
1627 * misc/syscall.c: Likewise.
1628 * misc/truncate.c: Likewise.
1629 * misc/ualarm.c: Likewise.
1630 * misc/usleep.c: Likewise.
1631 * misc/ustat.c: Likewise.
1632 * misc/utimes.c: Likewise.
1633 * misc/vhangup.c: Likewise.
1634 * misc/writev.c: Likewise.
1635 * posix/_exit.c: Likewise.
1636 * posix/alarm.c: Likewise.
1637 * posix/execve.c: Likewise.
1638 * posix/fexecve.c: Likewise.
1639 * posix/fork.c: Likewise.
1640 * posix/fpathconf.c: Likewise.
1641 * posix/getaddrinfo.c: Likewise.
1642 * posix/getegid.c: Likewise.
1643 * posix/geteuid.c: Likewise.
1644 * posix/getgid.c: Likewise.
1645 * posix/getgroups.c: Likewise.
1646 * posix/getlogin.c: Likewise.
1647 * posix/getlogin_r.c: Likewise.
1648 * posix/getpgid.c: Likewise.
1649 * posix/getpid.c: Likewise.
1650 * posix/getppid.c: Likewise.
1651 * posix/getresgid.c: Likewise.
1652 * posix/getresuid.c: Likewise.
1653 * posix/getsid.c: Likewise.
1654 * posix/getuid.c: Likewise.
1655 * posix/glob64.c: Likewise.
1656 * posix/nanosleep.c: Likewise.
1657 * posix/pathconf.c: Likewise.
1658 * posix/pause.c: Likewise.
1659 * posix/posix_madvise.c: Likewise.
1660 * posix/pread.c: Likewise.
1661 * posix/pread64.c: Likewise.
1662 * posix/pwrite.c: Likewise.
1663 * posix/pwrite64.c: Likewise.
1664 * posix/sched_getaffinity.c: Likewise.
1665 * posix/sched_getp.c: Likewise.
1666 * posix/sched_gets.c: Likewise.
1667 * posix/sched_primax.c: Likewise.
1668 * posix/sched_primin.c: Likewise.
1669 * posix/sched_rr_gi.c: Likewise.
1670 * posix/sched_setaffinity.c: Likewise.
1671 * posix/sched_setp.c: Likewise.
1672 * posix/sched_sets.c: Likewise.
1673 * posix/sched_yield.c: Likewise.
1674 * posix/setgid.c: Likewise.
1675 * posix/setlogin.c: Likewise.
1676 * posix/setpgid.c: Likewise.
1677 * posix/setresgid.c: Likewise.
1678 * posix/setresuid.c: Likewise.
1679 * posix/setsid.c: Likewise.
1680 * posix/setuid.c: Likewise.
1681 * posix/sleep.c: Likewise.
1682 * posix/spawni.c: Likewise.
1683 * posix/sysconf.c: Likewise.
1684 * posix/times.c: Likewise.
1685 * posix/wait.c: Likewise.
1686 * posix/wait3.c: Likewise.
1687 * posix/wait4.c: Likewise.
1688 * posix/waitpid.c: Likewise.
1689 * resolv/gai_sigqueue.c: Likewise.
1690 * resource/getpriority.c: Likewise.
1691 * resource/getrlimit.c: Likewise.
1692 * resource/getrusage.c: Likewise.
1693 * resource/nice.c: Likewise.
1694 * resource/setpriority.c: Likewise.
1695 * resource/setrlimit.c: Likewise.
1696 * resource/ulimit.c: Likewise.
1697 * rt/aio_cancel.c: Likewise.
1698 * rt/aio_fsync.c: Likewise.
1699 * rt/aio_read.c: Likewise.
1700 * rt/aio_sigqueue.c: Likewise.
1701 * rt/aio_suspend.c: Likewise.
1702 * rt/aio_write.c: Likewise.
1703 * rt/clock_getres.c: Likewise.
1704 * rt/clock_gettime.c: Likewise.
1705 * rt/clock_nanosleep.c: Likewise.
1706 * rt/clock_settime.c: Likewise.
1707 * rt/lio_listio.c: Likewise.
1708 * rt/mq_close.c: Likewise.
1709 * rt/mq_getattr.c: Likewise.
1710 * rt/mq_notify.c: Likewise.
1711 * rt/mq_open.c: Likewise.
1712 * rt/mq_receive.c: Likewise.
1713 * rt/mq_send.c: Likewise.
1714 * rt/mq_setattr.c: Likewise.
1715 * rt/mq_timedreceive.c: Likewise.
1716 * rt/mq_timedsend.c: Likewise.
1717 * rt/mq_unlink.c: Likewise.
1718 * rt/shm_open.c: Likewise.
1719 * rt/shm_unlink.c: Likewise.
1720 * rt/timer_create.c: Likewise.
1721 * rt/timer_delete.c: Likewise.
1722 * rt/timer_getoverr.c: Likewise.
1723 * rt/timer_gettime.c: Likewise.
1724 * rt/timer_settime.c: Likewise.
1725 * setjmp/__longjmp.c: Likewise.
1726 * setjmp/setjmp.c: Likewise.
1727 * signal/kill.c: Likewise.
1728 * signal/killpg.c: Likewise.
1729 * signal/raise.c: Likewise.
1730 * signal/sigaction.c: Likewise.
1731 * signal/sigaltstack.c: Likewise.
1732 * signal/sigblock.c: Likewise.
1733 * signal/sigignore.c: Likewise.
1734 * signal/sigintr.c: Likewise.
1735 * signal/signal.c: Likewise.
1736 * signal/sigpause.c: Likewise.
1737 * signal/sigpending.c: Likewise.
1738 * signal/sigqueue.c: Likewise.
1739 * signal/sigreturn.c: Likewise.
1740 * signal/sigset.c: Likewise.
1741 * signal/sigsetmask.c: Likewise.
1742 * signal/sigstack.c: Likewise.
1743 * signal/sigsuspend.c: Likewise.
1744 * signal/sigtimedwait.c: Likewise.
1745 * signal/sigvec.c: Likewise.
1746 * signal/sigwait.c: Likewise.
1747 * signal/sigwaitinfo.c: Likewise.
1748 * signal/sysv_signal.c: Likewise.
1749 * socket/accept.c: Likewise.
1750 * socket/accept4.c: Likewise.
1751 * socket/bind.c: Likewise.
1752 * socket/connect.c: Likewise.
1753 * socket/getpeername.c: Likewise.
1754 * socket/getsockname.c: Likewise.
1755 * socket/getsockopt.c: Likewise.
1756 * socket/isfdtype.c: Likewise.
1757 * socket/listen.c: Likewise.
1758 * socket/recv.c: Likewise.
1759 * socket/recvfrom.c: Likewise.
1760 * socket/recvmsg.c: Likewise.
1761 * socket/send.c: Likewise.
1762 * socket/sendmsg.c: Likewise.
1763 * socket/sendto.c: Likewise.
1764 * socket/setsockopt.c: Likewise.
1765 * socket/shutdown.c: Likewise.
1766 * socket/sockatmark.c: Likewise.
1767 * socket/socket.c: Likewise.
1768 * socket/socketpair.c: Likewise.
1769 * stdio-common/ctermid.c: Likewise.
1770 * stdio-common/cuserid.c: Likewise.
1771 * stdio-common/remove.c: Likewise.
1772 * stdio-common/rename.c: Likewise.
1773 * stdio-common/renameat.c: Likewise.
1774 * stdio-common/tempname.c: Likewise.
1775 * stdlib/getcontext.c: Likewise.
1776 * stdlib/makecontext.c: Likewise.
1777 * stdlib/setcontext.c: Likewise.
1778 * stdlib/swapcontext.c: Likewise.
1779 * stdlib/system.c: Likewise.
1780 * streams/fattach.c: Likewise.
1781 * streams/fdetach.c: Likewise.
1782 * streams/getmsg.c: Likewise.
1783 * streams/getpmsg.c: Likewise.
1784 * streams/putmsg.c: Likewise.
1785 * streams/putpmsg.c: Likewise.
1786 * sysdeps/unix/bsd/getpt.c: Likewise.
1787 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1788 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1789 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1791 Likewise.
1792 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1793 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1794 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1795 * sysvipc/msgctl.c: Likewise.
1796 * sysvipc/msgget.c: Likewise.
1797 * sysvipc/msgrcv.c: Likewise.
1798 * sysvipc/msgsnd.c: Likewise.
1799 * sysvipc/semctl.c: Likewise.
1800 * sysvipc/semget.c: Likewise.
1801 * sysvipc/semop.c: Likewise.
1802 * sysvipc/semtimedop.c: Likewise.
1803 * sysvipc/shmat.c: Likewise.
1804 * sysvipc/shmctl.c: Likewise.
1805 * sysvipc/shmdt.c: Likewise.
1806 * sysvipc/shmget.c: Likewise.
1807 * termios/tcdrain.c: Likewise.
1808 * termios/tcflow.c: Likewise.
1809 * termios/tcflush.c: Likewise.
1810 * termios/tcgetattr.c: Likewise.
1811 * termios/tcgetpgrp.c: Likewise.
1812 * termios/tcsendbrk.c: Likewise.
1813 * termios/tcsetattr.c: Likewise.
1814 * termios/tcsetpgrp.c: Likewise.
1815 * time/adjtime.c: Likewise.
1816 * time/clock.c: Likewise.
1817 * time/getitimer.c: Likewise.
1818 * time/gettimeofday.c: Likewise.
1819 * time/setitimer.c: Likewise.
1820 * time/settimeofday.c: Likewise.
1821 * time/stime.c: Likewise.
1822 * time/time.c: Likewise.
1823
18242012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1825
a20492cf
PT
1826 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1827 /usr/old/bin.
1828
72e182e3
PT
1829 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1830 instead of spaces.
1831 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1832
fbeafede
JM
18332012-11-03 Joseph Myers <joseph@codesourcery.com>
1834
5b5b04d6
JM
1835 [BZ #14796]
1836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1837 FE_TONEAREST before applying Dekker multiplication and Knuth
1838 addition. Clear inexact exceptions and check for exact zero
1839 results afterwards.
1840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1841 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1843 * math/libm-test.inc (fma_test): Add more tests.
1844 (fma_test_towardzero): Likewise.
1845 (fma_test_downward): Likewise.
1846 (fma_test_upward): Likewise.
1847 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1848 function.
1849 (libc_fesetround): New macro.
1850 (libc_fesetroundf): Likewise.
1851 (libc_fesetroundl): Likewise.
1852 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1853 function.
1854 (libc_fesetround_387): Likewise.
1855 (libc_fesetroundf): New macro.
1856 (libc_fesetround): Likewise.
1857 (libc_fesetroundl): Likewise.
1858 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1859 function.
1860 (libc_fesetroundf): New macro.
1861 (libc_fesetround): Likewise.
1862 (libc_fesetroundl): Likewise.
1863 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1864 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1865 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1866 libm_hidden_ver.
1867 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1868 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1869 libm_hidden_def.
1870 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1871 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1872 libm_hidden_ver.
1873 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1874 libm_hidden_def.
1875
fbeafede
JM
1876 [BZ #3439]
1877 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1878 integer constant usable in #if and use that to give value to enum
1879 constant.
1880 (FE_DIVBYZERO): Likewise.
1881 (FE_UNDERFLOW): Likewise.
1882 (FE_OVERFLOW): Likewise.
1883 (FE_INVALID): Likewise.
1884 (FE_INVALID_SNAN): Likewise.
1885 (FE_INVALID_ISI): Likewise.
1886 (FE_INVALID_IDI): Likewise.
1887 (FE_INVALID_ZDZ): Likewise.
1888 (FE_INVALID_IMZ): Likewise.
1889 (FE_INVALID_COMPARE): Likewise.
1890 (FE_INVALID_SOFTWARE): Likewise.
1891 (FE_INVALID_SQRT): Likewise.
1892 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1893 (FE_TONEAREST): Likewise.
1894 (FE_TOWARDZERO): Likewise.
1895 (FE_UPWARD): Likewise.
1896 (FE_DOWNWARD): Likewise.
1897 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1898 (FE_DIVBYZERO): Likewise.
1899 (FE_OVERFLOW): Likewise.
1900 (FE_UNDERFLOW): Likewise.
1901 (FE_INEXACT): Likewise.
1902 (FE_TONEAREST): Likewise.
1903 (FE_DOWNWARD): Likewise.
1904 (FE_UPWARD): Likewise.
1905 (FE_TOWARDZERO): Likewise.
1906 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1907 (FE_UNDERFLOW): Likewise.
1908 (FE_OVERFLOW): Likewise.
1909 (FE_DIVBYZERO): Likewise.
1910 (FE_INVALID): Likewise.
1911 (FE_TONEAREST): Likewise.
1912 (FE_TOWARDZERO): Likewise.
1913 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1914 (FE_OVERFLOW): Likewise.
1915 (FE_UNDERFLOW): Likewise.
1916 (FE_DIVBYZERO): Likewise.
1917 (FE_INEXACT): Likewise.
1918 (FE_TONEAREST): Likewise.
1919 (FE_TOWARDZERO): Likewise.
1920 (FE_UPWARD): Likewise.
1921 (FE_DOWNWARD): Likewise.
1922 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1923 (FE_DIVBYZERO): Likewise.
1924 (FE_OVERFLOW): Likewise.
1925 (FE_UNDERFLOW): Likewise.
1926 (FE_INEXACT): Likewise.
1927 (FE_TONEAREST): Likewise.
1928 (FE_DOWNWARD): Likewise.
1929 (FE_UPWARD): Likewise.
1930 (FE_TOWARDZERO): Likewise.
1931
105ca950
CM
19322012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1933
1934 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1935
a542b389
AS
19362012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1939 commands. Quote $PWD.
1940 (blacklist_exports): Don't use remove_newlines. Replace "declare
1941 -x" by "export".
1942 (remove_newlines): Remove.
1943
f62c8abc
L
19442012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1947 * stdlib/stdlib.h (atof): Moved to ...
1948 * include/bits/stdlib-float.h: Here. New file.
1949 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1950 * stdlib/bits/stdlib-float.h: New file.
1951 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1952 -mno-sse -mno-mmx.
1953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1954 <xmmintrin.h>.
1955
0155d5b2
JM
19562012-11-02 Joseph Myers <joseph@codesourcery.com>
1957
a68d0680
JM
1958 * conform/conformtest.pl (@headers): Add fenv.h.
1959 * conform/data/fenv.h-data: New file.
1960 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1961 include of <math/fenv.h>.
1962
caf7f573
JM
1963 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1964 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1965 && !UNIX98]. Enables tests for XOPEN2K8.
1966 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1967 POSIX2008]: Likewise.
1968
6c073ad6
JM
1969 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1970 (struct rusage): Do not expect type or its members.
1971
0155d5b2
JM
1972 [BZ #3439]
1973 * math/math.h (FP_NAN): Define macro to integer constant usable in
1974 #if and use that to give value to enum constant.
1975 (FP_INFINITE): Likewise.
1976 (FP_ZERO): Likewise.
1977 (FP_SUBNORMAL): Likewise.
1978 (FP_NORMAL): Likewise.
1979
b5dcacb4
AS
19802012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1981
1982 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1983 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1984 arguments.
1985
f7934be8
RM
19862012-11-02 Roland McGrath <roland@hack.frob.com>
1987
1988 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1989 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1990 autoconf-time if not.
1991 * configure.in: Remove AC_PREREQ.
1992
d7d08bde
TMQMF
19932012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1994
1995 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1996 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1997 of the internal implementation.
1998
dcdae19a
JM
19992012-11-02 Joseph Myers <joseph@codesourcery.com>
2000
2001 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2002 except include of <misc/sys/syslog.h>.
2003
d6cffd3e
AS
20042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2005
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2007 function returns with a NULL context exit with zero.
2008
b3563932
TMQMF
20092012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2010
2011 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2012
b288a93d
L
20132012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2014
2015 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2016 (run_program_cmd): This.
2017 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2018 (tst_langinfo): New variable. Use it.
2019
a2421a68
SAS
20202012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2021
2022 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2023 floating point opcodes.
2024
6f796e1b
TS
20252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2026
7402596b
TS
2027 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2028 variable.
2029
d0d4f868
TS
2030 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2031
6f796e1b
TS
2032 * sysdeps/mach/hurd/powerpc: Remove directory.
2033 * sysdeps/mach/powerpc: Likewise.
2034
4da224a2
AS
20352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2036
2037 * scripts/check-local-headers.sh: Ignore c++ headers.
2038
341dd673
TS
20392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2040
2041 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2042 __libc_cleanup_region_start argument.
2043
473611b2
JM
20442012-11-01 Joseph Myers <joseph@codesourcery.com>
2045
2046 [BZ #14784]
2047 [BZ #14785]
2048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2049 x * y using scaling, not as x * y + z.
2050 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2052 * math/libm-test.inc (fma_test): Add more tests.
2053 (fma_test_towardzero): Likewise.
2054 (fma_test_downward): Likewise.
2055 (fma_test_upward): Likewise.
2056
4078da3d
TS
20572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2058
2059 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2060
903252aa
JM
20612012-10-31 Joseph Myers <joseph@codesourcery.com>
2062
2063 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2064 New variable.
2065
cbc818d0
TS
20662012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2067
2068 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2069
5a03cb1e
AS
20702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2071
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2073 Fix sort order.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2075 Likewise.
2076
90aff2ff
TMQMF
20772012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2078
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2080 Fix the order of the list for glibc 2.17.
2081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2082 Likewise.
2083
1818fcb7
AS
20842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2085
2086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2087
ef82f4da
JM
20882012-10-31 Joseph Myers <joseph@codesourcery.com>
2089
16a0e2ec
JM
2090 [BZ #14610]
2091 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2092 for low part of x being zero before using __atanl (y).
2093 * math/libm-test.inc (atan2_test): Add another test.
2094
0eb69512
JM
2095 * manual/install.texi (Configuring and compiling): Document
2096 general use of test-wrapper and test-wrapper-env.
2097 * INSTALL: Regenerated.
2098
ef82f4da
JM
2099 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2100 (__fma): Do not extract and scale down low bits on after-rounding
2101 systems when result rounded to normal precision would have normal
2102 exponent.
2103 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2104 (__fmal): Do not extract and scale down low bits on after-rounding
2105 systems when result rounded to normal precision would have normal
2106 exponent.
2107 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2108 (__fmal): Do not extract and scale down low bits on after-rounding
2109 systems when result rounded to normal precision would have normal
2110 exponent.
2111 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2112 macro.
2113 (fma_test): Add more tests.
2114 (fma_test_towardzero): Likewise.
2115 (fma_test_downward): Likewise.
2116 (fma_test_upward): Likewise.
2117
954ef0d9
L
21182012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 * sysdeps/i386/tininess.h: Renamed to ...
2121 * sysdeps/x86/tininess.h: This.
2122 * sysdeps/x86_64/tininess.h: Removed.
2123
df61ffb2
JM
21242012-10-30 Joseph Myers <joseph@codesourcery.com>
2125
2126 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2127 input. Use $(build-program-cmd).
2128 ($(objpfx)tst-array1-static.out): Likewise.
2129 ($(objpfx)tst-array2.out): Likewise.
2130 ($(objpfx)tst-array3.out): Likewise.
2131 ($(objpfx)tst-array4.out): Likewise.
2132 ($(objpfx)tst-array5.out): Likewise.
2133 ($(objpfx)tst-array5-static.out): Likewise.
2134
01767843
CM
21352012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2136
47cc1490
CM
2137 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2138 if defined.
2139
01767843
CM
2140 * nss/nsswitch.h (nss_interface_function): Provide new
2141 macro for use with NSS functions.
2142 * grp/initgroups.c: Use new macro.
2143 * nss/getXXbyYY.c: Likewise.
2144 * nss/getXXbyYY_r.c: Likewise.
2145 * nss/getXXent.c: Likewise.
2146 * nss/getXXent_r.c: Likewise.
2147 * sysdeps/posix/getaddrinfo.c: Likewise.
2148
8321aa97
AJ
21492012-10-30 Andreas Jaeger <aj@suse.de>
2150
2151 * po/ru.po: Update Russion translation from translation project.
2152
2a27fd6d
JM
21532012-10-30 Joseph Myers <joseph@codesourcery.com>
2154
8627a232
JM
2155 [BZ #14152]
2156 [BZ #14783]
2157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2158 result and shift together with sticky bit instead of replicating
2159 round-to-nearest rounding.
2160 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2161 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2162 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2163 missing underflow exceptions.
2164 (fma_test_towardzero): Add more tests.
2165 (fma_test_downward): Likewise.
2166 (fma_test_upward): Likewise.
2167
2a27fd6d
JM
2168 [BZ #14047]
2169 * sysdeps/generic/tininess.h: New file.
2170 * sysdeps/i386/tininess.h: Likewise.
2171 * sysdeps/sh/tininess.h: Likewise.
2172 * sysdeps/x86_64/tininess.h: Likewise.
2173 * stdlib/tst-strtod-underflow.c: Likewise.
2174 * stdlib/tst-tininess.c: Likewise.
2175 * stdlib/strtod_l.c: Include <tininess.h>.
2176 (round_and_return): Do not set errno for exact underflow cases.
2177 Force an underflow exception when setting errno for underflow.
2178 Determine underflow based on rounding to normal precision if
2179 TININESS_AFTER_ROUNDING.
2180 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2181 ERANGE for exact underflow cases.
2182 * stdlib/Makefile (tests): Add tst-tininess and
2183 tst-strtod-underflow.
2184 ($(objpfx)tst-tininess): Use $(link-libm).
2185 ($(objpfx)tst-strtod-underflow): Likewise.
2186
e7170363
AJ
21872012-10-30 Andreas Jaeger <aj@suse.de>
2188
e5088dc6
AJ
2189 [BZ#14767]
2190 * elf/Makefile (tests): Remove conditional for have-initfini-array
2191 since this is now always required and the variable does not exist
2192 anymore.
2193 (tests-static): Likewise.
2194 (modules-names): Likewise.
2195
e7170363 2196 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2197
2198 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2199 merged with constructor/destructor.
2200 (init_array): Likewise.
2201 * elf/tst-array2dep.c (fini_array): Likewise.
2202 (init_array): Likewise.
2203
60457d8a
MF
22042012-10-29 Mike Frysinger <vapier@gentoo.org>
2205
2206 * manual/message.texi: Delete @cartouche tags.
2207
8bece752
PT
22082012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2209
94ce799f
PT
2210 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2211 EOPNOTSUPP.
2212 * sysdeps/mach/hurd/fsync.c: Likewise.
2213
8bece752
PT
2214 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2215 [_POSIX_REALTIME_SIGNALS]: Change condition to
2216 [_POSIX_REALTIME_SIGNALS > 0].
2217
86ebe6b1
AJ
22182012-10-27 Andreas Jaeger <aj@suse.de>
2219
2220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2221 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2223 [__WORDSIZE != 64]: Likewise.
2224
54399c08
L
22252012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2226
2227 * iconvdata/tst-table.sh: Remove ${SHELL}.
2228 * iconvdata/tst-tables.sh: Likewise.
2229
e2211bed
DM
22302012-10-25 David S. Miller <davem@davemloft.net>
2231
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2233 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2234 of strtoull.
2235
f303f97c
DM
2236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2237 ifunc-impl-list.c
2238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2239 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2240 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2241 file.
2242
1e9d84cd
RM
22432012-10-25 Roland McGrath <roland@hack.frob.com>
2244
2245 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2246 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2247 __getdirentries.
2248
df381762
JM
22492012-10-25 Joseph Myers <joseph@codesourcery.com>
2250 Jim Blandy <jimb@codesourcery.com>
2251
2252 * scripts/cross-test-ssh.sh: New file.
2253 * manual/install.texi (Configuring and compiling): Document use of
2254 cross-test-ssh.sh.
2255 * INSTALL: Regenerated.
2256
bff64913
PT
22572012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2258
2259 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2260 EOPNOTSUPP.
2261
25fe8932
JM
22622012-10-25 Joseph Myers <joseph@codesourcery.com>
2263
2264 * Makeconfig (run-program-prefix): Fix comment.
2265
cc1290d0
JM
22662012-10-24 Joseph Myers <joseph@codesourcery.com>
2267 Jim Blandy <jimb@codesourcery.com>
2268
2269 * Makeconfig (test-wrapper): New variable,
2270 (test-wrapper-env): Likewise.
2271 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2272 (run-built-tests): Define to yes.
2273 (run-program-prefix): Use $(test-wrapper).
2274 (built-program-cmd): Likewise.
2275 * Rules (make-test-out): Use $(test-wrapper-env) and
2276 $(host-built-program-cmd).
2277 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2278 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2279 tst-pathopt.sh.
2280 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2281 $(test-wrapper-env) to tst-rtld-load-self.sh.
2282 ($(objpfx)order2.out): Use $(test-wrapper).
2283 ($(objpfx)tst-initorder.out): Likewise.
2284 ($(objpfx)tst-initorder2.out): Likewise.
2285 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2286 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2287 (test_wrapper_env): New variable. Use it to run ld.so.
2288 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2289 Use it to run ld.so.
2290 (test_wrapper_env): Likewise.
2291 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2292 $(test-wrapper) to run-iconv-test.sh.
2293 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2294 (ICONV): Use $test_wrapper.
2295 * posix/Makefile ($(objpfx)globtest.out): Pass
2296 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2297 globtest.sh, not $(run-program-prefix).
2298 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2299 (test_wrapper): Likewise.
2300 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2301 set together with run_via_rtld_prefix.
2302 (run_program_prefix): Define in terms of test_wrapper and
2303 run_via_rtld_prefix.
2304
6e6249d0
RM
23052012-10-24 Roland McGrath <roland@hack.frob.com>
2306
2307 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2308 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2309 Targets removed.
2310
2311 [BZ #14743]
2312 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2313 Declare __clock_getres, __clock_gettime, __clock_settime,
2314 __clock_nanosleep, and __clock_getcpuclockid.
2315 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2316 Remove librt_hidden_def (clock_gettime).
2317 * sysdeps/unix/clock_gettime.c: Likewise.
2318 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2319 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2320 * rt/clock_getres.c: Define __clock_getres as an alias.
2321 * sysdeps/posix/clock_getres.c: Likewise.
2322 * rt/clock_settime.c: Define __clock_settime as an alias.
2323 * sysdeps/unix/clock_settime.c: Likewise.
2324 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2325 * sysdeps/unix/clock_nanosleep.c: Likewise.
2326 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2327 * rt/clock-compat.c: New file.
2328 * rt/Makefile (librt-routines): Add clock-compat and move
2329 $(clock-routines) to ...
2330 (routines): ... here, new variable.
2331 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2332 Don't add get_clockfreq here.
2333 * rt/Versions (libc: GLIBC_2.17): New version set.
2334 Add clock_* symbols here.
2335 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2336 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2337 (GLIBC_2.17): Add clock_* symbols.
2338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2342 Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2349 * NEWS: Mention the move.
2350
2351 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2352 Use __open, __read, __close rather than their public counterparts.
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2354 (__get_clockfreq_via_cpuinfo): Likewise.
2355 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2356 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2357
2358 * config.h.in (HAVE_IFUNC): New #undef.
2359 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2360 was successful.
2361 * configure: Regenerated.
2362
0cae3f4b
MF
23632012-10-24 Mike Frysinger <vapier@gentoo.org>
2364
2365 * configure.in: Move READELF check to start of file.
2366 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2367 libc_cv_asm_gnu_indirect_function in the process.
2368 * configure: Regenerated.
2369
8175a253
MF
23702012-10-24 Mike Frysinger <vapier@gentoo.org>
2371
2372 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2373 send the output to /dev/null.
2374 (libc_cv_cc_with_libunwind): Likewise.
2375 (libc_cv_as_noexecstack): Likewise.
2376 * configure: Regenerate.
2377
0708a7d1
JM
23782012-10-24 Joseph Myers <joseph@codesourcery.com>
2379
10b40d85
JM
2380 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2381
0708a7d1
JM
2382 * posix/globtest.sh (TMPDIR): Do not set.
2383 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2384 (testout): Likewise.
2385
9fddec1a
AJ
23862012-10-24 Andreas Jaeger <aj@suse.de>
2387
3a8db22f
AJ
2388 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2389 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2390 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2391 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2392 posix_fadvise64, posix_fallocate64.
2393
9fddec1a
AJ
2394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2395 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2396 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2397 Likewise.
2398 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2399 Likewise.
2400 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2401
2402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2403 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2404 <bits/fcntl-linux.h>.
2405 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2406
2407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2408 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2409 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2410 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2411 [__WORDSIZE != 64]: Likewise.
2412
ebfd1bbd
JM
24132012-10-23 Joseph Myers <joseph@codesourcery.com>
2414
03ac099f
JM
2415 * Makeconfig (run-built-tests): New variable.
2416 * Rules [$(cross-compiling) = yes]: Change condition to
2417 [$(run-built-tests) = no].
2418 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2419 to [$(run-built-tests) = yes].
2420 * elf/Makefile [$(cross-compiling) = no]: Likewise
2421 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2422 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2423 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2424 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2425 * io/Makefile [$(cross-compiling) = no]: Likewise.
2426 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2427 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2428 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2429 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2430 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2431 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2432 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2433 * string/Makefile [$(cross-compiling) = no]: Likewise.
2434
ebfd1bbd
JM
2435 * posix/Makefile ($(objpfx)globtest.out): Pass
2436 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2437 $(rtld-installed-name).
2438 * posix/globtest.sh (elf_objpfx): Remove variable.
2439 (rtld_installed_name): Likewise.
2440 (library_path): Likewise.
2441 (run_program_prefix): New variable. Use for running globtest
2442 binary.
2443
166bca24
JB
24442012-10-23 Jim Blandy <jimb@codesourcery.com>
2445 Joseph Myers <joseph@codesourcery.com>
2446
2447 * Makeconfig (host-built-program-cmd): New variable.
2448 * elf/Makefile (tst-stackguard1-ARGS): Use
2449 $(host-built-program-cmd).
2450 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2451 (tst-spawn-ARGS): Likewise.
2452 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2453
88866099
JM
24542012-10-23 Joseph Myers <joseph@codesourcery.com>
2455 Jim Blandy <jimb@codesourcery.com>
2456
2457 * Makeconfig (run-via-rtld-prefix): New variable.
2458 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2459 (built-program-cmd): Likewise.
2460
b4b4c296
AJ
24612012-10-22 Andreas Jaeger <aj@suse.de>
2462
2463 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2464 __O_RSYNC if it exists, otherwise to O_SYNC.
2465
6fb54a22
JB
24662012-10-22 Jim Blandy <jimb@codesourcery.com>
2467 Joseph Myers <joseph@codesourcery.com>
2468
2469 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2470 /dev/null.
2471 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2472 from /dev/null
2473 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2474 /dev/null.
2475
481b90b9
AJ
24762012-10-22 Andreas Jaeger <aj@suse.de>
2477
2a0e2669
AJ
2478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2479 Define always.
2480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2481
76e38f9a
AJ
2482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2483 bits/fcntl-linux.h.
2484
7cd37b43
AJ
2485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2486 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2487
481b90b9
AJ
2488 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2489 to __O_LARGEFILE.
2490 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2491 to __O_LARGEFILE.
2492
aba75984
JB
24932012-10-21 Jim Blandy <jimb@codesourcery.com>
2494 Joseph Myers <joseph@codesourcery.com>
2495
2496 * config.make.in (NM): New variable.
2497
88d4247f
AJ
24982012-10-21 Andreas Jaeger <aj@suse.de>
2499
2500 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2501 definitions and declarations that are provided by
2502 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2503
f2eed205
L
25042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2505
2506 [BZ #14683]
2507 * elf/Makefile (tests-static): Add tst-leaks1-static.
2508 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2509 ($(objpfx)tst-leaks1-static): New rule.
2510 ($(objpfx)tst-leaks1-static-mem): Likewise.
2511 (tst-leaks1-static-ENV): New macro.
2512 * elf/dl-open.c (dl_open_worker): Check the main application
2513 only if SHARED is defined.
2514 * elf/tst-leaks1-static.c: New file.
2515
335e6931
AJ
25162012-10-20 Andreas Jaeger <aj@suse.de>
2517
2518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2519 generic values for Linux.
2520 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2521 and declarations that are provided by <bits/fcntl-linux.h> and
2522 include <bits/fcntl-linux.h>.
2523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2525
ac5c94d3
RM
25262012-10-20 Roland McGrath <roland@hack.frob.com>
2527
2528 * io/fcntl.h: Move include of <bits/types.h> to the top and
2529 include it unconditionally.
2530
de54b33a
L
25312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2532
228cfb01
L
2533 * wcsmbs/Makefile (tests-ifunc): New variable.
2534 (tests): Add $(tests-ifunc).
2535 * wcsmbs/test-wcschr-ifunc.c: New file.
2536 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2537 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2538 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2539 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2540 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2541
69f07e5f
L
2542 * string/Makefile (tests-ifunc): New variable.
2543 (tests): Add $(tests-ifunc).
2544 * string/test-memccpy.c (TEST_NAME): New macro.
2545 * string/test-memchr.c (TEST_NAME): Likewise.
2546 * string/test-memcmp.c (TEST_NAME): Likewise.
2547 * string/test-memcpy.c (TEST_NAME): Likewise.
2548 * string/test-memmem.c (TEST_NAME): Likewise.
2549 * string/test-memmove.c (TEST_NAME): Likewise.
2550 * string/test-memset.c (TEST_NAME): Likewise.
2551 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2552 * string/test-stpcpy.c (TEST_NAME): Likewise.
2553 * string/test-stpncpy.c (TEST_NAME): Likewise.
2554 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2555 * string/test-strcasestr.c (TEST_NAME): Likewise.
2556 * string/test-strcat.c (TEST_NAME): Likewise.
2557 * string/test-strchr.c (TEST_NAME): Likewise.
2558 * string/test-strcmp.c(TEST_NAME): Likewise.
2559 * string/test-strcpy.c (TEST_NAME): Likewise.
2560 * string/test-strcspn.c (TEST_NAME): Likewise.
2561 * string/test-strlen.c (TEST_NAME): Likewise.
2562 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2563 * string/test-strncmp.c (TEST_NAME): Likewise.
2564 * string/test-strncpy.c (TEST_NAME): Likewise.
2565 * string/test-strnlen.c (TEST_NAME): Likewise.
2566 * string/test-strpbrk.c (TEST_NAME): Likewise.
2567 * string/test-strrchr.c (TEST_NAME): Likewise.
2568 * string/test-strspn.c (TEST_NAME): Likewise.
2569 * string/test-strstr.c (TEST_NAME): Likewise.
2570 * string/test-bcopy-ifunc.c: New file.
2571 * string/test-bzero-ifunc.c: Likewise.
2572 * string/test-memccpy-ifunc.c: Likewise.
2573 * string/test-memchr-ifunc.c: Likewise.
2574 * string/test-memcmp-ifunc.c: Likewise.
2575 * string/test-memcpy-ifunc.c: Likewise.
2576 * string/test-memmem-ifunc.c: Likewise.
2577 * string/test-memmove-ifunc.c: Likewise.
2578 * string/test-mempcpy-ifunc.c: Likewise.
2579 * string/test-memset-ifunc.c: Likewise.
2580 * string/test-rawmemchr-ifunc.c: Likewise.
2581 * string/test-stpcpy-ifunc.c: Likewise.
2582 * string/test-stpncpy-ifunc.c: Likewise.
2583 * string/test-strcasecmp-ifunc.c: Likewise.
2584 * string/test-strcasestr-ifunc.c: Likewise.
2585 * string/test-strcat-ifunc.c: Likewise.
2586 * string/test-strchr-ifunc.c: Likewise.
2587 * string/test-strchrnul-ifunc.c: Likewise.
2588 * string/test-strcmp-ifunc.c: Likewise.
2589 * string/test-strcpy-ifunc.c: Likewise.
2590 * string/test-strcspn-ifunc.c: Likewise.
2591 * string/test-strlen-ifunc.c: Likewise.
2592 * string/test-strncasecmp-ifunc.c: Likewise.
2593 * string/test-strncat-ifunc.c: Likewise.
2594 * string/test-strncmp-ifunc.c: Likewise.
2595 * string/test-strncpy-ifunc.c: Likewise.
2596 * string/test-strnlen-ifunc.c: Likewise.
2597 * string/test-strpbrk-ifunc.c: Likewise.
2598 * string/test-strrchr-ifunc.c: Likewise.
2599 * string/test-strspn-ifunc.c: Likewise.
2600 * string/test-strstr-ifunc.c: Likewise.
2601
de54b33a
L
2602 * debug/Makefile (tests-ifunc): New variable.
2603 (tests): Add $(tests-ifunc).
2604 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2605 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2606 * debug/test-stpcpy_chk-ifunc.c: New file.
2607 * debug/test-strcpy_chk-ifunc.c: Likewise.
2608
88481c16
SP
26092012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2610
2611 [BZ #13601]
2612 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2613 header is not read in.
2614
135948bd
JM
26152012-10-19 Joseph Myers <joseph@codesourcery.com>
2616
89f1c388
JM
2617 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2618 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2619 directly. Pass built executable to script as
2620 $(built-program-cmd).
2621 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2622 $testprogram without using LD_LIBRARY_PATH and $ldso.
2623
e40a0d21
JM
2624 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2625 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2626 $(rtld-installed-name).
2627 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2628 (rtld_installed_name): Likewise.
2629 (library_path): Likewise.
2630 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2631 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2632 $(run-program-prefix) to tst-tables.sh.
2633 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2634 it to run tst-table-from and tst-table-to.
2635 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2636 Pass it to tst-table.sh.
2637 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2638 $(run-program-prefix) to tst-gettext.sh.
2639 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2640 tst-translit.sh.
2641 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2642 tst-gettext2.sh.
2643 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2644 to run tst-gettext.
2645 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2646 to run tst-gettext2.
2647 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2648 to run tst-translit.
2649 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2650 $(run-program-prefix) to tst-mtrace.sh.
2651 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2652 to run tst-mtrace.
2653 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2654 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2655 $(rtld-installed-name).
2656 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2657 (rtld_installed_name): Likewise.
2658 (run_program_prefix): New variable. Use it to run wordexp-test.
2659
728e272a
JM
2660 * Makeconfig (ARCH): Remove all definitions.
2661 (machine): Likewise.
2662 [ARCH]: Remove conditional code.
2663 [!objdir]: Give error.
2664 [!objdir] (objpfx): Remove.
2665 [!objdir] (common-objpfx): Likewise.
2666 [!objdir] (common-objdir): Likewise.
2667 * configure.in (config_makefile): Remove. Hardcode Makefile in
2668 AC_CONFIG_FILES call.
2669 * configure: Regenerated.
2670
d528cdcf
JM
2671 [BZ #13888]
2672 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2673 or TMPDIR.
2674 (testout): Likewise.
2675
135948bd
JM
2676 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2677 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2678 $(rtld-installed-name).
2679 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2680 (rtld_installed_name): Likwise.
2681 (runit): Remove function.
2682 (run_getconf): New variable, Use it for running getconf binary.
2683
38c78296
L
26842012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2685
2686 [BZ #14716]
2687 * string/test-memmem.c (check_result): New function.
2688 (do_one_test): Use it.
2689 (check1): New function.
2690 (test_main): Use it.
2691
d077f65f
MT
26922012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2693
2694 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2695
ced52c71
JM
26962012-10-18 Joseph Myers <joseph@codesourcery.com>
2697
2698 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2699 (_G_LSEEK64): Likewise.
2700 (_G_MMAP64): Likewise.
2701 (_G_FSTAT64): Likewise.
2702 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2703 (_G_LSEEK64): Likewise.
2704 (_G_MMAP64): Likewise.
2705 (_G_FSTAT64): Likewise.
2706 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2707 unconditional. Call __mmap64 directly.
2708 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2709 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2710 __lseek64 directly.
2711 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2712 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2713 __mmap64 directly.
2714 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2715 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2716 __lseek64 directly.
2717 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2718 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2719 __lseek64 directly.
2720 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2721 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2722 __lseek64 directly.
2723 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2724 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2725 __fxstat64 directly.
2726 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2727 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2728 unconditional.
2729 (freopen64) [!_G_OPEN64]: Remove conditional code.
2730 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2731 unconditional.
2732 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2733 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2734 unconditional.
2735 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2736 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2737 unconditional.
2738 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2739 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2740 unconditional.
2741 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2742 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2743 unconditional.
2744 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2745 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2746 unconditional.
2747 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2748 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2749 unconditional.
2750 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2751
b741de23
SP
27522012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2753
2754 [BZ #12140]
2755 * manual/memory.texi (Malloc Tunable Parameters): Add note
2756 about free list pointers overwriting some perturb bytes.
2757 Wording suggested by Roland McGrath.
2758
f9b9d9c9
JM
27592012-10-17 Joseph Myers <joseph@codesourcery.com>
2760
2761 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2762 (lgamma_test): Likewise.
2763 (tgamma_test): Likewise.
2764
172a631a
FW
27652012-10-16 Florian Weimer <fweimer@redhat.com>
2766
2767 [BZ #14700]
2768 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2769 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2770
e9f37252
MK
27712012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2772
2773 * NEWS: Mention BZ #14716.
2774 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2775 when removing AVAILABLE1_USES_J macro.
2776
d394eb74
L
27772012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2780 (__bswap_64): __uint64_t for unsigned 64-bit int.
2781
ca38dc17
AS
27822012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2783
2784 * include/string.h (memmem): Declare libc hidden alias.
2785 * string/memmem.c (memmem): Define libc hidden alias.
2786 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2787 __read, __close instead of open, read, close.
2788
9a387d1f
L
27892012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2790
ac49ecaf
L
2791 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2792 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2793 global and hidden.
2794 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2795 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2796 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2797 Likewise.
2798 (__rawmemchr_sse2): Likewise.
2799 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2800 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2801 (__strchr_sse2): Likewise.
2802 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2803 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2804 (__strcasecmp_sse2): Likewise.
2805 (__strncasecmp_sse2): Likewise.
2806 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2807 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2808 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2809 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2810 (__strrchr_sse2): Likewise.
2811 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2812 ifunc-impl-list.c.
2813 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2814 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2815 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2816 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2817 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2818 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2819 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2820 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2821 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2822 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2823 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2824 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2825 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2826 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2827 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2828 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2829 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2830 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2831 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2832 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2833 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2834 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2835 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2836 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2837 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2838 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2839 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2840 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2841 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2842 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2843
b090e8ea
L
2844 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2845 global and hidden.
2846 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2847 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2848 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2849 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2850 Likewise.
2851 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2852 Likewise.
2853 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2854 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2855 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2856 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2857 ifunc-impl-list.c.
2858 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2859 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2860 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2861 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2862 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2863 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2864 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2865 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2866 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2867 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2868 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2869 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2870 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2871 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2872 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2873 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2874 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2875 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2876 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2877 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2878 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2879 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2880 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2881 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2882 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2883 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2884 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2885 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2886 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2888 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2889 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2890 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2891 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2892 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2893 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2894 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2895 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2896 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2897 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2898 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2899
11dd4af6
L
2900 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2901 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2902 * include/ifunc-impl-list.h: New file.
2903 * misc/ifunc-impl-list.c: Likewise.
2904 * misc/Makefile (routines): Add ifunc-impl-list.
2905 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2906 * string/test-string.h: Include <ifunc-impl-list.h>.
2907 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2908 impl_array): New variables.
2909 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2910 are defined.
2911 (test_init): Call __libc_ifunc_impl_list to initialize
2912 func_list if TEST_IFUNC and TEST_NAME are defined.
2913
9a387d1f
L
2914 * string/Makefile (strop-tests): Add bcopy and bzero.
2915 * string/test-bcopy.c: New file.
2916 * string/test-bzero.c: Likewise.
2917 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2918 defined.
2919 * string/test-memset.c: Support bzero test if TEST_BZERO is
2920 defined.
2921 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2922 __libc_memmove.
2923 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2924 __libc_memset.
2925 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2926 of memset.
2927
472371b9
JM
29282012-10-10 Joseph Myers <joseph@codesourcery.com>
2929
1e4a9536
JM
2930 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2931 * configure: Regenerated.
2932
d173d12e
JM
2933 * Makeconfig (+link-static-before-libc): Don't include
2934 $(link-static-libc).
2935
472371b9
JM
2936 * libio/libio.h (_IO_pos_t): Remove.
2937
89a3ad0b
AO
29382012-10-10 Alexandre Oliva <aoliva@redhat.com>
2939
2940 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2941 McGrath.
2942
e7451425
AO
29432012-10-10 Alexandre Oliva <aoliva@redhat.com>
2944
2945 * crypt/crypt-entry.c: Include fips-private.h.
2946 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2947 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2948 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2949 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2950
4ba74a35
AO
29512012-10-10 Alexandre Oliva <aoliva@redhat.com>
2952
2953 * crypt/crypt-private.h: Include stdbool.h.
2954 (_ufc_setup_salt_r): Return bool.
2955 * crypt/crypt-entry.c: Include errno.h.
2956 (__crypt_r): Return NULL with EINVAL for bad salt.
2957 * crypt/crypt_util.c (bad_for_salt): New.
2958 (_ufc_setup_salt_r): Check that salt is long enough and within
2959 the specified alphabet.
2960 * crypt/badsalttest.c: New file.
2961 * crypt/Makefile (tests): Add it.
2962 ($(objpfx)badsalttest): New.
2963
f96f1242
MK
29642012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2965
2966 * NEWS: Add entry for BZ #14602.
2967
0e8e0c1c
JM
29682012-10-09 Joseph Myers <joseph@codesourcery.com>
2969
2970 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2971 type-generic.
2972 * math/libm-test.inc: Update comment listing what functions and
2973 macros are tested.
2974 (isgreater_test): New function.
2975 (isgreaterequal_test): Likewise.
2976 (isless_test): Likewise.
2977 (islessequal_test): Likewise.
2978 (islessgreater_test): Likewise.
2979 (isunordered_test): Likewise.
2980 (main): Call the new functions.
2981
273edc5e
RM
29822012-10-09 Roland McGrath <roland@hack.frob.com>
2983
b8493de0
RM
2984 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2985 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2986 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2987 * sysdeps/i386/configure: Regenerated.
2988 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2989 * sysdeps/mach/configure: Regenerated.
2990 * sysdeps/mach/hurd/configure: Regenerated.
2991 * sysdeps/powerpc/configure: Regenerated.
2992 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2993 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2994 * sysdeps/s390/s390-32/configure: Regenerated.
2995 * sysdeps/s390/s390-64/configure: Regenerated.
2996 * sysdeps/sh/configure: Regenerated.
2997 * sysdeps/sparc/configure: Regenerated.
2998 * sysdeps/unix/sysv/linux/configure: Regenerated.
2999 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3000 * sysdeps/x86_64/configure: Regenerated.
3001
273edc5e
RM
3002 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3003 defined. Don't check if MAP is NULL.
3004
c8450f70
JM
30052012-10-09 Joseph Myers <joseph@codesourcery.com>
3006
3007 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3008 (_G_stat64): Likewise.
3009 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3010 (_G_stat64): Likewise.
3011 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3012 instead of struct _G_stat64.
3013 * libio/fileops.c (mmap_remap_check): Likewise.
3014 (decide_maybe_mmap): Likewise.
3015 (_IO_new_file_seekoff): Likewise.
3016 (_IO_file_stat): Likewise.
3017 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3018 _G_off64_t.
3019 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3020 instead of struct _G_stat64.
3021 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3022
57e605ba
MK
30232012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3024
3025 [BZ #14602]
3026 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3027 Replace with ...
3028 (CHECK_EOL): New macro.
3029 (two_way_short_needle): Check beginning of haystack for EOL. Use
3030 CHECK_EOL.
3031 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3032 Replace with CHECK_EOL.
3033 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3034 Replace with CHECK_EOL.
3035
ef1bb361
JM
30362012-10-08 Joseph Myers <joseph@codesourcery.com>
3037
3038 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3039 type-generic.
3040 * math/libm-test.inc: Update comment listing what functions and
3041 macros are tested.
3042 (finite_test): New function.
3043 (isinf_test): Likewise.
3044 (isnan_test): Likewise.
3045 (fpclassify_test): Test subnormal input.
3046 (isfinite_test): Likewise.
3047 (isnormal_test): Likewise.
3048 (main): Call the new functions.
3049
55f11534
JN
30502012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3051
3052 [BZ #14660]
3053 * Makerules (%.dynsym): Force C locale when running
3054 $(OBJDUMP) --dynamic-syms.
3055
1ab29350
AS
30562012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3057
3058 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3059 <stdint.h>.
3060
f1ecb7ef
DM
30612012-10-06 David S. Miller <davem@davemloft.net>
3062
3063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3064 upper 32-bits of the length value in %o2 since we use branch-on-register
3065 tests which consider the entire 64-bit register.
3066
5d41d91a
L
30672012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3068
3069 * string/test-strstr.c (check2): Add a test for page boundary.
3070
3baddb72
DM
30712012-10-05 David S. Miller <davem@davemloft.net>
3072
3073 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3074 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3075 file.
3076 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3077 sysdep_routines.
3078 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3079 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3080 and bzero when HWCAP_SPARC_CRYPTO is present.
3081
9cee5585
L
30822012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3083
d7e0dab9
L
3084 [BZ #14602]
3085 * string/test-strstr.c (check2): New function.
3086 (test_main): Call check2.
3087
03759f47
L
3088 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3089 and bug-strchr1.
3090 * string/bug-strcasestr1.c (do_test): Moved to ...
3091 * string/test-strcasestr.c (check1): Here. New function.
3092 (do_one_test): Break out result checking code into ...
3093 (check_result): This. New function.
3094 (do_one_test): Call check_result.
3095 (test_main): Call check1.
3096 * string/bug-strchr1.c (do_test): Moved to ...
3097 * string/test-strchr.c (check1): Here. New function.
3098 (do_one_test): Break out result checking code into ...
3099 (check_result): This. New function.
3100 (do_one_test): Call check_result.
3101 (test_main): Call check1.
3102 * string/bug-strstr1.c (main): Moved to ...
3103 * string/test-strchr.c (check1): Here. New function.
3104 (do_one_test): Break out result checking code into ...
3105 (check_result): This. New function.
3106 (do_one_test): Call check_result.
3107 (test_main): Call check1.
3108 * string/bug-strcasestr1.c: Removed.
3109 * string/bug-strchr1.c: Likewise.
3110 * string/bug-strstr1.c: Likewise.
3111
53cea63e
L
3112 * elf/Makefile (dl-routines): Add hwcaps.
3113 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3114 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3115 (_dl_important_hwcaps): Moved to ...
3116 * elf/dl-hwcaps.c: Here. New file.
3117 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3118
9cee5585 3119 [BZ #14557]
bb859b06
L
3120 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3121 if IS_IN_rtld isn't defined.
3122
9cee5585
L
3123 * elf/dl-support.c (_dl_sysinfo_map): New.
3124 Include "get-dynamic-info.h" and "setup-vdso.h".
3125 (_dl_non_dynamic_init): Call setup_vdso.
3126 * elf/dynamic-link.h: Don't include <assert.h>.
3127 (elf_get_dynamic_info): Moved to ...
3128 * elf/get-dynamic-info.h: Here. New file.
3129 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3130 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3131 * elf/setup-vdso.h: Here. New file.
3132 * elf/rtld.c: Include "setup-vdso.h".
3133 (dl_main): Call setup_vdso.
3134
23c31b76
JM
31352012-10-05 Joseph Myers <joseph@codesourcery.com>
3136
28234b07
JM
3137 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3138 creal in comment listing functions tested. List finite, isinf,
3139 isnan, isless, islessequal, isgreater, isgreaterequal,
3140 islessgreater, isunordered, lgamma_r and pow10 as functions and
3141 macros not tested. Mention which functions not tested are aliases
3142 for other functions. Fix typo. Note that signs of NaNs are not
3143 tested.
3144
23c31b76
JM
3145 * scripts/config.guess: Update from config.git.
3146 * scripts/config.sub: Likewise.
3147
9043e228
RM
31482012-10-04 Roland McGrath <roland@hack.frob.com>
3149
3150 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3151 * misc/madvise.c (madvise): Renamed to __madvise.
3152 Make madvise a weak alias.
3153 * include/sys/mman.h: Declare __madvise.
3154 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3155 * sysdeps/unix/syscalls.list
3156 (madvise): Make __madvise the strong name, and madvise a weak alias.
3157 * sysdeps/unix/sysv/linux/syscalls.list
3158 (madvise, mmap): Remove redundant entries.
3159 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3160 * malloc/malloc.c (mtrim): Likewise.
3161 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3162
f57f8055
RM
31632012-10-03 Roland McGrath <roland@hack.frob.com>
3164
3165 * sysdeps/mach/hurd/dl-cache.c: File removed.
3166 * config.h.in (USE_LDCONFIG): New #undef.
3167 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3168 * configure: Regenerated.
3169 * elf/Makefile (dl-routines): Add dl-cache only under
3170 [$(use-ldconfig) = yes].
3171 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3172 cache on [USE_LDCONFIG].
3173 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3174 [USE_LDCONFIG].
3175 * elf/rtld.c (dl_main): Likewise.
3176
5bb0c10a
PT
31772012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3178
3179 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3180 _SC_LEVEL4_CACHE_LINESIZE.
3181
010188c6
RM
31822012-10-03 Roland McGrath <roland@hack.frob.com>
3183
3184 * sysdeps/unix/bsd/confstr.h: File removed.
3185
b6c5ec07
AO
31862012-10-02 Alexandre Oliva <aoliva@redhat.com>
3187
3188 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3189 sys/sdt-config.h.
3190
408223d4
RM
31912012-10-02 Roland McGrath <roland@hack.frob.com>
3192
3193 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3194 Make 'mapoff' field ElfW(Off) rather than off_t.
3195
bb9510dc
DL
31962012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3197
fc997c6e
DL
3198 * nscd/Makefile: Remove nscd-cflags and all its users.
3199 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3200 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3201
bb9510dc
DL
3202 [BZ #10631]
3203 * malloc.c (malloc_printerr): Clarify error message.
3204
05699367
L
32052012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3206
3207 [BZ #14648]
3208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3209 Set bit_FMA_Usable if FMA is supported.
3210 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3211 macro.
3212 (bit_FMA4_Usable): Updated.
3213 (index_FMA_Usable): New macro.
3214 (CPUID_FMA): Likewise
3215 (HAS_FMA): Defined with bit_FMA_Usable.
3216
51367701
RM
32172012-10-01 Roland McGrath <roland@hack.frob.com>
3218
3219 * bits/types.h (__swblk_t): Type removed.
3220 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3221 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3223 (__SWBLK_T_TYPE): Likewise.
3224 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3225 (__SWBLK_T_TYPE): Likewise.
3226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3227 (__SWBLK_T_TYPE): Likewise.
3228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3229 (__SWBLK_T_TYPE): Likewise.
3230
4d57bf63 32312012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3232 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3233
3234 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3235 (xdr_mapname): Use YPMAXMAP as maxsize.
3236 (xdr_peername): Use YPMAXPEER as maxsize.
3237 (xdr_keydat): Use YPAXRECORD as maxsize.
3238 (xdr_valdat): Use YPMAXRECORD as maxsize.
3239
93c65d43
RM
32402012-10-01 Roland McGrath <roland@hack.frob.com>
3241
497a03d6
RM
3242 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3243
93c65d43
RM
3244 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3245 * csu/init-first.c: ... here.
3246 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3247 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3248 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3250 * sysdeps/i386/init-first.c: File removed.
3251 * sysdeps/sh/init-first.c: File removed.
3252
bec749fd
JM
32532012-10-01 Joseph Myers <joseph@codesourcery.com>
3254
3255 [BZ #14645]
3256 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3257 if x * y might underflow to zero and z is zero.
3258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3260 * math/libm-test.inc (min_subnorm_value): New variable.
3261 (fma_test): Add more tests.
3262 (fma_test_towardzero): Likewise.
3263 (fma_test_downward): Likewise
3264 (fma_test_upward): Likewise.
3265 (initialize): Set min_subnorm_value.
3266
8ec5b013
JM
32672012-09-29 Joseph Myers <joseph@codesourcery.com>
3268
3269 [BZ #14638]
3270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3271 0 + 0.
3272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3273 mode for addition resulting in exact zero.
3274 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3276 exact 0 + 0.
3277 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3278 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3279 * math/libm-test.inc (fma_test): Add more tests.
3280 (fma_test_towardzero): New function.
3281 (fma_test_downward): Likewise.
3282 (fma_test_upward): Likewise.
3283 (main): Call the new functions.
3284
b1fa802e
DM
32852012-09-28 David S. Miller <davem@davemloft.net>
3286
3287 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3288
d3b9fd9e
RM
32892012-09-28 Roland McGrath <roland@hack.frob.com>
3290
ea4d37b3
RM
3291 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3292 instead of SIGALRM.
3293
ac51c949
RM
3294 * sysdeps/gnu/_G_config.h: Moved to ...
3295 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3296 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3297 * sysdeps/generic/_G_config.h: ... here.
3298
28c195f7
RM
3299 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3300
848917f9
RM
3301 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3302
6bacf05b
RM
3303 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3304 Conditionalize target on [libnss_test1.so-version].
3305
91363dbb
RM
3306 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3307
cc87f7d8
RM
3308 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3309 (elfobjdir): Move out of conditionals.
3310
b1c608fe
RM
3311 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3312 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3313 (__nss_lookup_function): Conditionalize label remove_from_tree on
3314 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3315
1d9a6d96
DM
33162012-09-28 David S. Miller <davem@davemloft.net>
3317
3318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3319 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3320 file.
3321 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3322 sysdep_routines.
3323 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3324 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3325 when HWCAP_SPARC_CRYPTO is present.
3326
72581615
PT
33272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3328
3329 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3330
715a900c
JL
33312012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3332
3333 [BZ #6530]
3334 * stdio-common/vfprintf.c (process_string_arg): Revert
3335 2000-07-22 change.
3336
33372011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3338
3339 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3340 for testcase.
3341 * stdio-common/tst-sprintf.c: Include <locale.h>
3342 (main): Test sprintf's handling of incomplete multibyte
3343 characters.
3344
9bac1d86
L
33452012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3346
3347 * elf/dl-runtime.c (VERSYMIDX): Removed.
3348 * elf/dl-version.c (VERSYMIDX): Likewise.
3349 * elf/do-rel.h (VERSYMIDX): Likewise.
3350 (VALIDX): Likewise.
3351 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3352 * elf/rtld.c (VALIDX): Likewise.
3353 (ADDRIDX): Likewise.
9bac1d86
L
3354 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3355 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3356 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3357 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3358 (VALIDX): Likewise.
3359 (ADDRIDX): Likewise.
9bac1d86 3360
b31606c0
PT
33612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3362
3363 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3364
11541177
JL
33652012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3366
3367 [BZ #11438]
3368 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3369 to global scope.
3370 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3371 addresses are in the same scope as 192.0.2/24.
3372 * posix/gai.conf: Document new scope table defaults.
3373
adb26fae
SP
33742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3375
3376 [BZ #5298]
3377 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3378 for ftell. Compute offsets from write pointers instead.
3379 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3380
4573c6b0
SP
33812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3382
3383 [BZ #14543]
3384 * libio/Makefile (tests): New test case tst-fseek.
3385 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3386 combination works in wide mode.
3387 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3388 state when the external buffer state changes.
3389
aa9bbfe6
DM
33902012-09-27 David S. Miller <davem@davemloft.net>
3391
3392 [BZ #14376]
3393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3394 pass reloc->r_addend in as the 'high' argument to
3395 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3396
784421e7
DM
3397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3398
c39bc8b8
PT
33992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3400
3401 * rt/tst-aio2.c: Include <pthread.h>.
3402 * rt/tst-aio3.c: Likewise.
3403
1ccc2399
SE
34042012-09-27 Steve Ellcey <sellcey@mips.com>
3405
3406 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3407
31ed4153
L
34082012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3409
25f5f885
L
3410 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3411 contents on [SHARED].
31ed4153 3412
b7bfe116
MP
34132012-09-26 Marek Polacek <polacek@redhat.com>
3414
3415 [BZ #14530]
3416 [BZ #13741]
3417 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3418 for C++ and GCC <4.3 as well as for non GCC compilers.
3419
43c4edba
MT
34202012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3421
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3423
6a1bf82f
RM
34242012-09-25 Roland McGrath <roland@hack.frob.com>
3425
3426 * Makefile.in (all, install): Declare with .PHONY.
3427 Reported by Michael Hope <michael.hope@linaro.org>.
3428
8ad11b9a
TMQMF
34292012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3430
3431 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3432 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3433 system header.
3434 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3435 Likewise.
3436 (sydep_routines): Add the new and the internal functions.
3437 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3438 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3440 (GLIBC_2.17): Add the new function.
3441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3442 (GLIBC_2.17): Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3444 (GLIBC_2.17): Likewise.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3446 (GLIBC_2.17): Likewise.
3447 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3448
7e2fca8d
AM
34492012-09-25 Alan Modra <amodra@gmail.com>
3450
3451 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3452 Add release barrier before setting once_control to say
3453 initialisation is done. Add hints on lwarx. Use macro in
3454 place of isync.
3455 (clear_once_control): Add release barrier.
3456
b87c4b24
JM
34572012-09-25 Joseph Myers <joseph@codesourcery.com>
3458
d032e0d2
JM
3459 [BZ #13629]
3460 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3461 specially.
3462 * math/s_clog10.c (__clog10): Likewise.
3463 * math/s_clog10f.c (__clog10f): Likewise.
3464 * math/s_clog10l.c (__clog10l): Likewise.
3465 * math/s_clogf.c (__clogf): Likewise.
3466 * math/s_clogl.c (__clogl): Likewise.
3467 * math/Makefile (libm-calls): Add x2y2m1.
3468 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3469 (__x2y2m1): Likewise.
3470 (__x2y2m1l): Likewise.
3471 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3472 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3473 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3474 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3475 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3476 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3477 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3478 * sysdeps/i386/fpu/libm-test-ulps: Update.
3479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3480
b87c4b24
JM
3481 [BZ #14621]
3482 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3483 int as type of variable DEPTH.
3484 (glob): Use size_t instead of int as type of variables NEWCOUNT
3485 and OLD_PATHC.
3486
6d3bf199
LD
34872012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3488
22bf5c17
LD
3489 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3490 Add s_sincosf-sse2.
3491 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3492 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3493 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3494 macros for using routine as __sincosf_ia32.
3495 Use macro for function declaration and weak_alias.
3496 * sysdeps/i386/fpu/libm-test-ulps: Update.
3497
3498 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3500
3501 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3502 subnormal argument.
3503 * math/s_cexpf.c (__cexpf): Likewise.
3504 * math/s_csinf.c (__csinf): Likewise.
3505 * math/s_csinhf.c (__csinhf): Likewise.
3506 * math/s_ctanf.c (__ctanf): Likewise.
3507 * math/s_ctanhf.c (__ctanhf): Likewise.
3508 * math/s_ccosh.c (__ccoshf): Likewise.
3509 * math/s_cexp.c (__cexpl): Likewise.
3510 * math/s_csin.c (__csin): Likewise.
3511 * math/s_csinh.c (__csinh): Likewise.
3512 * math/s_ctan.c (__ctan): Likewise.
3513 * math/s_ctanh.c (ctanh): Likewise.
3514 * math/s_ccoshl.c (__ccoshl): Likewise.
3515 * math/s_cexpl.c (__cexpl): Likewise.
3516 * math/s_csinl.c (__csinl): Likewise.
3517 * math/s_csinhl.c (__csinhl): Likewise.
3518 * math/s_ctanl.c (__ctanl): Likewise.
3519 * math/s_ctanhl.c (__ctanhl): Likewise.
3520
203e5603
JM
35212012-09-25 Joseph Myers <joseph@codesourcery.com>
3522
3523 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3524 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3525 (_IO_off_t): Define to __off_t, not _G_off_t.
3526 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3527 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3528 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3529 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3530 type of __dummy and __dummy2 fields.
3531 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3532 (_G_ssize_t): Likewise.
3533 (_G_off_t): Likewise.
3534 (_G_pid_t): Likewise.
3535 (_G_uid_t): Likewise.
3536 (_G_wchar_t): Likewise.
3537 (_G_wint_t): Likewise.
3538 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3539 (_G_ssize_t): Likewise.
3540 (_G_off_t): Likewise.
3541 (_G_pid_t): Likewise.
3542 (_G_uid_t): Likewise.
3543 (_G_wchar_t): Likewise.
3544 (_G_wint_t): Likewise.
3545 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3546 (_G_ssize_t): Likewise.
3547 (_G_off_t): Likewise.
3548 (_G_pid_t): Likewise.
3549 (_G_uid_t): Likewise.
3550 (_G_wchar_t): Likewise.
3551 (_G_wint_t): Likewise.
3552
9fab36eb
SP
35532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3554
3555 * malloc/arena.c: Include malloc-sysdep.h.
3556 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3557 is sufficient to shrink the heap or an unmap is needed.
3558 * sysdeps/generic/malloc-sysdep.h: New file. Define
3559 new function check_may_shrink_heap.
3560 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3561 new function check_may_shrink_heap.
3562
2b4f00d1
SP
35632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3564
3565 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3566 comments.
3567
9a9028b1
DL
35682012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3569
57c69bef
DL
3570 * catgets/test-gencat.sh: Add "set -e".
3571 * elf/tst-pathopt.sh: Likewise.
3572 * grp/tst_fgetgrent.sh: Likewise.
3573 * iconvdata/run-iconv-test.sh: Likewise.
3574 * intl/tst-gettext.sh: Likewise.
3575 * intl/tst-gettext2.sh: Likewise.
3576 * intl/tst-gettext4.sh: Likewise.
3577 * intl/tst-gettext6.sh: Likewise.
3578 * intl/tst-translit.sh: Likewise.
3579 * io/ftwtest-sh: Likewise.
3580 * libio/test-freopen.sh: Likewise.
3581 * malloc/tst-mtrace.sh: Likewise.
3582 * posix/globtest.sh: Likewise.
3583 * posix/tst-getconf.sh: Likewise.
3584 * posix/wordexp-tst.sh: Likewise.
3585 * stdio-common/tst-printf.sh: Likewise.
3586 * stdio-common/tst-unbputc.sh: Likewise.
3587 * stdlib/tst-fmtmsg.sh: Likewise.
3588 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3589 * catgets/Makefile: Do not specify -e option when running
3590 testsuite shell scripts.
3591 * elf/Makefile: Likewise.
3592 * grp/Makefile: Likewise.
3593 * iconvdata/Makefile: Likewise.
3594 * intl/Makefile: Likewise.
3595 * io/Makefile: Likewise.
3596 * libio/Makefile: Likewise.
3597 * malloc/Makefile: Likewise.
3598 * posix/Makefile: Likewise.
3599 * stdio-common/Makefile: Likewise.
3600 * stdlib/Makefile: Likewise.
3601 * sysdeps/x86_64/Makefile: Likewise.
3602
9a9028b1
DL
3603 * io/ftwtest-sh: Add copyright header.
3604 * posix/globtest.sh: Likewise.
3605 * posix/tst-getconf.sh: Likewise.
3606 * posix/wordexp-tst.sh: Likewise.
3607 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3608
ced6f16e
L
36092012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3610
94b32c39
L
3611 [BZ #13679]
3612 * Makeconfig (+link): Defined as $(+link-static) if
3613 $(build-shared) isn't yes.
3614 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3615 isn't yes.
3616 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3617
189e935b
L
3618 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3619
ced6f16e
L
3620 [BZ #14562]
3621 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3622 new chunk size with MALLOC_ALIGN_MASK.
3623
a9f8e53a
JM
36242012-09-24 Joseph Myers <joseph@codesourcery.com>
3625
3626 [BZ #5044]
3627 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3628 <rounding-mode.h>.
3629 (__printf_fphex): Determine rounding using get_rounding_mode and
3630 round_away.
3631 * stdio-common/tst-printf-round.c (struct hex_test): New
3632 structure.
3633 (hex_tests): New variable.
3634 (test_hex_in_one_mode): New function.
3635 (do_test): Also run tests for hex float output.
3636
43153109
JM
36372012-09-21 Joseph Myers <joseph@codesourcery.com>
3638
3639 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3640 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3641 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3642 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3643 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3644 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3645 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3646 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3647
8a26625d
JM
36482012-09-20 Joseph Myers <joseph@codesourcery.com>
3649
3650 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3651 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3652 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3653 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3654
f3fd569c
DL
36552012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3656
3657 [BZ #14579]
3658 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3659 mode only.
3660 * elf/tst-rtld-load-self.sh: New test.
3661 * elf/Makefile: Run it.
3662
63bbedd4
JM
36632012-09-18 Joseph Myers <joseph@codesourcery.com>
3664
3665 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3666 (tst-writev-ENV): Remove.
3667 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3668
626f8b6a
CM
36692012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3670
3671 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3672
b7aaa4d6
JM
36732012-09-17 Joseph Myers <joseph@codesourcery.com>
3674
3675 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3676 unconditional.
3677 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3678 Likewise.
3679 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3680 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3681 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3682 Likewise.
3683
65513990
L
36842012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 [BZ #14587]
3687 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3688 * config.make.in (have-cpp-asm-debuginfo): Removed.
3689 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3690 * configure: Regenerated.
3691
784761be
JM
36922012-09-14 Joseph Myers <joseph@codesourcery.com>
3693
3694 [BZ #5044]
3695 * stdio-common/printf_fp.c: Include <stdbool.h> and
3696 <rounding-mode.h>.
3697 (___printf_fp): Determine rounding using get_rounding_mode and
3698 round_away.
3699 * stdio-common/tst-printf-round.c: New file.
3700 * stdio-common/Makefile (tests): Add tst-printf-round.
3701 (link-libm): New variable.
3702 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3703
9503345f
L
37042012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 [BZ #14576]
3707 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3708 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3709 Likewise.
3710 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3711 Likewise.
3712
ad35fc00
JM
37132012-09-13 Joseph Myers <joseph@codesourcery.com>
3714
3715 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3716 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3717 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3718 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3719
6c9b0f68
JM
37202012-09-12 Joseph Myers <joseph@codesourcery.com>
3721
3722 [BZ #14518]
3723 * include/rounding-mode.h: New file.
3724 * sysdeps/generic/get-rounding-mode.h: Likewise.
3725 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3726 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3727 (MAX_VALUE): New macro.
3728 (MIN_VALUE): Likewise.
3729 (overflow_value): New function.
3730 (underflow_value): Likewise.
3731 (round_and_return): Use overflow_value and underflow_value to
3732 determine return values in overflow and underflow cases. Use
3733 round_away to determine rounding depending on rounding mode.
3734 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3735 determine return values in overflow and underflow cases.
3736 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3737 (struct test_results): New structure.
3738 (struct test): Use struct test_results to store expected results
3739 for all rounding modes.
3740 (TEST): Include expected results for all rounding modes.
3741 (test_in_one_mode): New function.
3742 (do_test): Use test_in_one_mode to compute and check results.
3743 Check results for all rounding modes.
3744 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3745 $(link-libm).
3746
19fcedd5
AM
37472012-12-09 Allan McRae <allan@archlinux.org>
3748
1e9d84cd 3749 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3750
8bbfd2f1
JM
37512012-09-11 Joseph Myers <joseph@codesourcery.com>
3752
3753 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3754 (_G_int32_t): Likewise.
3755 (_G_uint16_t): Likewise.
3756 (_G_uint32_t): Likewise.
3757 (_G_HAVE_BOOL): Likewise.
3758 (_G_HAVE_ATEXIT): Likewise.
3759 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3760 (_G_HAVE_IO_FILE_OPEN): Likewise.
3761 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3762 (_G_int32_t): Likewise.
3763 (_G_uint16_t): Likewise.
3764 (_G_uint32_t): Likewise.
3765 (_G_HAVE_BOOL): Likewise.
3766 (_G_HAVE_ATEXIT): Likewise.
3767 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3768 (_G_HAVE_IO_FILE_OPEN): Likewise.
3769 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3770 (_G_int32_t): Likewise.
3771 (_G_uint16_t): Likewise.
3772 (_G_uint32_t): Likewise.
3773 (_G_HAVE_BOOL): Likewise.
3774 (_G_HAVE_ATEXIT): Likewise.
3775 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3776 (_G_HAVE_IO_FILE_OPEN): Likewise.
3777
b1dc5912
L
37782012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * csu/libc-tls.c: Update copyright years.
3781
0e886ef9
JM
37822012-09-10 Joseph Myers <joseph@codesourcery.com>
3783
28361c5e
JM
3784 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3785 [!_G_USING_THUNKS]: Remove conditional code.
3786 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3787 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3788
0e886ef9
JM
3789 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3790 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3791 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3792 (_G_VTABLE_LABEL_PREFIX): Likewise.
3793 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3794 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3795 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3796 (_G_VTABLE_LABEL_PREFIX): Likewise.
3797 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3798 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3799 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3800 (_G_VTABLE_LABEL_PREFIX): Likewise.
3801 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3802
bcba7aa2
L
38032012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3804
3805 * libio/Makefile: Include ../Makeconfig before tests.
3806 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3807 only if $(build-shared) is yes.
3808
06585ee8
L
3809 * iconv/gconv_db.c: Update copyright years.
3810
80ccd52c
LD
38112012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3812
3813 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3814 unwind info if defined PIC. Fix special cases description.
3815 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3816
3817 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3818 DP_HI_MASK entry.
3819 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3820
691bc9c1
L
38212012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3822
3d9b46b3
L
3823 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3824
de2139a9
L
3825 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3826 is NULL.
3827
5ca78dd0
L
3828 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3829 (LDLIBS-tst-chk4): This.
3830 (LDFLAGS-tst-chk5): Renamed to ...
3831 (LDLIBS-tst-chk5): This.
3832 (LDFLAGS-tst-chk6): Renamed to ...
3833 (LDLIBS-tst-chk6): This.
3834 (LDFLAGS-tst-lfschk4): Renamed to ...
3835 (LDLIBS-tst-lfschk4): This.
3836 (LDFLAGS-tst-lfschk5): Renamed to ...
3837 (LDLIBS-tst-lfschk5): This.
3838 (LDFLAGS-tst-lfschk6): Renamed to ...
3839 (LDLIBS-tst-lfschk6): This.
3840
691bc9c1
L
3841 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3842 on $(common-objpfx)soversions.mk.
3843
65cafb1c
JM
38442012-09-07 Joseph Myers <joseph@codesourcery.com>
3845
3846 [BZ #10014]
3847 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3848 example host name.
3849
c78ab094
SP
38502012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3851
3852 * malloc/arena.c (arena_get_retry): New function that gets
3853 another arena for the caller to try its request on.
3854 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3855 current arena cannot fulfill the request.
3856 (__libc_memalign): Likewise.
3857 (__libc_memalign): Likewise.
3858 (__libc_pvalloc): Likewise.
3859 (__libc_calloc): Likewise.
3860
01f49f59
JT
38612012-09-05 John Tobey <john.tobey@gmail.com>
3862
3863 [BZ #13542]
3864 * manual/arith.texi (Operations on Complex): Fix description
3865 of carg branch cut.
3866
4c23fed5
JM
38672012-09-06 Joseph Myers <joseph@codesourcery.com>
3868
1d3c8572
JM
3869 [BZ #10014]
3870 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3871 host name.
3872
4c23fed5
JM
3873 [BZ #10038]
3874 * manual/memory.texi (Memory): Make order of menu items match
3875 order of sections.
3876
04570aaa
L
38772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3878
3879 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3880 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3881 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3882
b80af2f4
L
38832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3884
3885 * csu/libc-tls.c (static_dtv): Renamed to ...
3886 (_dl_static_dtv): This. Make it global.
3887 (_dl_initial_dtv): Removed.
3888 (__libc_setup_tls): Updated.
3889 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3890 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3891 DL_INITIAL_DTV.
3892
2abe9f15
PM
38932012-09-06 Petr Machata <pmachata@redhat.com>
3894
3895 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3896 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3897 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3898 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3899
0948c3af
L
39002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3901
3902 [BZ #14545]
3903 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3904 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3905 freeing dtv[-1].
3906
a5055ad1
L
39072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3908
3909 [BZ #14544]
3910 * Makeconfig (link-static-before-libc): Replace $(+prector)
3911 with $(+prectorT).
3912 (link-static-after-libc): Replace $(+postctor) with
3913 $(+postctorT).
3914 (link-bounded): Replace $(+prector)/$(+postctor) with
3915 $(+prectorT)/$(+postctorT).
3916 (+prectorT): New macro.
3917 (+postctorT): Likewise.
3918
ed8c2ecd
JM
39192012-09-06 Joseph Myers <joseph@codesourcery.com>
3920
3921 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3922 (round_str): Handle values above the maximum for IBM long double
3923 as inexact.
3924 * stdlib/tst-strtod-round.c (tests): Regenerated.
3925
14c996c8
AK
39262012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3927
3928 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3929 assembler flag.
3930 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3931 zarch_nohighgprs around the zarch optimized routines.
3932 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3933 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3934 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3935 for zarch.
3936
430d6ce6
DM
39372012-09-05 David S. Miller <davem@davemloft.net>
3938
3939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3940
ff04dda4
DM
3941 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3942 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3943 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3944 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3945 entries.
3946
24d4e01b
AO
39472012-09-05 Alexandre Oliva <aoliva@redhat.com>
3948
3949 * malloc/arena.c: Fold copyright years.
3950 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3951
61d58174
AO
39522012-09-05 Alexandre Oliva <aoliva@redhat.com>
3953
3954 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3955
20196a5e
AO
39562012-09-05 Alexandre Oliva <aoliva@redhat.com>
3957
3958 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3959
5c447383
AO
39602012-09-05 Alexandre Oliva <aoliva@redhat.com>
3961
3962 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3963 change internal state upon failure.
3964
fad64255
AO
39652012-09-05 Alexandre Oliva <aoliva@redhat.com>
3966
3967 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3968 * malloc/memusage.c (mmap): Likewise.
3969 (mmap64, mremap): Likewise. Adjust name in comment.
3970
1ffb8c90
SP
39712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
3973 * libio/fileops.c: Fix typos in comments.
3974 * libio/oldfileops.c: Likewise.
3975 * libio/wfileops.c: Likewise.
3976
6ef9cc37
SP
39772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3978
3979 [BZ #1349]
3980 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3981 (tst-malloc-usable-ENV): Set environment for test case.
3982 * malloc/hooks.c (malloc_check_get_size): New function to get
3983 requested size.
3984 * malloc/malloc.c (musable): Use malloc_check_get_size.
3985 * malloc/tst-malloc-usable.c: New test case.
3986
4d038ae3
AS
39872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3988
3989 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3990
c4e85184
AM
39912012-09-05 Allan McRae <allan@archlinux.org>
3992
b9dafc56 3993 [BZ #13966]
c4e85184
AM
3994 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3995 determine header location.
3996 * configure: Regenerated.
3997
e1343020
AS
39982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3999
4000 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4001 float format.
4002 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
4003 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4004 format.
e1343020
AS
4005 (test): Regenerate.
4006
0a9f1987
DM
40072012-09-04 David S. Miller <davem@davemloft.net>
4008
4009 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4010 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4011 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4012
29237804
FW
40132012-09-04 Florian Weimer <fweimer@redhat.com>
4014
4015 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4016 failures.
4017
edb3cb88
FW
4018 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4019
60160d83
JM
40202012-09-04 Joseph Myers <joseph@codesourcery.com>
4021
4022 [BZ #9914]
4023 * libio/iogetdelim.c: Include <limits.h>.
4024 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4025 + len + 1 would overflow.
4026
bcd6c8dc
AJ
40272012-09-03 Andreas Jaeger <aj@suse.de>
4028
4029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4030 * sysdeps/i386/fpu/libm-test-ulps: Update.
4031
4ffffbd2
LD
40322012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4033
4034 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4035 Add s_sinf-sse2, s_conf-sse2.
4036
4037 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4038 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4039 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4040 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4041
4042 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4043 for using routine as __sinf_ia32.
4044 Use macro for function declaration and weak_alias.
4045 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4046 for using routine as __cosf_ia32.
4047 Use macro for function declaration and weak_alias.
4048
4049 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4050 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4051
4052 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4053 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4055
4056 * math/libm-test.inc (cos_test): Add more test cases.
4057 (sin_test): Likewise.
4058 (sincos_test): Likewise.
4059
511fa286
AK
40602012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4061
4062 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4063 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4064 hidden.
4065 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4066
5f30cfec
L
40672012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4068
4069 [BZ #14538]
4070 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4071 first element of the GOT.
4072 (elf_machine_load_address): Return the difference between
4073 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4074
0786794f
AM
40752012-09-01 Allan McRae <allan@archlinux.org>
4076
5f30cfec
L
4077 [BZ #13412]
4078 * configure.in (AWK): Require gawk version 3.0 or later.
4079 * configure: Regenerated.
0786794f 4080
26889eac
JM
40812012-09-01 Joseph Myers <joseph@codesourcery.com>
4082
4083 * sysdeps/unix/sysv/linux/kernel-features.h
4084 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4085 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4086 [__NR_clock_getres]: Make code unconditional.
4087 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4088 (clock_getcpuclockid): Remove code left unreachable by removal of
4089 conditionals.
4090 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4091 code unconditional.
4092 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4093 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4094 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4095 Make code unconditional.
4096 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4097 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4098 * sysdeps/unix/sysv/linux/clock_settime.c
4099 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4100 conditional code.
4101 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4102 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4103
d22e28b0
L
41042012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4105
4106 [BZ #14476]
4107 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4108 scripts/test-installation.pl.
4109
4110 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4111 and $ld_so_version if it is set.
4112
050af9c4
SP
41132012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4114
4115 [BZ #14516]
4116 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4117 failure if reading from procfs failed.
4118 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4119
ad845c0b
JM
41202012-08-27 Joseph Myers <joseph@codesourcery.com>
4121
4122 * sysdeps/unix/sysv/linux/kernel-features.h
4123 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4124 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4125 Remove conditional code.
4126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4127 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4128 Remove conditional code.
4129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4130 * sysdeps/unix/sysv/linux/i386/fxstat.c
4131 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4133 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4134 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4136 * sysdeps/unix/sysv/linux/i386/lxstat.c
4137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4139 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4140 Remove conditional code.
4141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4142 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4143 Remove conditional code.
4144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4145 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4146 <kernel-features.h>.
4147 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4148 Remove.
4149 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4150 Remove conditional code.
4151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4152 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4153 Remove conditional.
4154
5dbf56af
MF
41552012-08-27 Mike Frysinger <vapier@gentoo.org>
4156
4157 [BZ #5400]
4158 * NEWS: Add fixed bug number.
4159
d6e70f43
JM
41602012-08-27 Joseph Myers <joseph@codesourcery.com>
4161
7efb4737
JM
4162 [BZ #14519]
4163 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4164 underflowing exponent in case of negative sign.
4165 * stdlib/tst-strtod-round-data: Add more tests.
4166 * stdlib/tst-strtod-round.c (tests): Regenerated.
4167
af92131a
JM
4168 [BZ #3479]
4169 * stdlib/strtod_l.c (NDIG): Remove.
4170 (HEXNDIG): Likewise.
4171 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4172 smallest representable value.
4173 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4174 lie within an exact representation of 1/2 ulp of the result.
4175 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4176 unconditionally.
4177 (TENS_P9_IDX): Define unconditionally.
4178 (TENS_P9_SIZE): Likewise.
4179 (TENS_P10_IDX): Likewise.
4180 (TENS_P10_SIZE): Likewise.
4181 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4182 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4183 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4184 entries for 10^2^13 and 10^2^14.
4185 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4186 (TENS_P13_IDX): Define.
4187 (TENS_P13_SIZE): Likewise.
4188 (TENS_P14_IDX): Likewise.
4189 (TENS_P14_SIZE): Likewise.
4190 (_fpioconst_pow10): Change array size to
4191 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4192 unconditional.
4193 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4194 1024]: Add entries for 10^2^13 and 10^2^14.
4195 [LAST_POW10 > _LAST_POW10]: Remove #error.
4196 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4197 (_fpioconst_pow10): Change array size to
4198 FPIOCONST_POW10_ARRAY_SIZE.
4199 * stdlib/gen-fpioconst.c: New file.
4200 * stdlib/gen-tst-strtod-round.c: Likewise.
4201 * stdlib/tst-strtod-round-data: Likewise.
4202 * stdlib/tst-strtod-round.c: Likewise.
4203 * stdlib/Makefile (tests): Add tst-strtod-round.
4204
d6e70f43
JM
4205 [BZ #14459]
4206 * stdlib/strtod_l.c: Include <stdint.h>.
4207 (NDEBUG): Do not define.
4208 (round_and_return): Change EXPONENT parameter to type intmax_t.
4209 Rearrange calculations to avoid internal overflow possibilities.
4210 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4211 Rearrange calculations to avoid internal overflow possibilities.
4212 Assert that number fits inside MPNSIZE limbs.
4213 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4214 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4215 calculations and add assertions to avoid internal overflow
4216 possibilities. Add casts to avoid signed/unsigned operations.
4217 * stdlib/tst-strtod-overflow.c: New file.
4218 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4219
1f529f7d
MP
42202012-08-25 Marek Polacek <polacek@redhat.com>
4221
4222 * time/time.h: Fix some typos in comments.
4223
59a629f1
RM
42242012-08-23 Roland McGrath <roland@hack.frob.com>
4225
4226 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4227 * posix/tst-rfc3484-2.c: Likewise.
4228 * posix/tst-rfc3484-3.c: Likewise.
4229
d3bafbc9
SM
42302012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4231
4232 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4233 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4234
4efcc022
JM
42352012-08-23 Joseph Myers <joseph@codesourcery.com>
4236
4237 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4238 #include of fxstatat64.c.
4239
3cc3ef96
RM
42402012-08-22 Roland McGrath <roland@hack.frob.com>
4241
f04e2132
RM
4242 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4243 * shadow/getspent_r.c: Likewise.
4244 * shadow/getspnam.c: Likewise.
4245 * shadow/getspnam_r.c: Likewise.
4246 * gshadow/getsgent.c: Likewise.
4247 * gshadow/getsgent_r.c: Likewise.
4248 * gshadow/getsgnam.c: Likewise.
4249 * gshadow/getsgnam_r.c: Likewise.
4250 * inet/getnetbyad.c: Likewise.
4251 * inet/getnetbyad_r.c: Likewise.
4252 * inet/getnetbynm.c: Likewise.
4253 * inet/getnetbynm_r.c: Likewise.
4254 * inet/getnetent.c: Likewise.
4255 * inet/getnetent_r.c: Likewise.
4256 * inet/getproto.c: Likewise.
4257 * inet/getproto_r.c: Likewise.
4258 * inet/getprtent.c: Likewise.
4259 * inet/getprtent_r.c: Likewise.
4260 * inet/getprtname.c: Likewise.
4261 * inet/getprtname_r.c: Likewise.
4262 * inet/getrpcbyname.c: Likewise.
4263 * inet/getrpcbyname_r.c: Likewise.
4264 * inet/getrpcbynumber.c: Likewise.
4265 * inet/getrpcbynumber_r.c: Likewise.
4266 * inet/getrpcent.c: Likewise.
4267 * inet/getrpcent_r.c: Likewise.
4268 * inet/getaliasent.c: Likewise.
4269 * inet/getaliasent_r.c: Likewise.
4270 * inet/getaliasname.c: Likewise.
4271 * inet/getaliasname_r.c: Likewise.
4272 * nscd/getgrgid_r.c: Likewise.
4273 * nscd/getgrnam_r.c: Likewise.
4274 * nscd/gethstbyad_r.c: Likewise.
4275 * nscd/gethstbynm3_r.c: Likewise.
4276 * nscd/getpwnam_r.c: Likewise.
4277 * nscd/getpwuid_r.c: Likewise.
4278 * nscd/getsrvbynm_r.c: Likewise.
4279 * nscd/getsrvbypt_r.c: Likewise.
4280 * nscd/gai.c: Likewise.
4281
c53d909c
RM
4282 * configure.in (build_nscd): New substituted variable, set
4283 by --disable-build-nscd and defaults to $use_nscd.
4284 * configure: Regenerated.
4285 * config.make.in (build-nscd): New substituted variable.
4286 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4287 Change conditional to require [$(build-nscd) = yes] as well.
4288 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4289
3cc3ef96
RM
4290 [BZ# 13696]
4291 * configure.in (use_nscd): New substituted variable, set by
4292 --disable-nscd. If enabled, define USE_NSCD.
4293 * configure: Regenerated.
4294 * config.h.in: Add USE_NSCD.
4295 * config.make.in (use-nscd): New substituted variable.
4296 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4297 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4298 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4299 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4300 (CFLAGS-getgrnam_r.c): Likewise.
4301 (CFLAGS-initgroups.c): Likewise.
4302 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4303 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4304 Variables removed.
4305 * inet/getnetgrent_r.c
4306 (nscd_setnetgrent): New function, broken out of ...
4307 (setnetgrent): ... here. Call it.
4308 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4309 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4310 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4311 * nscd/Makefile (routines, aux): Move definitions after include of
4312 Makeconfig. Conditionalize on [$(use-nscd) != no].
4313 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4314 Conditionalize on [USE_NSCD].
4315 (is_nscd, nscd_init_cb): Likewise.
4316 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4317 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4318 * nss/nss_db/db-init.c: Likewise.
4319 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4320 [USE_NSCD].
4321 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4322 (make_request): Use it.
4323 (cache_valid_p): New function.
4324 (__check_pf): Use it.
4325 * NEWS: Add item for --disable-nscd.
4326
07e51550
DL
43272012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4328
4329 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4330 to support sed >= 4.2.1-20-ga9bf076.
4331 * configure: Regenerated.
4332
35a5b08b
RM
43332012-08-22 Roland McGrath <roland@hack.frob.com>
4334
4335 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4336 Conditionalize whole body on [IREL].
4337
8479f23a
JL
43382012-08-22 Jeff Law <law@redhat.com>
4339
4340 [BZ #14505]
4341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4342 if the family is PF_UNSPEC.
4343
48da0b21
MF
43442012-08-22 Mike Frysinger <vapier@gentoo.org>
4345
4346 * Makerules (lib-version): Rename from V.
4347 (install-lib-nosubdir): Change V to lib-version.
4348
15d0da8c
WS
43492012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4350
4351 [BZ #14252]
4352 * powerpc32/power6/wcschr.c: New file.
4353 * powerpc32/power6/wcscpy.c: New file.
4354 * powerpc32/power6/wcsrchr.c: New file.
4355 * powerpc64/power6/wcschr.c: New file.
4356 * powerpc64/power6/wcscpy.c: New file.
4357 * powerpc64/power6/wcsrchr.c: New file.
4358
bcca0895
MK
43592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4360
4361 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4362 (two_way_short_needle): Use it.
5a4aaa33
RM
4363 * string/strstr.c (AVAILABLE1_USES_J): Define.
4364 * string/strcasestr.c: Likewise.
99677e57
MK
4365
4366 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4367 array references.
4368 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4369
400726de
MK
4370 [BZ #11607]
4371 * NEWS: Add an entry.
4372 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4373 define their defaults.
4374 (two_way_short_needle): Detect end-of-string on-the-fly.
4375 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4376 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4377 * string/bug-strcasestr1.c: New test.
4378 * string/Makefile: Run it.
4379
20a71f2c
MK
43802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4381
4382 [BZ #11607]
4383 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4384 the first character.
4385
21ad0558
RM
43862012-08-21 Roland McGrath <roland@hack.frob.com>
4387
4388 * csu/elf-init.c (__libc_csu_irel): Function removed.
4389 * csu/libc-start.c (apply_irel): New function.
4390 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4391
0e1d9911
JM
43922012-08-21 Joseph Myers <joseph@codesourcery.com>
4393
4394 * sysdeps/unix/sysv/linux/kernel-features.h
4395 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4396 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4397 <kernel-features.h>.
4398 [__NR_fadvise64_64]: Make code unconditional.
4399 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4400 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4401 !__NR_fadvise64_64)]: Likewise.
4402 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4403 !__NR_fadvise64_64))]: Likewise.
4404 [__NR_fadvise64]: Make code unconditional.
4405 [!__NR_fadvise64]: Remove conditional code.
4406 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4407 <kernel-features.h>.
4408 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4409 unconditional.
4410 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4411 conditional code.
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4413 not include <kernel-features.h>.
4414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4415 unconditional.
4416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4417 conditional code.
4418 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4419 include <kernel-features.h>.
4420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4421 unconditional.
4422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4423 conditional code.
4424
14a50c9d
WS
44252012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4426
4427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4428 slight instruction rearrangements per scrollpipe analysis.
4429 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4430
c0f4faf0
RM
44312012-08-20 Roland McGrath <roland@hack.frob.com>
4432
696da859
RM
4433 * manual/syslog.texi (syslog; vsyslog, closelog):
4434 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4435 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4436
c0f4faf0
RM
4437 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4438 DSOCAPS to match condition on defining it.
4439
348363b2
JM
44402012-08-20 Joseph Myers <joseph@codesourcery.com>
4441
a35cbf28
JM
4442 * sysdeps/unix/sysv/linux/kernel-features.h
4443 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4445 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4446 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4448 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4449 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4453
445f7ecd
JM
4454 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4455 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4456
348363b2
JM
4457 * sysdeps/unix/sysv/linux/kernel-features.h
4458 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4459 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4460 unconditional.
4461 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4462 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4463 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4464 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4465 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4466 Make code unconditional.
4467 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4468 (__mmap64) [!__NR_mmap2]: Likewise.
4469 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4470 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4471 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4472 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4473 [__NR_mmap2]: Make code unconditional.
4474 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4475 (__mmap64) [!__NR_mmap2]: Likewise.
4476
bc5bc0e5
AK
44772012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4478
4479 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4480
88d506de
AJ
44812012-08-18 Andreas Jaeger <aj@suse.de>
4482
4483 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4484
493387d2
MF
44852012-08-18 Mike Frysinger <vapier@gentoo.org>
4486
4487 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4488 * include/unistd.h (__have_sock_cloexec): Likewise.
4489 (__have_pipe2): Likewise.
4490 (__have_dup3): Likewise.
4491
a277af22
MF
44922012-08-18 Mike Frysinger <vapier@gentoo.org>
4493
4494 [BZ #9685]
4495 * include/unistd.h (__have_pipe2): Change define into an extern int.
4496 (__have_dup3): Likewise.
4497 * socket/have_sock_cloexec.c: Include fcntl.h.
4498 (__have_pipe2): New variable.
4499 (__have_dup3): Likewise.
4500
fdab8fd3
MF
45012012-08-17 Mike Frysinger <vapier@gentoo.org>
4502
4503 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4504
31035e80
MP
45052012-08-17 Marek Polacek <polacek@redhat.com>
4506
4507 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4508 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4509
3bd9e993
RM
45102012-08-17 Roland McGrath <roland@hack.frob.com>
4511
c91c505f
RM
4512 * configure.in: Add AC_SUBST for sysheaders.
4513 * configure: Regenerated.
4514 * config.make.in (sysheaders): New substituted variable.
4515
7c6f9d53
RM
4516 * sysdeps/unix/mkfifo.c: Moved ...
4517 * sysdeps/posix/mkfifo.c: ... here.
4518 * sysdeps/unix/mkfifoat.c: Moved ...
4519 * sysdeps/posix/mkfifoat.c: ... here.
4520
4521 * sysdeps/unix/utime.c: Moved ...
4522 * sysdeps/posix/utime.c: ... here.
4523
4524 * sysdeps/unix/time.c: Moved ...
4525 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4526 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4527 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4528
4529 * sysdeps/unix/nice.c: Moved ...
4530 * sysdeps/posix/nice.c: ... here.
4531
4532 * sysdeps/unix/alarm.c: Moved ...
4533 * sysdeps/posix/alarm.c: ... here.
4534
3bd9e993
RM
4535 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4536
d1f09384
JL
45372012-08-17 Jeff Law <law@redhat.com>
4538
4539 * intl/Makefile (codeset_mo): New variable.
4540 ($(codeset_mo)): New target.
4541 (tst-codeset.out): Depend on that. Remove explicit rule.
4542 (tst-gettext3.out, tst-gettext5.out): Likewise.
4543 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4544 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4545 * intl/tst-codeset.sh: Remove.
4546 * intl/tst-gettext3.sh: Likewise.
4547 * intl/tst-gettext5.sh: Likewise.
4548
2ae1ae5c
RM
45492012-08-17 Roland McGrath <roland@hack.frob.com>
4550
c31fdb83
RM
4551 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4552 * sysdeps/unix/syscalls.list: ... here.
4553
a0844057
RM
4554 * sysdeps/posix/getaddrinfo.c
4555 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4556 (gaiconf_init, gaiconf_reload): Use them.
4557 [!_STATBUF_ST_NSEC]
4558 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4559 Define using time_t rather than struct timespec.
4560
750c1f2a
RM
4561 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4562 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4563 Macros removed.
4564 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4565 [!NO_THREADS].
4566 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4567 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4568 Likewise.
4569
2ae1ae5c
RM
4570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4571 __libc_cleanup_push argument.
4572
e66a42f5
RM
4573 * bits/param.h: New file.
4574 * misc/sys/param.h: New file.
4575 * include/sys/param.h: New file.
4576 * misc/Makefile (headers): Add bits/param.h.
4577 * sysdeps/generic/sys/param.h: File removed.
4578 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4579 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4580 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4581 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4582
b7c08a66
RM
4583 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4584 last change.
4585
b2e1c562
RM
4586 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4587 [_IO_MTSAFE_IO].
4588 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4589 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4590 New macros.
4591
c75ccd4c
RM
4592 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4593 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4594 rather than -D_IO_MTSAFE_IO conditionally.
4595 * stdio-common/Makefile (CPPFLAGS): Likewise.
4596 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4597 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4598 Use $(libio-mtsafe).
4599 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4600 of -D_IO_MTSAFE_IO.
4601 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4602 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4603 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4604 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4605 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4606 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4607 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4608 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4609 (CFLAGS-fread_u_chk.c): Likewise.
4610 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4611 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4612 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4613 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4614 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4615 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4616 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4617 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4618 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4619
4620 * libio/Makefile: Test [$(libc-reentrant) = yes]
4621 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4622
4623 * Makeconfig
4624 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4625 * sysdeps/pthread/configure: File removed.
4626 * sysdeps/pthread/Makeconfig: New file.
4627 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4628 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4629
d9195db8
GB
46302012-08-16 Gary Benson <gbenson@redhat.com>
4631
4632 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4633 unmapping the first object in a namespace.
4634
86466cd9
RM
46352012-08-16 Roland McGrath <roland@hack.frob.com>
4636
4637 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4638 (__internal_setnetgrent): ... this. Add internal_function to
4639 definition. Add libc_hidden_def.
4640 (setnetgrent): Update caller.
4641 (internal_endnetgrent): Renamed to ...
4642 (__internal_endnetgrent): ... this. Add internal_function to
4643 definition. Add libc_hidden_def.
4644 (endnetgrent): Update caller.
4645 (internal_getnetgrent_r): Renamed to ...
4646 (__internal_getnetgrent_r): ... this. Add internal_function to
4647 definition. Add libc_hidden_def.
4648 (__getnetgrent_r): Update caller.
4649 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4650
c3c8283c
JM
46512012-08-16 Joseph Myers <joseph@codesourcery.com>
4652
4653 * stdlib/longlong.h: Update from GCC.
4654
db1ee0a8
RM
46552012-08-16 Roland McGrath <roland@hack.frob.com>
4656
4657 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4658 on _QL, which is set by umul_ppmm but never used.
4659 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4660 variables, which are set by GMP macros but never used.
4661 * stdio-common/_itowa.c (_itowa): Likewise.
4662 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4663 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4664
30f69637
CD
46652012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4666
4667 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4668 struct La_sh_regs is not constant.
4669 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4670 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4671 and struct La_sparc64_regs are not constant.
4672
93a78ac4
JM
46732012-08-16 Joseph Myers <joseph@codesourcery.com>
4674
4675 * sysdeps/unix/sysv/linux/kernel-features.h
4676 (__ASSUME_POSIX_TIMERS): Remove.
4677 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4679 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4680 Make code unconditional.
4681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4682 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4683 Make code unconditional.
4684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4685 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4686 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4688 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4689 Make code unconditional.
4690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4691 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4692 (__libc_missing_posix_timers): Remove.
4693
dd924cd7
RM
46942012-08-15 Roland McGrath <roland@hack.frob.com>
4695
4b4f2771
RM
4696 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4697 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4698
601c888b
RM
4699 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4700
176790a7
RM
4701 * elf/dl-sym.c: Include <stdlib.h>.
4702
329bc018
RM
4703 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4704 constants, which avoids warnings in 32-bit builds.
4705
e04e272d
RM
4706 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4707 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4708
952bf94a
RM
4709 * misc/lseek.c: File moved to ...
4710 * io/lseek.c: ... here.
4711
7c99b50a
RM
4712 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4713
dd924cd7
RM
4714 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4715 shifting LEN more than 31 bits at once.
4716
b3f479a8
LD
47172012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4718
4719 [BZ #14195]
8c4ae0d4
RM
4720 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4721 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4722 * string/test-strncasecmp.c (check1): Renamed to...
4723 (bz12205): ...this.
4724 (bz14195): Add new testcase for two empty input strings and N > 0.
4725 (test_main): Call new testcase, adapt for renamed function.
4726
9c55864e
AJ
47272012-08-15 Andreas Jaeger <aj@suse.de>
4728
4729 [BZ #14090]
4730 * crypt/md5test2.c: New test, based on test supplied by Serge
4731 Belyshev <belyshev@depni.sinp.msu.ru>.
4732 * crypt/Makefile (xtests): Add md5test-giant..
4733 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4734
02dcb6c5
PE
47352012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4736
4737 [BZ #14090]
4738 * crypt/md5.c (md5_process_block): Don't assume the buffer
4739 length is less than 2**32.
4740 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4741 length is less than 2**64.
4742
a3f95dcc
RM
47432012-08-15 Roland McGrath <roland@hack.frob.com>
4744
be75d758
RM
4745 * string/str-two-way.h: Include <sys/param.h>.
4746 (MAX): Macro removed.
4747
7312ca90
RM
4748 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4749 Move #define and #undef of memmove to just before and after
4750 including <string.h>.
4751
9a0a5486
RM
4752 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4753 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4754 and after including <string.h>. Move declarations of
4755 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4756 to before #include "string/memmove.c".
4757
67cc348d
RM
4758 * include/dirent.h: Declare __getdirentries.
4759
a3f95dcc
RM
4760 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4761 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4762
ca98e171
MF
47632012-08-14 Mike Frysinger <vapier@gentoo.org>
4764
4765 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4766 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4767 * sysdeps/i386/configure: Regenerated.
4768 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4769 STABS_CURRENT_FILE, and STABS_FUN.
4770 (END): Remove call to STABS_FUN_END.
4771 (STABS_CURRENT_FILE1): Delete.
4772 (STABS_CURRENT_FILE): Likewise.
4773 (STABS_FUN): Likewise.
4774 (STABS_FUN_END): Likewise.
4775 (STABS_FUN2): Likewise.
4776 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4777 * sysdeps/x86_64/configure: Regenerated.
4778
5908bf46
RM
47792012-08-14 Roland McGrath <roland@hack.frob.com>
4780
4781 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4782 * elf/dl-lookup.c: Likewise.
5908bf46 4783
f2c05b9e
JM
47842012-08-14 Joseph Myers <joseph@codesourcery.com>
4785
4786 * sysdeps/unix/sysv/linux/kernel-features.h
4787 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4788 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4789 unconditionally.
4790 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4791 unconditionally.
4792 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4793 condition on __ASSUME_CLONE_THREAD_FLAGS.
4794
e11f5155
AJ
47952012-08-14 Andreas Jaeger <aj@suse.de>
4796
4797 * sysdeps/i386/fpu/libm-test-ulps: Update.
4798
51a9ba86
MK
47992012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4800
2fdd4f78
AJ
4801 * include/atomic.h (atomic_exchange_and_add): Split into ...
4802 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4803 New atomic macros.
51a9ba86 4804
ba6cba9e
MT
48052012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4806
4807 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4808
42443a47
JL
48092012-08-13 Jeff Law <law@redhat.com>
4810
4811 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4812 null byte in the output string.
4813
121dce05
JM
48142012-08-10 Joseph Myers <joseph@codesourcery.com>
4815
4816 * sysdeps/unix/sysv/linux/kernel-features.h
4817 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4818 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4819 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4820 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4821 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4822 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4823 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4824
bf51f568
JL
48252012-08-09 Jeff Law <law@redhat.com>
4826
4827 [BZ #13939]
4828 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4829 When avoid_arena is set, don't retry in the that arena. Pick the
4830 next one, whatever it might be.
4831 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4832 (arena_lock): Pass in new parameter to arena_get2.
4833 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4834 arena_get2.
4835 (__libc_malloc): Unify retrying after main arena failure with
4836 __libc_memalign version.
4837 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4838
f85fa270
L
48392012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4840
4841 [BZ #14166]
4842 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4843 to __redirect_strstr.
4844 (__strstr_sse42): Use typeof __redirect_strstr.
4845 (__strstr_ia32): Likewise.
4846 (__libc_strstr): New prototype.
4847 (strstr): Renamed to ...
4848 (__libc_strstr): This.
4849 (strstr): New strong alias of __libc_strstr.
4850 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4851 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4852 __redirect_time.
4853 Include <time.h>.
4854 (__libc_time): New prototype.
4855 (time_ifunc): Replace time with __libc_time.
4856 (time): New strong alias and hidden definition of __libc_time.
4857 (__GI_time): Remove strong alias.
4858 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4859 Include <stddef.h>.
4860 (memmove): Redefined to __redirect_memmove.
4861 (__memmove_sse2): Use typeof __redirect_memmove.
4862 (__memmove_ssse3): Likewise.
4863 (__memmove_ssse3_back): Likewise.
4864 (__libc_memmove): New prototype.
4865 (memmove): Renamed to ...
4866 (__libc_memmove): This.
4867 (memmove): New strong alias of __libc_memmove.
4868
33b4a91e
MS
48692012-08-08 Mark Salter <msalter@redhat.com>
4870
4871 * elf/elf.h
4872 (R_MN10300_TLS_GD): Define.
4873 (R_MN10300_TLS_LD): Likewise.
4874 (R_MN10300_TLS_LDO): Likewise.
4875 (R_MN10300_TLS_GOTIE): Likewise.
4876 (R_MN10300_TLS_IE): Likewise.
4877 (R_MN10300_TLS_LE): Likewise.
4878 (R_MN10300_TLS_DTPMOD): Likewise.
4879 (R_MN10300_TLS_DTPOFF): Likewise.
4880 (R_MN10300_TLS_TPOFF): Likewise.
4881 (R_MN10300_SYM_DIFF): Likewise.
4882 (R_MN10300_ALIGN): Likewise.
4883 (R_MN10300_NUM): Update.
4884
b36137f1
JM
48852012-08-08 Joseph Myers <joseph@codesourcery.com>
4886
4887 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4888 Remove.
4889
cdd915fd
RM
48902012-08-08 Roland McGrath <roland@hack.frob.com>
4891
a2433aac
RM
4892 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4893
cdd915fd
RM
4894 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4895 sysdeps/unix -> sysdeps/posix move.
4896 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4897
bf9b740a
AM
48982012-08-07 Allan McRae <allan@archlinux.org>
4899
4900 [BZ #14303]
4901 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4902 (SUNOS_CPP): Likewise.
4903 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4904 not found.
4905 (open_input): Call CPP using execvp.
4906
93df14ee
JM
49072012-08-07 Joseph Myers <joseph@codesourcery.com>
4908
4909 * sysdeps/unix/sysv/linux/kernel-features.h
4910 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4911 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4912 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4913 (__ASSUME_WAITID_SYSCALL): Likewise.
4914 * sysdeps/unix/sysv/linux/dl-execstack.c
4915 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4916 code unconditional.
4917 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4918 conditional code.
4919 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4920 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4921 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4922 code.
4923 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4924 unconditional.
4925 [__ASSUME_WAITID_SYSCALL]: Likewise.
4926 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4927
d34689de
RM
49282012-08-07 Roland McGrath <roland@hack.frob.com>
4929
a281decc
RM
4930 * sysdeps/unix/closedir.c: Renamed to ...
4931 * sysdeps/posix/closedir.c: ... here.
4932 * sysdeps/unix/dirfd.c: Renamed to ...
4933 * sysdeps/posix/dirfd.c: ... here.
4934 * sysdeps/unix/dirstream.h: Renamed to ...
4935 * sysdeps/posix/dirstream.h: ... here.
4936 * sysdeps/unix/fdopendir.c: Renamed to ...
4937 * sysdeps/posix/fdopendir.c: ... here.
4938 * sysdeps/unix/opendir.c: Renamed to ...
4939 * sysdeps/posix/opendir.c: ... here.
4940 * sysdeps/unix/readdir.c: Renamed to ...
4941 * sysdeps/posix/readdir.c: ... here.
4942 * sysdeps/unix/readdir_r.c: Renamed to ...
4943 * sysdeps/posix/readdir_r.c: ... here.
4944 * sysdeps/unix/rewinddir.c: Renamed to ...
4945 * sysdeps/posix/rewinddir.c: ... here.
4946 * sysdeps/unix/seekdir.c: Renamed to ...
4947 * sysdeps/posix/seekdir.c: ... here.
4948 * sysdeps/unix/telldir.c: Renamed to ...
4949 * sysdeps/posix/telldir.c: ... here.
4950 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4951 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4952 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4953 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4954
22895b47
RM
4955 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4956 * bits/fcntl.h: ... here.
4957
707a53b6
RM
4958 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4959 not 0.
4960 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4961 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4962 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4963 (struct flock): Move l_start, l_len to the beginning.
4964 Use __pid_t for l_pid.
4965 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4966 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4967 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4968 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4969 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4970 [__USE_LARGEFILE64] (struct flock64): New type.
4971 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4972
f0bd3e25
RM
4973 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4974 * bits/dirent.h: ... here.
4975
d34689de
RM
4976 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4977 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4978
6dad2c06
JM
49792012-08-07 Joseph Myers <joseph@codesourcery.com>
4980
4981 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4982 Change from 2.6.0 to 2.6.16.
4983 * sysdeps/unix/sysv/linux/configure: Regenerated.
4984 * sysdeps/unix/sysv/linux/kernel-features.h
4985 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4986 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4987 version.
4988 (__ASSUME_UTIMES): Likewise.
4989 (__ASSUME_CLONE_STOPPED): Remove.
4990 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4991 architectures, not kernel version.
4992 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4993 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4994 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4995 (__ASSUME_WAITID_SYSCALL): Likewise.
4996 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4997 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4998 * README: State 2.6.16 as minimum Linux kernel version. Do not
4999 refer to older versions.
5000
03af9520
RM
50012012-08-06 Roland McGrath <roland@hack.frob.com>
5002
8e49df1d
RM
5003 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5004 Define alphasort64 as an alias.
5005 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5006 Define versionsort64 as an alias.
5007 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5008 Define scandir64 as an alias.
5009 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5010 Define scandirat64 as an alias.
5011 * dirent/alphasort64.c (alphasort64):
5012 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5013 * dirent/versionsort64.c: Likewise.
5014 * dirent/scandir64.c: Likewise.
5015 * dirent/scandirat64.c: Likewise.
5016 * sysdeps/wordsize-64/alphasort.c: File removed.
5017 * sysdeps/wordsize-64/alphasort64.c: File removed.
5018 * sysdeps/wordsize-64/scandir.c: File removed.
5019 * sysdeps/wordsize-64/scandir64.c: File removed.
5020 * sysdeps/wordsize-64/scandirat.c: File removed.
5021 * sysdeps/wordsize-64/scandirat64.c: File removed.
5022 * sysdeps/wordsize-64/versionsort.c: File removed.
5023 * sysdeps/wordsize-64/versionsort64.c: File removed.
5024 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5025 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5026 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5028 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5030 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5032
5033 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5034 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5035 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5037 [defined __arch64__ || defined __sparcv9]
5038 (__INO_T_MATCHES_INO64_T): New macro.
5039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5040 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5041 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5042 * sysdeps/unix/sysv/linux/bits/dirent.h
5043 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5044 (_DIRENT_MATCHES_DIRENT64): New macro.
5045
03af9520
RM
5046 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5047 Define lockf64 as an alias.
5048 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5049 Define fseeko64 as an alias.
5050 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5051 Define ftello64 as an alias.
5052 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5053 Define _IO_fgetpos64 and fgetpos64 as aliases.
5054 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5055 Define _IO_fsetpos64 and fsetpos64 as aliases.
5056 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5057 Conditionalize body on this.
5058 * libio/fseeko64.c: Likewise.
5059 * libio/ftello64.c: Likewise.
5060 * libio/iofgetpos64.c: Likewise.
5061 * libio/iofsetpos64.c: Likewise.
5062 * sysdeps/wordsize-64/lockf.c: File removed.
5063 * sysdeps/wordsize-64/lockf64.c: File removed.
5064 * sysdeps/wordsize-64/fseeko.c: File removed.
5065 * sysdeps/wordsize-64/fseeko64.c: File removed.
5066 * sysdeps/wordsize-64/ftello.c: File removed.
5067 * sysdeps/wordsize-64/ftello64.c: File removed.
5068 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5069 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5070 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5071 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5072 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5074 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5075 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5076 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5077 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5080 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5082
5083 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5084 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5085 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5086 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5087 [defined __arch64__ || defined __sparcv9]
5088 (__OFF_T_MATCHES_OFF64_T): New macro.
5089 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5090 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5092 (__OFF_T_MATCHES_OFF64_T): New macro.
5093
c5757acd
L
50942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5095
5096 * stdlib/secure-getenv.c (__secure_getenv): Replace
5097 GLIBC_2_16 with GLIBC_2_17.
5098
3a31811e
L
50992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5103
faa2bccb
DM
51042012-08-03 David S. Miller <davem@davemloft.net>
5105
5106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5107
85fe1997
JM
51082012-08-03 Joseph Myers <joseph@codesourcery.com>
5109
5110 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5111 Remove.
5112 (__ASSUME_CORRECT_SI_PID): Likewise.
5113 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5114 (__ASSUME_TMPFS_NAME): Likewise.
5115 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5116 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5117 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5118 (HAVE_AUX_SECURE): Make definition unconditional.
5119 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5120 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5121
4f75b7a0
RM
51222012-08-03 Roland McGrath <roland@hack.frob.com>
5123
5124 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5125 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5126 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5127 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5128 __eloop_threshold instead of SYMLOOP_MAX.
5129
5130 * sysdeps/generic/eloop-threshold.h: New file.
5131 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5132 of MAXSYMLINKS.
5133 * elf/chroot_canon.c (chroot_canon): Likewise.
5134
7aab07e4
JM
51352012-08-03 Joseph Myers <joseph@codesourcery.com>
5136
5137 [BZ #13717]
5138 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5139 Change to 2.6.0 everywhere.
5140 * sysdeps/unix/sysv/linux/configure: Regenerated.
5141 * sysdeps/unix/sysv/linux/kernel-features.h
5142 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5143 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5144 kernel versions.
5145 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5146 (__ASSUME_FUTEX_REQUEUE): Remove.
5147 (__ASSUME_STATFS64): Define unconditionally.
5148 (__ASSUME_AT_SECURE): Likewise.
5149 (__ASSUME_CORRECT_SI_PID): Likewise.
5150 (__ASSUME_TGKILL): Define without depending on kernel version for
5151 i386.
5152 (__ASSUME_UTIMES): Likewise.
5153 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5154 kernel version.
5155 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5156 (__ASSUME_TMPFS_NAME): Likewise.
5157 * README: Update reference to Linux kernel versions.
5158
b67e9372
MP
51592012-08-02 Marek Polacek <polacek@redhat.com>
5160
1f529f7d 5161 [BZ# 14150]
b67e9372
MP
5162 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5163 libc_cv_asm_type_prefix with %.
5164 * configure: Regenerated.
d2441631
RM
5165 * include/libc-symbols.h: Remove comment about
5166 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5167 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5168 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5169 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5170 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5171 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5172 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5173 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5174 * elf/tst-unique2mod1.c: Likewise.
5175 * elf/tst-unique1mod2.c: Likewise.
5176 * elf/tst-unique1mod1.c: Likewise.
5177 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5178 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5179 Replace ASM_TYPE_DIRECTIVE with .type.
5180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5181 * sysdeps/i386/sysdep.h: Likewise.
5182 * sysdeps/x86_64/sysdep.h: Likewise.
5183 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5185 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5186 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5187 * sysdeps/powerpc/powerpc32/sysdep.h:
5188 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5189 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5190 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5191 * sysdeps/i386/fpu/e_powf.S: Likewise.
5192 * sysdeps/i386/fpu/e_expl.S: Likewise.
5193 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5194 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5195 * sysdeps/i386/fpu/e_pow.S: Likewise.
5196 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5197 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5198 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5199 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5200 * sysdeps/i386/fpu/e_log2.S: Likewise.
5201 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5202 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5203 * sysdeps/i386/fpu/e_powl.S: Likewise.
5204 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5205 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5206 * sysdeps/i386/fpu/e_logl.S: Likewise.
5207 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5208 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5209 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5210 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5211 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5212 * sysdeps/i386/fpu/e_log.S: Likewise.
5213 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5214 * sysdeps/i386/fpu/e_logf.S: Likewise.
5215 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5216 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5217 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5218 * sysdeps/i386/fpu/e_log10.S: Likewise.
5219 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5220 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5221 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5222 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5223 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5224 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5225 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5226 * sysdeps/i386/i686/strtok.S: Likewise.
5227 * sysdeps/i386/i386-mcount.S: Likewise.
5228 * sysdeps/i386/strtok.S: Likewise.
5229 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5230 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5232 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5233 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5235 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5236 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5237 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5238 * sysdeps/x86_64/_mcount.S: Likewise.
5239 * sysdeps/x86_64/strtok.S: Likewise.
5240 * sysdeps/sh/_mcount.S: Likewise.
5241
2747bf9a
RM
52422012-08-01 Roland McGrath <roland@hack.frob.com>
5243
5244 * libio/iofopen.c: Include <fcntl.h>.
5245 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5246 (_IO_fopen64, fopen64): Define as aliases.
5247 * libio/iofopen64.c: Include <fcntl.h>.
5248 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5249 Conditionalize body on this.
5250 * sysdeps/wordsize-64/iofopen.c: File removed.
5251 * sysdeps/wordsize-64/iofopen64.c: File removed.
5252
3fb791b8
MP
52532012-08-01 Marek Polacek <polacek@redhat.com>
5254
5255 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5256 Use dlfcn directly instead of a variable.
5257 (binfmt-subdir): Do not define.
5258 (dlfcn): Likewise.
5259
a9f1039f
JM
52602012-08-01 Joseph Myers <joseph@codesourcery.com>
5261
23bddc06
JM
5262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5263 Remove all definitions.
5264 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5265 <kernel-features.h>.
5266 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5267 (miss_F_GETOWN_EX): Remove all definitions.
5268 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5269 macro definition.
5270 [!__ASSUME_FCNTL64]: Remove conditional code.
5271 [__ASSUME_FCNTL64]: Make code unconditional.
5272 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5273 <kernel-features.h>.
5274 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5275 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5276 (lockf64) [__NR_fcntl64]: Make code unconditional.
5277 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5278
a9f1039f
JM
5279 * sysdeps/unix/sysv/linux/kernel-features.h
5280 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5281 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5282 Make code unconditional.
5283 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5284 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5286 [__NR_vfork]: Make code unconditional.
5287 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5288 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5290 [__NR_vfork]: Make code unconditional.
5291 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5292 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5293
09c0ee5f
RM
52942012-08-01 Roland McGrath <roland@hack.frob.com>
5295
48aec5b9
RM
5296 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5297 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5298
cd97c966
RM
5299 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5300 Define mkstemp64 as an alias.
3f55550c
RM
5301 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5302 Define mkstemps64 as an alias.
cd97c966
RM
5303 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5304 Define mkostemp64 as an alias.
b8625cfc
RM
5305 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5306 Define mkostemps64 as an alias.
cd97c966
RM
5307 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5308 Conditionalize body on this.
5309 * misc/mkostemp64.c: Likewise.
b8625cfc 5310 * misc/mkostemps64.c: Likewise.
3f55550c 5311 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5312 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5313 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5314 * sysdeps/wordsize-64/mkostemp.c: File removed.
5315 * sysdeps/wordsize-64/mkstemp.c: File removed.
5316 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5317 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5320
09c0ee5f
RM
5321 [BZ #14138]
5322 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5323 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5324 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5325 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5326
5327 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5328 compat_symbol macros from <shlib-compat.h> rather than the underlying
5329 default_symbol_version and symbol_version macros, so that DEFAULT
5330 lines in shlib-versions are respected.
5331 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5332
7e66ee51
FW
53332012-08-01 Florian Weimer <fweimer@redhat.com>
5334
5335 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5336 Declare with warn_unused_result.
5337 (setgid, setregid, setegid, setresgid): Likewise.
5338 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5339 Likewise.
5340 * WUR-REPORT: Remove set*id functions.
5341
d2a54255
PT
53422012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5343
5344 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5345
7ecdb005
RM
53462012-07-31 Roland McGrath <roland@hack.frob.com>
5347
789bd351
RM
5348 * include/sys/socket.h (__libc_accept, __libc_accept4):
5349 Add attribute_hidden.
5350 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5351
40ce302d
RM
5352 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5353 use of PTR_MANGLE.
5354 * inet/getnetgrent_r.c (setup): Likewise.
5355
7ecdb005
RM
5356 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5357
e2eabb2c
DM
53582012-07-31 David S. Miller <davem@davemloft.net>
5359
5360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5361
d0419dbf
JM
53622012-07-31 Joseph Myers <joseph@codesourcery.com>
5363
5364 [BZ #13629]
5365 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5366 value between 1.0 and 2.0 and smaller part has absolute value less
5367 than 1.0.
5368 * math/s_clog10.c (__clog10): Likewise.
5369 * math/s_clog10f.c (__clog10f): Likewise.
5370 * math/s_clog10l.c (__clog10l): Likewise.
5371 * math/s_clogf.c (__clogf): Likewise.
5372 * math/s_clogl.c (__clogl): Likewise.
5373 * math/libm-test.inc (clog_test): Add more tests.
5374 (clog10_test): Likewise.
5375 * sysdeps/i386/fpu/libm-test-ulps: Update.
5376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5377
2bc13872
FW
53782012-07-31 Florian Weimer <fweimer@redhat.com>
5379
5380 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5381 Exit with zero in case no suitable GID is found, and write a
5382 message to standard error.
5383
bea9b193
RM
53842012-07-30 Roland McGrath <roland@hack.frob.com>
5385
5386 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5387 rather than to 1.
5388 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5389 (MAXPATHLEN): Removed.
5390 (NOGROUP, NODEV): New macros.
5391 (setbit, clrbit, isset, isclr): New macros.
5392 (howmany, roundup, powerof2): New macros.
5393 (DEV_BSIZE): New macro.
5394
5395 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5396 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5397
5398 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5399 definition on [!__NO_LONG_DOUBLE_MATH].
5400
5401 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5402 PTR_MANGLE and PTR_DEMANGLE.
5403
5404 * socket/accept4.c (accept4): Rename to __libc_accept4.
5405 Define accept4 as a weak alias.
5406
5407 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5408 on [_DIRENT_HAVE_D_TYPE].
5409 * io/ftw.c (ftw_dir): Likewise.
5410
5411 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5412
5413 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5414
5415 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5416 Use the BSD numbers rather than the arbitrary ones we had.
5417 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5418 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5419 (SIGXCPU, SIGXFSZ): New macros.
5420 (_NSIG): Now 32.
5421
5422 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5423 initializer on [_LIBC_REENTRANT].
5424
5425 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5426 definitions inside [_POSIX_MAPPED_FILES].
5427
5428 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5429
5430 * dirent/opendir.c: Include <fcntl.h>.
5431
5432 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5433 (__libc_getspecific): Likewise.
5434 (__libc_key_create): Likewise.
5435
5436 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5437 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5438 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5439 (tmpfile64): Define as alias.
5440 * sysdeps/wordsize-64/tmpfile.c: File removed.
5441 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5444
5445 * stdio-common/vfscanf.c: Include <stdbool.h>.
5446 * nss/makedb.c: Likewise.
5447 * stdio-common/_i18n_number.h: Likewise.
5448 * argp/argp-help.c: Likewise.
5449 * posix/wordexp.c: Likewise.
5450 * sysdeps/posix/spawni.c: Likewise.
5451 * nss/nss_files/files-initgroups.c: Likewise.
5452 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5453 * nss/nss_files/files-initgroups.c: Likewise.
5454 * nss/nss_db/db-netgrp.c: Likewise.
5455 * nss/nss_db/db-initgroups.c: Likewise.
5456 * io/fchmodat.c: Include <sys/stat.h>.
5457
5458 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5459 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5460
5461 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5462 [HAVE_MMAP].
5463
5464 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5465 Add multiple inclusion protection.
5466
e5abc686
DM
54672012-07-27 David S. Miller <davem@davemloft.net>
5468
5469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5470
815e6fa3
GB
54712012-07-27 Gary Benson <gbenson@redhat.com>
5472
5473 [BZ #14298]
5474 * elf/rtld.c: Include <stap-probe.h>.
5475 (dl_main): Added static probes "init_start" and "init_complete".
5476 * elf/dl-load.c: Include <stap-probe.h>.
5477 (lose): Take new parameter "nsid".
5478 Added static probe "map_failed".
5479 (_dl_map_object_from_fd): Pass namespace id to lose.
5480 Added static probe "map_start".
5481 (open_verify): Pass namespace id to lose.
5482 * elf/dl-open.c: Include <stap-probe.h>.
5483 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5484 and "reloc_complete".
5485 * elf/dl-close.c: Include <stap-probe.h>.
5486 (_dl_close_worker): Added static probes "unmap_start" and
5487 "unmap_complete".
5488 * elf/rtld-debugger-interface.txt: New file documenting the above.
5489
9f98c16c
RM
54902012-07-26 Roland McGrath <roland@hack.frob.com>
5491
5492 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5493 rather than a string variable.
5494 * sunrpc/rpc_main.c (h_output): Likewise.
5495 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5496
f3c22df3
PT
54972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5498
5499 * inet/check_native.c: New file.
5500
3129cfc6
JM
55012012-07-26 Joseph Myers <joseph@codesourcery.com>
5502
da865e95
JM
5503 [BZ #13629]
5504 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5505 if larger part has absolute value 1.0.
5506 * math/s_clog10.c (__clog10): Likewise.
5507 * math/s_clog10f.c (__clog10f): Likewise.
5508 * math/s_clog10l.c (__clog10l): Likewise.
5509 * math/s_clogf.c (__clogf): Likewise.
5510 * math/s_clogl.c (__clogl): Likewise.
5511 * math/libm-test.inc (clog_test): Add more tests.
5512 (clog10_test): Likewise.
5513 * sysdeps/i386/fpu/libm-test-ulps: Update.
5514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5515
3129cfc6
JM
5516 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5517 (pltexit): Likewise.
5518 (La_regs): Likewise.
5519 (La_retval): Likewise.
5520 (int_retval): Likewise.
5521 Update #error for removed macros to refer only to definitions in
5522 tst-audit.h.
5523 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5524 macro.
5525 (pltexit): Likewise.
5526 (La_regs): Likewise.
5527 (La_retval): Likewise.
5528 (int_retval): Likewise.
5529 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5530 macro.
5531 (pltexit): Likewise.
5532 (La_regs): Likewise.
5533 (La_retval): Likewise.
5534 (int_retval): Likewise.
5535 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5536 macro.
5537 (pltexit): Likewise.
5538 (La_regs): Likewise.
5539 (La_retval): Likewise.
5540 (int_retval): Likewise.
5541 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5542 macro.
5543 (pltexit): Likewise.
5544 (La_regs): Likewise.
5545 (La_retval): Likewise.
5546 (int_retval): Likewise.
5547 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5548 macro.
5549 (pltexit): Likewise.
5550 (La_regs): Likewise.
5551 (La_retval): Likewise.
5552 (int_retval): Likewise.
5553 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5554 macro.
5555 (pltexit): Likewise.
5556 (La_regs): Likewise.
5557 (La_retval): Likewise.
5558 (int_retval): Likewise.
5559 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5560 macro definitions in tst-audit.h.
5561 * sysdeps/i386/tst-audit.h: New file.
5562 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5563 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5564 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5565 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5566 * sysdeps/sh/tst-audit.h: Likewise.
5567 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5568 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5569 * sysdeps/x86_64/tst-audit.h: Likewise.
5570
bfc07087
AJ
55712012-07-26 Andreas Jaeger <aj@suse.de>
5572
b1b2aaf8
AJ
5573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5574 ptrace.
5575
5576 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5577 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5578 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5579 PTRACE_O_MASK.
5580 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5581 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5582 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5583
bfc07087
AJ
5584 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5585 value.
5586
5587 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5588 _sigsys.
5589 (si_call_addr, si_syscall, si_arch): Define new macro.
5590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5591 _sigsys.
5592 (si_call_addr, si_syscall, si_arch): Define new marcro.
5593 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5594 _sigsys.
5595 (si_call_addr, si_syscall, si_arch): Define new macro.
5596 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5597 _sigsys.
5598 (si_call_addr, si_syscall, si_arch): Define new macro.
5599
89b4b02f
JM
56002012-07-25 Joseph Myers <joseph@codesourcery.com>
5601
5602 [BZ #13717]
5603 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5604 Change to 2.4.21 where previously 2.4.1.
5605 * sysdeps/unix/sysv/linux/configure: Regenerated.
5606 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5607 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5608 Linux kernel version.
5609 (__ASSUME_STD_AUXV): Remove.
5610 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5611 kernel version.
5612 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5613 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5614 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5615 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5616 (__ASSUME_NETLINK_SUPPORT): Likewise.
5617 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5618 (__no_netlink_support): Remove conditional definition.
5619 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5620 Remove.
5621 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5622 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5623 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5624 (if_nameindex_ioctl): Remove.
5625 (if_nameindex_netlink): Do not handle __no_netlink_support.
5626 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5627 code.
5628 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5629 Remove conditional code.
5630 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5631 code.
5632 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5633 unconditional.
5634 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5635 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5636 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5637 Remove.
5638 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5639 [!__ASSUME_STD_AUXV]: Remove conditional code.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5641 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5642 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5644 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5645 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5646 code.
5647 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5649 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5650 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5651 conditional code.
5652 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5654 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5655 code.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5657 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5658 conditional code.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5660 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5661 code unconditional.
5662 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5663 conditional code.
5664 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5665 unconditional.
5666 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5667 conditional code.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5669 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5670 unconditional.
5671 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5672 conditional code.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5674 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5675 code unconditional.
5676 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5677 conditional code.
5678 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5679 unconditional.
5680 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5681 conditional code.
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5683 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5684 code unconditional.
5685 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5686 conditional code.
5687 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5688 unconditional.
5689 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5690 conditional code.
5691
842a39cd
AS
56922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5693
5694 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5695 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5696 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5697 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5698 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5699 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5700 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5701 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5702 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5703 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5704 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5705 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5706 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5707 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5709 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5710 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5711 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5712 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5714 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5715 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5717
84b3fd84
FW
57182012-07-25 Florian Weimer <fweimer@redhat.com>
5719
5720 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5721 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5722 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5723 Introduce __libc_secure_getenv.
0c7936d5
FW
5724 * stdlib/Versions (2.17): Add secure_getenv
5725 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5726 * stdlib/secure-getenv.c: Rename __secure_getenv to
5727 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5728 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5729 * stdlib/tst-secure-getenv.c: New.
5730 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5731 * manual/startup.texi (Environment Access): Document
5732 secure_getenv.
84b3fd84
FW
5733 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5734 __libc_secure_getenv.
5735 * inet/ruserpass.c (ruserpass): Likewise.
5736 * malloc/mtrace.c (mtrace): Likewise.
5737 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5738 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5739 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5740 * sysdeps/posix/tempname.c: Likewise. Evaluate
5741 HAVE_SECURE_GETENV.
5742 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5743 __secure_getenv to __libc_secure_getenv.
84b3fd84 5744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5746 Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5748 Likewise.
5749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5751 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5756
56e49b71
JM
57572012-07-25 Joseph Myers <joseph@codesourcery.com>
5758
5759 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5760 (struct La_i86_retval): Likewise.
5761 (struct La_x86_64_regs): Likewise.
5762 (struct La_x86_64_retval): Likewise.
5763 (struct La_x32_regs): Likewise.
5764 (struct La_x32_retval): Likewise.
5765 (struct La_ppc32_regs): Likewise.
5766 (struct La_ppc32_retval): Likewise.
5767 (struct La_ppc64_regs): Likewise.
5768 (struct La_ppc64_retval): Likewise.
5769 (struct La_sh_regs): Likewise.
5770 (struct La_sh_retval): Likewise.
5771 (struct La_s390_32_regs): Likewise.
5772 (struct La_s390_32_retval): Likewise.
5773 (struct La_s390_64_regs): Likewise.
5774 (struct La_s390_64_retval): Likewise.
5775 (struct La_sparc32_regs): Likewise.
5776 (struct La_sparc32_retval): Likewise.
5777 (struct La_sparc64_regs): Likewise.
5778 (struct La_sparc64_retval): Likewise.
5779 (struct audit_ifaces): Remove architecture-specific pltenter and
5780 pltexit members.
5781 * sysdeps/i386/ldsodefs.h: New file.
5782 * sysdeps/powerpc/ldsodefs.h: Likewise.
5783 * sysdeps/s390/ldsodefs.h: Likewise.
5784 * sysdeps/sh/ldsodefs.h: Likewise.
5785 * sysdeps/sparc/ldsodefs.h: Likewise.
5786 * sysdeps/x86_64/ldsodefs.h: Likewise.
5787
354691b7
MP
57882012-07-25 Marek Polacek <polacek@redhat.com>
5789
5790 [BZ #6808]
5791 * math/libm-test.inc (yn_test): Add another test.
5792 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5793 to ERANGE when the result is +-Inf.
5794 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5795 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5796 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5797 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5798
bf9e2071
JM
57992012-07-24 Joseph Myers <joseph@codesourcery.com>
5800
5801 * conform/data/time.h-data (NULL): Use macro-constant. Require
5802 equal to 0.
5803 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5804 clock_t.
5805 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5806
57633811
TS
58072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5808
5809 * configure.in <sysdeps resolving>: Correct printing
5810 Implies_before.
5811 * configure: Regenerate.
5812
c23c33b0
TS
58132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5814
5815 * math/w_ilogb.c: Include <limits.h>.
5816 * math/w_ilogbl.c: Likewise.
5817
b5982523
JM
58182012-07-20 Joseph Myers <joseph@codesourcery.com>
5819
5820 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5821 va_copy. Document allowing for unavailable va_copy only as
5822 pre-C99 compatibility.
5823 * manual/string.texi (Copying and Concatenation): Use va_copy
5824 instead of __va_copy in concat example.
5825
ac4ea442
PT
58262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5827
5828 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5829 (__sendto): Use create_address_port. Initialize APORT and deallocate
5830 it if not null.
5831
f98eafbd
PT
5832 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5833 with O_NOLINK passed to __file_name_lookup.
5834
898c7aab
PT
5835 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5836 with O_NOLINK passed to __file_name_lookup.
5837
0ced335a
PT
5838 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5839 negative N or less than NGIDS.
5840
b3404dbd
PT
5841 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5842 type to string_t. Set ERANGE as errno and return it if NAME is not big
5843 enough. Use memcpy instead of strncpy.
5844
0f48659e
JM
58452012-07-20 Joseph Myers <joseph@codesourcery.com>
5846
5847 * elf/Makefile (check-data): Remove.
5848 (localplt.data): New vpath directive.
5849 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5850 instead of $(check-data).
5851 * scripts/data/localplt-generic.data: Move to ...
5852 * sysdeps/generic/localplt.data: ... here.
5853 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5854 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5855 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5857 ... here.
5858 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5860 ... here.
5861 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5863 ... here.
5864 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5866 ... here.
5867 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5869 ... here.
5870 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5872 ... here.
5873
d37cbdaa
AZ
58742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5875
5876 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5877 PPC32 and PPC64 files.
5878 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5879 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5880
46f85fc2
AK
58812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5882
5883 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5884 __makecontext_ret to ...
5885 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5886 ... here and call exit if uc_link is NULL. New file.
5887 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5888 __makecontext_ret.S.
5889 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5890 __makecontext_ret to ...
5891 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5892 ... here and call exit if uc_link is NULL. New file.
5893 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5894 __makecontext_ret.S.
5895
08f43f9b
AK
58962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5897
5898 * elf/elf.h (R_390_IRELATIVE): New definition.
5899 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5900 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5901 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5902 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5903 (elf_machine_lazy_rel): Likewise.
5904 * sysdeps/s390/dl-irel.h: New file.
5905 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5906 * sysdeps/s390/s390-64/memset.S: New asm code.
5907 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5908 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5909 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5910 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5911 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5912 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5913 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5914 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5915 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5916 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5917 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5918 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5919 * sysdeps/s390/s390-32/memset.S: New asm code.
5920 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5921
3b05db33
MP
59222012-07-17 Marek Polacek <polacek@redhat.com>
5923
5924 [BZ #14349]
5925 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5926 * sysdeps/s390/s390-64/configure.in: Likewise.
5927 * sysdeps/sparc/configure.in: Likewise.
5928 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5929 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5930 * sysdeps/i386/configure.in: Likewise.
5931 * sysdeps/x86_64/configure.in: Likewise.
5932 * sysdeps/sh/configure.in: Likewise.
5933 * sysdeps/s390/s390-32/configure: Regenerated.
5934 * sysdeps/s390/s390-64/configure: Likewise.
5935 * sysdeps/x86_64/configure: Likewise.
5936 * sysdeps/sh/configure: Likewise.
5937 * sysdeps/powerpc/powerpc64/configure: Likewise.
5938 * sysdeps/powerpc/powerpc32/configure: Likewise.
5939 * sysdeps/sparc/configure: Likwise.
5940 * sysdeps/i386/configure: Likewise.
5941
a66877c6
MP
5942 * elf/dl-open.c: Comment fixes.
5943
cfc82fd8
JM
59442012-07-17 Joseph Myers <joseph@codesourcery.com>
5945
bd29910a
JM
5946 * Makefile [CXX] (check-data): Remove.
5947 [CXX] (c++-types.data): New vpath directive.
5948 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5949 vpath. Do not allow for C++ type data being missing.
5950 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5951 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5952 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5953 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5954 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5955 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5956 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5958 ... here.
5959 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5961 ... here.
5962 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5964 ... here.
5965 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5967 ... here.
5968 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5970 ... here.
5971 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5973 ... here.
5974 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5976 ... here.
5977 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5979
cfc82fd8
JM
5980 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5981 definitions to architecture-specific files.
5982 (TLS_IE): Likewise.
5983 (TLS_LD): Likewise.
5984 (TLS_GD): Likewise.
5985 * sysdeps/i386/tls-macros.h: New file.
5986 * sysdeps/powerpc/tls-macros.h: Likewise.
5987 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5988 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5989 * sysdeps/sh/tls-macros.h: Likewise.
5990 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5991 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5992 * sysdeps/x86_64/tls-macros.h: Likewise.
5993
f7db3170
TS
59942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5995
07cbfc23
TS
5996 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5997 zero value for regular exit case.
5998
f7db3170
TS
5999 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6000 (__start_context): Preserve zero value for regular exit case.
6001
dc97c227
TS
60022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6003 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6004
6005 * manual/setjmp.texi (setcontext): Clarify normal process
6006 termination when uc_link is the null pointer.
6007 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6008 exit call.
6009
d0cd7d02
AS
60102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6011
6012 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6013 preprocessor. Test for each exception mask separately.
6014
dd318934
AJ
60152012-07-16 Andreas Jaeger <aj@suse.de>
6016
6017 * po/ru.po: Update from translation team.
6018
8048311a
JM
60192012-07-15 Joseph Myers <joseph@codesourcery.com>
6020
6021 * conform/data/string.h-data (NULL): Use macro-constant. Require
6022 equal to 0.
6023 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6024 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6025 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6026 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6028
b637d46e
AJ
60292012-07-13 Andreas Jaeger <aj@suse.de>
6030
6031 * po/fr.po: Update from translation team.
6032
541428fe
MP
60332012-07-12 Marek Polacek <polacek@redhat.com>
6034
6035 [BZ #14173]
6036 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6037 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6038 loop condition.
6039
ec332e94
JM
60402012-07-12 Joseph Myers <joseph@codesourcery.com>
6041
6042 [BZ #13717]
6043 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6044 Change to 2.4.1 where previously 2.4.0.
6045 * sysdeps/unix/sysv/linux/configure: Regenerated.
6046 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6047 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6048 version.
6049 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6050 (__ASSUME_AT_CLKTCK): Remove.
6051 (__ASSUME_AT_PAGESIZE): Likewise.
6052 (__ASSUME_AT_XID): Likewise.
6053 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6054 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6055 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6056 unconditionally.
6057 (HAVE_AUX_PAGESIZE): Likewise.
6058 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6059 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6060 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6061
7b6e99be
JB
60622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6063
6064 [BZ #14307]
6065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6066 the temporary buffer used to invoke __gethostbyname2_r,
6067 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6068 host_data / struct gaih_addrtuple.
6069 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6070 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6071 header file nss/nsswitch.h.
6072 * nss/nsswitch.h (global scope): Add definition of implementation
6073 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6074 resolv/nss_dns/dns-host.c).
6075
608404eb
AJ
60762012-07-11 Andreas Jaeger <aj@suse.de>
6077
6078 * po/fr.po: Update from translation team.
6079
71220aca
AJ
6080 * po/sv.po: Update from translation team
6081 * po/fr.po: Another update from translation team.
6082
28cfe843
AZ
60832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6084
6085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6086 for subnormals or multiply small sinh result by itself.
6087 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6089
6b90f981
DM
60902012-07-11 David S. Miller <davem@davemloft.net>
6091
6092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6093
c6825772
AS
60942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6095
6096 [BZ #14347]
6097 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6098 (INTERNAL_MARK): Shift it here.
6099
7b8e0d49
MP
61002012-07-10 Marek Polacek <polacek@redhat.com>
6101
6102 [BZ #14151]
6103 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6104 libc_cv_asm_global_directive with .globl.
6105 * configure: Regenerated.
6106 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6107 with .globl.
6108 * sysdeps/i386/configure: Regenerated.
6109 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6110 with .globl.
6111 * sysdeps/x86_64/configure: Regenerated.
6112 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6113 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6114 * elf/tst-unique2mod2.c: Likewise.
6115 * elf/tst-unique2mod1.c: Likewise.
6116 * elf/tst-unique1mod2.c: Likewise.
6117 * elf/tst-unique1mod1.c: Likewise.
6118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6119 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6121 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6122 * sysdeps/mach/sysdep.h: Likewise.
6123 * sysdeps/i386/sysdep.h: Likewise.
6124 * sysdeps/i386/i386-mcount.S: Likewise.
6125 * sysdeps/x86_64/_mcount.S: Likewise.
6126 * sysdeps/x86_64/sysdep.h: Likewise.
6127 * sysdeps/sh/_mcount.S: Likewise.
6128 * sysdeps/sh/sysdep.h: Likewise.
6129 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6130 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6131 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6132 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6133 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6134 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6135 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6136 * locale/localeinfo.h: Likewise.
6137 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6138 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6139
6c55cda3
RM
61402012-07-09 Roland McGrath <roland@hack.frob.com>
6141
6142 [BZ #14336]
6143 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6144 system".
6145 * manual/message.texi (The Uniforum approach): Likewise.
6146 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6147 (glibc iconv Implementation): Likewise.
6148
638a572e
JM
61492012-07-09 Joseph Myers <joseph@codesourcery.com>
6150
6151 [BZ #14337]
6152 * math/s_clog.c (__clog): Avoid scaling a value down where that
6153 could result in underflow.
6154 * math/s_clog10.c (__clog10): Likewise.
6155 * math/s_clog10f.c (__clog10f): Likewise.
6156 * math/s_clog10l.c (__clog10l): Likewise.
6157 * math/s_clogf.c (__clogf): Likewise.
6158 * math/s_clogl.c (__clogl): Likewise.
6159 * math/libm-test.inc (clog_test): Add more tests.
6160 (clog10_test): Likewise.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
261f4859
AS
61642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6165
0abaf3e4
AS
6166 [BZ #14283]
6167 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6168 by 7 not 8 to examine high bit of fractional part.
6169
261f4859
AS
6170 [BZ #14042]
6171 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6172 for call to __mcount_internal.
6173 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6174 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6175 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6176
f17ac40d
JM
61772012-07-06 Joseph Myers <joseph@codesourcery.com>
6178
9ad63c23
JM
6179 [BZ #14154]
6180 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6181 approximation for values within 0x1p-13f of an odd multiple of
6182 pi/4.
6183 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6184 exception. Add more tests.
6185 * sysdeps/i386/fpu/libm-test-ulps: Update.
6186
f17ac40d
JM
6187 [BZ #6778]
6188 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6189 inputs and return -1 for them. Do not check for +Inf in case not
6190 reachable for +Inf.
6191 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6192 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6193 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6194 and return -1 for them. Do not check for +Inf in case not
6195 reachable for +Inf.
6196 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6197 define.
6198 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6199 and return -1 for them. Do not check for +Inf in case not
6200 reachable for +Inf.
6201 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6202 spurious underflow.
6203 * sysdeps/i386/fpu/libm-test-ulps: Update.
6204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6205
fb21f89b
MF
62062012-07-06 Mike Frysinger <vapier@gentoo.org>
6207
6208 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6209
cdfe2c5e
JM
62102012-07-05 Joseph Myers <joseph@codesourcery.com>
6211
6212 [BZ #14157]
6213 [BZ #14331]
6214 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6215 could result in spurious underflow. Scale down values above
6216 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6217 * math/s_csqrtf.c (__csqrtf): Likewise.
6218 * math/s_csqrtl.c (__csqrtl): Likewise.
6219 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6220 spurious underflow.
6221 * sysdeps/i386/fpu/libm-test-ulps: Update.
6222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6223
70d35b67
AS
62242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6225
704bc459
AS
6226 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6227 xopen-msg.sed.
6228 * catgets/xopen-msg.awk: New file.
6229 * catgets/xopen-msg.sed: Removed.
6230
70d35b67
AS
6231 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6232 po2text.sed.
6233 * intl/po2test.awk: New file.
6234 * intl/po2test.sed: Removed.
6235
ca61cf32
JM
62362012-07-04 Joseph Myers <joseph@codesourcery.com>
6237
6238 [BZ #14328]
6239 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6240 or multiply small sinh result by itself.
6241 * math/s_ctanf.c (__ctanf): Likewise.
6242 * math/s_ctanh.c (__ctanh): Likewise.
6243 * math/s_ctanhf.c (__ctanhf): Likewise.
6244 * math/s_ctanhl.c (__ctanhl): Likewise.
6245 * math/s_ctanl.c (__ctanl): Likewise.
6246 * math/libm-test.inc (ctan_test_tonearest): New function.
6247 (ctan_test_towardzero): Likewise.
6248 (ctan_test_downward): Likewise.
6249 (ctan_test_upward): Likewise.
6250 (ctanh_test_tonearest): Likewise.
6251 (ctanh_test_towardzero): Likewise.
6252 (ctanh_test_downward): Likewise.
6253 (ctanh_test_upward): Likewise.
6254 (main): Call these new functions.
6255 * sysdeps/i386/fpu/libm-test-ulps: Update.
6256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6257
ca48a46a
MF
62582012-07-03 Mike Frysinger <vapier@gentoo.org>
6259
6260 * .gitignore: Delete /ports entry.
6261
9d63d37d
AJ
62622012-07-03 Andreas Jaeger <aj@suse.de>
6263
6264 * po/bg.po: Update from translation team.
6265 * po/cs.po: Likewise.
6266 * po/de.po: Likewise.
6267 * po/hr.po: Likewise.
6268 * po/nl.pl: Likewise.
6269 * po/pl.po: Likewise.
6270 * po/vi.po: Likewise.
6271
370ca3d2
JM
62722012-07-03 Joseph Myers <joseph@codesourcery.com>
6273
95f5a9a8
JM
6274 * Makeconfig [!+link] (+link-before-libc): New variable.
6275 [!+link] (+link-after-libc): Likewise.
6276 [!+link] (+link-tests): Likewise.
6277 [!+link] (+link): Define in terms of $(+link-before-libc) and
6278 $(+link-after-libc).
6279 [!+link-static] (+link-static-before-libc): New variable.
6280 [!+link-static] (+link-static-after-libc): Likewise.
6281 [!+link-static] (+link-static-tests): Likewise.
6282 [!+link-static] (+link-static): Define in terms of
6283 $(+link-static-before-libc) and $(+link-static-after-libc).
6284 [build-shared] (link-libc-before-gnulib): New variable.
6285 [build-shared] (link-libc-tests): Likewise.
6286 [build-shared] (link-libc): Define in terms of
6287 $(link-libc-before-gnulib).
6288 [!build-shared] (link-libc-tests): New variable.
6289 (link-libc-static-tests): New variable.
6290 [!gnulib] (gnulib-arch): New variable.
6291 [!gnulib] (gnulib-tests): Likewise.
6292 [!gnulib] (static-gnulib-arch): Likewise.
6293 [!gnulib] (static-gnulib-tests): Likewise.
6294 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6295 Define with "=" instead of ":=".
6296 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6297 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6298 * Rules (binaries-all-notests): New variable.
6299 (binaries-all-tests): Likewise.
6300 (binaries-static-notests): Likewise.
6301 (binaries-static-tests): Likewise.
6302 (binaries-all): Define using $(binaries-all-notests) and
6303 $(binaries-all-tests).
6304 (binaries-static): Define using $(binaries-static-notests) and
6305 $(binaries-static-tests).
6306 (binaries-shared-tests): New variable.
6307 (binaries-shared-notests): Likewise.
6308 (binaries-shared): Remove variable.
6309 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6310 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6311 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6312 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6313 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6314 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6315 * elf/Makefile (sln-modules): New variable.
6316 (extra-objs): Add $(sln-modules:=.o).
6317 (ldconfig-modules): Add static-stubs.
6318 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6319 * elf/static-stubs.c: New file.
6320
7a845b2c
JM
6321 [BZ #14283]
6322 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6323 by 7 not 8 to examine high bit of fractional part. Use volatile
6324 variables when splitting into final array of floats if
6325 __FLT_EVAL_METHOD__ != 0.
6326 * math/libm-test.inc (cos_test): Add another test.
6327 (sin_test): Likewise.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329
e2283f38
JM
6330 [BZ #14273]
6331 * math/libm-test.inc (cosh_test): Add more tests.
6332
370ca3d2
JM
6333 * version.h (RELEASE): Set to "development".
6334 (VERSION): Set to "2.16.90".
6335
ee9247c3
CD
63362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6337
6338 * NEWS: Update copyright. Remove last-updated date.
6339 Mention math library bug fixes and timezone data changes.
6340 * README: Mention GNU/Hurd, x32, and HPPA support status.
6341
4648c381
TS
63422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6343
6344 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6345
aac78a43
AJ
63462012-06-27 Andreas Jaeger <aj@suse.de>
6347
6348 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6349
ed3dbfad
AJ
63502012-06-25 Andreas Jaeger <aj@suse.de>
6351
6352 * sysdeps/s390/fpu/libm-test-ulps: Update.
6353
4d0ee855
AS
63542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6355 Thomas Schwinge <thomas@codesourcery.com>
6356
6357 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6358 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6360 fanotify_mark.
6361
af1bce34
TS
63622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6363
a9fa33ba
TS
6364 * sysdeps/mach/start.c: Remove file.
6365 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6366 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6367 * sysdeps/sh/init-first.c: Likewise.
6368
58f902b8
TS
6369 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6370 registers for frame unwinding purposes, add CFI directives.
6371 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6373 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6374 Likewise.
6375
1518f58b
TS
6376 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6377 __fortify_fail returning.
6378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6379
db9b5059
TS
6380 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6381 sysdeps/sh/____longjmp_chk.S.
6382 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6383 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6384 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6385 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6386
967705fe
TS
6387 * sysdeps/sh/abort-instr.h: New file.
6388 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6389 process in case exit returns.
6390
a9def8c4
TS
6391 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6392 initialize the GOT register before use.
6393
2a649725
TS
6394 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6395 calculation of ARGC > 4.
6396
af1bce34
TS
6397 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6398 meaningful names to some local labels.
6399
d230f50a
KK
64002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6401 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6402
6403 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6404 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6405 (__arch_compare_and_exchange_val_16_acq): Likewise.
6406 (__arch_compare_and_exchange_val_32_acq): Likewise.
6407 (atomic_exchange_and_add): Fix gUSA sequence.
6408 (atomic_add): Likewise.
6409 (atomic_add_negative): Likewise.
6410 (atomic_add_zero): Likewise.
6411 (atomic_bit_test_set): Likewise.
6412
0479b305
AS
64132012-06-22 Andreas Schwab <schwab@redhat.com>
6414
6415 [BZ #13579]
6416 * include/link.h (struct link_map): Add l_free_initfini.
6417 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6418 l_initfini.
6419 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6420 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6421 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6422 set.
6423
0e3933b9
CD
64242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6425
6426 * configure.in: Use AC_LANG_SOURCE.
6427 * configure: Regenerate.
6428
4248b1b1
RM
64292012-06-22 Roland McGrath <roland@hack.frob.com>
6430
6431 * configure.in (libc_cv_localstatedir): New substituted variable.
6432 * configure: Regenerated.
6433 * config.make.in (localstatedir): New variable, substituted from
6434 libc_cv_localstatedir.
6435 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6436 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6437 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6438 * sysdeps/gnu/configure: Regenerated.
6439
006dd861
JL
64402012-06-21 Jeff Law <law@redhat.com>
6441
6442 [BZ #14277]
6443 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6444 free. Simplify list management for _LIBC case.
6445
79662d42
JM
64462012-06-21 Joseph Myers <joseph@codesourcery.com>
6447
b7abb4bf
JM
6448 [BZ #14273]
6449 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6450 Clear sign bit of 64-bit integer value before comparing against
6451 overflow value.
6452
79662d42
JM
6453 * sysdeps/mach/configure: Regenerated.
6454
1f150908
L
64552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6456
6457 [BZ #14278]
6458 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6459
28363bbf
JL
64602012-06-21 Jeff Law <law@redhat.com>
6461
6462 [BZ #13882]
6463 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6464 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6465 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6466 * elf/dl-open.c (dl_open_worker): Likewise.
6467
09615db4
CD
64682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6469
6470 * scripts/list-sources.sh: Scan PORTS for translations.
6471 * po/libc.pot: Regenerated.
6472
2174c6dd
AJ
64732012-06-21 Andreas Jaeger <aj@suse.de>
6474
6475 [BZ #12194]
6476 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6477 warning.
6478 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6479 * bits/byteswap-16.h (__bswap_16): Likewise.
6480 * bits/byteswap.h (__bswap_constant_16): Likewise.
6481
3ee947b1
L
64822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 [BZ #14117]
a2f34833
L
6485 * sysdeps/i386/fpu_control.h: Removed.
6486 * sysdeps/x86_64/fpu_control.h: Moved to ...
6487 * sysdeps/x86/fpu_control.h: Here.
6488
3ee947b1
L
6489 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6490 (_FPU_SETCW): Likewise.
6491
ed1825f8
L
64922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6493
25f1282a
L
6494 [BZ #14117]
6495 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6496 * sysdeps/x86/fpu/bits/mathinline.h: This.
6497 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6498
ed1825f8
L
6499 [BZ #14050]
6500 [BZ #14117]
6501 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6502 functions if __x86_64__ is defined.
6503
36d54b74
CLT
65042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6505
6506 * string/endian.h: Add !__ASSEMBLER__ condition for including
6507 conversion interfaces.
6508
10285c21
JM
65092012-06-15 Joseph Myers <joseph@codesourcery.com>
6510
6511 [BZ #14241]
6512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6513 of ABS(x) in calculating zero to negative powers other than odd
6514 integers.
6515 * math/libm-test.inc (pow_test): Add more tests.
6516
06c5abbd
AJ
65172012-06-15 Andreas Jaeger <aj@suse.de>
6518
6519 * manual/contrib.texi (Contributors): Update entry of Liubov
6520 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6521 Machado Filho.
6522
a3aeac40
CH
65232012-06-15 Cyril Hrubis <metan@ucw.cz>
6524
6525 * string/string.h: Add __wur to GNU version of strerror_r.
6526
49bdf4c1
L
65272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6528
6529 [BZ #14229]
6530 * string/Makefile (tests): Add tst-strtok_r.
6531 * string/tst-strtok_r.c: New file.
6532 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6533 RAX_LP/RDX_LP on SAVE_PTR.
6534
834f9b8d
RM
65352012-06-14 Roland McGrath <roland@hack.frob.com>
6536
6537 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6538
75fa1921
JM
65392012-06-14 Joseph Myers <joseph@codesourcery.com>
6540
6541 * libm_test.inc (csqrt_test): Allow more spurious underflow
6542 exceptions.
6543 (j0_test): Likewise.
6544 (j1_test): Likewise.
6545 (y0_test): Likewise.
6546 (y1_test): Likewise.
6547
771766df
CD
65482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6549
6550 * po/Makefile (libc.pot): Use UTF-8 charset.
6551
ceb9e56b
PP
65522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6553
6554 [BZ #14210]
6555 Suppress sign-conversion warning from FD_SET.
6556 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6557 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6558 not unsigned long int.
6559 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6560
ddb28975
L
65612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 [BZ #14050]
6564 [BZ #14117]
6565 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6566 __extern_always_inline instead of __extern_inline.
6567 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6568 (__signbit): Likewise.
6569 (__signbitl): Support C++ namespace.
6570 (lrintf): New inline function.
6571 (lrint): Likewise.
6572 (llrintf): Likewise.
6573 (llrint): Likewise.
6574 (fmaxf): Likewise.
6575 (fmax): Likewise.
6576 (fminf): Likewise.
6577 (fmin): Likewise.
6578 (rint): Likewise.
6579 (rintf): Likewise.
6580 (ceil): Likewise.
6581 (ceilf): Likewise.
6582 (floor): Likewise.
6583 (floorf): Likewise.
6584 (nearbyint): Likewise.
6585 (nearbyintf): Likewise.
6586
d7b4fb26
TS
65872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6588
6589 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6590 non-default versions.
6591
eb55f5c2
RM
65922012-06-11 Roland McGrath <roland@hack.frob.com>
6593
6594 [BZ #14218]
6595 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6596
366af02c
TS
65972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6598
99ff6e5c
TS
6599 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6600 (FE_UPWARD, FE_DOWNWARD): Don't define.
6601 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6602 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6603
366af02c
TS
6604 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6605 reading it.
6606 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6607 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6608
793ea851
KK
66092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6610
6611 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6613 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6614 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6615
a728a38f
L
66162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6617
6618 [BZ #14117]
c08010c7
L
6619 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6620 * sysdeps/i386/fpu/Implies: New file.
6621 * sysdeps/x86_64/fpu/Implies: Likewise.
6622 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6623 * sysdeps/x86/fpu/bits/fenv.h: This.
6624
a728a38f
L
6625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6626 __SSE_MATH__.
6627
6e230d11
SP
66282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6629
6630 [BZ #14134]
6631 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6632 character 0xffff that matches the last element of the
6633 conversion table.
6634
1b671feb
AZ
66352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6636
6637 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6638 fmodl commit.
6639
6043738b
AZ
66402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641
6642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6643 values higher than 25.6283.
6644
34ae0b32
AZ
66452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646
6647 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6648 subnormal exponent extraction and add some __builtin_expect.
6649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6650 Fix for subnormal mantissa calculation.
6651
1214ec8f
MF
66522012-06-04 Mike Frysinger <vapier@gentoo.org>
6653
6654 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6655 cpu2 is -1 and errno is not ENOSYS.
6656
f3d1f93c
L
66572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6658
6659 [BZ #14117]
0e4a3cd7
L
6660 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6661 * sysdeps/x86/bits/string.h: This.
6662 * sysdeps/x86_64/bits/string.h: Removed.
6663
6704c645
L
6664 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6665 if not compiling for x86-64, but compiling for >= i486.
6666
48495318
L
6667 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6668 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6669
14adcbfc
L
6670 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6671 New macro from Linux kernel 3.4.0.
6672 (FP_XSTATE_MAGIC2): Likewise.
6673 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6674 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6675 (struct _fpx_sw_bytes): New struct.
6676 (struct _xsave_hdr): Likewise.
6677 (struct _ymmh_state): Likewise.
6678 (struct _xstate): Likewise.
6679
68e408ab
L
6680 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6681 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6682 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6683 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6684 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6685 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6686
f3d1f93c
L
6687 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6688 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6689 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6690 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6691 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6692 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6693
d9dc34cd
TMQMF
66942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6695
6696 [BZ #13743]
6697 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6698 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6699 (sysdep_headers): Include sys/platform/ppc.h.
6700 * sysdeps/powerpc/test-gettimebase.c: Test for
6701 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6702 * manual/Makefile (appendices): Include platform.texi.
6703 * manual/contrib.texi (Contributors): Update @node pointers.
6704 * manual/maint.texi (Maintenance): Likewise.
6705 (Platform): New node.
6706 * manual/platform.texi: New file. Document the new features.
6707
4af3879c
SP
67082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6709 Jakub Jelinek <jakub@redhat.com>
6710
6711 [BZ #14188]
6712 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6713 where __builtin_expect is unavailable.
6714
2fd6ff13
DM
67152012-06-03 David S. Miller <davem@davemloft.net>
6716
6717 * stdlib/longlong.h: Updated from GCC.
6718
173f7220
AS
67192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6720
6721 [BZ #14042]
6722 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6723 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6724 __mcount_internal.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6726 (GLIBC_2.16): Likewise.
6727
f34a1c6f
L
67282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6729
6730 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6731
88a4576f
JM
67322012-06-01 Joseph Myers <joseph@codesourcery.com>
6733
ea32bcdd
JM
6734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6735 (default-abi): New variable.
6736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6737 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6738 variable.
6739 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6740 Likewise.
6741 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6742 Likewise.
6743 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6744 Likewise.
6745
88a4576f
JM
6746 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6747 definition. Document in comment.
6748
402fe938
DM
67492012-06-01 David S. Miller <davem@davemloft.net>
6750
6751 * stdlib/longlong.h: Updated from GCC.
6752
3553723f
L
67532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 [BZ #14117]
3bd872c4
L
6756 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6757 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6758 sys/debugreg.h sys/io.h here.
6759 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6760 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6761 sys/io.h.
6762 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6763 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6764 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6765 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6766 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6767 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6768
3553723f
L
6769 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6770 Define only if __x86_64__ is defined.
6771
4842e4fe
JM
67722012-06-01 Joseph Myers <joseph@codesourcery.com>
6773
c5bfe3d5
JM
6774 [BZ #14048]
6775 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6776 Use int64_t for variable i.
6777 * math/libm-test.inc (fmod_test): Add more tests.
6778
4842e4fe
JM
6779 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6780 z computation is not scheduled after fetestexcept.
6781 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6782 Use math_force_eval instead of asm to ensure calculation scheduled
6783 before exception test.
6784 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6785 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6786
efb73488
AJ
67872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6788
6789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6790 computation is not scheduled after fetestexcept.
6791
29bcce7c
L
67922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6793
6794 [BZ #14117]
6795 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6796 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6797
73a68f94
AZ
67982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799
6800 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6801 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6802
67b6df78
L
68032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6804
edf2933a 6805 [BZ #14117]
ebc64a18
L
6806 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6807 <bits/wordsize.h>.
6808 (__WCHAR_MIN): Support __WORDSIZE == 64.
6809 (__WCHAR_MAX): Likewise.
6810
edf2933a
L
6811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6813
57c6cf40
L
6814 [BZ #14183]
6815 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6816 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6817
67b6df78 6818 [BZ #14117]
8eb6281e
L
6819 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6820 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6821
aac639f4
L
6822 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6823 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6824
67b6df78
L
6825 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6826 Defined to 1 if __x86_64__ isn't defined.
6827 (_STAT_VER_LINUX_OLD): New.
6828 (st_atime): Remove duplicate.
6829 (st_mtime): Likewise.
6830 (st_ctime): Likewise.
6831
1c2cfe81
DM
68322012-05-31 David S. Miller <davem@davemloft.net>
6833
6834 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6835 entries.
6836
5be8418c
AS
68372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6838
e7725326
AS
6839 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6840 gen-libm-test.pl.
6841
5be8418c
AS
6842 [BZ #14132]
6843 * elf/dl-reloc.c: Include <_itoa.h>.
6844 (_dl_reloc_bad_type): Remove use of INTUSE.
6845 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6846 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6847 * stdio-common/psiginfo.c (psiginfo): Likewise.
6848 * stdio-common/psignal.c (psignal): Likewise.
6849 * string/strsignal.c (strsignal): Likewise.
6850 * include/signal.h (_sys_siglist): Declare hidden proto.
6851 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6852 INTVARDEF with libc_hidden_data_def.
6853 * stdio-common/itoa-udigits.c: Likewise.
6854 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6855 (_itoa_lower_digits_internal): Remove declaration.
6856 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6857 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6858 (_sys_sigabbrev_internal): Remove aliases.
6859 (_sys_siglist): Define hidden alias.
6860
507352f1
MT
68612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6862
6863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6864 bits/sysctl.h.
6865
42bbb1c3
L
68662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6867
6868 [BZ #14117]
6bd784b6
L
6869 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6870 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6871
8bca20f0
L
6872 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6873 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6874 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6875 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6877 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6878
f9e890a9
L
6879 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6880 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6881 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6882
471101a1
L
6883 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6884 with __addr.
6885 (insw): Likewise.
6886 (insl): Likewise.
6887 (outsb): Likewise.
6888 (outsw): Likewise.
6889 (outsl): Likewise.
6890
6451c862
L
6891 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6892 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6893 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6894
a254b8c9
L
6895 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6896 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6897 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6898 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6899 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6900 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6901
b8dfdd92
L
6902 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6903 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6904
578cd270
L
6905 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6906 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6907
de662f5f
L
6908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6909 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6910 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6911
25653439
L
6912 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6913 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6914 to ...
6915 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6916
6bad24a0
L
6917 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6918 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6919 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6920
42bbb1c3
L
6921 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6922 for x86-64.
6923 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6924
2d10d547
JM
69252012-05-31 Joseph Myers <joseph@codesourcery.com>
6926
6927 * math/math.h (M_El): Use two more decimal places.
6928 (M_LOG2El): Likewise.
6929 (M_LOG10El): Likewise.
6930 (M_LN2l): Likewise.
6931 (M_LN10l): Likewise.
6932 (M_PIl): Likewise.
6933 (M_PI_2l): Likewise.
6934 (M_PI_4l): Likewise.
6935 (M_1_PIl): Likewise.
6936 (M_2_PIl): Likewise.
6937 (M_2_SQRTPIl): Likewise.
6938 (M_SQRT2l): Likewise.
6939 (M_SQRT1_2l): Likewise.
6940
f230c29b
DM
69412012-05-31 David S. Miller <davem@davemloft.net>
6942
6943 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6944 values between float registers.
6945 * sysdeps/sparc/sparc64/memset.S: Likewise.
6946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6947
fed806c3
MF
69482012-05-31 Mike Frysinger <vapier@gentoo.org>
6949
6950 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6951 -D_FORTIFY_SOURCE=1.
6952 (CPPFLAGS-tst-longjmp_chk.c): Define.
6953 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6954 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6955 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6956 CFLAGS-tst-wchar-h.c.
6957
30917259
MP
69582012-05-31 Marek Polacek <polacek@redhat.com>
6959
6960 [BZ #14132]
6961 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6962 __endmntent_internal): Remove declaration.
6963 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6964 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6965 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6966
1c58d5dc
DM
69672012-05-30 David S. Miller <davem@davemloft.net>
6968
6969 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6970 (___Q_simulate_exceptions): Use real FP ops rather than writing
6971 into the %fsr.
6972 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6973 Likewise.
6974
7dc00e0d
L
69752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6976
6977 [BZ #14117]
0bd53985
L
6978 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6979 * sysdeps/x86/bits/xtitypes.h: This.
6980
3a257e66
L
6981 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6982 * sysdeps/x86/bits/wordsize.h: This.
6983
62f62904
L
6984 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6985 * sysdeps/x86/bits/huge_vall.h: This.
6986
404fe9d9
L
6987 * sysdeps/i386/bits/select.h: Removed.
6988 * sysdeps/x86_64/bits/select.h: Renamed to ...
6989 * sysdeps/x86/bits/select.h: This.
6990
d48d0446
L
6991 * sysdeps/i386/bits/setjmp.h: Removed.
6992 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6993 * sysdeps/x86/bits/setjmp.h: This.
6994
7dc00e0d
L
6995 * sysdeps/i386/bits/mathdef.h: Removed.
6996 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6997 * sysdeps/x86/bits/mathdef.h: This.
6998
03277f8f
AS
69992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7000
7001 [BZ #14132]
7002 * include/sys/socket.h (__connect_internal)
7003 (__libc_sa_len_internal): Remove declaration.
7004 (__connect, __libc_sa_len): Declare hidden_proto.
7005 (SA_LEN): Remove use of INTUSE.
7006 * socket/connect.c: Add libc_hidden_def.
7007 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7008 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7009 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7010 alias.
7011 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7012 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7013 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7014 of adding _internal alias.
7015
13764867
L
70162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7017
7018 [BZ #14117]
6bd97696
L
7019 * sysdeps/i386/bits/link.h: Removed.
7020 * sysdeps/i386/bits/linkmap.h: Likewise.
7021 * sysdeps/x86_64/bits/link.h: Renamed to ...
7022 * sysdeps/x86/bits/link.h: This.
7023 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7024 * sysdeps/x86/bits/linkmap.h: This.
7025
f726f0bb
L
7026 * sysdeps/i386/bits/endian.h: Removed.
7027 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7028 * sysdeps/x86/bits/endian.h: This.
7029
13764867
L
7030 * sysdeps/i386/bits/byteswap.h: Removed.
7031 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7032 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7033 * sysdeps/x86/bits/byteswap.h: This.
7034 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7035 * sysdeps/x86/bits/byteswap-16.h: This.
7036 * sysdeps/i386/Implies: Add x86.
7037 * sysdeps/x86_64/Implies: Likewise.
7038
ae251b0b
DM
70392012-05-30 David S. Miller <davem@davemloft.net>
7040
7041 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7042 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7043 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7044 (FP_TRAPPING_EXCEPTIONS): Define.
7045 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7046 (FP_TRAPPING_EXCEPTIONS): Define.
7047 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7048 subnormals only when inexact has been signalled or underflow
7049 exceptions are enabled.
7050 (_FP_PACK_CANONICAL): Likewise.
7051
d5c90867
L
70522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 [BZ #14183]
7055 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7056 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7057
63f1549e
RH
70582012-05-30 Richard Henderson <rth@twiddle.net>
7059
8d8f2279
RH
7060 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7061 with #ifndef NOT_IN_libc.
7062
63f1549e
RH
7063 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7064 marked to avoid plt entry.
7065
0ab0291b
L
70662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7067
7068 [BZ #14112]
7069 * Makeconfig (default-abi): New macro.
7070 (abi-includes): Likewise.
7071 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7072 $(abi-$(default-abi)-lib-soname) for soname if defined.
7073 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7074 abi-variants.
7075 * Makefile (installed-stubs): Likewise.
7076 * include/stubs-biarch.h: Removed.
7077 * scripts/lib-names.awk: Only handle one library at a time.
7078 * scripts/soversions.awk: Remove WORDSIZE support.
7079 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7080 entries.
7081 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7082 Removed.
7083 (syscall-list-default-condition): Likewise.
7084 (syscall-list-default-condition): Likewise.
7085 (syscall-list-includes): Likewise.
7086 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7087 syscall-list-* with abi-*. Handle undefined abi-variants.
7088 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7089 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7090 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7091 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7092 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7093 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7094 Removed.
7095 (syscall-list-32-options): Likewise.
7096 (syscall-list-32-condition): Likewise.
7097 (syscall-list-64-options): Likewise.
7098 (syscall-list-64-condition): Likewise.
7099 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7100 macro.
7101 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7102 Renamed to ...
7103 (abi-*): This.
7104 (abi-64-ld-soname): New macro.
7105 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7106 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7107 Renamed to ...
7108 (abi-*): This.
7109 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7110 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7111
4da0431d
JM
71122012-05-30 Joseph Myers <joseph@codesourcery.com>
7113
3a85279c
JM
7114 * sysdeps/unix/sysv/linux/kernel-features.h
7115 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7116 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7117 include <kernel-features.h>.
7118 [!__NR_ftruncate64]: Remove conditional code.
7119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7120 [__NR_ftruncate64]: Make code unconditional.
7121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7122 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7123 include <kernel-features.h>.
7124 [!__NR_ftruncate64]: Remove conditional code.
7125 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7126 [__NR_ftruncate64]: Make code unconditional.
7127 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7129 include <kernel-features.h>.
7130 [!__NR_ftruncate64]: Remove conditional code.
7131 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7132 [__NR_ftruncate64]: Make code unconditional.
7133 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7135 include <kernel-features.h>.
7136 [!__NR_ftruncate64]: Remove conditional code.
7137 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7138 [__NR_ftruncate64]: Make code unconditional.
7139 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7140
4da0431d
JM
7141 * configure.in (libc_cv_fpie): Weaken to a compile test using
7142 LIBC_TRY_CC_OPTION.
7143 * configure: Regenerated.
7144
11ef492c
AK
71452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7146
7147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7151 Refreshed.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7158 Refreshed.
7159
d66ef399
DM
71602012-05-27 David S. Miller <davem@davemloft.net>
7161
7162 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7163 (___Q_zero): New.
7164 (__Q_simulate_exceptions): Return void. Change to simulate
7165 exceptions by writing into the %fsr.
7166 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7167 (__Qp_handle_exceptions): Likewise.
7168 (numbers): Delete.
7169 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7170 __Qp_handle_exceptions.
7171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7172 __Qp_handle_exceptions.
7173 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7174 as unused and give dummy FP_RND_NEAREST initializer.
7175 (FP_INHIBIT_RESULTS): Define.
7176 (___Q_simulate_exceptions): Update declaration.
7177 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7178 formatting.
7179 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7180 as unused and give dummy FP_RND_NEAREST initializer.
7181 (__Qp_handle_exceptions): Update declaration.
7182 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7183 formatting.
7184
04fb54b5
TS
71852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7186
7187 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7188 the temporary FPU control word.
7189 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7190 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7191 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7192 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7193 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7195 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7196 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7197 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7198 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7199 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7200
3f99608f
KK
72012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7202
7203 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7204 fields.
7205
65a4de4e
CLT
72062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7207
7208 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7209 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7210 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7211 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7212 Likewise.
7213 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7214 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7215 Likewise.
7216
15749d40
UD
72172012-05-27 Ulrich Drepper <drepper@gmail.com>
7218
7219 * po/h.po: Update from translation team.
7220
25dbcb27
AS
72212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7222
3d3f8e55
AS
7223 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7224
25dbcb27
AS
7225 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7226 handling of denormals.
7227 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7228 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7229 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7230 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7233 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7234 Likewise.
7235
7ad47a80 72362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7237
7238 [BZ #14152]
7239 * math/libm-test.inc (fma_test): Don't always expect underflow
7240 exception.
7241
9c6ea9fa
SP
72422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7243
7244 [BZ #12416]
7245 * elf/tst-execstack.c: Include stackinfo.h.
7246 (do_test): Adjust test case to ensure that pthread_getattr_np
7247 behaviour remains the same after marking stack executable.
7248
a8239222
JM
72492012-05-25 Joseph Myers <joseph@codesourcery.com>
7250
7251 * sysdeps/unix/sysv/linux/kernel-features.h
7252 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7253 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7254 kernel-features.h.
7255 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7256 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7257 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7258 kernel-features.h.
7259 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7260 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7261
918b5606
L
72622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7263
7264 * configure.in: Define the default includes to being none.
7265 * configure: Regenerated.
7266
3a097cc7
RM
72672012-05-25 Roland McGrath <roland@hack.frob.com>
7268
8422c9a5
RM
7269 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7270 * sysdeps/x86_64/setjmp.S: Likewise.
7271 * sysdeps/i386/bsd-setjmp.S: Likewise.
7272 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7273 * sysdeps/i386/setjmp.S: Likewise.
7274 * sysdeps/i386/__longjmp.S: Likewise.
7275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7276 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7277
3a097cc7
RM
7278 * include/stap-probe.h: New file.
7279 * configure.in: Handle --enable-systemtap.
7280 * configure: Regenerated.
7281 * config.h.in (USE_STAP_PROBE): New #undef.
7282 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7283 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7284 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7285
21708942
JM
72862012-05-25 Joseph Myers <joseph@codesourcery.com>
7287
7288 [BZ #13717]
7289 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7290 to 2.4.0 where earlier.
7291 * sysdeps/unix/sysv/linux/configure: Regenerated.
7292 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7293 <kernel-features.h>.
7294 [__ASSUME_32BITUIDS]: Make code unconditional.
7295 [!__ASSUME_32BITUIDS]: Remove conditional code.
7296 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7297 <kernel-features.h>.
7298 [__ASSUME_32BITUIDS]: Make code unconditional.
7299 [!__ASSUME_32BITUIDS]: Remove conditional code.
7300 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7301 [__ASSUME_32BITUIDS]: Make code unconditional.
7302 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7303 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7304 <kernel-features.h>.
7305 [__ASSUME_32BITUIDS]: Make code unconditional.
7306 [!__ASSUME_32BITUIDS]: Remove conditional code.
7307 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
7316 <kernel-features.h>.
7317 [__ASSUME_32BITUIDS]: Make code unconditional.
7318 [!__ASSUME_32BITUIDS]: Remove conditional code.
7319 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7320 <kernel-features.h>.
7321 [__ASSUME_32BITUIDS]: Make code unconditional.
7322 [!__ASSUME_32BITUIDS]: Remove conditional code.
7323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7324 <kernel-features.h>.
7325 [__ASSUME_32BITUIDS]: Make code unconditional.
7326 [!__ASSUME_32BITUIDS]: Remove conditional code.
7327 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7328 <kernel-features.h>.
7329 [__ASSUME_32BITUIDS]: Make code unconditional.
7330 [!__ASSUME_32BITUIDS]: Remove conditional code.
7331 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7332 <kernel-features.h>.
7333 [__ASSUME_32BITUIDS]: Make code unconditional.
7334 [!__ASSUME_32BITUIDS]: Remove conditional code.
7335 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7336 <kernel-features.h>.
7337 [__ASSUME_32BITUIDS]: Make code unconditional.
7338 [!__ASSUME_32BITUIDS]: Remove conditional code.
7339 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7340 <kernel-features.h>.
7341 [__ASSUME_32BITUIDS]: Make code unconditional.
7342 [!__ASSUME_32BITUIDS]: Remove conditional code.
7343 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7344 <kernel-features.h>.
7345 [__NR_setresgid] (__setresgid): Do not declare.
7346 [__ASSUME_32BITUIDS]: Make code unconditional.
7347 [!__ASSUME_32BITUIDS]: Remove conditional code.
7348 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7349 <kernel-features.h>.
7350 [__NR_setresuid] (__setresuid): Do not declare.
7351 [__ASSUME_32BITUIDS]: Make code unconditional.
7352 [!__ASSUME_32BITUIDS]: Remove conditional code.
7353 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7354 <kernel-features.h>.
7355 [__ASSUME_32BITUIDS]: Make code unconditional.
7356 [!__ASSUME_32BITUIDS]: Remove conditional code.
7357 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7358 <kernel-features.h>.
7359 [__ASSUME_32BITUIDS]: Make code unconditional.
7360 [!__ASSUME_32BITUIDS]: Remove conditional code.
7361 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7362 <kernel-features.h>.
7363 [__ASSUME_32BITUIDS]: Make code unconditional.
7364 [!__ASSUME_32BITUIDS]: Remove conditional code.
7365 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7366 <kernel-features.h>.
7367 [__ASSUME_32BITUIDS]: Make code unconditional.
7368 [!__ASSUME_32BITUIDS]: Remove conditional code.
7369 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7370 <kernel-features.h>.
7371 [__ASSUME_32BITUIDS]: Make code unconditional.
7372 [!__ASSUME_32BITUIDS]: Remove conditional code.
7373 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7374 <kernel-features.h>.
7375 [__ASSUME_32BITUIDS]: Make code unconditional.
7376 [!__ASSUME_32BITUIDS]: Remove conditional code.
7377 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7378 <kernel-features.h>.
7379 [__ASSUME_32BITUIDS]: Make code unconditional.
7380 [!__ASSUME_32BITUIDS]: Remove conditional code.
7381 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7382 <kernel-features.h>.
7383 [__ASSUME_32BITUIDS]: Make code unconditional.
7384 [!__ASSUME_32BITUIDS]: Remove conditional code.
7385 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7386 <kernel-features.h>.
7387 [__ASSUME_32BITUIDS]: Make code unconditional.
7388 [!__ASSUME_32BITUIDS]: Remove conditional code.
7389 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7390 <kernel-features.h>.
7391 [__ASSUME_32BITUIDS]: Make code unconditional.
7392 [!__ASSUME_32BITUIDS]: Remove conditional code.
7393 * sysdeps/unix/sysv/linux/kernel-features.h
7394 (__ASSUME_SETRESUID_SYSCALL): Remove.
7395 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7396 (__ASSUME_32BITUIDS): Likewise.
7397 (__ASSUME_LDT_WORKS): Likewise.
7398 (__ASSUME_O_DIRECTORY): Likewise.
7399 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7400 architecture but not kernel version.
7401 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7402 (__ASSUME_MMAP2_SYSCALL): Likewise.
7403 (__ASSUME_STAT64_SYSCALL): Likewise.
7404 (__ASSUME_IPC64): Likewise.
7405 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7406 <kernel-features.h>.
7407 [__ASSUME_32BITUIDS]: Make code unconditional.
7408 [!__ASSUME_32BITUIDS]: Remove conditional code.
7409 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7410 <kernel-features.h>.
7411 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7412 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7413 132096]: Remove conditional code.
7414 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7415 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7416 <kernel-features.h>.
7417 [__ASSUME_32BITUIDS]: Make code unconditional.
7418 [!__ASSUME_32BITUIDS]: Remove conditional code.
7419 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7420 <kernel-features.h>.
7421 [__ASSUME_32BITUIDS]: Make code unconditional.
7422 [!__ASSUME_32BITUIDS]: Remove conditional code.
7423 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7424 <kernel-features.h>.
7425 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7426 unconditional.
7427 (__setresgid): Do not declare.
7428 [__ASSUME_32BITUIDS]: Make code unconditional.
7429 [!__ASSUME_32BITUIDS]: Remove conditional code.
7430 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7431 <kernel-features.h>.
7432 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7433 unconditional.
7434 (__setresuid): Do not declare.
7435 [__ASSUME_32BITUIDS]: Make code unconditional.
7436 [!__ASSUME_32BITUIDS]: Remove conditional code.
7437 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7438 <kernel-features.h>.
7439 [__ASSUME_32BITUIDS]: Make code unconditional.
7440 [!__ASSUME_32BITUIDS]: Remove conditional code.
7441 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7442 <kernel-features.h>.
7443 [__ASSUME_32BITUIDS]: Make code unconditional.
7444 [!__ASSUME_32BITUIDS]: Remove conditional code.
7445
a386f1cc
RH
74462012-05-25 Richard Henderson <rth@twiddle.net>
7447
7448 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7449 dl_hwcap to ifunc resolver.
7450 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7451 elf_ifunc_invoke.
7452 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7453 dl_hwcap to ifunc resolver.
7454 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7455
b6550497
JM
74562012-05-24 Joseph Myers <joseph@codesourcery.com>
7457
7458 [BZ #14153]
7459 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7460 for |x| <= 2**-26, not 2**-57.
7461 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7462 exception.
7463
b0bc23a1
JL
74642012-05-24 Jeff Law <law@redhat.com>
7465
7466 * stdio-common/Makefile (tests): Add bug25.
7467 * stdio-common/bug25.c: New test.
7468
347c92e9
L
74692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 [BZ #13576]
7472 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7473 multiple of MALLOC_ALIGNMENT in size.
7474 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7475
6bcc8b3f
JM
74762012-05-24 Joseph Myers <joseph@codesourcery.com>
7477
7478 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7479 Require >= 256.
7480 (FILENAME_MAX): Use macro-int-constant.
7481 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7482 (_IOFBF): Use macro-int-constant.
7483 (_IOLBF): Likewise.
7484 (_IONBF): Likewise.
7485 (SEEK_CUR): Likewise.
7486 (SEEK_END): Likewise.
7487 (SEEK_SET): Likewise.
7488 (TMP_MAX): Likewise.
7489 (EOF): Use macro-int-constant. Require < 0.
7490 (NULL): Use macro-constant. Require == 0.
7491 (stdin): Require type to be FILE *.
7492 (stdout): Likewise.
7493 (stderr): Likewise.
7494 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7495 macro-int-constant.
7496 (EXIT_SUCCESS): Likewise.
7497 (NULL): Use macro-constant. Require == 0.
7498 (RAND_MAX): Use macro-int-constant.
7499 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7500 [C99-based standards] (strtof): Require function.
7501 [C99-based standards] (strtold): Likewise.
7502 [C99-based standards] (strtoll): Likewise.
7503 [C99-based standards] (strtoull): Likewise.
7504 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7505 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7506 [ISO || ISO99 || ISO11] (math.h): Likewise.
7507 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7508 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7510
d18ea0c5
AS
75112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7512
7513 [BZ #14132]
56d25bb8
AS
7514 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7515 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7516 * intl/dgettext.c (DCGETTEXT): Likewise.
7517 * intl/gettext.c (DCGETTEXT): Likewise.
7518 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7519 * posix/regex_internal.h (gettext): Likewise.
7520 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7521 Remove declaration.
7522 * include/argz.h (__argz_count_internal)
7523 (__argz_stringify_internal): Remove declaration.
7524 (__argz_count, __argz_stringify): Declare hidden proto.
7525 * intl/dcgettext.c: Remove use of INTDEF.
7526 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7527 * string/argz-stringify.c: Likewise.
7528 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7529 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7530 Declare hidden proto.
d18ea0c5
AS
7531 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7532 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7533 Declare hidden proto.
7534 * include/stdio.h (__asprintf_internal): Don't declare.
7535 (__asprintf): Don't define as macro. Declare hidden proto.
7536 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7537 (__fsetlocking): Declare hidden proto.
7538 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7539 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7540 hidden proto.
7541 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7542 (_IO_setlinebuf): Remove use of INTUSE.
7543 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7544 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7545 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7546 Remove declaration.
7547 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7548 (_IO_do_flush): Remove use of INTUSE.
7549 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7550 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7551 (_IO_adjust_column, _IO_least_wmarker)
7552 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7553 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7554 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7555 (_IO_default_doallocate, _IO_wdefault_doallocate)
7556 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7557 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7558 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7559 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7560 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7561 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7562 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7563 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7564 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7565 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7566 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7567 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7568 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7569 proto.
7570 (_IO_flush_all_internal, _IO_adjust_column_internal)
7571 (_IO_default_uflow_internal, _IO_default_finish_internal)
7572 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7573 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7574 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7575 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7576 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7577 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7578 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7579 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7580 (_IO_file_close_internal, _IO_file_close_it_internal)
7581 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7582 (_IO_file_init_internal, _IO_file_attach_internal)
7583 (_IO_file_fopen_internal, _IO_file_read_internal)
7584 (_IO_file_sync_internal, _IO_file_seek_internal)
7585 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7586 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7587 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7588 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7589 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7590 (_IO_list_all_internal, _IO_link_in_internal)
7591 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7592 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7593 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7594 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7595 (_IO_do_write_internal, _IO_padn_internal)
7596 (_IO_getline_info_internal, _IO_getline_internal)
7597 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7598 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7599 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7600 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7601 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7602 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7603 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7604 with libc_hidden_ver, remove use of INTUSE.
7605 * libio/genops.c: Likewise.
7606 * libio/freopen.c: Likewise.
7607 * libio/freopen64.c: Likewise.
7608 * libio/iofclose.c: Likewise.
7609 * libio/iofdopen.c: Likewise.
7610 * libio/iofflush.c: Likewise.
7611 * libio/iofflush_u.c: Likewise.
7612 * libio/iofgets.c: Likewise.
7613 * libio/iofgets_u.c: Likewise.
7614 * libio/iofopen.c: Likewise.
7615 * libio/iofopncook.c: Likewise.
7616 * libio/iofread.c: Likewise.
7617 * libio/iofread_u.c: Likewise.
7618 * libio/ioftell.c: Likewise.
7619 * libio/iofwrite.c: Likewise.
7620 * libio/iogetline.c: Likewise.
7621 * libio/iogets.c: Likewise.
7622 * libio/iogetwline.c: Likewise.
7623 * libio/iopadn.c: Likewise.
7624 * libio/iopopen.c: Likewise.
7625 * libio/ioseekoff.c: Likewise.
7626 * libio/ioseekpos.c: Likewise.
7627 * libio/iosetbuffer.c: Likewise.
7628 * libio/iosetvbuf.c: Likewise.
7629 * libio/ioungetc.c: Likewise.
7630 * libio/ioungetwc.c: Likewise.
7631 * libio/iovdprintf.c: Likewise.
7632 * libio/iovsprintf.c: Likewise.
7633 * libio/iovsscanf.c: Likewise.
7634 * libio/memstream.c: Likewise.
7635 * libio/obprintf.c: Likewise.
7636 * libio/oldfileops.c: Likewise.
7637 * libio/oldiofclose.c: Likewise.
7638 * libio/oldiofdopen.c: Likewise.
7639 * libio/oldiofopen.c: Likewise.
7640 * libio/oldiopopen.c: Likewise.
7641 * libio/oldstdfiles.c: Likewise.
7642 * libio/putc.c: Likewise.
7643 * libio/setbuf.c: Likewise.
7644 * libio/setlinebuf.c: Likewise.
7645 * libio/stdfiles.c: Likewise.
7646 * libio/strops.c: Likewise.
7647 * libio/vasprintf.c: Likewise.
7648 * libio/vscanf.c: Likewise.
7649 * libio/vsnprintf.c: Likewise.
7650 * libio/vswprintf.c: Likewise.
7651 * libio/wfiledoalloc.c: Likewise.
7652 * libio/wfileops.c: Likewise.
7653 * libio/wgenops.c: Likewise.
7654 * libio/wmemstream.c: Likewise.
7655 * libio/wstrops.c: Likewise.
7656 * libio/__fpurge.c: Likewise.
7657 * libio/__fsetlocking.c: Likewise.
7658 * assert/assert.c: Likewise.
7659 * debug/fgets_chk.c: Likewise.
7660 * debug/fgets_u_chk.c: Likewise.
7661 * debug/fread_chk.c: Likewise.
7662 * debug/fread_u_chk.c: Likewise.
7663 * debug/gets_chk.c: Likewise.
7664 * debug/obprintf_chk.c: Likewise.
7665 * debug/vasprintf_chk.c: Likewise.
7666 * debug/vdprintf_chk.c: Likewise.
7667 * debug/vsnprintf_chk.c: Likewise.
7668 * debug/vsprintf_chk.c: Likewise.
7669 * malloc/mtrace.c: Likewise.
7670 * misc/error.c: Likewise.
7671 * misc/syslog.c: Likewise.
7672 * stdio-common/asprintf.c: Likewise.
7673 * stdio-common/fxprintf.c: Likewise.
7674 * stdio-common/getw.c: Likewise.
7675 * stdio-common/isoc99_fscanf.c: Likewise.
7676 * stdio-common/isoc99_scanf.c: Likewise.
7677 * stdio-common/isoc99_vfscanf.c: Likewise.
7678 * stdio-common/isoc99_vscanf.c: Likewise.
7679 * stdio-common/isoc99_vsscanf.c: Likewise.
7680 * stdio-common/printf-prs.c: Likewise.
7681 * stdio-common/printf_fp.c: Likewise.
7682 * stdio-common/printf_fphex.c: Likewise.
7683 * stdio-common/printf_size.c: Likewise.
7684 * stdio-common/putw.c: Likewise.
7685 * stdio-common/scanf.c: Likewise.
7686 * stdio-common/sprintf.c: Likewise.
7687 * stdio-common/tmpfile.c: Likewise.
7688 * stdio-common/vfprintf.c: Likewise.
7689 * stdio-common/vfscanf.c: Likewise.
7690 * stdlib/strfmon_l.c: Likewise.
7691 * sunrpc/openchild.c: Likewise.
7692 * sunrpc/xdr_stdio.c: Likewise.
7693 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7694 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7695
d6c33fda
RM
76962012-05-24 Roland McGrath <roland@hack.frob.com>
7697
c1487492
RM
7698 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7699
7700 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7701 in the third column, to generate for the shared library an IFUNC
7702 that uses _dl_vdso_vsym.
7703 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7704 * Makeconfig (object-suffixes-noshared): New variable.
7705
7706 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7707 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7708 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7709 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7710
d6c33fda
RM
7711 [BZ #14132]
7712 * include/sys/time.h (__gettimeofday): Remove macro.
7713 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7714 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7715 Remove INTDEF.
7716 (__gettimeofday): Add libc_hidden_def.
7717 (gettimeofday): Add libc_hidden_weak.
7718 * sysdeps/mach/gettimeofday.c: Likewise.
7719 * sysdeps/posix/gettimeofday.c: Likewise.
7720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7721 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7723 (__gettimeofday_internal): Remove strong_alias.
7724 (__gettimeofday): Add libc_hidden_def.
7725 (gettimeofday): Add libc_hidden_weak.
7726 * sysdeps/unix/syscalls.list (gettimeofday):
7727 Remove __gettimeofday_internal alias.
7728
b5a2bbe6
L
77292012-05-24 Daniel Jacobowitz <drow@false.org>
7730 H.J. Lu <hongjiu.lu@intel.com>
7731
7732 [BZ #12495]
7733 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7734 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7735 (largebin_index_32_big): New.
7736 (largebin_index): Use it for 16-byte alignment.
7737 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7738 correction with front_misalign.
7739
cfba4fda
L
77402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7741
7f907421
L
7742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7744 Likewise.
7745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7746 Likewise.
7747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7748 Likewise.
7749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7750 Likewise.
7751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7752 Likewise.
7753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7754 Likewise.
7755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7756 Likewise.
7757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7758 Likewise.
7759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7760 Likewise.
7761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7762 Likewise.
7763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7764 Likewise.
7765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7766 Likewise.
7767
cfba4fda
L
7768 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7769 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7770
80bad0cc
JM
77712012-05-24 Joseph Myers <joseph@codesourcery.com>
7772
7a25eb06
JM
7773 [BZ #10846]
7774 [BZ #14036]
7775 * math/libm-test.inc (exp_test): Add test from bug 14036.
7776 (pow_test): Add test from bug 10846.
7777
795405f9
JM
7778 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7779 and other flags.
7780 (special_function): Do not include flags in test name.
7781 (parse_args): Likewise.
7782 * sysdeps/i386/fpu/libm-test-ulps: Update.
7783 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7784 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7785 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7787
80bad0cc
JM
7788 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7789 exceptions.
7790 * math/libm-test.inc ("Philosophy"): Update comment about
7791 exception testing.
7792 (UNDERFLOW_EXCEPTION): New macro.
7793 (UNDERFLOW_EXCEPTION_OK): Likewise.
7794 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7795 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7796 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7797 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7798 (INVALID_EXCEPTION_OK): Update value.
7799 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7800 (OVERFLOW_EXCEPTION_OK): Likewise.
7801 (IGNORE_ZERO_INF_SIGN): Likewise.
7802 (test_exceptions): Handle underflow exceptions.
7803 (acos_test): Update for underflow exception expectations.
7804 (cexp_test): Likewise.
7805 (clog_test): Likewise.
7806 (clog10_test): Likewise.
7807 (csqrt_test): Likewise.
7808 (ctan_test): Likewise.
7809 (ctanh_test): Likewise.
7810 (exp_test): Likewise.
7811 (exp10_test): Likewise.
7812 (exp2_test): Likewise.
7813 (expm1_test): Likewise.
7814 (fma_test): Likewise.
7815 (j0_test): Likewise.
7816 (jn_test): Likewise.
7817 (nexttoward_test): Likewise.
7818 (pow_test): Likewise.
7819 (scalbn_test): Likewise.
7820 (scalbln_test): Likewise.
7821 (tan_test): Likewise.
7822 (y1_test): Likewise.
7823 * sysdeps/i386/fpu/libm-test-ulps: Update.
7824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7825
9e0e3d0b
DM
78262012-05-23 David S. Miller <davem@davemloft.net>
7827
7828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7829 (__libc_sigaction): Remove unused local variables.
7830
ccd0a08f
L
78312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7832
7833 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7834
62bdf9a6
PE
78352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7836
f8591f80
PE
7837 mktime: avoid signed integer overflow
7838 * time/mktime.c (__mktime_internal): Do not mishandle the case
7839 where diff == INT_MIN.
7840
94c7d826
PE
7841 mktime: simplify computation of average
7842 * time/mktime.c (ranged_convert): Use new time_t_avg function
7843 instead of rolling our own (probably-slower) code.
7844
ce73d683
PE
7845 mktime: do not assume signed right shift propagates sign bit
7846 * time/mktime.c (isdst_differ): New static function.
7847 (__mktime_internal): No need to normalize tm_isdst now.
7848 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7849 tm_isdst values.
7850
72a22e59
PE
7851 mktime: merge another wrapv change from gnulib
7852 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7853 from some compilers.
7854
68605433
PE
7855 mktime: remove incorrect attempt at unusual arithmetics
7856 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7857 The code didn't really work on such machines anyway.
7858 (TYPE_MINIMUM): Assume two's complement.
7859 (twos_complement_arithmetic): Verify that long_int and time_t
7860 are two's complement (or unsigned, in the latter case).
7861
03cf7fe3
PE
7862 mktime: check signed shifts on long_int and time_t, too
7863 * time/mktime.c (SHR): Check that shifts work as desired
7864 on the types long_int and time_t too, as SHR is used on
7865 such types.
7866
f04dfbc2
PE
7867 mktime: do not assume 'long' is wide enough
7868 * time/mktime.c (verify): Move decl up.
7869 (long_int): New type.
7870 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7871 to remove assumption in the code that 'long' is wide enough to
7872 store year values. This assumption is not true on x32 and on
7873 some non-glibc platforms.
7874
62bdf9a6
PE
7875 mktime: merge wrapv change from gnulib
7876 * time/mktime.c (WRAPV): New macro.
7877 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7878 (guess_time_tm, __mktime_internal): Do not assume that signed
7879 integer overflow wraps around; modern compilers generate code
7880 where this assumption is no longer valid.
7881
5e292e4f
L
78822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7883
7884 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7885 Replace "jmp L(pseudo_end)" with "ret".
7886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7887 Likewise.
7888
8caf8c87
AJ
78892012-05-23 Andreas Jaeger <aj@suse.de>
7890
7891 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7892 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7893
1a09dc56
AJ
78942012-05-23 Andreas Jaeger <aj@suse.de>
7895 Maximilian Attems <max@stro.at>
7896
7897 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7898 New macros.
7899
1c87aba0
L
79002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7903 code so that pseudo_end is just ret and the stack pointer is
7904 correct also for static library in error case.
7905
40e45bd5
JM
79062012-05-23 Joseph Myers <joseph@codesourcery.com>
7907
c2670533
JM
7908 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7909 move to syscalls.list.
7910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7914
40e45bd5
JM
7915 * manual/install.texi (Running make install): Do not mention Linux
7916 kernel version for which pt_chown is not needed.
7917 (Linux): Do not mention problems with nscd with 2.0 kernels.
7918 * INSTALL: Regenerated.
7919
be08eda5
AJ
79202012-05-23 Andreas Jaeger <aj@suse.de>
7921
7922 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7923 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7924 macro.
7925 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7926 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7927 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7929 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7931 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7933 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7935 * sysdeps/unix/sysv/linux/bits/in.h
7936 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7937
a6a056bb
RM
79382012-05-22 Roland McGrath <roland@hack.frob.com>
7939
7940 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7941 (PREPARE_VERSION): Just use assert instead, it will be elided
7942 under [NDEBUG] anyway.
7943
c9009328
L
79442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7945
7946 * sysdeps/unix/sysv/linux/Makefile: Include
7947 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7948 (sysdep_routines): Remove sysctl.
c9009328
L
7949 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7950 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7951 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7952 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7953 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7954
73338355
AJ
79552012-05-22 Andreas Jaeger <aj@suse.de>
7956
7957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7958 that pseudo_end is just ret and the stack pointer is correct also
7959 for static library in error case.
7960
d44638b0
PP
79612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7962
7963 [BZ #14122]
7964 * nss/nsswitch.c (defconfig_entries): New variable.
7965 (__nss_database_lookup): Don't leak defconfig entries.
7966 (nss_parse_service_list): Don't leak on error paths.
7967 (free_database_entries): New function.
7968 (free_defconfig): New function.
7969 (free_mem): Move common code to free_database_entries.
7970
31a39bd8
L
79712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7972
da0331a8
L
7973 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7974 Add arch_prctl.
7975 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7976
31a39bd8
L
7977 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7978 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7980 New macro.
7981 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7982 (INTERNAL_SYSCALL_TYPES): Likewise.
7983 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7984 (LOAD_REGS_TYPES_[1-6]): Likewise.
7985 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7986 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7987
45470df3
AZ
79882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7989
7990 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7991 copysignl for GLIBC_2_0.
7992 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7993 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7995 logbl for GLIBC_2_0.
7996 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7997 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7998
98a61bcb
L
79992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8000
a4f6e481
L
8001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8002 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8003
f63d5db6
L
8004 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8005 Use "neg %eax".
8006
98a61bcb
L
8007 * time/mktime.c: Update copyright years.
8008
95770f14
PE
80092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8010
6226efbd
PE
8011 mktime: merge comment-quoting-style change from gnulib
8012 * time/mktime.c: Quote 'like this' in comments.
8013 The GNU coding standards suggest that we no longer quote `like this',
8014 as "`" and "'" are typically rendered asymmetrically nowadays.
8015 The typical gnulib style is to quote 'like this' when quoting
8016 code, and "like this" when quoting English.
8017
b99e4f78
PE
8018 * time/mktime.c (compile-command): Add "-I.".
8019
643e01e6
PE
8020 mktime: merge mktime-internal.h change from gnulib
8021 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8022
2554247d
PE
8023 mktime: merge time_r change from gnulib
8024 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8025
826dd0ab
PE
8026 mktime: merge DEBUG change from gnulib
8027 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8028 case system <time.h> has a #define.
8029
bd83aabe
PE
8030 mktime: merge <sys/types.h> change from gnulib
8031 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8032 since <time.t> is now guaranteed to define time_t.
8033
95770f14
PE
8034 mktime: merge HAVE_CONFIG_H change from gnulib
8035 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8036
5e1a27a9
L
80372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8038
0e44a77e
L
8039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8040 Use "neg %eax".
8041
5e1a27a9
L
8042 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8043 __rlim_t cast.
8044 (struct rusage): Use anonymous union to pad each field to
8045 __syscall_slong_t.
8046
46259bec
DM
80472012-05-21 David S. Miller <davem@davemloft.net>
8048
8049 * Makefules (o-iterator): Remove .s cases.
8050 (compile-command.s): Delete.
8051 (COMPILE.s): Delete.
8052 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8053
59f0c22e
JM
80542012-05-21 Joseph Myers <joseph@codesourcery.com>
8055
8056 * configure.in (libc_cv_predef_stack_protector): Only consider
8057 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8058 * configure: Regenerated.
8059
20c07380
L
80602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8061
bbb3154b
L
8062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8063 New macro. Use R*LP on int and pointer.
8064 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8065 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8066 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8067 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8068
20c07380
L
8069 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8070 [__WORDSIZE_TIME64_COMPAT32] instead of
8071 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8072 (struct utmp): Likewise.
8073 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8074 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8075 Renamed to ...
8076 (__WORDSIZE_TIME64_COMPAT32): This.
8077 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8078 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8079 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8081 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8082 (__WORDSIZE_TIME64_COMPAT32): New macro.
8083
d8d1017e
AJ
80842012-05-21 Andreas Jaeger <aj@suse.de>
8085
8086 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8087 only if [SHARED]. Add prototype for __wcschr_ia32.
8088
6c7fb145
RM
80892012-05-21 Roland McGrath <roland@hack.frob.com>
8090
8091 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8092 of %rbp unmolested in the jmp_buf while mangling the low bits.
8093 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8094 unmolested high bits of %rbp while demangling the low bits.
8095 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8096
66274218
AJ
80972012-05-21 Andreas Jaeger <aj@suse.de>
8098
07c58f8f
AJ
8099 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8100 * sunrpc/svc_simple.c: Use it for registerrpc.
8101 * sunrpc/xcrypt.c: Use it for passwd2des.
8102
66274218
AJ
8103 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8104
61f65140
L
81052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8106
8107 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8108 Don't define if [__SYSCALL_WORDSIZE != 32].
8109 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8110 New macro.
8111
5fefb436
AJ
81122012-05-21 Bruno Haible <bruno@clisp.org>
8113 Andreas Jaeger <aj@suse.de>
8114
8115 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8116 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8117 inptr and inend for must_buffer_ch.
8118 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8119 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8120 * stdio-common/Makefile (tests): Remove bug15.
8121 (bug15-ENV): Remove macro.
8122 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8123 anymore.
8124
d8e272ab
AJ
81252012-05-19 Andreas Jaeger <aj@suse.de>
8126 Roland McGrath <roland@hack.frob.com>
8127
8128 * manual/contrib.texi: Completely rewritten. It contains now an
8129 alphabetical list of contributors and their contributions.
8130
4a56a162
RH
81312012-05-21 Richard Henderson <rth@twiddle.net>
8132
8133 * misc/getauxval.c (__getauxval): Use unsigned long int.
8134 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8135 (getauxval): Use unsigned long int.
8136
d024d23c
L
81372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8138
8139 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8140
cbc00a03
RM
81412012-05-21 Roland McGrath <roland@hack.frob.com>
8142
8143 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8144 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8145 __alignof__ (long double).
8146
478143fa
AZ
81472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8148
8149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8150
c7683a6d
RH
81512012-05-20 Richard Henderson <rth@twiddle.net>
8152
8153 * misc/getauxval.c: New file.
8154 * misc/sys/auxv.h: New file.
8155 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8156 (routines): Add getauxval.
8157 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8158 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8159 * elf/dl-sysdep.c (_dl_auxv): Remove.
8160 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8161 * elf/dl-support.c (_dl_auxv): New variable.
8162 (_dl_aux_init): Initialize it.
8163 * manual/startup.texi (Auxiliary Vector): New node.
8164 * sysdeps/generic/bits/hwcap.h: New file.
8165 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8166 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8167 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8168 * sysdeps/sparc/sysdep.h: ... here. Include it.
8169 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8170 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8172 Update.
c7683a6d
RH
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8181
a6f1845d
AZ
81822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183
8184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8185
cbcbe830
DM
81862012-05-19 David S. Miller <davem@davemloft.net>
8187
8188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8189
e0b16cc2
JM
81902012-05-19 Joseph Myers <joseph@codesourcery.com>
8191
8192 [BZ #14123]
8193 * math/s_ccosh.c: Include <float.h>
8194 (__ccosh): Avoid internal overflow calculating sinh and cosh
8195 values before multiplying by sin and cos values.
8196 * math/s_ccoshf.c: Likewise.
8197 * math/s_ccoshl.c: Likewise.
8198 * math/s_csin.c: Likewise.
8199 * math/s_csinf.c: Likewise.
8200 * math/s_csinl.c: Likewise.
8201 * math/s_csinh.c: Likewise.
8202 * math/s_csinhf.c: Likewise.
8203 * math/s_csinhl.c: Likewise.
8204 * math/libm-test.inc (ccos_test): Add more tests.
8205 (ccosh_test): Likewise.
8206 (csin_test): Likewise.
8207 (csinh_test): Likewise.
8208 * sysdeps/i386/fpu/libm-test-ulps: Update.
8209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8210
6ad13e08
L
82112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8212
f66f0ce8
L
8213 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8214 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8215
6ad13e08
L
8216 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8217
b1d072a7
JM
82182012-05-19 Joseph Myers <joseph@codesourcery.com>
8219
8220 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8221 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8222 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8223 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8224 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8225 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8226 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8227 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8228 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8229 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8230 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8231 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8232 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8233 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8234 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8235 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8236 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8237 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8238 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8239 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8240 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8241 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8242 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8243 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8244 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8245 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8246 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8247 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8248 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8249 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8250 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8251
9eae47cb
AJ
82522012-05-18 Andreas Jaeger <aj@suse.de>
8253
8254 * csu/.gitignore: Delete.
8255
bb07f69f
L
82562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8257
8258 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8259 (timex): Use __syscall_slong_t.
8260
e6bdb741
AJ
82612012-05-18 Andreas Jaeger <aj@suse.de>
8262 Carlos O'Donell <carlos_odonell@mentor.com>
8263
8264 * manual/install.texi (Configuring and compiling): Update
8265 description about files modified in the source directory.
d6c33fda 8266 * INSTALL: Regenerated.
e6bdb741 8267
1b74487e
L
82682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8269
8270 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8271 value. Use "or" to set return value to -1.
8272 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8273 negate return value.
8274
a88b64b9
TMQMF
82752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8276
8277 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8278 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8279 failure if the compiler has Graphite support disabled.
8280 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8281 Likewise.
8282 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8283 CFLAGS-memmove.c): Likewise.
8284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8285 Likewise.
8286
3707636e
L
82872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8288
610b8622
L
8289 * sysdeps/x86_64/x32/_itoa.h: New file.
8290
7cd195df
L
8291 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8292 getdents system call only if kernel and user dirents have the
8293 same d_ino and d_off.
8294
94b07d20
L
8295 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8296 LLONG_MAX != LONG_MAX.
8297 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8298 (_fitoa_word): Likewise.
8299
18298070
L
8300 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8301 years.
8302 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8303 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8304 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8305
553c7ea4
L
8306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8307 include <bits/wordsize.h>. Check __x86_64__ instead of
8308 __WORDSIZE.
8309 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8310 if __x86_64__ is defined. Use anonymous union on fpstate.
8311
3707636e
L
8312 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8313 anonymous union.
8314
b53ef01a
AS
83152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8316
37fb1dc0
AS
8317 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8318 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8319 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8320 Refer to _rtld_local_ro instead of _rtld_global_ro.
8321 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8322 Likewise.
8323 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8324 Likewise.
8325 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8326 Likewise.
8327 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8328 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8329 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8330
b53ef01a
AS
8331 * sysdeps/powerpc/powerpc32/dl-machine.c
8332 (__elf_machine_runtime_setup) [PROF]: Don't reference
8333 _dl_prof_resolve.
8334
7a185db2
AJ
83352012-05-18 Andreas Jaeger <aj@suse.de>
8336
8337 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8338 function only available for GCCs before 3.4 since GCC 3.4
8339 introduced a builtin.
8340 (lrint): Likewise.
8341 (llrintf): Likewise.
8342 (llrint): Likewise.
8343 (fmaxf): Likewise.
8344 (fmax): Likewise.
8345 (fminf): Likewise.
8346 (fmin): Likewise.
8347 (rint): Likewise.
8348 (rintf): Likewise.
8349 (nearbyint): Likewise.
8350 (nearbyintf): Likewise.
8351 (ceil): Likewise.
8352 (ceilf): Likewise.
8353 (floor): Likewise.
8354 (floorf): Likewise.
8355
3e5aef87
L
83562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8357
428bd707
L
8358 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8359 on both fields and cast pointer to __syscall_ulong_t.
8360
3e5aef87
L
8361 * bits/types.h (__fsword_t): New type.
8362 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8363 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8365 (__FSWORD_T_TYPE): Likewise.
8366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8367 (__FSWORD_T_TYPE): Likewise.
8368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8369 (__FSWORD_T_TYPE): Likewise.
8370 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8371 (__FSWORD_T_TYPE): Likewise.
8372 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8373 __SWORD_TYPE with __fsword_t.
8374 (statfs64): Likewise.
8375
1ba7c3dc
DM
83762012-05-17 David S. Miller <davem@davemloft.net>
8377
8378 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8379
59910343
AJ
83802012-05-17 Andreas Jaeger <aj@suse.de>
8381
8382 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8383 warning.
8384
2e4c1e9e
L
83852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8386
8387 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8388
de7f5ce7
AJ
83892012-05-17 Andreas Jaeger <aj@suse.de>
8390
8391 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8392 when it is used.
8393
286abc3d
CM
83942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8395
8396 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8397
477cc68e
L
83982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8399
8400 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8401 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8402
1a0994f5
CD
84032012-05-17 Andreas Jaeger <aj@suse.de>
8404 Carlos O'Donell <carlos_odonell@mentor.com>
8405
8406 [BZ #14059]
8407 * sysdeps/x86_64/multiarch/init-arch.h
8408 (bit_YMM_Usable): Rename to...
8409 (bit_AVX_Usable): ... this.
8410 (bit_FMA4_Usable): New macro.
8411 (bit_XMM_state): New macro.
8412 (bit_YMM_state): New macro.
8413 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8414 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8415 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8416 (CPUID_OSXSAVE): New macro.
8417 (CPUID_AVX): New macro.
8418 (CPUID_FMA4): New macro.
8419 (index_YMM_Usable): Rename to...
8420 (index_AVX_Usable): ... this.
8421 (HAS_AVX): Use HAS_ARCH_FEATURE.
8422 (HAS_FMA4): Likewise.
8423 (HAS_YMM_USABLE): Remove.
8424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8425 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8426 are present.
8427 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8428 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8429 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8430 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8431 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8432
0af797de
CM
84332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8434
8435 * math/libm-test.c: Support platforms without multiple rounding modes.
8436 * math/bug-nextafter.c: Support platforms without FP exceptions.
8437 * math/bug-nexttoward.c: Likewise.
8438 * math/test-fenv.c: Likewise.
8439 * math/test-misc.c: Likewise.
8440 * stdlib/bug-getcontext.c: Likewise.
8441
e39745ff
AJ
84422012-05-17 Andreas Jaeger <aj@suse.de>
8443
8444 * manual/examples/search.c (critter_cmp): Change signature to
8445 avoid warnings.
8446 * manual/string.texi (Collation Functions): Likewise.
8447
48970aba
L
84482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8449
8450 * bits/types.h: Fold copyright years.
8451 * bits/typesizes.h: Likewise.
8452 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8453 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8454 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8456 * time/time.h: Likewise.
8457
bedee953
PP
84582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8459
8460 [BZ #208]
8461 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8462 in instead of returning them. Return void.
8463 (__libc_mallinfo): Accumulate over all arenas.
8464 (__malloc_stats): Adjust for change in int_mallinfo interface.
8465
61653dfb
RM
84662012-05-16 Roland McGrath <roland@hack.frob.com>
8467
30b99d79
RM
8468 [BZ #10375]
8469 * configure.in (NM): Add AC_CHECK_TOOL for it.
8470 (libc_extra_cflags): New substituted variable.
8471 Check for -fstack-protector being used implicitly.
8472 * configure: Regenerated.
8473 * config.make.in (config-extra-cflags): New variable,
8474 gets @libc_extra_cflags@.
8475 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8476
61653dfb
RM
8477 [BZ #10375]
8478 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8479 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8480 * configure: Regenerated.
8481 * config.make.in (CPPUNDEFS): New substituted variable.
8482 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8483 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8484 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8485
661768bb
L
84862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8487
8488 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8489 (mq_attr): Use __syscall_slong_t.
8490
d4261567
L
84912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8492
8493 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8494 Check __x86_64__ instead of __WORDSIZE.
8495 (_STAT_VER_LINUX): Likewise.
8496 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8497 __syscall_ulong_t and __syscall_slong_t.
8498 (stat64): Likewise.
8499
cf3ff365
L
85002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8503
76cf3e4d
L
85042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8505
8506 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8507
a637753a
L
85082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8511 __syscall_ulong_t.
8512
d5e05119
L
8513 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8514 include <bits/wordsize.h>. Check __x86_64__ instead of
8515 __WORDSIZE.
8516 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8517 defined.
8518 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8519
f62ee380
L
8520 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8521 include <bits/wordsize.h>. Check __x86_64__ instead of
8522 __WORDSIZE.
8523 (user_regs_struct): Use "__extension__ unsigned long long"
8524 instead of "unsigned long" if __x86_64__ is defined.
8525 (user): Likewise. Pad after pointer field if __ILP32__ is
8526 defined.
8527
4e124ced
JM
85282012-05-16 Joseph Myers <joseph@codesourcery.com>
8529
6a3951a0
JM
8530 * configure.in (makeinfo): Require version 4.5 or later. Allow
8531 versions 5 to 9.
8532 * configure: Regenerated.
8533 * manual/install.texi (texinfo): Increase version requirement to
8534 4.5 or later.
8535 * INSTALL: Regenerated.
8536
4e124ced
JM
8537 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8538
953ca31a
L
85392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8542
617aca05
L
8543 * sysdeps/x86_64/x32/ffs.c: New file.
8544
5762f7ae
L
8545 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8546 __syscall_ulong_t.
8547 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8548 defined. Use __syscall_ulong_t.
8549 (shminfo): Use __syscall_ulong_t.
8550 (shm_info): Likewise.
8551
a26b6856
L
8552 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8553 __syscall_ulong_t.
8554
cb2b9ef7
L
8555 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8556 <bits/wordsize.h>.
8557 (msgqnum_t): Use __syscall_ulong_t.
8558 (msglen_t): Likewise.
8559 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8560 __syscall_ulong_t.
8561
34683bb0
L
8562 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8563 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8564
84a68786
L
8565 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8566
48baa5f1
L
8567 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8568 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8569
180be88b
L
8570 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8571 __syscall_slong_t.
8572
5e90c8ad
L
8573 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8574 include <bits/wordsize.h>. Check __x86_64__ instead of
8575 __WORDSIZE.
8576
23dfb58b
L
8577 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8578 "unsigned long long int" if __x86_64__ is defined.
8579 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8580
ce5d54b0
L
8581 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8582 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8583 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8584
13dc9eac
L
8585 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8586 <stdint.h>.
8587 (GET_PC): Cast to uintptr_t first.
8588 (GET_FRAME): Likewise.
8589 (GET_STACK): Likewise.
8590
a7895d15
L
8591 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8593 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8594 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8595 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8596 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8597 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8598 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8599 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8600 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8601 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8604 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8605 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8606 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8607 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8608 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8609 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8610 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8611 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8612 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8613 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8614 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8615 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8616 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8617 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8618 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8619 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8620
656416c9
AS
86212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8622
5bd66283
AS
8623 * Makerules (+depfiles): Also collect depfiles from .oS in
8624 $(extra-objs).
8625 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8626 .oS, $(libnldbl-routines)).
8627
656416c9
AS
8628 * Makerules (native-compile-mkdep-flags): Define.
8629 * sunrpc/Makefile (extra-objs): Add $(addprefix
8630 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8631 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8632 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8633 calling $(make-target-directory).
8634
a46f2169
L
86352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8636
8637 * bits/types.h (__snseconds_t): Removed.
8638 * time/time.h (struct timespec): Replace __snseconds_t with
8639 __syscall_slong_t.
8640 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8641 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8642 Likewise.
8643 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8644 (__SNSECONDS_T_TYPE): Likewise.
8645 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8646 (__SNSECONDS_T_TYPE): Likewise.
8647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8648 (__SNSECONDS_T_TYPE): Likewise.
8649
6af6528b
L
86502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8651
8652 * sysdeps/mach/hurd/bits/typesizes.h
8653 (__SYSCALL_SLONG_TYPE): New macro.
8654 (__SYSCALL_ULONG_TYPE): Likewise.
8655
de986b56
L
86562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8657
8658 * bits/types.h (__syscall_slong_t): New type.
8659 (__syscall_ulong_t): Likewise.
8660
8661 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8662 (__SYSCALL_ULONG_TYPE): Likewise.
8663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8664 (__SYSCALL_SLONG_TYPE): Likewise.
8665 (__SYSCALL_ULONG_TYPE): Likewise.
8666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8667 (__SYSCALL_SLONG_TYPE): Likewise.
8668 (__SYSCALL_ULONG_TYPE): Likewise.
8669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8670 (__SYSCALL_SLONG_TYPE): Likewise.
8671 (__SYSCALL_ULONG_TYPE): Likewise.
8672
85736dc7
L
86732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8674
8675 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8676 Add sigaltstack-offsets.sym.
8677 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8678 <sigaltstack-offsets.h>.
8679 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8680 longjmp_msg pointer.
8681 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8682 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8683 signal stack.
8684 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8685
cc03b296
JM
86862012-05-15 Joseph Myers <joseph@codesourcery.com>
8687
a9538892
JM
8688 * elf/stackguard-macros.h: Remove file.
8689 * sysdeps/generic/stackguard-macros.h: New file.
8690 * sysdeps/i386/stackguard-macros.h: Likewise.
8691 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8692 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8693 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8694 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8695 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8696 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8697 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8698 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8699 <elf/stackguard-macros.h>.
8700
cc03b296
JM
8701 [BZ #14109]
8702 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8703 __aligned__ in attribute.
8704 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8705 (gregset_t): Likewise.
8706
93171016
L
87072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8708
8709 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8710 * sysdeps/x86_64/64/Implies-after: Here. New file.
8711 * sysdeps/x86_64/x32/Implies-after: New file.
8712
d86813a0
L
87132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8714
8715 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8716 and access return value for _dl_profile_fixup. Use R10_LP to
8717 load frame size.
8718
2953ec75
L
87192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8720
8721 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8722
3b550e9e
L
87232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8726 * sysdeps/x86_64/x32/sysdep.h: New file.
8727
eda41706
L
87282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8731 * sysdeps/x86_64/setjmp.S: Likewise.
8732
9ea01d93
AZ
87332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8734
8735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8736 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8737 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8738 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8739 remove unused global constant.
8740
02a91938
CM
87412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8742
8743 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8744 include of <not-cancel.h>.
8745
6540185f
RM
87462012-05-15 Roland McGrath <roland@hack.frob.com>
8747
8748 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8749
509072a0
AJ
87502012-05-15 Jeff Law <law@redhat.com>
8751 Andreas Jaeger <aj@suse.de>
8752
8753 [BZ #13594]
8754 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8755 out from...
8756 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8757 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8758 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8759 code changing __hst_map_handle.map.
8760
ba75122d
RM
87612012-05-15 Roland McGrath <roland@hack.frob.com>
8762
8763 * configure.in (sysnames): Look for Implies-before and Implies-after
8764 files.
8765 * configure: Regenerated.
8766
890d8bd8
L
87672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8768
8769 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8770 8-byte data alignment with LP_SIZE alignment.
8771
f6ee6623
L
87722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8775 into R10_LP.
8776
ea2626f6
L
87772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8778
8779 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8780
085f715e
L
87812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8784 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8785 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8786 Likewise.
8787 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8788
be8498fc
L
87892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8790
8791 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8792 (stackinfo_sub_sp): Likewise.
8793
70bc83b9
L
87942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8795
8796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8797 RAX_LP.
8798
9bc0b730
L
87992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8800
8801 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8802 into R*_LP.
8803
6d2850e7
L
88042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8807 sizes into R*_LP.
8808
3cb84561
L
88092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8812
54e2ed81
L
88132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8814
8815 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8816 into R11_LP and load __x86_64_shared_cache_size_half into
8817 R8_LP.
8818
8a17f349
L
88192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8820
8821 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8822 R8_LP.
8823
777b1eea
AZ
88242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8825
8826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8827 logb for POWER7.
8828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8829 logbf for POWER7.
8830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8831 logbl for POWER7.
8832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8833 powerpc32/power7/fpu/s_logb.c via #include.
8834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8835 powerpc32/power7/fpu/s_logbf.c via #include.
8836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8837 powerpc32/power7/fpu/s_logbl.c via #include.
8838
d20d4ac2
JM
88392012-05-15 Joseph Myers <joseph@codesourcery.com>
8840
8841 * README.libm: Remove file.
8842
6cdef1ab
L
88432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8844
8845 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8846 count for x32. Use R*_LP and omit operand-size suffix.
8847
0b254d8f
L
88482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8849
8850 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8851 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8852 * sysdeps/x86_64/x32/shlib-versions: New file.
8853
ceb809dc
RM
88542012-05-14 Roland McGrath <roland@hack.frob.com>
8855
8856 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8857 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8858 Use _dl_fatal_printf instead.
8859
37f1abd4
JM
88602012-05-14 Joseph Myers <joseph@codesourcery.com>
8861
8862 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8863 set if not set by the user. Do not allow for being unset.
8864 * sysdeps/unix/sysv/linux/configure: Regenerated.
8865
11de3a33
L
88662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8867
8868 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8869 the `q' suffix from lea and replace .quad with ASM_ADDR.
8870
e02f153a
L
88712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8872
8873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8874 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8875 instead of $17.
8876 (PTR_DEMANGLE): Likewise.
8877
520ae0fd
L
88782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8879
8880 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8881 (LP_OP): Likewise.
8882 (ASM_ADDR): Likewise.
8883 (RAX_LP): Likewise.
8884 (RBP_LP): Likewise.
8885 (RBX_LP): Likewise.
8886 (RCX_LP): Likewise.
8887 (RDI_LP): Likewise.
8888 (RSI_LP): Likewise.
8889 (RSP_LP): Likewise.
8890 (R8_LP): Likewise.
8891 (R9_LP): Likewise.
8892 (R10_LP): Likewise.
8893 (R10_LP): Likewise.
8894 (R11_LP): Likewise.
8895 (R12_LP): Likewise.
8896 (R13_LP): Likewise.
8897 (R14_LP): Likewise.
8898 (R15_LP): Likewise.
8899
b985be81
L
89002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8901
8902 * sysdeps/x86_64/x32/dl-machine.h: New file.
8903
6a4888ff
AJ
89042012-05-14 Andreas Jaeger <aj@suse.de>
8905
8906 * manual/Makefile (subdir): Remove export of subdir.
8907 (all): Remove target.
8908 (.PHONY): Remove all from list.
8909 (mkinstalldirs): Remove.
8910 (.PHONY): Remove installdirs from list.
8911 ($(inst_infodir)/libc.info): Use make-target-directory.
8912 (installdirs): Remove.
8913 (subdir_%): Remove.
8914 (glibc-targets): Remove.
8915 (lib): Remove.
8916 (stubs): Remove.
8917 ($(objpfx)stubs ../po/manual.pot): Remove.
8918 ($(objpfx)stamp%): Remove.
8919 (make-target-directory): Remove.
8920 (subdir_install): Remove.
8921 (routines): Remove.
8922 (aux): Remove.
8923 (sources): Remove.
8924 (objects): Remove.
8925 (headers): Remove.
8926
8927 [BZ #13750]
8928 * manual/.gitignore: Remove, it's not needed anymore.
8929 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8930 all files in it.
8931 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8932 directory.
8933 (texis): Renamed to $(objpfx)texis.
8934 (texis-path): New, contains path to generated files.
8935 (chapters.%): Use texis-path for complete path, add extra argument
8936 libc-texinfo.sh.
8937 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8938 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8939 (summary,texi, stamp-summary): Use complete path of
8940 files. Generate files in build dir.
8941 (dir-add.texi): Build in build dir.
8942 (libm-err.texi,stamp-libm-err): Likewise.
8943 (version.texi, stamp-version): Likewise.
8944 (.%c.texi): Likewise.
8945 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8946 (mostlyclean): Remove target.
8947 (realclean): Remove target.
8948 (generated): Add new variable with contents from mostlyclean and
8949 realclean, remove entries duplicated in common-mostlyclean, add
8950 stamp-libm-err and stamp-version.
8951 (generated-dirs): Add libc directory.
8952 ($(inst_infodir)/libc.info): Install files from build dir.
8953
8954 * manual/install.texi (Configuring and compiling): Adjust since
8955 the info files are not part of the tar ball anymore.
8956
7ac77294
AJ
89572012-05-14 Andreas Jaeger <aj@suse.de>
8958
8959 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8960 variable.
8961
ffb7875d
JM
89622012-05-14 Joseph Myers <joseph@codesourcery.com>
8963
8964 [BZ #13717]
8965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8966 to 2.2.0 where earlier.
8967 * sysdeps/unix/sysv/linux/configure: Regenerated.
8968 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8969 Remove conditional code.
8970 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8971 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8972 Remove conditional code.
8973 [!__NR_lchown]: Likewise.
8974 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8975 [__NR_lchown]: Likewise.
8976 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8977 comment referencing __ASSUME_LCHOWN_SYSCALL.
8978 * sysdeps/unix/sysv/linux/i386/sigaction.c
8979 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8980 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8981 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8982 Remove conditional code.
8983 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8984 (__protocol_available): Remove #if 0 code.
8985 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8986 conditional code.
8987 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8988 * sysdeps/unix/sysv/linux/kernel-features.h
8989 (__ASSUME_GETCWD_SYSCALL): Don't define.
8990 (__ASSUME_REALTIME_SIGNALS): Likewise.
8991 (__ASSUME_PREAD_SYSCALL): Likewise.
8992 (__ASSUME_PWRITE_SYSCALL): Likewise.
8993 (__ASSUME_POLL_SYSCALL): Likewise.
8994 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8995 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8996 non-SPARC.
8997 (__ASSUME_SIOCGIFNAME): Don't define.
8998 (__ASSUME_MSG_NOSIGNAL): Likewise.
8999 (__ASSUME_SENDFILE): Define unconditionally.
9000 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9001 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9002 conditional code.
9003 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9004 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9005 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9006 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9007 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9008 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9009 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9011 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9014 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9017 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9023 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9026 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9029 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9034 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9035 Remove conditional code.
9036 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9037 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9038 Remove conditional code.
9039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9040 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9041 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9042 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9043 Remove conditional code.
9044 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9045 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9046 Remove conditional code.
9047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9048 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9049 Remove conditional code.
9050 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9051 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9052 Remove conditional code.
9053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9054 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9055 Remove conditional code.
9056 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9057 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9058 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9060 * sysdeps/unix/sysv/linux/sigaction.c
9061 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9062 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9063 * sysdeps/unix/sysv/linux/sigpending.c
9064 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9065 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9066 * sysdeps/unix/sysv/linux/sigprocmask.c
9067 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9068 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9069 * sysdeps/unix/sysv/linux/sigsuspend.c
9070 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9071 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9072 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9073 (__libc_missing_rt_sigs): Remove.
9074 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9075 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9076 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9077 Remove conditional code.
9078 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9079 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9080 return 1.
9081 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9082 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9083 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9084 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9085
1bfb7291
AJ
90862012-05-14 Andreas Jaeger <aj@suse.de>
9087
caae5a81
AJ
9088 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9089 it's not used in glibc.
9090 (__coshm1): Likewise.
9091 (__acosh1p): Likewise.
9092 (__sgn): Likewise.
9093
1bfb7291
AJ
9094 * manual/string.texi (Copying and Concatenation): Add missing
9095 variable in concat example.
9096 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9097
c044d724
L
90982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9099
144c5467 9100 [BZ #14103]
c044d724
L
9101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9102 __builtin_clzl with __builtin_clzll.
9103
2523c62b
L
91042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 [BZ #14104]
9107 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9108 libc_freeres_ptr.
9109
d7bb4c42
LD
91102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9111
9112 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9113 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9114 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9115 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9116
9dc4e1fb
MF
91172012-05-14 Mike Frysinger <vapier@gentoo.org>
9118
9119 * NEWS: Update ia64 info.
9120
c7df0112
AS
91212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9122
9123 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9124 used as bcopy.
9125
dc70356c
TS
91262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9127
9128 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9129 * sysdeps/unix/syscalls.list (dup3): Likewise.
9130 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9131 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9132
9fb1a21f
L
91332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9134
9135 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9136 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9137
4822a2a5
L
91382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9141 thread pointer.
9142 (TLS_IE): Use mov/add instead of movq/addq to load thread
9143 pointer.
9144 (TLS_GD_PREFIX): New.
9145 (TLS_GD): Use it.
9146
842b81d6
DM
91472012-05-11 David S. Miller <davem@davemloft.net>
9148
9149 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9150 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9151 (_FPU_SETCW): Likewise.
9152
1cf463cd
L
91532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9154
9155 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9156 is 32-byte aligned.
9157
60cc4a18
AS
91582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9159
9160 [BZ #11837]
9161 * iconvdata/gb18030.c: Update tables.
9162 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9163 characters specially.
9164 (BODY for TO_LOOP): Add encoding of missing ranges.
9165
febb44a4
TS
91662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9167
9168 [BZ #13673]
9169 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9170 * sysdeps/mach/hurd/dup3.c: Likewise.
9171 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9172 * sysdeps/powerpc/memmove.c:: Likewise.
9173
0a10fb9e
L
91742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9175
9176 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9177 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9178
df8a552f
L
91792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * elf/elf.h (R_X86_64_RELATIVE64): New.
9182 (R_X86_64_NUM): Updated.
9183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9184 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9185 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9186 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9187 tst-quad1pie tst-quad2pie
9188 (modules-names): Add tst-quadmod1 tst-quadmod2.
9189 ($(objpfx)tst-quad1): New dependency.
9190 ($(objpfx)tst-quad2): Likewise.
9191 ($(objpfx)tst-quad1pie): Likewise.
9192 ($(objpfx)tst-quad2pie): Likewise.
9193 * sysdeps/x86_64/tst-quad1.c: New file.
9194 * sysdeps/x86_64/tst-quad1pie.c: New file.
9195 * sysdeps/x86_64/tst-quad2.c: Likewise.
9196 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9197 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9198 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9199 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9200 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9201
f34d6f84
ST
92022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9203
f42d41d1
ST
9204 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9205 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9206 * streams/stropts.h (t_scalar_t): Define type.
9207
3c3571fc
ST
9208 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9209 (_PATH_PRESERVE): Set to "/var/lib".
9210 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9211
61f06bd3
ST
9212 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9213 instead of int.
9214
918d4d71
ST
9215 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9216 if __dir_mkfile succeeded.
9217
f34d6f84
ST
9218 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9219 checking for _hurd_dtablesize. Unlock it right after having
9220 finished _hurd_dtable allocation.
9221
10589b4a
TS
92222012-05-10 Thomas Schwinge <thomas@schwinge.name>
9223
674cdbc7
TS
9224 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9225 * sysdeps/mach/hurd/configure: Regenerated.
9226 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9227 special-casing to...
9228 * sysdeps/gnu/configure.in: ... this new file.
9229 * sysdeps/unix/sysv/linux/configure: Regenerated.
9230 * sysdeps/gnu/configure: New generated file.
9231
8e41b99f
TS
9232 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9233 for Linux: use nsec instead of usec, as well as:
9234 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9235 members of type struct timespec.
9236 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9237 New macros.
9238 (struct stat64): Likewise.
9239 (_STATBUF_ST_NSEC): New macro.
9240 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9241
10589b4a
TS
9242 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9243 __strtoul_internal rather than strtoul.
9244
63643c85
PT
92452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9246
9247 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9248 and reject them.
9249
3faebe6a
ST
92502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9251
9252 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9253 which preserves existing values.
9254 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9255
c6474b07
PT
92562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9257
9258 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9259 TIMEOUT values. Return EINVAL for NFDS values either negative or
9260 greater than FD_SETSIZE.
9261
1043890b
ST
92622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9263
9264 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9265 allocated, call __vm_protect to finish enabling the existing space, and
9266 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9267 allocate the remainder.
9268
37ed8b9b
PT
92692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9270
9271 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9272 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9273
db653660
ST
92742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9275
37ed8b9b
PT
9276 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9277 sysdeps/mach/hurd/readlink.c.
b29d4053 9278
db653660
ST
9279 * posix/tst-sysconf.c (posix_options): Only use
9280 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9281 _POSIX_SYNCHRONIZED_IO when they are defined
9282 * sysdeps/mach/hurd/bits/posix_opt.h:
9283 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9284 (_XOPEN_REALTIME): Undefine macro.
9285 (_XOPEN_REALTIME_THREADS): Undefine macro.
9286 (_XOPEN_SHM): Undefine macro.
9287 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9288 macro to -1.
9289 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9290 macro to -1.
9291 (_POSIX_ASYNC_IO): Undefine macro.
9292 (_POSIX_PRIORITIZED_IO): Undefine macro.
9293 (_POSIX_SPIN_LOCKS): Define macro to -1.
9294
ee16e894
ST
9295 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9296 SA_NODEFER, SA_RESETHAND.
9297 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9298 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9299 F_DUPFD_CLOEXEC.
9300
6103ae3b
TS
93012012-05-10 Thomas Schwinge <thomas@schwinge.name>
9302
9303 * elf/Makefile (pldd-modules): Define unconditionally.
9304
80b4e5f3
TS
93052012-05-10 Thomas Schwinge <thomas@schwinge.name>
9306
9307 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9308
edadcbd6
ST
93092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9310
9311 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9312 Return ENOENT when name is empty.
9313 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9314
80694780
TS
93152012-05-10 Thomas Schwinge <thomas@schwinge.name>
9316
1792c087
TS
9317 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9318
80694780
TS
9319 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9320
6b645f0d
ST
93212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9322
80694780
TS
9323 Fix mlock in all cases except non-readable pages.
9324 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9325 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9326
6b645f0d
ST
9327 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9328 (__mkdir): When path is `/', just fail with EEXIST.
9329 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9330
e468f8a3
TS
93312012-05-10 Thomas Schwinge <thomas@schwinge.name>
9332
9333 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9334 <sys/uio.h> (for writev).
9335 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9336 and <sys/param.h> (for MIN).
9337
a4186cff
PT
93382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9339
9340 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9341 REQUESTED_TIME. Properly set the remaining time and return EINTR
9342 if interrupted.
9343
510bbf14
TS
93442012-05-10 Thomas Schwinge <thomas@schwinge.name>
9345
9346 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9347 Depend on against $(link-rpcuserlibs).
9348
5d5722e8
ST
93492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9350
a4186cff
PT
9351 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9352 (__libc_stack_end): Do not use attribute_relro.
9353 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9354 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9355 to libthread-provided value.
a4186cff
PT
9356 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9357 attribute_relro.
5d5722e8 9358
37233df9
TS
93592012-05-10 Thomas Schwinge <thomas@schwinge.name>
9360
be971a2b
TS
9361 [BZ #3748]
9362 * bits/libc-lock.h (__libc_once_get): New macro.
9363 * sysdeps/mach/bits/libc-lock.h: Likewise.
9364 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9366 instead of using implementation details.
9367
37233df9
TS
9368 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9369 * libio/freopen.c: Likewise.
9370 * libio/freopen64.c: Likewise.
9371 * misc/syslog.c: Likewise.
9372 * nscd/connections.c: Likewise.
9373 * nscd/netgroupcache.c: Likewise.
9374 * sysdeps/posix/getcwd.c: Likewise.
9375
38de94a5
RM
93762012-05-10 Roland McGrath <roland@hack.frob.com>
9377
9378 * math/w_ilogbf.c: Add #include <limits.h>.
9379
67530489
ST
93802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9381
a4186cff 9382 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9383 path instead of returning without unlocking.
9384
67530489
ST
9385 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9386 immediate-write ioctls.
9387 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9388
5aa3a74a
TS
93892012-05-10 Thomas Schwinge <thomas@schwinge.name>
9390
18bad2ae
TS
9391 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9392 __builtin_frame_address instead of making assumptions about the
9393 location of the return address relative to DATA. Force early load of
9394 the return address.
9395 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9396 __builtin_frame_address.
9397
5aa3a74a
TS
9398 dup3 for GNU Hurd.
9399 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9400 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9401 implement dup3 and do some further code clean-ups.
9402 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9403 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9404
ecd0de9a
ST
94052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9406
cd9fa985
ST
9407 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9408
a4186cff
PT
9409 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9410 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9411 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9412 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9413 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9414 d->port.lock.
802ca5a5 9415
a4186cff
PT
9416 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9417 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9418 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9419
bcf55240
TS
94202012-05-10 Thomas Schwinge <thomas@schwinge.name>
9421
6960eb42
TS
9422 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9423 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9424 definitions.
9425
eb43375f
TS
9426 accept4 for GNU Hurd.
9427 * include/sys/socket.h (__libc_accept4): New prototype.
9428 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9429 to implement __libc_accept4.
9430 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9431 __libc_accept4.
9432 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9433
bcf55240
TS
9434 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9435 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9436 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9437 signal-defines.sym.
9438
6178c55b
ST
94392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9440
a4186cff 9441 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9442
6f080c2f
TS
94432012-05-10 Thomas Schwinge <thomas@schwinge.name>
9444
9445 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9446 assertion on O_CLOEXEC flag.
9447 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9448 * hurd/intern-fd.c: Likewise.
9449 * hurd/port2fd.c: Likewise.
9450
bcfe3a54
ST
94512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9452
9453 [BZ #3906]
9454 * bits/in.h (IPV6_PKTINFO): Define new macro.
9455 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9456
89c9aa49
AZ
94572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9458
9459 [BZ #13954]
9460 [BZ #13955]
9461 [BZ #13956]
9462 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9463 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9464 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9465 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9467 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9468 * math/libm-test.inc (logb_test) : Additional logb tests.
9469
021db4be
AJ
94702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9471 Andreas Jaeger <aj@suse.de>
9472
9473 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9474 * configure: Regenerated.
9475 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9476 * config.make.in (link-obsolete-rpc): New substituted variable.
9477 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9478 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9479 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9480 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9481 so that libc.a contains the symbols.
9482 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9483 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9484 * sunrpc/auth_none.c: Likewise.
9485 * sunrpc/auth_unix.c: Likewise.
9486 * sunrpc/authdes_prot.c: Likewise.
9487 * sunrpc/authuxprot.c: Likewise.
9488 * sunrpc/clnt_gen.c: Likewise.
9489 * sunrpc/clnt_perr.c: Likewise.
9490 * sunrpc/clnt_raw.c: Likewise.
9491 * sunrpc/clnt_simp.c: Likewise.
9492 * sunrpc/clnt_tcp.c: Likewise.
9493 * sunrpc/clnt_udp.c: Likewise.
9494 * sunrpc/clnt_unix.c: Likewise.
9495 * sunrpc/des_crypt.c: Likewise.
9496 * sunrpc/des_soft.c: Likewise.
9497 * sunrpc/get_myaddr.c: Likewise.
9498 * sunrpc/key_call.c: Likewise.
9499 * sunrpc/key_prot.c: Likewise.
9500 * sunrpc/netname.c: Likewise.
9501 * sunrpc/pm_getmaps.c: Likewise.
9502 * sunrpc/pm_getport.c: Likewise.
9503 * sunrpc/pmap_clnt.c: Likewise.
9504 * sunrpc/pmap_prot.c: Likewise.
9505 * sunrpc/pmap_prot2.c: Likewise.
9506 * sunrpc/pmap_rmt.c: Likewise.
9507 * sunrpc/publickey.c: Likewise.
9508 * sunrpc/rpc_cmsg.c: Likewise.
9509 * sunrpc/rpc_common.c: Likewise.
9510 * sunrpc/rpc_dtable.c: Likewise.
9511 * sunrpc/rpc_prot.c: Likewise.
9512 * sunrpc/rpc_thread.c: Likewise.
9513 * sunrpc/rtime.c: Likewise.
9514 * sunrpc/svc.c: Likewise.
9515 * sunrpc/svc_auth.c: Likewise.
9516 * sunrpc/svc_raw.c: Likewise.
9517 * sunrpc/svc_run.c: Likewise.
9518 * sunrpc/svc_tcp.c: Likewise.
9519 * sunrpc/svc_udp.c: Likewise.
9520 * sunrpc/svc_unix.c: Likewise.
9521 * sunrpc/svcauth_des.c: Likewise.
9522 * sunrpc/xcrypt.c: Likewise.
9523 * sunrpc/xdr.c: Likewise.
9524 * sunrpc/xdr_array.c: Likewise.
9525 * sunrpc/xdr_float.c: Likewise.
9526 * sunrpc/xdr_intXX_t.c: Likewise.
9527 * sunrpc/xdr_mem.c: Likewise.
9528 * sunrpc/xdr_rec.c: Likewise.
9529 * sunrpc/xdr_ref.c: Likewise.
9530 * sunrpc/xdr_sizeof.c: Likewise.
9531 * sunrpc/xdr_stdio.c: Likewise.
9532
b5c086a2
RM
95332012-05-10 Roland McGrath <roland@hack.frob.com>
9534
9535 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9536 change. Update copyright years.
9537
6d74dd09
JM
95382012-05-10 Joseph Myers <joseph@codesourcery.com>
9539
9540 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9541
28e72501
MK
95422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9543 Joseph Myers <joseph@codesourcery.com>
9544 Paul Pluzhnikov <ppluzhnikov@google.com>
9545
9546 [BZ #14012]
9547 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9548 requiring rpcgen.
9549 [cross-compiling] (extra-libs): Likewise.
9550 [cross-compiling] (extra-libs-others): Likewise.
9551 [cross-compiling] (librpcsvc-routines): Likewise.
9552 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9553 [cross-compiling] (omit-deps): Likewise.
9554 (sunrpc-CPPFLAGS): New variable.
9555 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9556 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9557 (cross-rpcgen-objs): New variable.
9558 (extra-objs): Append $(cross-rpcgen-objs).
9559 ($(cross-rpcgen-objs)): New rule.
9560 ($(objpfx)cross-rpcgen): Likewise.
9561 (rpcgen-cmd): Define to use $(built-program-file). Expand
9562 comment.
9563 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9564 ($(objpfx)x%.stmp): Likewise.
9565 * sunrpc/proto.h [IS_IN_build] (_): Define.
9566 [IS_IN_build] (_libc_intl_domainname): Likewise.
9567
c8c59454
L
95682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9569
9570 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9571 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9572 and R_X86_64_TPOFF64.
9573
6f27cd16
JM
95742012-05-10 Joseph Myers <joseph@codesourcery.com>
9575
9576 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9577 sysdeps/unix/sysv/syscalls.list.
9578 (stime): Likewise.
9579 (utime): Likewise.
9580 * sysdeps/unix/sysv/syscalls.list: Remove file.
9581
02467e1c
PE
95822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9583
9584 [BZ #3440]
9585 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9586 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9587 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9588 (__LC_IDENTIFICATION): Make these macros useful in #if
9589 expressions, as required by C99.
9590
da392631
AS
95912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9592
9593 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9594 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9595 after this.
9596
8115f29b
L
95972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9598
9599 * stdlib/longlong.h: Updated from GCC.
9600
bdd74070
AJ
96012012-05-09 Andreas Jaeger <aj@suse.de>
9602
edfe0dbe
AJ
9603 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9604 default is first entry.
9605 (run_mode): Set type.
9606 (main): Remove informal message about syslog.
9607 (options): Fix typo.
9608
bcfe3a54
ST
9609 [BZ #14053]
9610 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9611 to asm.
bcfe3a54
ST
9612 (lrint): Likewise.
9613 (llrintf): Likewise.
9614 (llrint): Likewise.
9615 (rint): Likewise.
9616 (rintf): Likewise.
9617 (nearbyint): Likewise.
9618 (nearbyintf): Likewise.
bdd74070 9619
91d8d69e
AJ
96202012-05-09 Andreas Jaeger <aj@suse.de>
9621 Pedro Alves <palves@redhat.com>
9622
9623 * nscd/nscd.c (run_mode): Use enum.
9624 (main): Cleanup coding style issue.
9625
bb90b80b
AJ
96262012-05-09 Alexandre Oliva <aoliva@redhat.com>
9627 Andreas Jaeger <aj@suse.de>
9628
bcfe3a54
ST
9629 * nscd/nscd.c (go_background): Replaced with...
9630 (run_mode): ... this.
bb90b80b 9631 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9632 (options): Add -F --foreground.
9633 (main): Implement it.
9634 (parse_opt): Parse it.
bb90b80b 9635
1a4b75a1
AJ
96362012-05-09 Andreas Jaeger <aj@suse.de>
9637
9638 [BZ #14083]
9639 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9640 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9641 -Wconversion warning.
9642 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9643 Likewise.
9644
b1cc2472
JM
96452012-05-09 Joseph Myers <joseph@codesourcery.com>
9646
9647 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9648 == 0.
9649 (LC_ALL): Use macro-int-constant.
9650 (LC_COLLATE): Likewise.
9651 (LC_CTYPE): Likewise.
9652 (LC_MESSAGES): Likewise.
9653 (LC_MONETARY): Likewise.
9654 (LC_NUMERIC): Likewise.
9655 (LC_TIME): Likewise.
9656 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9657 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9659 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9660 Specify type.
9661 [C99-based standards] (float_t): Expect type.
9662 [C99-based standards] (double_t): Expect type.
9663 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9664 type.
9665 [C99-based standards] (HUGE_VALL): Likewise.
9666 [C99-based standards] (INFINITY): Likewise.
9667 [C99-based standards] (NAN): Likewise.
9668 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9669 [C99-based standards] (FP_NAN): Likewise.
9670 [C99-based standards] (FP_NORMAL): Likewise.
9671 [C99-based standards] (FP_SUBNORMAL): Likewise.
9672 [C99-based standards] (FP_ZERO): Likewise.
9673 [C99-based standards] (FP_FAST_FMA): Use
9674 optional-macro-int-constant. Specify type. Require == 1.
9675 [C99-based standards] (FP_FAST_FMAF): Likewise.
9676 [C99-based standards] (FP_FAST_FMAL): Likewise.
9677 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9678 [C99-based standards] (FP_ILOGBNAN): Likewise.
9679 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9680 Specify type.
9681 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9682 [C99-based standards] (math_errhandling): Specify type.
9683 [ISO99 || ISO11] (signgam): Do not allow.
9684 [non-C99-based standards] (copysignf): Do not allow.
9685 [non-C99-based standards] (exp2f): Likewise.
9686 [non-C99-based standards] (log2f): Likewise.
9687 [non-C99-based standards] (modff): Allow.
9688 [non-C99-based standards] (erff): Do not allow.
9689 [non-C99-based standards] (erfcf): Likewise.
9690 [non-C99-based standards] (gammaf): Likewise.
9691 [non-C99-based standards] (hypotf): Likewise.
9692 [non-C99-based standards] (j0f): Likewise.
9693 [non-C99-based standards] (j1f): Likewise.
9694 [non-C99-based standards] (jnf): Likewise.
9695 [non-C99-based standards] (lgammaf): Likewise.
9696 [non-C99-based standards] (tgammaf): Likewise.
9697 [non-C99-based standards] (y0f): Likewise.
9698 [non-C99-based standards] (y1f): Likewise.
9699 [non-C99-based standards] (ynf): Likewise.
9700 [non-C99-based standards] (isnanf): Likewise.
9701 [non-C99-based standards] (acoshf): Likewise.
9702 [non-C99-based standards] (asinhf): Likewise.
9703 [non-C99-based standards] (atanhf): Likewise.
9704 [non-C99-based standards] (cbrtf): Likewise.
9705 [non-C99-based standards] (expm1f): Likewise.
9706 [non-C99-based standards] (ilogbf): Likewise.
9707 [non-C99-based standards] (log1pf): Likewise.
9708 [non-C99-based standards] (logbf): Likewise.
9709 [non-C99-based standards] (nextafterf): Likewise.
9710 [non-C99-based standards] (remainderf): Likewise.
9711 [non-C99-based standards] (rintf): Likewise.
9712 [non-C99-based standards] (scalbf): Likewise.
9713 [non-C99-based standards] (copysignl): Likewise.
9714 [non-C99-based standards] (exp2l): Likewise.
9715 [non-C99-based standards] (log2l): Likewise.
9716 [non-C99-based standards] (modfl): Allow.
9717 [non-C99-based standards] (erfl): Do not allow.
9718 [non-C99-based standards] (erfcl): Likewise.
9719 [non-C99-based standards] (gammal): Likewise.
9720 [non-C99-based standards] (hypotl): Likewise.
9721 [non-C99-based standards] (j0l): Likewise.
9722 [non-C99-based standards] (j1l): Likewise.
9723 [non-C99-based standards] (jnl): Likewise.
9724 [non-C99-based standards] (lgammal): Likewise.
9725 [non-C99-based standards] (tgammal): Likewise.
9726 [non-C99-based standards] (y0l): Likewise.
9727 [non-C99-based standards] (y1l): Likewise.
9728 [non-C99-based standards] (ynl): Likewise.
9729 [non-C99-based standards] (isnanl): Likewise.
9730 [non-C99-based standards] (acoshl): Likewise.
9731 [non-C99-based standards] (asinhl): Likewise.
9732 [non-C99-based standards] (atanhl): Likewise.
9733 [non-C99-based standards] (cbrtl): Likewise.
9734 [non-C99-based standards] (expm1l): Likewise.
9735 [non-C99-based standards] (ilogbl): Likewise.
9736 [non-C99-based standards] (log1pl): Likewise.
9737 [non-C99-based standards] (logbl): Likewise.
9738 [non-C99-based standards] (nextafterl): Likewise.
9739 [non-C99-based standards] (remainderl): Likewise.
9740 [non-C99-based standards] (rintl): Likewise.
9741 [non-C99-based standards] (scalbl): Likewise.
9742 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9743 [non-C99-based standards] (FP_*): Do not allow.
9744 [C99-based standards] (FP_*): Change to
9745 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9746 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9747 allow.
9748 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9749 (SIG_ERR): Likewise.
9750 [X/Open-based standards] (SIG_HOLD): Likewise.
9751 (SIG_IGN): Likewise.
9752 (SIGABRT): Use macro-int-constant. Specify type. Require
9753 positive value.
9754 (SIGFPE): Likewise.
9755 (SIGILL): Likewise.
9756 (SIGINT): Likewise.
9757 (SIGSEGV): Likewise.
9758 (SIGTER): Likewise.
9759 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9760 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9761 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9762 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9763 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9764 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9765 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9766 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9767 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9768 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9769 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9770 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9771 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9772 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9773 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9774 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9775 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9776 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9777 [X/Open-based standards] (SIGTRAP): Likewise.
9778 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9779 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9780 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9781 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9782 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9783 allow.
9784
b9f1922d
IW
97852012-05-08 Ian Wienand <ianw@vmware.com>
9786
9787 [BZ #14080]
9788 * time/tzset.c (__tzset_parse_tz): Update default rules for
9789 daylight time changes in the Energy Policy Act of 2005.
9790
1db86e88
AJ
97912012-05-09 Andreas Jaeger <aj@suse.de>
9792
9793 [BZ #13983]
9794 * elf/ldconfig.c (parse_conf): Change string to make clear that
9795 ldconfig only issued a warning if ld.so.conf does not exist.
9796
dee4a4e3
DM
97972012-05-08 David S. Miller <davem@davemloft.net>
9798
ee0db190
DM
9799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9800 movxtod instead of popping the value on the stack.
9801
dee4a4e3
DM
9802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9803
6a43ec98
CD
98042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9805
9806 * config.h.in: Add HAVE_ARM_PCS_VFP.
9807
05c2c961
RMG
98082012-05-08 Roland Mc Grath <roland@hack.frob.com>
9809
bcfe3a54
ST
9810 [BZ #13979]
9811 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9812 checking but the checks are disabled for any reason.
05c2c961 9813
4b30f61a
L
98142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9815
9816 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9817 and ELF64_R_TYPE with ELFW(R_TYPE).
9818
eee2bc67
JM
98192012-05-08 Joseph Myers <joseph@codesourcery.com>
9820
7ea5391a
JM
9821 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9822 (ulimit): Likewise.
9823
eee2bc67
JM
9824 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9825 (settimeofday): Likewise.
9826
abb66a67
MF
98272012-05-08 Mike Frysinger <vapier@gentoo.org>
9828
9829 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9830 a struct th_u2 inside the union, and move tu_block/tu_code into
9831 a new th_u3 union of tu_block/tu_code inside of that. Move
9832 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9833 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9834 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9835 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9836 (th_stuff): Change to th_u1.tu_stuff.
9837 (th_data): Define.
9838 (th_msg): Change to th_u1.th_u2.tu_data.
9839
7f18b530
DM
98402012-05-07 David S. Miller <davem@davemloft.net>
9841
05760585
DM
9842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9843
7f18b530
DM
9844 [BZ #14074]
9845 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9846 (SETUP_PIC_REG): Use it.
9847 (SETUP_PIC_REG_LEAF): Use it.
9848
495fd99f
JM
98492012-05-07 Joseph Myers <joseph@codesourcery.com>
9850
9851 [BZ #13885]
9852 [BZ #13923]
9853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9854 USE_AS_EXPM1L.
9855 (EXPL_FINITE): Likewise.
9856 (FLDLOG): Likewise.
9857 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9858 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9859 e_expl.S.
9860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9861 USE_AS_EXPM1L.
9862 (EXPL_FINITE): Likewise.
9863 (FLDLOG): Likewise.
9864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9865 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9866 e_expl.S.
9867 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9868 test of -max_value argument for long double.
9869 * sysdeps/i386/fpu/libm-test-ulps: Update.
9870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9871
6693d694
DM
98722012-05-06 David S. Miller <davem@davemloft.net>
9873
9874 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9875 quad soft-float symbols whose references which are compiler
9876 generated.
9877 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9878
6c23e11c
JM
98792012-05-06 Joseph Myers <joseph@codesourcery.com>
9880
d8b82cad
JM
9881 [BZ #13884]
9882 [BZ #13914]
9883 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9884 USE_AS_EXP10L.
9885 (EXPL_FINITE): Likewise.
9886 (FLDLOG): Likewise.
9887 (c0): Likewise.
9888 (c1): Likewise.
9889 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9890 Adjust comments for base varying.
9891 (__expl_finite): Change alias to EXPL_FINITE.
9892 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9893 e_expl.S.
9894 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9895 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9897 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9898 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9908 tests for bugs.
9909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9910
6c23e11c
JM
9911 [BZ #14064]
9912 * math/libm-test.inc (check_float_internal): Correct ulp
9913 calculation for subnormal expected results.
9914
29ba805c
AJ
99152012-05-06 Andreas Jaeger <aj@suse.de>
9916
9917 * Makeconfig (+math-flags): New, set to -frounding-math.
9918 (+cflags): Add +math-flags so that all of glibc gets compiled with
9919 it.
9920
9921 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9922
7b17aeda
JM
99232012-05-05 Joseph Myers <joseph@codesourcery.com>
9924
5779f134
JM
9925 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9926 Disable one test.
9927
41498f4d
JM
9928 [BZ #13787]
9929 [BZ #13922]
9930 [BZ #14036]
9931 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9932 (__ieee754_expl): Allow for and saturate large arguments.
9933 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9934 (u_threshold): Likewise.
9935 (__exp): Call __ieee754_exp before checking for overflow and
9936 underflow.
9937 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9938 (u_threshold): Likewise.
9939 (__expf): Call __ieee754_expf before checking for overflow and
9940 underflow.
9941 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9942 (u_threshold): Likewise.
9943 (__expl): Call __ieee754_expl before checking for overflow and
9944 underflow.
9945 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9946 (__ieee754_expl): Allow for and saturate large arguments.
9947 * math/libm-test.inc (exp_test): Add another test. Do not allow
9948 missing overflow exception on overflow.
9949 (expm1_test): Do not allow missing overflow exception on overflow.
9950
6698b8bf
JM
9951 * sysdeps/i386/fpu/e_expl.c: Move to ...
9952 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9953 rather than using inline asm.
9954 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9955 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9956 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9957
7b17aeda
JM
9958 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9959 (nice): Likewise.
9960 (poll): Likewise.
9961 (signal): Likewise.
9962 (time): Likewise.
9963 (times): Likewise.
9964
f7c85819
JM
99652012-05-04 Joseph Myers <joseph@codesourcery.com>
9966
9967 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9968 sysdeps/unix/common/syscalls.list.
9969 (fchmod): Likewise.
9970 (fchown): Likewise.
9971 (ftruncate): Likewise.
9972 (getrusage): Likewise.
9973 (gettimeofday): Likewise.
9974 (setpgid): Likewise.
9975 (setregid): Likewise.
9976 (setreuid): Likewise.
9977 (sigaction): Likewise.
9978 (truncate): Likewise.
9979 (vhangup): Likewise.
9980 * sysdeps/unix/common/syscalls.list: Remove file.
9981 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9982 * sysdeps/unix/sysv/linux/Implies: Likewise.
9983
336270d0
L
99842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9985
9986 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9988 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9989 Moved to ...
9990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9991 Here.
9992 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9993 to ...
9994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9995 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9996 to ...
9997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9998 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9999 to ...
10000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10001 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10002 to ...
10003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10004 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10005 to ...
10006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10007 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10008 to ...
10009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10010 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10011 to ...
10012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10013 Here.
10014 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10015 to ...
10016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10017 Here.
10018 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10019 to ...
10020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10021 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10022 Moved to ...
10023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10024 Here.
10025 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10026 to ...
10027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10028
d128e450
JM
100292012-05-04 Joseph Myers <joseph@codesourcery.com>
10030
fa8ee516
JM
10031 * sysdeps/unix/common/bits/dirent.h: Remove file.
10032 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10033
d128e450
JM
10034 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10035 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10036 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10037 * sysdeps/unix/bsd/isatty.c: Likewise.
10038 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10039 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10040 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10041
ff8faaf0 100422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10043
62881be4 10044 [BZ #13563]
31dc8730
AZ
10045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10046 long double comparison inaccuracies.
10047 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10049
6fef930c
AS
100502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10051
10052 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10054
8f203e6c
JM
100552012-05-04 Joseph Myers <joseph@codesourcery.com>
10056
10057 [BZ #14049]
10058 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10059 nonzero digits before rounding a hex value.
10060 * stdlib/tst-strtod.c (tests): Add another test.
10061
5197d9c2
AK
100622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10063
10064 * sysdeps/s390/fpu/libm-test-ulps: Update.
10065
f0c1dedf
AJ
100662012-05-03 Andreas Jaeger <aj@suse.de>
10067
10068 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10069 does not get optimized out.
10070 (malloc_opt_barrier): New.
10071
a65ef2ae 100722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10073 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10074
2b942cb7 10075 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10076 intermediate file deletion.
2b942cb7 10077 (generated): Add .symlist files.
a65ef2ae 10078
54b71e02
JM
100792012-05-03 Joseph Myers <joseph@codesourcery.com>
10080
10081 [BZ #13775]
10082 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10083 Redirect under this condition.
10084 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10085 [__USE_GNU] (__dprintf_chk): Not under this condition.
10086 [__USE_GNU] (__vdprintf_chk): Likewise.
10087 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10088 under this condition.
10089 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10090 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10091 [__USE_XOPEN2K8] (vdprintf): Likewise.
10092 [__USE_GNU] (__dprintf_chk): Not under this condition.
10093 [__USE_GNU] (__vdprintf_chk): Likewise.
10094 [__USE_GNU] (dprintf): Likewise.
10095 [__USE_GNU] (vdprintf): Likewise.
10096
d3dfcc41
RM
100972012-05-03 Roland McGrath <roland@hack.frob.com>
10098
10099 * elf/Makefile (common-generated): Set this instead of generated for
10100 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10101 $(all-built-dso)-derived lists.
10102
7ac30cc5
AJ
101032012-05-03 Andreas Jaeger <aj@suse.de>
10104
0c51e550
AJ
10105 * sysdeps/i386/fpu/libm-test-ulps: Update.
10106
7ac30cc5
AJ
10107 * FAQ: Removed.
10108 * FAQ.in: Likewise.
10109 * scripts/gen-FAQ.pl: Likewise.
10110 * manual/install.texi (Installation): Point to online location of
10111 FAQ.
10112 * Makefile (files-for-dist): Remove FAQ.
10113 (FAQ): Remove.
10114
d4c2917f
AM
101152012-05-02 Allan McRae <allan@archlinux.org>
10116
10117 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10118 (LDFLAGS-reldepmod5.so): Likewise.
10119 (LDFLAGS-reldep6mod1.so): Likewise.
10120 (LDFLAGS-reldep6mod4.so): Likewise.
10121 (LDFLAGS-reldep8mod3.so): Likewise.
10122 (LDFLAGS-unload4mod1.so): Likewise.
10123 (LDFLAGS-unload4mod2.so): Likewise.
10124 (LDFLAGS-tst-initorder): Likewise.
10125 (LDFLAGS-tst-initordera2.so): Likewise.
10126 (LDFLAGS-tst-initordera3.so): Likewise.
10127 (LDFLAGS-tst-initordera4.so): Likewise.
10128 (LDFLAGS-tst-initorderb2.so): Likewise.
10129 (LDFLAGS-noload): Likewise.
10130 (LDFLAGS-next): Likewise.
10131 (LDFLAGS-order2mod1.so): Likewise.
10132 (LDFLAGS-order2mod2.so): Likewise.
10133 (LDFLAGS-tst-initorder2): Likewise.
10134 (LDFLAGS-tst-initorder2a.so): Likewise.
10135 (LDFLAGS-tst-initorder2b.so): Likewise.
10136 (LDFLAGS-tst-initorder2c.so): Likewise.
10137 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10138
d77f993f
DM
101392012-05-02 David S. Miller <davem@davemloft.net>
10140
10141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10142
171a70b4
PP
101432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10144
10145 [BZ #14055]
10146 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10147
0be196ad
AJ
101482012-05-02 Andreas Jaeger <aj@suse.de>
10149
10150 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10151 since we manipulate rounding mode.
10152 (CPPFLAGS-test-idouble.c): Likewise.
10153 (CPPFLAGS-test-ifloat.c): Likewise.
10154 (CFLAGS-test-ldouble.c): Likewise.
10155 (CFLAGS-test-double.c): Likewise.
10156 (CFLAGS-test-float.c): Likewise.
10157 (CFLAGS-test-misc.c): Likewise.
10158 (CFLAGS-test-test-fenv.c): Likewise.
10159
4f9d04aa
AZ
101602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10161
2b942cb7
RM
10162 [BZ #2550]
10163 [BZ #2570]
10164 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10165 comparisons to determine direction to adjust input.
4f9d04aa 10166
82a79e7d
RM
101672012-05-01 Roland McGrath <roland@hack.frob.com>
10168
f5a01ca9
RM
10169 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10170 output to the target.
10171
90fe4186
RM
10172 * scripts/localplt.awk: New file.
10173 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10174 (check-localplt-CFLAGS): Variable removed.
10175 ($(all-built-dso:=.jmprel)): New static pattern rule.
10176 (generated): Add those targets.
10177 (localplt-built-dso): New variable.
10178 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10179
10180 * elf/check-localplt.c: File removed.
10181
82397ed6
RM
10182 * scripts/check-execstack.awk: New file.
10183 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10184 (check-execstack-CFLAGS): Variable removed.
10185 ($(objpfx)check-execstack.h): Target removed.
10186 ($(objpfx)execstack-default): New target.
10187 (generated): Add that instead of check-execstack.h.
10188 ($(all-built-dso:=.phdr)): New static pattern rule.
10189 (generated): Add those targets.
10190 * elf/check-execstack.c: File removed.
10191
82a79e7d
RM
10192 * scripts/check-textrel.awk: New file.
10193 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10194 (check-textrel-CFLAGS): Variable removed.
10195 (all-built-dso): Use := to define.o
10196 ($(all-built-dso:=.dyn)): New static pattern rule.
10197 (generated): Add those targets.
10198 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10199 * config.make.in (READELF): New substituted variable.
10200 * elf/check-textrel.c: File removed.
10201
62fde54f 102022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10203
615605c9
JM
10204 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10205 allow.
10206 * conform/data/ctype.h-data [C99-based standards] (isblank):
10207 Expect function.
10208 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10209 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10211 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10212 Specify type. Require positive value.
10213 (EILSEQ): Likewise.
10214 (ERANGE): Likewise.
10215 [ISO || POSIX] (EILSEQ): Do not expect.
10216 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10217 Specify type. Require positive value.
10218 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10253 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10254 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10260 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10261 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10262 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10265 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10266 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10267 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10268 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10269 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10270 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10271 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10272 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10273 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10274 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10275 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10276 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10277 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10278 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10279 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10280 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10281 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10282 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10283 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10284 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10285 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10286 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10287 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10288 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10289 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10290 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10291 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10292 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10293 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10294 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10295 Require >= 2.
10296 (FLT_ROUNDS): Expect as macro, not constant.
10297 (FLT_MANT_DIG): Use macro-int-constant.
10298 (DBL_MANT_DIG): Likewise.
10299 (LDBL_MANT_DIG): Likewise.
10300 (FLT_DIG): Likewise.
10301 (DBL_DIG): Likewise.
10302 (LDBL_DIG): Likewise.
10303 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10304 (DBL_MIN_EXP): Likewise.
10305 (LDBL_MIN_EXP): Likewise.
10306 (FLT_MAX_EXP): Use macro-int-constant.
10307 (DBL_MAX_EXP): Likewise.
10308 (LDBL_MAX_EXP): Likewise.
10309 (FLT_MAX_10_EXP): Likewise.
10310 (DBL_MAX_10_EXP): Likewise.
10311 (LDBL_MAX_10_EXP): Likewise.
10312 (FLT_MAX): Use macro-constant.
10313 (DBL_MAX): Likewise.
10314 (LDBL_MAX): Likewise.
10315 (FLT_EPSILON): Use macro-constant. Give upper bound.
10316 (DBL_EPSILON): Likewise.
10317 (LDBL_EPSILON): Likewise.
10318 (FLT_MIN): Likewise.
10319 (DBL_MIN): Likewise.
10320 (LDBL_MIN): Likewise.
10321 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10322 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10323 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10324 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10325 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10326 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10327 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10328 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10329 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10330 [ISO11] (FLT_TRUE_MIN): Likewise.
10331 [ISO11] (LDBL_TRUE_MIN): Likewise.
10332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10333 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10334 (SCHAR_MIN): Use macro-int-constant. Specify type.
10335 (SCHAR_MAX): Likewise.
10336 (UCHAR_MAX): Likewise.
10337 (CHAR_MIN): Likewise.
10338 (CHAR_MAX): Likewise.
10339 (MB_LEN_MAX): Use macro-int-constant.
10340 (SHRT_MIN): Use macro-int-constant. Specify type.
10341 (SHRT_MAX): Likewise.
10342 (USHRT_MAX): Likewise.
10343 (INT_MAX): Likewise.
10344 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10345 bound negative.
10346 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10347 bound with "U".
10348 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10349 bound with "L".
10350 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10351 bound negative. Suffix upper bound with "L".
10352 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10353 bound with "UL".
10354 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10355 Specify type.
10356 [C99-based standards] (LLONG_MAX): Likewise.
10357 [C99-based standards] (ULLONG_MAX): Likewise.
10358 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10359 == 0.
10360 [ISO11] (max_align_t): Require type.
10361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10362
c9140a62
JM
10363 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10364 from $CFLAGS, without defining away __attribute__ calls.
10365 (checknamespace): Use $CFLAGS_namespace.
10366
9af0bf29
JM
10367 * conform/conformtest.pl (@keywords): Only include C99 keywords
10368 for standards based on C99 or C11.
10369
343222a2
JM
10370 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10371 Disable tests.
10372 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10373 UNIX98]: Likewise.
10374
661f8cf0
JM
10375 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10376 usability of symbols in #if.
10377
ee74b9cb
JM
10378 * conform/conformtest.pl: If macro or constant types start
10379 "promoted:", expect the symbol to be of the following type
10380 promoted by the integer promotions.
62fde54f 10381
aafc49b3
JM
10382 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10383 in one place. Also handle "macro-constant".
10384
fefdf574
JM
10385 * conform/conformtest.pl: Only accept expected macro values with
10386 "==". Parse all "macro" lines in one place.
10387 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10388
f2d922fe
JM
10389 * conform/conformtest.pl: Handle braced types on "constant" lines
10390 instead of handling "typed-constant".
10391 * conform/data/signal.h-data: Use "constant" instead of
10392 "typed-constant".
10393
d22956c9
JM
10394 * conform/conformtest.pl: Handle "optional-" at start of lines in
10395 one place rather than duplicating several cases. Handle each
10396 format of "macro" line with initial "optional-".
10397
028e2e38
JM
10398 * conform/conformtest.pl: Only accept expected constant or
10399 optional-constant values with "==". Parse all "constant" lines in
10400 one place. Parse all "optional-constant" lines in one place.
10401 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10402 * conform/data/fmtmsg.h-data: Likewise.
10403 * conform/data/netinet/in.h-data: Likewise.
10404 * conform/data/tar.h-data: Likewise.
10405 * conform/data/limits.h-data: Use "==" form on "constant" and
10406 "optional-constant" lines.
10407
1b8f2850
JM
10408 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10409 Use -std=c99 for XOPEN2K.
10410 (@knownproblems): Remove.
10411 (newtoken): Don't check %isknown.
10412
a05a144b
JM
10413 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10414 Do not expect macro.
10415 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10427 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10428 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10445 [XPG3] (acosh): Likewise.
10446 [XPG3] (asinh): Likewise.
10447 [XPG3] (atanh): Likewise.
10448 [XPG3] (cbrt): Likewise.
10449 [XPG3] (expm1): Likewise.
10450 [XPG3] (ilogb): Likewise.
10451 [XPG3] (log1p): Likewise.
10452 [XPG3] (logb): Likewise.
10453 [XPG3] (nextafter): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10456 [XPG3] (remainder): Likewise.
10457 [XPG3] (rint): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10465 [UNIX98 || XOPEN2K] (scalb): Expect.
10466 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10467 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10513 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10514 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10515 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10516 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10517 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10518 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10519 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10520 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10521 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10522 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10523 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10524 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10525 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10526 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10527 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10528 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10529 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10530 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10531 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10532 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10533 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10534 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10557 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10558 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10559 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10560 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10561 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10562 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10563 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10564 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10565 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10566 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10567 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10568 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10569 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10570 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10571 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10572 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10573 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10574 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10575 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10576 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10577 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10578 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10579 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10580 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10581 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10582 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10583 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10584 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10585 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10586 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10587 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10588 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10589 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10590 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10591 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10592 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10593 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10594 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10595 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10596 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10597 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10598 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10599 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10600 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10601 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10602 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10603
73c5ebe3
JM
10604 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10605 _XOPEN_SOURCE_EXTENDED for XPG4.
10606
39c33b6c
JM
10607 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10608
62fde54f
JM
10609 * Makeconfig (localtime): Remove variable.
10610 (inst_localtime-file): Likewise.
10611
0741d64c
AS
106122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10613
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10615 Update.
10616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10617 Update.
10618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10619 Update.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10621 Update.
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10623 Update.
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10625 Update.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10627 Update.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10629 Update.
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10631 Update.
10632
7cb029ee
JM
106332012-05-01 Joseph Myers <joseph@codesourcery.com>
10634
10635 [BZ #2550]
10636 [BZ #2570]
10637 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10638 comparisons to determine direction to adjust input.
10639 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10640 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10641 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10642 Likewise.
10643 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10644 Likewise.
10645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10646 Likewise.
10647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10649 Likewise.
10650 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10651 Likewise.
10652 * math/libm-test.inc (nexttoward_test): Add more tests.
10653
412bd966
AS
106542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10655
10656 [BZ #14040]
10657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10658 in version GLIBC_2.1, not GLIBC_2.0.
10659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10660 Likewise.
10661
9568c0c2
JM
106622012-04-30 Joseph Myers <joseph@codesourcery.com>
10663
adfbc8ac
JM
10664 [BZ #13942]
10665 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10666 (1 - x) * (1 + x).
10667 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10668 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10669 * math/libm-test.inc (acos_test): Add more tests.
10670 (asin_test): Likewise.
10671 * sysdeps/i386/fpu/libm-test-ulps: Update.
10672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10673
5ba3cc69
JM
10674 [BZ #14034]
10675 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10676 of square root.
10677 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10678 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10679 * math/libm-test.inc (acos_test_tonearest): New function.
10680 (acos_test_towardzero): Likewise.
10681 (acos_test_downward): Likewise.
10682 (acos_test_upward): Likewise.
10683 (asin_test_tonearest): Likewise.
10684 (asin_test_towardzero): Likewise.
10685 (asin_test_downward): Likewise.
10686 (asin_test_upward): Likewise.
10687 (main): Call the new functions.
10688 * sysdeps/i386/fpu/libm-test-ulps: Update.
10689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10690
9568c0c2
JM
10691 [BZ #13884]
10692 [BZ #13924]
10693 * math/e_exp10.c: Include <float.h>.
10694 (__ieee754_exp10): Handle underflow here rather than multiplying
10695 large negative argument by M_LN10.
10696 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10697 of __ieee754_expf.
10698 * math/e_exp10l.c: Include <float.h>.
10699 (__ieee754_exp10l): Handle underflow here rather than multiplying
10700 large negative argument by M_LN10l.
10701 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10702 spurious overflow exception on underflow.
10703
5ac3ea17
MP
107042012-04-29 Marek Polacek <polacek@redhat.com>
10705
10706 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10707 (__fortify_function): New macro.
10708 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10709 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10710 __extern_always_inline.
10711 * libio/bits/stdio2.h: Likewise.
10712 * libio/bits/stdio.h: Likewise.
10713 * string/string.h: Likewise.
10714 * string/bits/string3.h: Likewise.
10715 * include/stdio.h: Likewise.
10716 * stdlib/bits/stdlib.h: Likewise.
10717 * stdlib/stdlib.h: Likewise.
10718 * rt/bits/mqueue2.h: Likewise.
10719 * rt/mqueue.h: Likewise.
10720 * posix/bits/unistd.h: Likewise.
10721 * posix/unistd.h: Likewise.
10722 * io/bits/poll2.h: Likewise.
10723 * io/bits/fcntl2.h: Likewise.
10724 * io/fcntl.h: Likewise.
10725 * io/sys/poll.h: Likewise.
10726 * misc/bits/syslog.h: Likewise.
10727 * misc/bits/syslog-ldbl.h: Likewise.
10728 * misc/sys/syslog.h: Likewise.
10729 * socket/bits/socket2.h: Likewise.
10730 * socket/sys/socket.h: Likewise.
10731 * debug/tst-chk1.c: Likewise.
10732 * wcsmbs/bits/wchar2.h: Likewise.
10733 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10734 * wcsmbs/wchar.h: Likewise.
10735
ecf0ebfb
AJ
107362012-04-29 Andreas Jaeger <aj@suse.de>
10737
10738 * Makerules (tests): Remove enable-check-abi protection.
10739 (check-abi-warn): Remove.
10740 (check-abi-%): Remove check-abi-warn usage.
10741
10742 * configure.in: Remove check-abi configure option.
10743 * configure: Regenerated.
10744 * config.make.in (enable-check-abi): Remove.
10745
6d5c57fa
AS
107462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10747
24c5d07e 10748 [BZ #14033]
ded5180a
AS
10749 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10750 double functions to double *_finite functions.
10751
7e0d315d
AS
10752 [BZ #13941]
10753 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10754 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10755 LDBL_MIN_EXP.
10756 * stdio-common/Makefile (tests): Add tst-sprintf3.
10757 * stdio-common/tst-sprintf3.c: New file.
10758
6d5c57fa
AS
10759 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10760 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10761
0749ff8b
JM
107622012-04-28 Joseph Myers <joseph@codesourcery.com>
10763
10764 * conform/conformtest.pl: Remove duplicate typed-constant
10765 handling.
10766
8dbd5d7b
DM
107672012-04-28 David S. Miller <davem@davemloft.net>
10768
10769 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10770 (check-abi-%): Remove AWK script prerequisite and explicit
10771 abilist directory.
10772 (check-abi): Rewrite to just diff the symlist with the abilist.
10773 (config-tls, config-abi-config): Delete, no longer used.
10774 (update-abi-%): Remove AWK script and explicit abilist directory.
10775 (update-abi): Rewrite to simply compare and conditionally copy the
10776 symlist and the sysdep abilist file. Remove update-abi-config
10777 checks.
10778 * abilist/ld.abilist: Remove.
10779 * abilist/libBrokenLocale.abilist: Remove.
10780 * abilist/libanl.abilist: Remove.
10781 * abilist/libcrypt.abilist: Remove.
10782 * abilist/libdl.abilist: Remove.
10783 * abilist/librt.abilist: Remove.
10784 * abilist/libthread_db.abilist: Remove.
10785 * abilist/libutil.abilist: Remove.
10786 * scripts/extract-abilist.awk: Remove.
10787 * scripts/merge-abilist.awk: Remove.
10788 * sysdeps/generic/libcidn.abilist: New file.
10789 * sysdeps/generic/libnss_compat.abilist: New file.
10790 * sysdeps/generic/libnss_db.abilist: New file.
10791 * sysdeps/generic/libnss_dns.abilist: New file.
10792 * sysdeps/generic/libnss_files.abilist: New file.
10793 * sysdeps/generic/libnss_hesiod.abilist: New file.
10794 * sysdeps/generic/libnss_nis.abilist: New file.
10795 * sysdeps/generic/libnss_nisplus.abilist: New file.
10796 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10797 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10798 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10799 file.
10800 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10801 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10802 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10803 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10804 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10805 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10806 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10807 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10808 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10809 file.
10810 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10811 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10812 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10813 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10814 file.
10815 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10816 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10817 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10818 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10819 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10820 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10821 file.
10822 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10823 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10824 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10825 file.
10826 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10828 New file.
10829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10830 New file.
10831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10832 New file.
10833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10834 New file.
10835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10836 New file.
10837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10838 New file.
10839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10840 New file.
10841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10842 New file.
10843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10844 New file.
10845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10846 New file.
10847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10848 New file.
10849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10850 New file.
10851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10852 New file.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10854 file.
10855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10856 New file.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10858 New file.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10860 file.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10862 New file.
10863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10864 New file.
10865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10866 file.
10867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10868 New file.
10869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10870 New file.
10871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10872 New file.
10873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10874 New file.
10875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10876 New file.
10877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10878 New file.
10879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10881 file.
10882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10883 New file.
10884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10885 file.
10886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10887 file.
10888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10889 file.
10890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10891 file.
10892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10893 file.
10894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10895 New file.
10896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10897 file.
10898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10899 file.
10900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10901 New file.
10902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10903 file.
10904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10906 file.
10907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10908 New file.
10909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10910 file.
10911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10912 file.
10913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10914 file.
10915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10916 file.
10917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10918 file.
10919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10920 New file.
10921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10922 file.
10923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10924 file.
10925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10926 New file.
10927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10928 file.
10929 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10930 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10931 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10932 file.
10933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10934 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10935 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10936 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10937 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10938 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10939 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10940 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10941 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10942 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10945 file.
10946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10947 New file.
10948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10949 file.
10950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10951 file.
10952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10953 file.
10954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10955 file.
10956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10957 file.
10958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10959 New file.
10960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10961 New file.
10962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10963 file.
10964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10965 New file.
10966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10967 file.
10968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10970 file.
10971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10972 New file.
10973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10974 file.
10975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10976 file.
10977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10978 file.
10979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10980 file.
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10982 file.
10983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10984 New file.
10985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10986 New file.
10987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10988 file.
10989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10990 New file.
10991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10992 file.
10993
41d73a1b
JM
109942012-04-28 Joseph Myers <joseph@codesourcery.com>
10995
10996 * conform/conformtest.pl: Fix typo in handling typed-constant from
10997 allow-header.
10998
28aeeda4
JM
109992012-04-27 Joseph Myers <joseph@codesourcery.com>
11000
adae8f5e
JM
11001 * README: Cut down references to pre-2.6 Linux kernels and
11002 Linuxthreads. Update lists of configurations in libc and ports
11003 and sort alphabetically. Say "or newer" with Linux kernel version
11004 requirements.
11005
28aeeda4
JM
11006 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11007
a462cb63
RA
110082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11009
11010 [BZ #887]
11011 * math/libm-test.inc (logb_test_downward): New test to expose
11012 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11013 rounding mode.
11014
6ad3493e
JM
110152012-04-27 Joseph Myers <joseph@codesourcery.com>
11016
11017 [BZ #14027]
11018 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11019 to be done.
11020 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11021 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11022
2ce4f015
JM
110232012-04-26 Joseph Myers <joseph@codesourcery.com>
11024
5aeb141a
JM
11025 * sysdeps/unix/i386/brk.S: Remove file.
11026 * sysdeps/unix/i386/dl-brk.S: Likewise.
11027 * sysdeps/unix/i386/pipe.S: Likewise.
11028 * sysdeps/unix/i386/sigreturn.S: Likewise.
11029 * sysdeps/unix/i386/syscall.S: Likewise.
11030 * sysdeps/unix/i386/vfork.S: Likewise.
11031 * sysdeps/unix/i386/wait.S: Likewise.
11032
7143acae
JM
11033 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11034 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11035
2ce4f015
JM
11036 * configure.in (arm*-none*): Do not allow without
11037 --enable-hacker-mode.
11038 (netbsd*): Remove case setting base_os.
11039 (386bsd*): Likewise.
11040 (freebsd*): Likewise.
11041 (bsdi*): Likewise.
11042 (osf*): Likewise.
11043 (sunos*): Likewise.
11044 (ultrix*): Likewise.
11045 (newsos*): Likewise.
11046 (dynix*): Likewise.
11047 (*bsd*): Likewise.
11048 (sysv*): Likewise.
11049 (isc*): Likewise.
11050 (esix*): Likewise.
11051 (sco*): Likewise.
11052 (minix*): Likewise.
11053 (irix4*): Likewise.
11054 (irix6*): Likewise.
11055 (solaris[2-9]*): Likewise.
11056 (none): Likewise.
11057 * configure: Regenerated.
11058
0ac229c8
AZ
110592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11060
11061 [BZ #11521]
11062 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11063 overflow or cancellation in calculating denominator.
11064 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11066 down expression to avoid unexpected rounding in newer GCCs.
11067 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11068
33f244f4
DM
110692012-04-26 David S. Miller <davem@davemloft.net>
11070
11071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11072 long-double compat symbols.
11073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11086
cfa1f3e8
DM
110872012-04-25 David S. Miller <davem@davemloft.net>
11088
11089 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11090 HWCAP_* values only after the memory barriers have been defined.
11091 (atomic_full_barrier): Define.
11092 (atomic_read_barrier): Define.
11093 (atomic_write_barrier): Define.
11094
6e236b92
SP
110952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11096
11097 * shlib-versions: Add libgcc_s version information.
11098 * sysdeps/generic/libgcc_s.h: Remove.
11099 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11100 libgcc_s.h.
11101 * sysdeps/gnu/unwind-resume.c: Likewise.
11102 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11103
aab39a09
DM
111042012-04-25 David S. Miller <davem@davemloft.net>
11105
11106 * sysdeps/unix/sparc/brk.S: Delete.
11107 * sysdeps/unix/sparc/dl-brk.S: Delete.
11108 * sysdeps/unix/sparc/pipe.S: Delete.
11109 * sysdeps/unix/sparc/sysdep.S: Delete.
11110 * sysdeps/unix/sparc/sysdep.h: Delete.
11111 * sysdeps/unix/sparc/vfork.S: Delete.
11112 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11113 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11114 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11115 ret_ERRVAL, r0, r1, MOVE): Define.
11116 (JUMPTARGET): Remove.
11117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11118 sysdeps/unix/sparc/sysdep.h
11119 (ENTRY, END): Remove.
11120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11121
a3cc4f48
JM
111222012-04-25 Joseph Myers <joseph@codesourcery.com>
11123
2ed8cda2
JM
11124 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11125 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11126 -DIS_IN_build.
11127
35d76d59
JM
11128 * timezone/README: Update upstream location and email address for
11129 tzcode and tzdata.
11130 * timezone/zdump.c: Update from tzcode 2012b.
11131 * timezone/zic.c: Likewise.
11132
a3cc4f48
JM
11133 * configure.in (libc_cv_as_needed): Remove test.
11134 * configure: Regenerated.
11135 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11136 conditional definition.
11137 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11138 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11139 * config.make.in (have-as-needed): Remove variable.
11140
ceab42c3
SP
111412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11142 Paul Pluzhnikov <ppluzhnikov@google.com>
11143
11144 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11145 strings correctly.
11146
3ce2865f
CLT
111472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11148
11149 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11150 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11151 * sysdeps/sh/strlen.S: Likewise.
11152
f37e0d68
JM
111532012-04-24 Joseph Myers <joseph@codesourcery.com>
11154
ae186e9a
JM
11155 * sysdeps/unix/fork.S: Remove file.
11156 * sysdeps/unix/i386/fork.S: Likewise.
11157 * sysdeps/unix/sparc/fork.S: Likewise.
11158
b96914af
JM
11159 * sysdeps/unix/system.c: Remove file.
11160 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11161
f37e0d68
JM
11162 * sysdeps/unix/getegid.S: Remove file.
11163 * sysdeps/unix/geteuid.S: Likewise.
11164
87ef29ca
RM
111652012-04-24 Roland McGrath <roland@hack.frob.com>
11166
83bcd236
RM
11167 * scripts/check-localplt.awk: New file.
11168 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11169 of diff.
11170 * scripts/data/localplt-generic.data: Add a comment.
11171
87ef29ca
RM
11172 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11173 NODE when __dir_mkfile failed.
11174 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11175 Reported by Ludovic Courtès <ludo@gnu.org>.
11176
e5a6e567
AJ
111772012-04-24 Andreas Jaeger <aj@suse.de>
11178
11179 * Makerules (common-clean): Also remove gen-as-const-headers
11180 files.
11181
c1820385
JM
111822012-04-24 Joseph Myers <joseph@codesourcery.com>
11183
11184 * Makerules (native-compile): Do not change working directory for
11185 build. Use $(OUTPUT_OPTION) in command.
11186 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11187
94e02fc4
AZ
111882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11189
11190 [BZ #13886]
11191 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11192 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11193 * math/libm-test.inc (floor_test): Add more tests.
11194 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11195
3a533ca3
JM
111962012-04-24 Joseph Myers <joseph@codesourcery.com>
11197
940ab4b3
JM
11198 * sysdeps/unix/getdents.c: Remove file.
11199 * sysdeps/unix/sysv/getdents.c: Likewise.
11200 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11201
90e037bd
JM
11202 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11203 sysdeps/unix/mman/syscalls.list.
11204 (mmap): Likewise.
11205 (mprotect): Likewise.
11206 (msync): Likewise.
11207 (munmap): Likewise.
11208 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11209 * sysdeps/unix/mman/syscalls.list: Remove.
11210 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11211
3a533ca3
JM
11212 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11213 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11214 * configure: Regenerated.
11215 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11216 $(libgcc_s_suffix).
11217 * config.make.in (libgcc_s_suffix): Remove variable.
11218
1ad743de
JM
112192012-04-23 Joseph Myers <joseph@codesourcery.com>
11220
4ad451e2
JM
11221 * sysdeps/unix/sysv/gethostname.c: Move to ...
11222 * sysdeps/posix/gethostname.c: ... here.
11223
5e37ce39
JM
11224 * sysdeps/unix/execve.S: Remove file.
11225
1ad743de
JM
11226 * sysdeps/unix/_exit.S: Remove file.
11227
4e681b5b
AJ
112282012-04-23 Andreas Jaeger <aj@suse.de>
11229
11230 [BZ #13739]
11231 * manual/Makefile: Remove make dist support, there's no
11232 need for a stand-alone documentation tar ball.
11233 (TEXI2DVI): Define always, it's not in Makeconfig.
11234 (dist): Removed.
11235 (tar-it): Removed.
11236 (edition): Removed.
11237 (glibc-doc-$(edition).tar): Removed
11238 (%.Z): Removed.
11239 (%.gz): Removed.
11240 (%.uu): Removed.
11241 (ETAGS): Remove, it's in Makeconfig.
11242 (move-if-change): Remove, it's in Makeconfig.
11243
c0baea34
PE
112442013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11245
11246 [BZ #13970]
11247 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11248 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11249 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11250 (strtod_l, strtof_l, strtold_l): Remove __wur.
11251 It is not necessarily an error to ignore strtol's return value.
11252 One can reliably look at the stored endptr to decide whether
11253 the number had valid syntax.
11254
7c0616fa
AJ
112552012-04-21 Andreas Jaeger <aj@suse.de>
11256
803cb6b7 11257 [BZ #13739]
7c0616fa
AJ
11258 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11259
b0fe253f
JM
112602012-04-21 Joseph Myers <joseph@codesourcery.com>
11261
11262 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11263 * sysdeps/unix/sysv/Versions: Remove file.
11264
8280f22d
MT
112652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11266
11267 [BZ #13927]
11268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11269
75ce411f 112702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11271
11272 [BZ #7064]
11273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11274 version from __vm86.
11275
097d59fa
JM
112762012-04-20 Joseph Myers <joseph@codesourcery.com>
11277
a90f3bcb
JM
11278 * sysdeps/unix/common/lxstat.c: Remove file.
11279 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11280
edc7ea78
JM
11281 * sysdeps/unix/sysv/Makefile: Remove file.
11282
cb78c221
JM
11283 * sysdeps/unix/sysv/direct.h: Remove file.
11284
efa6a45f
JM
11285 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11286 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11287 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11288 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11289 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11290 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11291 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11292
9c9f2d0c
JM
11293 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11294
4541c83b
JM
11295 * sysdeps/unix/xmknod.c: Remove file.
11296 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11297
f5d153a0
JM
11298 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11299
aa746595
JM
11300 * sysdeps/unix/sysv/i386/time.S: Remove file.
11301
cce5905e
JM
11302 * sysdeps/unix/fxstat.c: Remove file.
11303 * sysdeps/unix/xstat.c: Likewise.
11304 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11305
37fa3841
JM
11306 * sysdeps/unix/sysv/sigaction.c: Remove file.
11307
ff1962a3
JM
11308 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11309 (sysdep_headers): Remove variable.
11310 [termio.h not in sysdep_headers] (generated): Likewise.
11311 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11312 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11313 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11314 * sysdeps/unix/sysv/tcflow.c: Likewise.
11315 * sysdeps/unix/sysv/tcflush.c: Likewise.
11316 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11317 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11318 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11319 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11320 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11321
e7740d31
JM
11322 * sysdeps/unix/siglist.c: Remove file.
11323
ee06f18b
JM
11324 * sysdeps/unix/getppid.S: Remove file.
11325
097d59fa
JM
11326 * sysdeps/unix/mkdir.c: Remove file.
11327 * sysdeps/unix/rmdir.c: Likewise.
11328
ff3d51ec
AS
113292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11330
11331 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11332 ERR_MAX value.
11333 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11334 errlist-compat value.
11335
50f81fd7
DM
113362012-04-18 David S. Miller <davem@davemloft.net>
11337
11338 * sysdeps/generic/memcopy.h (reg_char): Delete.
11339 * debug/strcat_chk.c: Use char, not reg_char.
11340 * debug/strcpy_chk.c: Likewise.
11341 * debug/strncat_chk.c: Likewise.
11342 * debug/strncpy_chk.c: Likewise.
11343 * string/memchr.c: Likewise.
11344 * string/memrchr.c: Likewise.
11345 * string/rawmemchr.c: Likewise.
11346 * string/strcat.c: Likewise.
11347 * string/strchr.c: Likewise.
11348 * string/strchrnul.c: Likewise.
11349 * string/strcmp.c: Likewise.
11350 * string/strcpy.c: Likewise.
11351 * string/strncat.c: Likewise.
11352 * string/strncmp.c: Likewise.
11353 * string/strncpy.c: Likewise.
11354
8ff41c46
WS
113552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11356
11357 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11358 __builtin_memcopy is called when src and dest ranges are known to not
11359 overlap.
11360
6b652f46
WS
113612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11362
11363 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11364 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11365 fwd_align_merge macro call.
11366 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11367 bwd_align_merge macro call.
11368 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11369
b282631e
WS
113702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11371
11372 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11373 bwd_align_merge macros.
11374 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11375 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11376 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11377
95aa737c
DM
113782012-04-18 David S. Miller <davem@davemloft.net>
11379
11380 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11381
7a99a614
AJ
113822012-04-18 Andreas Jaeger <aj@suse.de>
11383
11384 [BZ# 6794]
11385 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11386 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11388
11389 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11390 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11391 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11392
11393 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11394 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11395 Adjust for changed ldbl-128 files.
11396
11397 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11398 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11399 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11400
e5270c23
DM
114012012-04-17 David S. Miller <davem@davemloft.net>
11402
11403 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11404
fb5e92c9
AS
114052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11406
11407 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11408 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11409 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11410 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11411 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11412 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11413
76da7265
AZ
114142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11415
11416 [BZ #6794]
11417 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11418 * math/libm-test.inc: Add ilogb errno and exception tests.
11419 * math/w_ilogb.c: New file: ilogb wrapper.
11420 * math/w_ilogbf.c: New file: ilogbf wrapper.
11421 * math/w_ilogbl.c: New file: ilogbl wrapper.
11422 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11423 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11424 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11425 exception being thrown with 0.0 as argument.
11426 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11427 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11428 exception being thrown with 0.0 as argument.
11429 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11430 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11431 exception being thrown with 0.0 as argument.
11432 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11433 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11434 exception being thrown with 0.0 as argument.
11435 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11436 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11437 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11438 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11439 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11440 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11441 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11442 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11443 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11444
0396e69d
PB
114452012-04-17 Petr Baudis <pasky@ucw.cz>
11446
11447 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11448 with altivec.
11449
750b5926
MP
114502012-04-16 Marek Polacek <polacek@redhat.com>
11451
11452 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11453
751728a1
MP
114542012-04-16 Marek Polacek <polacek@redhat.com>
11455
11456 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11457 operands of fdivp instruction.
11458
34a27407
L
114592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11460
11461 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11462 * elf/tst-auditmod3b.c: Likewise.
11463 * elf/tst-auditmod4b.c: Likewise.
11464 * elf/tst-auditmod5b.c: Likewise.
11465 * elf/tst-auditmod6b.c: Likewise.
11466 * elf/tst-auditmod6c.c: Likewise.
11467 * elf/tst-auditmod7b.c: Likewise.
11468 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11469 * sysdeps/x86_64/preconfigure.in: Likewise.
11470 * sysdeps/x86_64/preconfigure: Regenerated.
11471
7e73e17d
L
114722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11475 __ILP32__.
11476
c7a6ab72
AB
114772012-04-13 Antoine Balestrat <merkil33@gmail.com>
11478
11479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11480 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11481
a9e8e0e0
CL
114822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11483
11484 [BZ #13973]
11485 * locale/iso-639.def: Fix gl language name. Spotted by
11486 Yaron Shahrabani.
11487
ec98af7d
RM
114882012-04-12 Roland McGrath <roland@hack.frob.com>
11489
11490 [BZ #2074]
11491 * libio/libio.h (__io_write_fn): Update comment.
11492
247c3ede
PB
114932012-04-12 Petr Baudis <pasky@ucw.cz>
11494
11495 [BZ #2074]
11496 * stdio.texi (Hook Functions): The user provided writer function
11497 is not allowed to return -1.
11498
55939d6d
DM
114992012-04-11 David S. Miller <davem@davemloft.net>
11500
11501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11502
90020f5a
MF
115032012-04-11 Mike Frysinger <vapier@gentoo.org>
11504
11505 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11506 Add a leading slash to rtkaio.
11507
288f9098
JM
115082012-04-11 Jim Meyering <meyering@redhat.com>
11509
90020f5a
MF
11510 [BZ #11959]
11511 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11512 It is not necessarily an error to ignore fwrite's return
11513 value. One can reliably use ferror to test for errors after
11514 the fact.
288f9098 11515
4be2b570
L
115162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11517
11518 * bits/types.h (__snseconds_t): New type.
11519 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11520
11521 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11523 (__SNSECONDS_T_TYPE): Likewise.
11524 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11525 (__SNSECONDS_T_TYPE): Likewise.
11526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11527 (__SNSECONDS_T_TYPE): Likewise.
11528
288f9098 115292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11530
11531 [BZ #2636]
11532 * manual/time.texi (Processor Time): Return type of times is
11533 elapsed real time since an arbitrary point in the past.
11534 (CPU Time): Move CLK_TCK from here...
11535 (Processor Time): ...to here. Correct description.
11536 * manual/conf.texi (Constants for Sysconf): Correct description of
11537 _SC_CLK_TCK.
11538
d7dd4413
DM
115392012-04-10 David S. Miller <davem@davemloft.net>
11540
11541 [BZ #13967]
11542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11543 where the is a gap between DT_REL(A) and DT_JMPREL.
11544
b46068fc
L
115452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11546
11547 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11548 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11549 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11550
73d65cc3
SP
115512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11552
11553 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11554 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11555 (dl_main): Handle --inhibit-cache.
11556 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11557 _dl_inhibit_cache.
11558 * elf/dl-load.c (_dl_map_object): Use it.
11559 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11560
bcc8d661
JM
115612012-04-09 Joseph Myers <joseph@codesourcery.com>
11562
8f9a2fae
JM
11563 [BZ #13872]
11564 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11565 (__ieee754_powl): Saturate large exponents rather than testing for
11566 overflow of y*log2(x).
11567 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11568 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11569 exceptions.
11570
bcc8d661
JM
11571 [BZ #11521]
11572 * math/s_ctan.c: Include <float.h>.
11573 (__ctan): Avoid internal overflow or cancellation in calculating
11574 denominator.
11575 * math/s_ctanf.c: Likewise.
11576 * math/s_ctanl.c: Likewise.
11577 * math/s_ctanh.c: Likewise.
11578 * math/s_ctanhf.c: Likewise.
11579 * math/s_ctanhl.c: Likewise.
11580 * math/libm-test.inc (ctan_test): Add more tests.
11581 (ctanh_test): Likewise.
11582 * sysdeps/i386/fpu/libm-test-ulps: Update.
11583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11584
823fbbb4
AJ
115852012-04-09 Andreas Jaeger <aj@suse.de>
11586
03879793
AJ
11587 [BZ #6894]
11588 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11589 is an optional BSD extension.
11590
823fbbb4
AJ
11591 [BZ #10254]
11592 * manual/stdio.texi (Opening Streams): Document additional fopen
11593 parameters.
11594
8de131cb
RM
115952012-04-09 Roland McGrath <roland@hack.frob.com>
11596
11597 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11598 %eax without telling the compiler.
11599
c0ed9d7d
CD
116002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11601
11602 [BZ # 13963]
11603 * manual/install.texi: Use sourceware.org.
11604
c483f6b4
JM
116052012-04-09 Joseph Myers <joseph@codesourcery.com>
11606
d7dd9453
JM
11607 [BZ #13873]
11608 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11609 (__ieee754_pow): Generate overflow and underflow using huge*huge
11610 and tiny*tiny rather than just returning constant infinity or zero
11611 for large exponents.
11612 * math/libm-test.inc (pow_test): Require overflow exceptions for
11613 applicable cases of large exponents.
11614
c483f6b4
JM
11615 [BZ #706]
11616 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11617 (__ieee754_pow): Use iterative multiplication algorithm only for
11618 integer exponents with absolute value below 1024. Check for odd
11619 integer exponents when using algorithm for real exponents.
11620 * math/libm-test.inc (pow_test): Add more tests.
11621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11622
d2de7579
JM
116232012-04-08 Joseph Myers <joseph@codesourcery.com>
11624
11625 [BZ #13705]
11626 * math/libm-test.inc (exp_test): Do not allow overflow exception
11627 on underflow test.
11628
f77f1232
AJ
116292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11630
11631 [BZ #13705]
11632 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11633 instead of __kernel_standard_f.
11634
3884932b
MF
116352012-04-08 Mike Frysinger <vapier@gentoo.org>
11636
11637 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11638 * sysdeps/x86_64/memset_chk.S: Likewise.
11639
54472e9c
AJ
116402012-04-08 Andreas Jaeger <aj@suse.de>
11641
6ab0fbfc
AJ
11642 [BZ #10153]
11643 * manual/startup.texi (Environment Access): Describe return value
11644 for putenv and setenv.
11645
61efba8c
AJ
11646 [BZ #6895]
11647 * manual/filesys.texi (Directory Entries): Add description for
11648 DT_LNK.
11649
95c3f29a
AJ
11650 [BZ #6890]
11651 * manual/filesys.texi (Directory Entries): Clarify that it's file
11652 system not operating system in the description of DT_UNKNOWN.
11653
54472e9c
AJ
11654 [BZ #6578]
11655 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11656
624254b1
SC
116572012-04-08 Stephen Compall <s11@member.fsf.org>
11658
11659 [BZ #6649]
11660 * manual/llio.texi (Opening and Closing Files): Add cross
11661 reference to explain mode argument.
11662
1e4920e0
MF
116632012-04-07 Mike Frysinger <vapier@gentoo.org>
11664
11665 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11666 * sysdeps/x86_64/memset_chk.S: Likewise.
11667
5ed848f3
DM
116682012-04-07 David S. Miller <davem@davemloft.net>
11669
11670 * elf/elf.h (R_SPARC_WDISP10): Define.
11671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11672 R_SPARC_SIZE32.
11673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11674 R_SPARC_SIZE64 and R_SPARC_H34.
11675
96154cd8
CD
116762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11677
11678 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11679 conditions and remove no longer applicable assertion.
11680
9904dc47
L
116812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11682
11683 * bits/byteswap.h: Include <features.h>.
11684 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11685 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11686
f8887d0a
L
116872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * bits/byteswap.h (__bswap_16): Removed.
11690 Include <bits/byteswap-16.h> to get __bswap_16.
11691 * sysdeps/i386/bits/byteswap.h: Likewise.
11692 * sysdeps/s390/bits/byteswap.h: Likewise.
11693 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11694 * bits/byteswap-16.h: New file.
11695 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11696 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11697 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11698 * string/Makefile (headers): Add bits/byteswap-16.h.
11699
62470f60
PP
117002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11701
11702 [BZ #13895]
11703 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11704 extra indirection.
11705 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11706 * nss/tst-nss-static.c: New.
11707
4dad7bab
RM
117082012-04-06 Robert Millan <rmh@gnu.org>
11709
11710 [BZ #6486]
11711 * manual/llio.texi (File Position Primitive): lseek
11712 refers to WHENCE when it really means OFFSET.
11713
e9142a17
AJ
117142012-04-06 Andreas Jaeger <aj@suse.de>
11715
2c040eff
AJ
11716 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11717 strncmp declarations.
11718
e9142a17
AJ
11719 * abilist/libc.abilist: Add __poll and __ppoll.
11720
ff9f1c5f
DM
117212012-04-05 David S. Miller <davem@davemloft.net>
11722
dcd2ae90
DM
11723 * scripts/check-local-headers.sh: Accept a host triplet in the
11724 path matched by the exclude regexp.
11725
993eb054
DM
11726 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11727 definition.
11728 * sysdeps/powerpc/powerpc32/dl-machine.h
11729 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11730 * sysdeps/s390/s390-32/dl-machine.h
11731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11732 * sysdeps/sparc/sparc32/dl-machine.h
11733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11734 * sysdeps/sparc/sparc64/dl-machine.h
11735 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11736
ff9f1c5f
DM
11737 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11738 lazy binding.
48e2e132 11739 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11740 undefined symbol errors.
11741
48e2e132 11742 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11743 DT_NEEDED entries.
11744
e80d6f94
MM
117452012-04-05 Michael Matz <matz@suse.de>
11746
11747 [BZ #13592]
11748 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11749
349fa79f
AJ
117502012-04-05 Andreas Jaeger <aj@suse.de>
11751
11752 [BZ #13908]
11753 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11754 comment.
11755
f402708f
KK
117562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11757
11758 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11759 which ROUND is no valid rounding mode.
11760
2ecccfc9
KK
117612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11762
11763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11764 read again.
11765 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11766
8a53f50f
KK
117672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11768
11769 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11770 an exception using FPU order intentionally.
11771
117722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11773
11774 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11775 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11776 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11777 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11778
d653abb7
SJ
117792012-04-05 Simon Josefsson <simon@josefsson.org>
11780
11781 [BZ #12340]
11782 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11783 EINVAL when BUFLEN is too smal.
11784
c3b1bf7d
TS
117852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11786
11787 [BZ #13553]
11788 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11789 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11790
b1aa60f3
AJ
117912012-04-03 Andreas Jaeger <aj@suse.de>
11792
c3b1bf7d 11793 [BZ #13938]
67f60a26
AJ
11794 * manual/setjmp.texi (System V contexts): Fix sentence.
11795
b1aa60f3
AJ
11796 [BZ #13926]
11797 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11798 New macro for this case.
11799 [!__GNUC__] (__bswap_64): New inline function for this case.
11800 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11801 * bits/byteswap.h: Likewise.
11802 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11803 ull, guard with __GLIBC_HAVE_LONG_LONG.
11804
11805 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11806 __GLIBC_HAVE_LONG_LONG.
11807
11808 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11809 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11810
39c59c35
TMQMF
118112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11812
11813 [BZ #13691]
11814 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11815 inptr and inend, rather than using last_ch.
11816
135ffda8
DM
118172012-04-02 David S. Miller <davem@davemloft.net>
11818
11819 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11820 * stdio-common/printf-parse.h (read_int): Change return type to
11821 'int', return -1 on INT_MAX overflow.
11822 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11823 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11824 overflows INT_MAX. Check for overflow of in-format-string precision
11825 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11826 SIZE_MAX not INT_MAX for integer overflow test.
11827 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11828 skip the construct in the format string but do not record anything.
11829 * stdio-common/bug22.c: Adjust to test both width/prevision
11830 INT_MAX overflow as well as total length INT_MAX overflow. Check
11831 explicitly for proper errno values.
11832
228c019e
TS
118332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11834
302cadd3
TS
11835 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11836 CHAR_MAX.
11837 * string/test-strcmp.c [! WIDE]: Likewise.
11838 * time/tst-mktime2.c: Likewise for INT_MAX.
11839 * string/test-string.h: #include <sys/param.h> for MIN.
11840
228c019e
TS
11841 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11842 * sysdeps/i386/init-first.c (init): Likewise.
11843 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11844 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11845 * sysdeps/sh/init-first.c (init): Likewise.
11846
cfa633f5
UD
118472012-04-01 Ulrich Drepper <drepper@gmail.com>
11848
11849 * po/ru.po: Update from translation team.
d1635ef8 11850 * po/vi.po: Likewise.
cfa633f5 11851
6cd0a5ea
SP
118522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11853
11854 * resolv/nss_dns/dns-host.c: Merge copyright years.
11855
4b43400f
LD
118562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11857
11858 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11859 Optimize memcpy with prefetch if
11860 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11861 src, dst pointers have unequal 16 byte alignments.
11862
48c41d04
SP
118632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11864
11865 [BZ #13928]
11866 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11867 from a CNAME entry and return the minimum ttl for the query.
11868 (gaih_getanswer_slice): Likewise.
11869
b8dc394d
JL
118702012-03-30 Jeff Law <law@redhat.com>
11871
11872 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11873 due to long keys.
11874 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11875 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11876
2f5a5ed0
JL
11877 * resolv/nss_dns/dns-host.c: Update copyright year.
11878
1d39e359
UD
118792012-03-30 Ulrich Drepper <drepper@gmail.com>
11880
c030f70c 11881 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11882 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11883
1d39e359
UD
11884 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11885 comments for sendmmsg.
11886
118872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11888
11889 [BZ #13691]
11890 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11891 with only 1 character between 0x0041 and 0x01b0.
11892 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11893 * wcsmbs/tst-mbsnrtowcs.c: New file.
11894
20fde227
DM
118952012-03-29 David S. Miller <davem@davemloft.net>
11896
11897 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11898 small copies by hand.
11899
984a4237
JL
119002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11901
11902 [BZ #13761]
11903 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11904 _nss_compat_initgroups_dyn): Fall back to malloc/free
11905 for large group memberships.
11906
18c9d62b
DM
119072012-03-28 David S. Miller <davem@davemloft.net>
11908
88d85d4f
DM
11909 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11910 that branches into memcpy.
11911 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11913 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11914 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11916 bits.
11917 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11918 implementation too.
11919 * sysdeps/sparc/mempcpy.S: New file.
11920
e5aa83e1
DM
11921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11922 the IFUNC routine in the libc case.
11923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11924
88570753
DM
11925 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11926 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11927 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11928 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11929 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11930 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11931 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11932 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11933
249d7567
DM
11934 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11935 loop to 256 bytes instead of 64 bytes and fix test signedness.
11936
18c9d62b
DM
11937 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11938 * sysdeps/sparc/sparc32/Makefile: rather than here...
11939 * sysdeps/sparc/sparc64/Makefile: and here.
11940
05f3d1f6
UD
119412012-03-28 Ulrich Drepper <drepper@gmail.com>
11942
11943 * malloc/mallocbug.c: Avoid warnings about unused variables.
11944
86ae07a8
JL
119452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11946
11947 [BZ #13760]
11948 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11949 in the right place. Discard and retry query if response is
11950 larger than input buffer size.
11951
41bf21a1
JM
119522012-03-28 Joseph Myers <joseph@codesourcery.com>
11953
d6270972
JM
11954 [BZ #369]
11955 [BZ #2678]
11956 [BZ #3866]
11957 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11958 x for large integer exponent.
11959 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11960 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11961 sign of result as needed afterwards.
11962 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11963 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11964 result for underflowing pow the same as for overflow.
11965 (__kernel_standard_l): Handle powl overflow and underflow here
11966 rather than calling __kernel_standard.
11967 * math/libm-test.inc (pow_test): Add more tests.
11968
414fca03 11969 [BZ #3868]
41bf21a1
JM
11970 [BZ #13879]
11971 [BZ #13910]
11972 [BZ #13911]
11973 [BZ #13912]
11974 [BZ #13913]
11975 [BZ #13915]
11976 [BZ #13916]
11977 [BZ #13917]
11978 [BZ #13918]
11979 [BZ #13919]
11980 [BZ #13920]
11981 [BZ #13921]
11982 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11983 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11984 (__kernel_standard_l): New function.
11985 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11986 __kernel_standard.
11987 * math/w_acosl.c (__acosl): Likewise.
11988 * math/w_asinl.c (__asinl): Likewise.
11989 * math/w_atan2l.c (__atan2l): Likewise.
11990 * math/w_atanhl.c (__atanhl): Likewise.
11991 * math/w_coshl.c (__coshl): Likewise.
11992 * math/w_exp10l.c (__exp10l): Likewise.
11993 * math/w_exp2l.c (__exp2l): Likewise.
11994 * math/w_fmodl.c (__fmodl): Likewise.
11995 * math/w_hypotl.c (__hypotl): Likewise.
11996 * math/w_j0l.c (__j0l, __y0l): Likewise.
11997 * math/w_j1l.c (__j1l, __y1l): Likewise.
11998 * math/w_jnl.c (__jnl, __ynl): Likewise.
11999 * math/w_lgammal.c (__lgammal): Likewise.
12000 * math/w_log10l.c (__log10l): Likewise.
12001 * math/w_log2l.c (__log2l): Likewise.
12002 * math/w_logl.c (__logl): Likewise.
12003 * math/w_powl.c (__powl): Likewise.
12004 * math/w_remainderl.c (__remainderl): Likewise.
12005 * math/w_scalbl.c (sysv_scalbl): Likewise.
12006 * math/w_sinhl.c (__sinhl): Likewise.
12007 * math/w_sqrtl.c (__sqrtl): Likewise.
12008 * math/w_tgammal.c (__tgammal): Likewise.
12009 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12010 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12011 * math/libm-test.inc (acos_test): Add more tests.
12012 (acosh_test): Likewise.
12013 (asin_test): Likewise.
12014 (atanh_test): Likewise.
12015 (exp_test): Likewise.
12016 (exp10_test): Likewise.
12017 (exp2_test): Likewise.
12018 (expm1_test): Likewise.
12019 (lgamma_test): Likewise.
12020 (log_test): Likewise.
12021 (log10_test): Likewise.
12022 (log1p_test): Likewise.
12023 (log2_test): Likewise.
12024 (pow_test): Do not allow some spurious overflow exceptions.
12025 (sqrt_test): Add more tests.
12026 (tgamma_test): Likewise.
12027 (y0_test): Likewise.
12028 (y1_test): Likewise.
12029 (yn_test): Likewise.
12030
dd62fda6
AB
120312012-03-27 Anton Blanchard <anton@samba.org>
12032
12033 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12034 MAP_HUGETLB.
12035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12036 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12038
1e3cdfda
AJ
120392012-03-27 David S. Miller <davem@davemloft.net>
12040
b855ab85
DM
12041 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12042
1e3cdfda
AJ
12043 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12044 have-as-vis3 check.
12045
120462012-03-27 Andreas Jaeger <aj@suse.de>
12047
12048 * sysdeps/x86_64/elf/configure.in: Moved to ...
12049 * sysdeps/x86_64/configure.in: ... here.
12050 * sysdeps/x86_64/elf/start.S: Moved to ...
12051 * sysdeps/x86_64/start.S: ... here.
12052 * sysdeps/x86_64/elf/configure: Delete.
12053
12054 * sysdeps/x86_64/configure.in: Merge contents from
12055 sysdeps/i386/configure.in (without i686 check).
12056
12057 * sysdeps/i386/elf/Versions: Merge into ...
12058 * sysdeps/i386/Versions: ... this.
12059 * sysdeps/i386/elf/Versions: Delete file.
12060 * sysdeps/i386/elf/start.S: Moved to ...
12061 * sysdeps/i386/start.S: ...here.
12062 * sysdeps/i386/elf/configure.in: Merge into...
12063 * sysdeps/i386/configure.in: ...here.
12064 * sysdeps/i386/elf/configure.in: Delete file.
12065 * sysdeps/i386/elf/configure: Delete file.
12066
12067 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12068 * debug/backtracesyms.c: ... here.
12069 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12070 * debug/backtracesymsfd.c: ... here.
12071 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12072 * sysdeps/generic/ifunc-sel.h: ... here.
12073
12074 * sysdeps/unix/i386/start.c: Delete file.
12075 * sysdeps/unix/sparc/start.c: Delete file.
12076 * sysdeps/unix/start.c: Delete file.
12077
12078 * sysdeps/sh/elf/configure.in: Moved to ...
12079 * sysdeps/sh/configure.in: ... here.
12080 * sysdeps/sh/elf/start.S: Moved to ...
12081 * sysdeps/sh/start.S: ... here.
12082 * sysdeps/sh/elf/configure: Delete file.
12083
12084 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12085 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12086 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12087 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12088 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12089 * sysdeps/powerpc/powerpc64/start.S: here.
12090 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12091 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12092 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12093 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12094 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12095
12096 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12097 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12098 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12099 * sysdeps/powerpc/powerpc32/start.S: ... here.
12100 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12101 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12102 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12103
12104 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12105 * sysdeps/powerpc/ifunc-sel.h: ... here.
12106 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12107 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12108
12109 * sysdeps/sparc/elf/configure.in: Moved to ...
12110 * sysdeps/sparc/configure.in: ... here.
12111 * sysdeps/sparc/elf/configure: Delete file.
12112 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12113 * sysdeps/sparc/sparc32/start.S: ... here.
12114 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12115 * sysdeps/sparc/sparc64/start.S: ... here.
12116 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12117 * sysdeps/sparc/sparc32/Makefile: ... this.
12118 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12119 * sysdeps/sparc/sparc64/Makefile: ... this.
12120
12121 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12122 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12123 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12124 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12125 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12126 * sysdeps/s390/s390-32/setjmp.S: ... here.
12127 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12128 * sysdeps/s390/s390-32/configure.in: ... here.
12129 * sysdeps/s390/s390-32/elf/configure: Delete file.
12130 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12131 * sysdeps/s390/s390-32/start.S: ... here.
12132
12133 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12134 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12135 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12136 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12137 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12138 * sysdeps/s390/s390-64/setjmp.S: ... here.
12139 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12140 * sysdeps/s390/s390-64/configure.in: ... here
12141 * sysdeps/s390/s390-64/elf/configure: Delete file.
12142 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12143 * sysdeps/s390/s390-64/start.S: ... here.
12144 * sysdeps/s390/s390-64/elf/configure: Delete.
12145
12146 * configure.in: Remove support for elf directories in sysdeps.
12147
12148 * configure: Regenerated.
12149 * sysdeps/i386/configure: Regenerated.
12150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12152 * sysdeps/s390/s390-32/configure: Regenerated.
12153 * sysdeps/s390/s390-64/configure: Regenerated.
12154 * sysdeps/sh/configure: Regenerated.
12155 * sysdeps/sparc/configure: Regenerated.
12156 * sysdeps/x86_64/configure: Regenerated.
12157
a3f61311
AS
121582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12159
c876e002
AS
12160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12161
a3f61311
AS
12162 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12163 denormal result into account.
12164
ac4c54f0
RM
121652012-03-25 Roland McGrath <roland@hack.frob.com>
12166
12167 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12168 Reported by Allan McRae <allan@archlinux.org>.
12169
6a9b9c02
JL
121702012-03-23 Jeff Law <law@redhat.com>
12171
12172 * nss/getnssent.c (__nss_getent): Fix typo.
12173
4c42a0c1
DM
121742012-03-23 David S. Miller <davem@davemloft.net>
12175
12176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12177
1532c7ac
L
121782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12179
12180 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12181 to pad to uint64_t for each field.
12182 (dl_tls_index): Replace unsigned long with uint64_t.
12183
3ff42526
PP
121842012-03-23 Daniel Jacobowitz <dmj@google.com>
12185 Paul Pluzhnikov <ppluzhnikov@google.com>
12186
12187 [BZ #6528]
12188 * grp/Makefile (otherlibs): Don't set it.
12189 * inet/Makefile (otherlibs): Likewise.
12190 * login/Makefile (otherlibs): Likewise.
12191 * nscd/Makefile (otherlibs): Likewise.
12192 * posix/Makefile (otherlibs): Likewise.
12193 * pwd/Makefile (otherlibs): Likewise.
12194 * rt/Makefile (otherlibs): Likewise.
12195 * sunrpc/Makefile (otherlibs): Likewise.
12196 * nss/Makefile (otherlibs): Likewise.
12197 Add libnss_files to routines and static-only-routines.
12198 ($(objpfx)getent): Remove rule.
12199 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12200 static-only-routines.
12201
7c69cd14
JM
122022012-03-22 Joseph Myers <joseph@codesourcery.com>
12203
12204 [BZ #13892]
12205 * math/s_cexp.c: Include <float.h>.
12206 (__cexp): Handle exp result overflowing not necessarily
12207 overflowing both real and imaginary parts of result.
12208 * math/s_cexpf.c: Likewise.
12209 * math/s_cexpl.c: Likewise.
12210 * math/libm-test.inc (cexp_test): Add more tests.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update.
12212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213
81b035fe
L
122142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 * include/link.h (ELFW): New macro.
12217 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12218 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12219
1da7940c
L
122202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12221
12222 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12223 with uint64_t.
12224
b749dbb9
L
122252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12226
12227 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12228 declaration.
12229 (struct La_x32_retval): Likewise.
12230
2ff87f3f
L
122312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12232
12233 * sysdeps/x86_64/preconfigure.in: New file.
12234 * sysdeps/x86_64/preconfigure: New generated file.
12235
c0df8e69
JM
122362012-03-22 Joseph Myers <joseph@codesourcery.com>
12237
48e44791
JM
12238 [BZ #13824]
12239 * math/e_exp2l.c: Include <float.h>.
12240 (__ieee754_exp2l): Handle overflow and underflow cases
12241 separately. Only pass fractional part of argument to
12242 __ieee754_expl.
12243 * math/libm-test.inc (exp2_test): Add more tests.
12244
c0df8e69
JM
12245 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12246 negating x to take absolute value.
12247 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12248 Likewise.
12249 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12250 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12251 Likewise.
12252 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12253 computing low part if x was negated.
12254 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12255
c8e43ba7
L
122562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12257
12258 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12259 la_x32_gnu_pltexit.
12260 (pltexit): Cast int_retval to ptrdiff_t.
12261 * elf/tst-auditmod3b.c: Likewise.
12262 * elf/tst-auditmod4b.c: Likewise.
12263 * elf/tst-auditmod5b.c: Likewise.
12264 * elf/tst-auditmod6b.c: Likewise.
12265 * elf/tst-auditmod6c.c: Likewise.
12266 * elf/tst-auditmod7b.c: Likewise.
12267
12268 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12269 and x32_gnu_pltexit.
12270
12271 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12272 __ELF_NATIVE_CLASS.
12273 (La_x32_regs): New macro.
12274 (La_x32_retval): Likewise.
12275 (la_x32_gnu_pltenter): New function prototype.
12276 (la_x32_gnu_pltexit): Likewise.
12277
7998fa78
AS
122782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12279
dcb33988
AS
12280 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12281 exponent.
12282
233fc563
AS
12283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12284
7998fa78
AS
12285 * configure.in (libc_cv_cc_nofma): Check for option to disable
12286 generation of FMA instructions.
12287 * configure: Regenerate.
12288 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12289 * sysdeps/ieee754/dbl-64/Makefile: New file.
12290 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12291 Remove brandred-fma4.
12292 (CFLAGS-brandred-fma4.c): Remove.
12293 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12294 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12295 define.
12296 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12297 define.
12298
8e95c99a
L
122992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12302 LLONG_MAX != LONG_MAX.
12303 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12304 (_fitoa_word): Likewise.
12305 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12306 LLONG_MAX != LONG_MAX.
12307 * stdio-common/_itowa.h: Include <_itoa.h>.
12308 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12309 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12310 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12311 only if not defined.
12312 (_ITOA_WORD_TYPE): Likewise.
12313 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12314 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12315
6f4db457
DM
123162012-03-21 David S. Miller <davem@davemloft.net>
12317
12318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12319
7785fe5a
L
123202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12323 of x86_64 when setting libc_cv_slibdir, libdir and
12324 libc_cv_localedir.
12325 * sysdeps/unix/sysv/linux/configure: Regenerated.
12326
4535cd55
JM
123272012-03-21 Joseph Myers <joseph@codesourcery.com>
12328
12329 * manual/lang.texi (Old Varargs): Remove section.
12330 (How Variadic): Update menu.
12331 (va_start): Do not mention varargs.h.
12332
17228132
TS
123332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12334 Joseph Myers <joseph@codesourcery.com>
12335
12336 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12337 link test.
12338 * configure: Regenerated.
12339
8149f976
TS
123402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12341
05f3d1f6
UD
12342 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12343 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12344 conformtest.pl
8149f976 12345
1a4ac776
JM
123462012-03-21 Joseph Myers <joseph@codesourcery.com>
12347
be22ce65
JM
12348 * NOTES: Remove.
12349 * Makefile (files-for-dist): Remove NOTES.
12350 (NOTES): Remove rule.
12351 * README: Don't refer to NOTES.
12352 * manual/creature.texi: Don't include macros.texi.
12353 * manual/intro.texi (creature.texi): Remove comment referring to
12354 NOTES.
12355
40b601fb
JM
12356 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12357 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12358 * configure: Regenerated.
12359 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12360 LIBC_TRY_CC_OPTION.
12361 (libc_cv_as_i686): Likewise.
12362 (libc_cv_cc_avx): Likewise.
12363 (libc_cv_cc_sse2avx): Likewise.
12364 (libc_cv_cc_fma4): Likewise.
12365 (libc_cv_cc_novzeroupper): Likewise.
12366 * sysdeps/i386/configure: Regenerated.
12367
1a4ac776
JM
12368 [BZ #13883]
12369 * sysdeps/i386/fpu/s_cexp.S: Remove.
12370 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12371 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12372 * math/libm-test.inc (cexp_test): Add more tests.
12373 * sysdeps/i386/fpu/libm-test-ulps: Update.
12374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12375
a458e7fe
AM
123762012-03-21 Allan McRae <allan@archlinux.org>
12377
12378 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12379
0cb7efc5
JM
123802012-03-21 Joseph Myers <joseph@codesourcery.com>
12381
12382 [BZ #13871]
12383 * math/w_exp2.c: Do not include <float.h>.
12384 (o_threshold, u_threshold): Remove.
12385 (__exp2): Calculate result before checking finiteness and calling
12386 __kernel_standard.
12387 * math/w_exp2f.c: Likewise.
12388 * math/w_exp2l.c: Likewise.
12389 * math/libm-test.inc (exp2_test): Require overflow exception for
12390 1e6 input.
2460d3aa
JM
12391
12392 [BZ #3866]
12393 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12394 range of signed 64-bit integers before using fistpll. Remove
12395 checks for whether integers fit in mantissa bits.
12396 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12397 the range of signed 32-bit integers before using fistpl. Remove
12398 checks for whether integers fit in mantissa bits.
12399 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12400 (__ieee754_powl): Test for y outside the range of signed 64-bit
12401 integers before using fistpll. Reduce 64-bit values to 63-bit
12402 ones as needed.
12403 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12404 divide-by-zero is raised for zero to large negative powers.
12405 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12406 (__ieee754_powl): Test for y outside the range of signed 64-bit
12407 integers before using fistpll. Reduce 64-bit values to 63-bit
12408 ones as needed.
12409 * math/libm-test.inc (pow_test): Add more tests.
12410
eb96ffb0
L
124112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12412
12413 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12414 <stdio-common/_itoa.h>.
12415 * debug/segfault.c: Likewise.
12416 * elf/dl-cache.c: Likewise.
12417 * elf/dl-minimal.c: Likewise.
12418 * elf/dl-misc.c: Likewise.
12419 * elf/dl-sysdep.c: Likewise.
12420 * elf/dl-version.c: Likewise.
12421 * elf/rtld.c: Likewise.
12422 * hurd/hurdsock.c: Likewise.
12423 * hurd/lookup-retry.c: Likewise.
12424 * malloc/malloc.c: Likewise.
12425 * malloc/mtrace.c: Likewise.
12426 * nscd/nscd_getgr_r.c: Likewise.
12427 * nscd/nscd_getpw_r.c: Likewise.
12428 * nscd/nscd_getserv_r.c: Likewise.
12429 * posix/getopt_init.c: Likewise.
12430 * posix/wordexp.c: Likewise.
12431 * stdio-common/_itoa.c: Likewise.
12432 * stdio-common/printf_fphex.c: Likewise.
12433 * stdio-common/vfprintf.c: Likewise.
12434 * string/_strerror.c: Likewise.
12435 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12436 * sysdeps/i386/i686/hp-timing.h: Likewise.
12437 * sysdeps/mach/_strerror.c: Likewise.
12438 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12439 * sysdeps/mach/hurd/sethostid.c: Likewise.
12440 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12441 * sysdeps/mach/xpg-strerror.c: Likewise.
12442 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12444 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12445 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12446 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12447 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12448 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12449 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12450 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12451 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12452 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12453 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12454 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12455 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12456 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12457 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12458 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12459 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12460 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12461 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12462 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12463
12464 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12465
12466 * stdio-common/_itoa.h: Moved to ...
12467 * sysdeps/generic/_itoa.h: Here.
12468
12469 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12470
12471 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12472 instead of "_itoa.h" and "_itowa.h".
12473 * stdio-common/vfprintf.: Likewise.
12474
d1af992d
L
124752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12476
12477 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12478 <bits/wordsize.h>.
12479 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12480 (__signbit): Likwise.
12481 (llrintf): Likwise.
12482 (llrint): Likwise.
12483
114883e0
L
124842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12485
12486 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12487 __WORDSIZE != 64.
12488
c135cc1b
JM
124892012-03-20 Joseph Myers <joseph@codesourcery.com>
12490
12491 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12492 OVERFLOW_EXCEPTION_OK.
12493 * math/libm-test.inc ("Philosophy"): Update comment about
12494 exception testing.
12495 (OVERFLOW_EXCEPTION): Define.
12496 (OVERFLOW_EXCEPTION_OK): Likewise.
12497 (INVALID_EXCEPTION_OK): Renumber.
12498 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12499 (IGNORE_ZERO_INF_SIGN): Likewise.
12500 (test_exceptions): Handle FE_OVERFLOW.
12501 (exp10_test): Expect overflow exceptions.
12502 (exp2_test): Likewise.
12503 (expm1_test): Likewise.
12504 (nextafter_test): Likewise.
12505 (pow_test): Likewise.
12506 (scalbn_test): Likewise.
12507 (scalbln_test): Likewise.
12508
95443d88
L
125092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12510
12511 * sysdeps/x86_64/bits/atomic.h
12512 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12513 64bit integer.
12514 (atomic_exchange_acq): Likewise.
12515 (__arch_exchange_and_add_body): Likewise.
12516 (__arch_add_body): Likewise.
12517 (atomic_add_negative): Likewise.
12518 (atomic_add_zero): Likewise.
12519
490df6c4
L
125202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12521
c2722551 12522 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12523 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12524
5e52b189
L
125252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12526
12527 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12528 Check __x86_64__ instead of __WORDSIZE.
12529
a9879d4c
L
125302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12533
5df98260
DM
125342012-03-19 David S. Miller <davem@davemloft.net>
12535
e1497744
DM
12536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12537
5df98260
DM
12538 * sysdeps/sparc/fpu/fenv_private.h: New file.
12539 * sysdeps/sparc/fpu/math_private.h: Use it.
12540 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12541 Remove.
12542 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12543 (libc_feholdexcept_setroundl): Remove.
12544 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12545 Remove.
12546 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12547 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12548
b4c35121
L
125492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12550
12551 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12552 int64_t instead of long int.
12553 (INSERT_WORDS64): Likwise.
12554
56965fd7
L
125552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12556
12557 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12558 _Unwind_GetCFA return to _Unwind_Ptr first.
12559
83d1aec8
JM
125602012-03-19 Joseph Myers <joseph@codesourcery.com>
12561
1897ad44
JM
12562 [BZ #13629]
12563 * math/s_clog.c: Include <float.h>.
12564 (__clog): Scale large or subnormal inputs.
12565 * math/s_clogf.c: Likewise.
12566 * math/s_clogl.c: Likewise.
12567 * math/s_clog10.c: Include <float.h>.
12568 (M_LOG10_2): Define.
12569 (__clog10): Scale large or subnormal inputs.
12570 * math/s_clog10f.c: Likewise.
12571 * math/s_clog10l.c: Likewise.
12572 * math/libm-test.inc (clog_test): Add more tests.
12573 (clog10_test): Likewise.
12574 * sysdeps/i386/fpu/libm-test-ulps: Update.
12575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12576
7726d6a9
JM
12577 [BZ #11451]
12578 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12579 x and y.
12580 * math/libm-test.inc (atan2_test): Add another test.
12581
83d1aec8
JM
12582 * Makerules (common-objdir-compile): Remove.
12583 * sysdeps/unix/Makefile (config-generated): Do not add
12584 $(unix-generated) to variable.
12585 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12586 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12587 Remove rule.
12588 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12589 Likewise.
12590 [generic bits/local_lim.h] (before-compile): Do not append to
12591 variable.
12592 [generic bits/local_lim.h] (common-generated): Likewise.
12593 [generic sys/param.h] (before-compile): Do not append to variable.
12594 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12595 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12596 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12597 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12598 include.
12599 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12600 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12601 [generic sys/param.h] ($(addprefix
12602 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12603 [generic sys/param.h] (common-generated): Do not append to
12604 variable.
12605 [generic sys/param.h] (sysdep_headers): Likewise.
12606 [generic bits/errno.h] (before-compile): Do not append to
12607 variable.
12608 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12609 rule.
12610 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12611 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12612 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12613 [generic bits/errno.h] (common-generated): Do not append to
12614 variable.
12615 [generic bits/ioctls.h] (before-compile): Do not append to
12616 variable.
12617 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12618 rule.
12619 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12620 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12621 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12622 rule.
12623 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12624 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12625 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12626 [generic bits/ioctls.h] (common-generated): Do not append to
12627 variable.
12628 [generic sys/syscall.h] (syscall.h): Remove variable.
12629 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12630 rule.
12631 [generic sys/syscall.h] (before-compile): Do not append to
12632 variable.
12633 [generic sys/syscall.h] (common-generated): Likewise.
12634 * sysdeps/unix/errnos-tmpl.c: Remove file.
12635 * sysdeps/unix/errnos.awk: Likewise.
12636 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12637 * sysdeps/unix/ioctls.awk: Likewise.
12638 * sysdeps/unix/mk-local_lim.c: Likewise.
12639 * sysdeps/unix/snarf-ioctls: Likewise.
12640
4851a949
RH
126412012-03-19 Richard Henderson <rth@twiddle.net>
12642
bd37f2ee
RH
12643 * sysdeps/i386/fpu/fenv_private.h: New file.
12644 * sysdeps/i386/fpu/math_private.h: Use it.
12645 (math_opt_barrier, math_force_eval): Remove.
12646 (libc_feholdexcept_setround_53bit): Remove.
12647 (libc_feupdateenv_53bit): Remove.
12648 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12649 (math_opt_barrier, math_force_eval): Remove.
12650 (libc_feholdexcept): Remove.
12651 (libc_feholdexcept_setround): Remove.
12652 (libc_fetestexcept, libc_fesetenv): Remove.
12653 (libc_feupdateenv_test): Remove.
12654 (libc_feupdateenv, libc_feholdsetround): Remove.
12655 (libc_feresetround): Remove.
12656
d0adc922
RH
12657 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12658 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12659
0fe0f1f8
RH
12660 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12661 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12662 (libc_feupdateenv_testl): New.
12663 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12664 (libc_feupdateenv_testf): New.
12665 (libc_feupdateenv): Use libc_feupdateenv_test.
12666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12667 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12668
eb92c487
RH
12669 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12670 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12671 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12672 (libc_feresetround_noex): New.
12673 (libc_feresetround_noexf): New.
12674 (libc_feresetround_noexl): New.
12675 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12676 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12677 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12678 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12679 SET_RESTORE_ROUND.
12680 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12681 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12682 (__cos): Likewise.
12683 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12684 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12685 SET_RESTORE_ROUND_NOEX.
12686 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12687 SET_RESTORE_ROUND_NOEXF.
12688 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12689 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12690 (libc_feholdsetroundf): New.
12691 (libc_feresetround, libc_feresetroundf): New.
12692
7d2e8012
RH
12693 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12694 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12695 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12696
b4dabbb4
RH
12697 * sysdeps/generic/math_private.h: Include <fenv.h>.
12698 (default_libc_feholdexcept): New.
12699 (default_libc_feholdexcept_setround): New.
12700 (default_libc_fesetenv, default_libc_feupdateenv): New.
12701 (libc_feholdexcept): Only define if undefined.
12702 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12703 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12704 (libc_feholdexcept_setroundl): Likewise.
12705 (libc_feholdexcept_setround_53bit): Likewise.
12706 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12707 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12708 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12709 (libc_feupdateenv_53bit): Likewise.
12710 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12711 (libc_feholdexcept): Convert from macro to inline function.
12712 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12713 (libc_fesetenv, libc_feupdateenv): Likewise.
12714
4851a949
RH
12715 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12716 not previously defined.
12717 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12718 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12719 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12720 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12721 * sysdeps/ieee754/flt-32/math_private.h: New file.
12722 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12723 math_private.h below SET_FLOAT_WORD.
12724 (__isnan, __isinf_ns, __finite): Remove.
12725 (__isnanf, __isinf_nsf, __finitef): Remove.
12726
e79d442e
AS
127272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12728
12729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12730
90b80344
DM
127312012-03-17 David S. Miller <davem@davemloft.net>
12732
12733 [BZ #6471]
12734 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12735 for 2.16.
12736
edc21804
DM
127372012-03-16 David S. Miller <davem@davemloft.net>
12738
77e927af
DM
12739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12740 warnings.
12741
374976dd
DM
12742 [BZ #6471]
12743 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12744 properly.
12745 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12746 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12747 sysdep_routines when subdir is sysvipc.
12748 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12749 __getshmlba helper.
12750
edc21804
DM
12751 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12752
473c3ef3
L
127532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12754
12755 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12756 [__LP64__].
12757
eb0f39b6
L
127582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12761 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12762 (__lround): Renamed to ...
12763 (__llround): This. Replace long int with long long int.
12764 Define lround functions as aliases of llround functions.
12765 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12766
6b6cd74b
L
127672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12768
12769 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12770 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12771 adresses to uintptr_t. Replace "long int" and "unsigned long
12772 int" with "greg_t" on va_arg.
12773
f1a77b01
L
127742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12777 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12778
12779 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12780 Move e_machine check before EI_CLASS check. Handle x32
12781 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12782 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12783 SKIP_EM_IA_64 and include
12784 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12785
12786 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12787 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12788 (add_system_dir): New macro.
12789
12790 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12791 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12792
11b90b9f
JM
127932012-03-16 Joseph Myers <joseph@codesourcery.com>
12794
c36e1d23
JM
12795 [BZ #2551]
12796 [BZ #2552]
12797 [BZ #2553]
12798 [BZ #2554]
12799 [BZ #2562]
12800 [BZ #2563]
12801 [BZ #2565]
12802 [BZ #2566]
12803 [BZ #2576]
12804 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12805 (y0): Likewise.
12806 * math/w_j0f.c (j0f): Likewise.
12807 (y0f): Likewise.
12808 * math/w_j0l.c (__j0l): Likewise.
12809 (__y0l): Likewise.
12810 * math/w_j1.c (j1): Likewise.
12811 (y1): Likewise.
12812 * math/w_j1f.c (j1f): Likewise.
12813 (y1f): Likewise.
12814 * math/w_j1l.c (__j1l): Likewise.
12815 (__y1l): Likewise.
12816 * math/w_jn.c (jn): Likewise.
12817 (yn): Likewise.
12818 * math/w_jnf.c (jnf): Likewise.
12819 (ynf): Likewise.
12820 * math/w_jnl.c (__jnl): Likewise.
12821 (__ynl): Likewise.
12822 * math/libm-test.inc (j0_test): Add more tests.
12823 (j1_test): Likewise.
12824 (jn_test): Likewise. Add trailing semicolon to existing test.
12825 (y0_test): Likewise.
12826 (y1_test): Likewise.
12827 * sysdeps/i386/fpu/libm-test-ulps: Update.
12828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12829
11b90b9f
JM
12830 [BZ #13851]
12831 [BZ #13854]
12832 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12833 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12834 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12835 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12836 (__tanl): Set errno for infinite argument.
12837 * sysdeps/i386/fpu/mptan.c: Remove.
12838 * sysdeps/i386/fpu/s_tan.S: Likewise.
12839 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12840 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12841 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12842 * math/libm-test.inc (tan_test): Add more tests and enable more
12843 tests for double and long double.
12844 * sysdeps/i386/fpu/libm-test-ulps: Update.
12845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12846
6a1bd2a1
JK
128472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12848
12849 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12850 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12851
10a803e0
RM
128522012-03-16 Roland McGrath <roland@hack.frob.com>
12853
12854 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12855 * configure.in: Use it for both main tree and add-ons.
12856 * configure: Regenerated.
12857
f196c7f7
L
128582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12859
12860 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12861
8848d99d
JM
128622012-03-16 Joseph Myers <joseph@codesourcery.com>
12863
96cbe7f4
JM
12864 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12865 in comment.
12866
8848d99d
JM
12867 [BZ #13851]
12868 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12869 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12873 infinite argument.
12874 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12876 != 0 for prec == 2.
12877 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12878 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12879 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12880 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12881 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12882 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12883 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12884 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12885 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12886 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12887 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12888 * math/libm-test.inc (cos_test): Add more tests and enable more
12889 tests for long double.
12890 (sin_test): Likewise.
12891 (sincos_test): Likewise.
12892 * sysdeps/i386/fpu/libm-test-ulps: Update.
12893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12894
dd7f4703
DM
128952012-03-16 David S. Miller <davem@davemloft.net>
12896
12897 * sysdeps/sparc/fpu/math_private.h: New file.
12898
006f1daa
DM
128992012-03-15 David S. Miller <davem@davemloft.net>
12900
c0c83bc8
DM
12901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12902 file.
e6a62e18 12903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12905 file.
e6a62e18
DM
12906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12912 sysdep routines.
12913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12914
88cb87d9
DM
12915 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12916 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12917
006f1daa 12918 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12920 sparc-ifunc.h
006f1daa 12921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12923 Likewise.
12924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12925 Likewise.
006f1daa
DM
12926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12930 Likewise.
006f1daa
DM
12931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12936 Likewise.
12937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12938 Likewise.
006f1daa
DM
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12950 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12961 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12962 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12963
11e0098e
AS
129642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12965
12966 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12967 scaling.
12968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12969
e85b09d0
AJ
129702012-03-15 Andreas Jaeger <aj@suse.de>
12971
12972 [BZ #13852]
12973 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12974 ieee754/flt-32 implementation for sin, cos and sincos.
12975 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12976 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12977 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12978 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12979 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12980 ieee754/flt-32 implementation for tan.
12981
12982 * math/libm-test.inc (cos_test): Enable some large input tests for
12983 float as well
12984 (sin_test): Likewise.
12985 (sincos_test): Likewise.
12986 (tan_test): Add tests for large input.
12987
12988 * sysdeps/i386/fpu/libm-test-ulps: Update.
12989
81c64153
AJ
129902012-03-15 Andreas Jaeger <aj@suse.de>
12991
12992 [BZ #13658]
12993 * math/libm-test.inc (cos_test): Add more test cases.
12994 (sin_test): Likewise.
12995 (sincos_test): Likewise.
12996
7bbfa5c6
AJ
129972012-03-15 Andreas Jaeger <aj@suse.de>
12998
12999 [BZ #13837]
13000 * math/libm-test.inc (cos_test): Add a test case for large input
13001 value.
13002 (sin_test): Likewise.
13003 (sincos_test): Likewise.
13004
130052012-03-15 Andreas Jaeger <aj@suse.de>,
13006 Joseph Myers <joseph@codesourcery.com>
13007
13008 [BZ #13658]
0671f479 13009 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
13010 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13011 * sysdeps/i386/fpu/branred.c: Likewise.
13012 * sysdeps/i386/fpu/dosincos.c: Likewise.
13013 * sysdeps/i386/fpu/mpa.c: Likewise.
13014 * sysdeps/i386/fpu/s_cos.S: Likewise.
13015 * sysdeps/i386/fpu/s_sin.S: Likewise.
13016 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13017 * sysdeps/i386/fpu/sincos32.c: Likewise.
13018
13019 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13020 Define.
13021 (libc_feupdateenv_53bit): Define.
13022 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13023 Define.
13024 (libc_feupdateenv_53bit): Define.
13025
13026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13027 53 bit (without extend i386 double precision).
13028
13029 * math/libm-test.inc (sincos_test): Add tests for large input.
13030 (sin): Likewise.
13031 (cos): Likewise.
13032
13033 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13034
9cad04ea
AS
130352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13036
13037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13038
f7062b9a
DM
130392012-03-15 David S. Miller <davem@davemloft.net>
13040
13041 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13042 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13043 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13044 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13057 file.
f7062b9a 13058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13060 file.
f7062b9a 13061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13063 file.
f7062b9a 13064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13066 file.
f7062b9a
DM
13067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13069 fmin/fmax sysdep routines.
13070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13071
7bd951ff
DM
130722012-03-14 David S. Miller <davem@davemloft.net>
13073
559398ab
DM
13074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13094 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13095 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13098 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13103 routines.
13104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13105 file.
559398ab 13106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13108 file.
559398ab 13109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13111 file.
559398ab 13112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13114 file.
559398ab 13115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13117 file.
559398ab 13118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13120 file.
13121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13122 file.
13123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13124 file.
13125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13126 file.
13127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13128 New file.
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13130 file.
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13132 file.
559398ab 13133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13135 file.
559398ab 13136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13138 file.
559398ab 13139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13141 file.
559398ab 13142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13144 VIS3 routines.
559398ab
DM
13145
13146 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13147 New file.
13148
5a1c1e32
DM
13149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13150
eae47a36
DM
13151 * sysdeps/sparc/configure.in: New file.
13152 * sysdeps/sparc/configure: Generate.
13153 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13154 * configure: Regenerate.
13155 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13156 * config.make.in (have-as-vis3): New.
13157 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13158 available use -Av9d instead of -Av9a.
13159 * sysdeps/sparc/sparc64/Makefile: Likewise.
13160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13162 New file.
13163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13164 file.
13165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13166 New file.
13167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13168 file.
eae47a36
DM
13169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13170 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13171 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13174
c0c83bc8
DM
13175 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13176 fzeros/fnegs to load 0x80000000 into a float register instead of
13177 using the stack.
7bd951ff
DM
13178 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13179
bd951ccb
JM
131802012-03-14 Joseph Myers <joseph@codesourcery.com>
13181
13182 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13183 bits/syscall.h.
13184 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13185 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13186 ($(inst_includedir)/bits/syscall.h): Remove rule.
13187 ($(objpfx)bits/syscall.d): Include instead of
13188 $(objpfx)syscall-list.d.
13189 (generated): Change syscall-list.h and syscall-list.d to
13190 bits/syscall.h and bits/syscall.d.
13191
bb4e6db2
RM
131922012-03-14 Roland McGrath <roland@hack.frob.com>
13193
13194 [BZ #13846]
13195 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13196
aa4a2ae1
JM
131972012-03-14 Joseph Myers <joseph@codesourcery.com>
13198
e456826d
JM
13199 [BZ #13841]
13200 * math/s_csqrt.c: Include <float.h>.
13201 (__csqrt): Scale large or subnormal inputs.
13202 * math/s_csqrtf.c: Likewise.
13203 * math/s_csqrtl.c: Likewise.
13204 * math/libm-test.inc (csqrt_test): Add more tests.
13205 * sysdeps/i386/fpu/libm-test-ulps: Update.
13206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13207
aa4a2ae1
JM
13208 [BZ #13840]
13209 * math/libm-test.inc (hypot_test): Add more tests.
13210
7c10fd35
DM
132112012-03-13 David S. Miller <davem@davemloft.net>
13212
13213 [BZ #13840]
13214 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13215 double-precision for the calculation instead of scaling.
13216
f453b98b
JM
132172012-03-13 Joseph Myers <joseph@codesourcery.com>
13218
13219 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13220 manipulate bits before adding and subtracting TWO52[sx].
13221 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13222 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13223 Likewise.
13224 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13225
09a3453f
DM
132262012-03-13 David S. Miller <davem@davemloft.net>
13227
8e59da90
DM
13228 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13229 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13231 rtld-global-offsets.h
13232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13233
2a8ab7f2
DM
13234 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13235 large parameters.
13236
10f62770
DM
13237 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13238
5f0bdb18
DM
13239 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13240 'err' in the ifdef scope in which it is actually used.
13241
09a3453f
DM
13242 * nss/nss_db/db-init.c: Include string.h
13243
b4b2eb5e
DM
132442012-03-12 David S. Miller <davem@davemloft.net>
13245
98bb2f1c
DM
13246 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13247 masking out of the most significant byte of random value used.
13248 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13249 Fix coding style in previous change.
13250
b4b2eb5e
DM
13251 * sysdeps/unix/sysv/linux/kernel-features.h
13252 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13253 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13254 expression.
13255 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13256 later.
13257
6e226b09
DM
132582012-03-11 David S. Miller <davem@davemloft.net>
13259
a1bcbd40
DM
13260 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13261 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13263 for 'resultvar' otherwise things get truncated on 64-bit.
13264
cb9d6174
DM
13265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13266 Fix masking out of the most significant byte of random value used.
13267
6e226b09
DM
13268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13269
058c132d
AS
132702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13271
13272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13273
2d2cd515
DM
132742012-03-09 David S. Miller <davem@davemloft.net>
13275
13276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13277 variables with appropriate CPP guards.
13278 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13279 frame pointer, not the stack pointer. Correct layout comments. Fix test
13280 on resulting framesize and the management of the outregs buffer for pltexit.
13281 Preserve floating point return values across _dl_call_pltexit call.
13282 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13283 framesize and the management of the outregs buffer for pltexit.
13284 Preserve floating point return values across _dl_call_pltexit
13285 call.
13286 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13287 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13288 (print_exit): Fix format string for return register value.
13289
9a07f9d0
JM
132902012-03-10 Joseph Myers <joseph@codesourcery.com>
13291
13292 * sunrpc/Makefile (others): Add rpcgen.
13293 ($(objpfx)rpcgen): Remove special build rule and dependency on
13294 libc.
13295 * sunrpc/rpcgen.c: New file.
13296
547b5e30
PE
132972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13298
c524201a
PE
13299 [BZ #13673]
13300 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13301 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13302 * sysdeps/i386/crti.S: Likewise.
13303 * sysdeps/i386/crtn.S: Likewise.
13304 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13305 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13306 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13307 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13308 * sysdeps/sh/crti.S: Likewise.
13309 * sysdeps/sh/crtn.S: Likewise.
13310 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13311
7b6235f2
PE
13312 [BZ #13673]
13313 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13314 with URL.
13315 * locale/programs/locfile-kw.gperf: Likewise.
13316 * locale/programs/charmap-kw.h: Regenerated.
13317 * locale/programs/locfile-kw.h: Likewise.
13318
547b5e30
PE
13319 [BZ #13673]
13320 * intl/plural.y: Replace FSF snail mail address with URL.
13321 * intl/plural.c: Regenerated.
13322
5f0a5dae
RH
133232012-03-09 Richard Henderson <rth@twiddle.net>
13324
13325 * include/math_private.h: Remove file.
13326 * math/math_private.h: Move file ...
13327 * sysdeps/generic/math_private.h: ... here.
13328
b8c03620
RH
13329 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13330 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13331 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13332
4e234f5d 13333 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13334 and <math_private.h>.
13335 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13336 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13337 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13338 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13339 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13391 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13392 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13394 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13399 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13400 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13401 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13402 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13404 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13405 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13406 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13407 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13408 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13409 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13413 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13414 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13415 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13416 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13417 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13419 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13420 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13422 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13423 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13425 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13426 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13427 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13429 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13430 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13432 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13434 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13435 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13436 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13437 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13438 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13439 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13440 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13441 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13442 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13443 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13445 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13447 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13448 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13449 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13452 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13453 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13454 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13455 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13456 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13457 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13458 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13459 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13460 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13461 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13462 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13463 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13464 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13465 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13466 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13467 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13468 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13469 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13470 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13471 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13472 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13473 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13474 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13475 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13476 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13477 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13478 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13479 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13480 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13481 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13482 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13483 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13484 * sysdeps/ieee754/k_standard.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13573 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13576 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13578 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13589 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13613 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13614 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13615 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13616 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13622 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13623 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13624 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13625 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13628 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13629 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13631 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13634 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13636 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13638 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13639 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13640 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13641 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13642 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13643 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13644 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13645 * sysdeps/ieee754/s_lib_version.c: Likewise.
13646 * sysdeps/ieee754/s_matherr.c: Likewise.
13647 * sysdeps/ieee754/s_signgam.c: Likewise.
13648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13650 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13651 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13652 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13653 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13654 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13655 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13656 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13657 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13658 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13659 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13660 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13661 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13662 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13663 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13665 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13666 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13669
1991fa03
JM
136702012-03-09 Joseph Myers <joseph@codesourcery.com>
13671
13672 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13673 * sunrpc/rpc_main.c: Likewise.
13674 * sunrpc/rpc_svcout.c: Likewise.
13675
60d6f5a6
DM
136762012-03-09 David S. Miller <davem@davemloft.net>
13677
13678 * include/math_private.h: New file.
13679
4962050e
JM
136802012-03-09 Joseph Myers <joseph@codesourcery.com>
13681
02a6f887
JM
13682 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13683 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13684 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13685 from <bits/socket_type.h>.
13686 (enum __socket_type): Don't define here.
13687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13689 bits/socket_type.h.
13690
c6e013c1
JM
13691 [BZ #13566]
13692 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13693 checking __USE_GNU.
13694
4962050e
JM
13695 * Makerules ($(inst_includedir)/%.h): New rule.
13696 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13697 (install-others): Remove variable setting.
13698 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13699
38842f45
RH
137002012-03-08 Richard Henderson <rth@twiddle.net>
13701
67bb6da6
RH
13702 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13703 from macro to inline function; merge with the
13704 !__LIBC_INTERNAL_MATH_INLINES version.
13705 (__ieee754_sqrtf): Likewise.
13706
15194b4b
RH
13707 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13708 to inline function.
13709 (__rintf, __floor, __floorf): Likewise.
13710
64e21ede
RH
13711 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13712 macro to inline function.
13713 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13714
38842f45
RH
13715 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13716 not <math/math_private.h>.
13717
c64bf5fe
DM
137182012-03-08 David S. Miller <davem@davemloft.net>
13719
13720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13721 copyright year.
13722 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13723
82d86f28
TS
137242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13725
13726 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13727 normalization.
13728 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13729 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13730
aea5d727
UD
137312012-03-08 Ulrich Drepper <drepper@gmail.com>
13732
13733 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13734 be defined individually, they must be defined as a block. Define
13735 S for printing a string instead of hidint the different by using a
13736 macro for adding the 'l'.
13737 * stdio-common/tst-fphex-wide.c: Adjust.
13738
70bca0a3
MP
137392012-03-07 Marek Polacek <polacek@redhat.com>
13740
13741 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13742
65b81130
MP
137432012-03-08 Marek Polacek <polacek@redhat.com>
13744
13745 [BZ #13806]
13746 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13747 * stdio-common/tst-fphex.c: Define a few macros to make the
13748 test reusable. Use them.
13749 * stdio-common/tst-fphex-wide.c: New file.
13750
07037eeb
JM
137512012-03-08 Joseph Myers <joseph@codesourcery.com>
13752
a7a93d50
JM
13753 [BZ #6911]
13754 * manual/macros.texi (gnusystems): New macro.
13755 (nongnusystems): Likewise.
13756 (gnulinuxhurdsystems): Likewise.
13757 (gnuhurdsystems): Likewise..
13758 (gnulinuxsystems): Likewise.
13759 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13760 variants of the GNU system, not "GNU system".
13761 * manual/conf.texi: Likewise.
13762 * manual/errno.texi: Likewise. Update example of errno macro
13763 expansion.
13764 * manual/filesys.texi: Likewise.
13765 (getumask): Document as specific to GNU/Hurd.
13766 * manual/install.texi: Likewise. Reword some references to
13767 GNU/Linux.
13768 * manual/intro.texi: Likewise.
13769 * manual/io.texi: Likewise.
13770 (File Name Portability): Detail which constraints are inapplicable
13771 to all GNU systems and which are only inapplicable to GNU/Hurd.
13772 * manual/job.texi: Likewise.
13773 * manual/llio.texi: Likewise.
13774 (O_NOCTTY): Document as present on GNU/Linux.
13775 * manual/maint.texi: Likewise.
13776 * manual/memory.texi: Likewise.
13777 * manual/pattern.texi: Likewise.
13778 * manual/pipe.texi: Likewise.
13779 * manual/process.texi: Likewise.
13780 * manual/resource.texi: Likewise.
13781 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13782 child on GNU/Hurd.
13783 * manual/setjmp.texi: Likewise.
13784 * manual/signal.texi: Likewise.
13785 * manual/startup.texi: Likewise.
13786 * manual/stdio.texi: Likewise.
13787 * manual/terminal.texi: Likewise.
13788 (ONLCR): Document as POSIX.
13789 (OXTABS): Document availability on GNU/Linux as XTABS.
13790 (ONOEOT): Document availability separately from other bits.
13791 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13792 * manual/time.texi: Likewise.
13793 * manual/users.texi: Likewise.
13794 * INSTALL: Regenerated.
13795 * sysdeps/gnu/errlist.c: Regenerated.
13796
07037eeb
JM
13797 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13798 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13799 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13800 puts.
13801 * configure: Regenerated.
13802
d1d3431a
JM
138032012-03-07 Joseph Myers <joseph@codesourcery.com>
13804
af6a1e37
JM
13805 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13806 default includes instead of AC_HEADER_CHECK.
13807 * sysdeps/i386/configure: Regenerated.
13808
d1d3431a
JM
13809 [BZ #10716]
13810 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13811 * math/s_cacoshf.c (__cacoshf): Likewise.
13812 * math/s_cacoshl.c (__cacoshl): Likewise.
13813 * math/s_casinh.c (__casinh): Set signs of result from argument.
13814 * math/s_casinhf.c (__casinhf): Likewise.
13815 * math/s_casinhl.c (__casinhl): Likewise.
13816 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13817 (casinh_test): Add more tests.
13818 * sysdeps/i386/fpu/libm-test-ulps: Update.
13819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13820
482ff4da
UD
138212012-03-07 Ulrich Drepper <drepper@gmail.com>
13822
872fda05
UD
13823 * po/zh_TW.po: Update from translation team.
13824
a4300c7a
UD
13825 * login/Makefile (distribute): Remove variable.
13826 * catgets/Makefile: Likewise.
13827 * mach/Makefile: Likewise.
13828 * malloc/Makefile: Likewise.
13829 * misc/Makefile: Likewise.
13830 * iconv/Makefile: Likewise.
13831 * nscd/Makefile: Likewise.
13832 * hurd/Makefile: Likewise.
13833 * manual/Makefile: Likewise.
13834 * locale/Makefile: Likewise.
13835 * intl/Makefile: Likewise.
13836 * conform/Makefile: Likewise.
13837 * nss/Makefile: Likewise.
13838 * time/Makefile: Likewise.
13839 * soft-fp/Makefile: Likewise.
13840 * dirent/Makefile: Likewise.
13841 * gmon/Makefile: Likewise.
13842 * po/Makefile: Likewise.
13843 * rt/Makefile: Likewise.
13844 * socket/Makefile: Likewise.
13845 * math/Makefile: Likewise.
13846 * signal/Makefile: Likewise.
13847 * debug/Makefile: Likewise.
13848 * elf/Makefile: Likewise.
13849 * timezone/Makefile: Likewise.
13850 * stdlib/Makefile: Likewise.
13851 * iconvdata/Makefile: Likewise.
13852 * sunrpc/Makefile: Likewise.
13853 * io/Makefile: Likewise.
13854 * argp/Makefile: Likewise.
13855 * inet/Makefile: Likewise.
13856 * hesiod/Makefile: Likewise.
13857 * grp/Makefile: Likewise.
13858 * csu/Makefile: Likewise.
13859 * wctype/Makefile: Likewise.
13860 * crypt/Makefile: Likewise.
13861 * libio/Makefile: Likewise.
13862 * string/Makefile: Likewise.
13863 * nis/Makefile: Likewise.
13864 * resolv/Makefile: Likewise.
13865 * stdio-common/Makefile: Likewise.
13866 * wcsmbs/Makefile: Likewise.
13867 * dlfcn/Makefile: Likewise.
13868 * posix/Makefile: Likewise.
13869
3b7c4e74 13870 [BZ #6959]
482ff4da
UD
13871 * timezone/Makefile: Don't install timezone files, just the programs
13872 and scripts.
13873
f72ed77d
UD
138742012-03-06 Ulrich Drepper <drepper@gmail.com>
13875
a000466f
UD
13876 * nss/databases.def: Add missing gshadow entry.
13877
f72ed77d
UD
13878 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13879
a53b7a4e
MP
138802012-03-06 Marek Polacek <polacek@redhat.com>
13881
13882 [BZ #13726]
13883 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13884 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13885 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13886 * stdio-common/tst-long-dbl-fphex.c: New file.
13887
e9258400
DM
138882012-03-06 David S. Miller <davem@davemloft.net>
13889
13890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13891 (set_obp_int): New function.
13892 (get_obp_int): New function.
13893 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13895 Avoid unused variable warnings on 'val' and use builtin_expect.
13896 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13897 __builtin_expect.
e9258400
DM
13898 (INLINE_CLONE_SYSCALL): Likewise.
13899
3bd2c723
DM
139002012-03-05 David S. Miller <davem@davemloft.net>
13901
13902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13903
bbb78d03
AS
139042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13905
884c5db4
AS
13906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13907
bbb78d03
AS
13908 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13909 only for |x| >= 40.
13910 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13911
1c9f702a 139122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13913
13914 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13915 Replace gettimeofday with __vdso_gettimeofday.
13916
7be16f82
RM
13917 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13918 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13919 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13920
13921 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13922 time with __vdso_time.
13923
ed58a00f
JM
139242012-03-05 Joseph Myers <joseph@codesourcery.com>
13925
13926 * manual/lang.texi (size_t): Note types to which size_t may be
13927 equivalent with the GNU C Library, but do not describe when
13928 differences between them are significant.
13929
30ee4ced
AJ
139302012-03-05 Andreas Jaeger <aj@suse.de>
13931
13932 * sysdeps/i386/fpu/libm-test-ulps: Update.
13933
b7cd39e8
JM
139342012-03-05 Joseph Myers <joseph@codesourcery.com>
13935
13936 [BZ #3976]
13937 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13938 (__ieee754_pow): Save and restore rounding mode and use
13939 round-to-nearest for main computations.
13940 * math/libm-test.inc (pow_test_tonearest): New function.
13941 (pow_test_towardzero): Likewise.
13942 (pow_test_downward): Likewise.
13943 (pow_test_upward): Likewise.
13944 (main): Call the new functions.
13945 * sysdeps/i386/fpu/libm-test-ulps: Update.
13946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13947
13948 [BZ #3976]
13949 * math/libm-test.inc (cosh_test_tonearest): New function.
13950 (cosh_test_towardzero): Likewise.
13951 (cosh_test_downward): Likewise.
13952 (cosh_test_upward): Likewise.
13953 (sinh_test_tonearest): Likewise.
13954 (sinh_test_towardzero): Likewise.
13955 (sinh_test_downward): Likewise.
13956 (sinh_test_upward): Likewise.
13957 (main): Call the new functions.
13958 * sysdeps/i386/fpu/libm-test-ulps: Update.
13959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13960
6c6a98c9
TV
139612012-03-05 Tom de Vries <tom@codesourcery.com>
13962
13963 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13964 default stack guard is set in last bytes.
13965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13966
21bb2d2e 139672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13968
21bb2d2e 13969 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13970
21bb2d2e
AJ
13971 [BZ #13656]
13972 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13973 possibly allocate from heap instead of stack.
13974 * stdio-common/bug-vfprintf-nargs.c: New file.
13975 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13976
c6922934
AS
139772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13978
13979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13980
bc957d53
MP
139812012-03-03 Marek Polacek <polacek@redhat.com>
13982
13983 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13984 * math/math_private.h: Likewise.
13985 * stdlib/tst-strtod.c: Likewise.
13986 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13987 * sysdeps/x86_64/bits/atomic.h: Likewise.
13988
6358490d
DM
139892012-03-02 David S. Miller <davem@davemloft.net>
13990
13991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13995 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13996 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13997 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13998 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13999
01ae168d
RM
140002012-03-02 Roland McGrath <roland@hack.frob.com>
14001
d9a17c07
RM
14002 [BZ #13792]
14003 * manual/examples/README: New file, says the example source files
14004 can be used under GPL>=2.
14005 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14006 line containing just "*/".
14007 * manual/examples/add.c: Add copyright header (GPL>=2).
14008 * manual/examples/argp-ex1.c: Likewise.
14009 * manual/examples/argp-ex2.c: Likewise.
14010 * manual/examples/argp-ex3.c: Likewise.
14011 * manual/examples/argp-ex4.c: Likewise.
14012 * manual/examples/atexit.c: Likewise.
14013 * manual/examples/db.c: Likewise.
14014 * manual/examples/dir.c: Likewise.
14015 * manual/examples/dir2.c: Likewise.
14016 * manual/examples/execinfo.c: Likewise.
14017 * manual/examples/filecli.c: Likewise.
14018 * manual/examples/filesrv.c: Likewise.
14019 * manual/examples/fmtmsgexpl.c: Likewise.
14020 * manual/examples/genpass.c: Likewise.
14021 * manual/examples/inetcli.c: Likewise.
14022 * manual/examples/inetsrv.c: Likewise.
14023 * manual/examples/isockad.c: Likewise.
14024 * manual/examples/longopt.c: Likewise.
14025 * manual/examples/memopen.c: Likewise.
14026 * manual/examples/memstrm.c: Likewise.
14027 * manual/examples/mkfsock.c: Likewise.
14028 * manual/examples/mkisock.c: Likewise.
14029 * manual/examples/mygetpass.c: Likewise.
14030 * manual/examples/pipe.c: Likewise.
14031 * manual/examples/popen.c: Likewise.
14032 * manual/examples/rprintf.c: Likewise.
14033 * manual/examples/search.c: Likewise.
14034 * manual/examples/select.c: Likewise.
14035 * manual/examples/setjmp.c: Likewise.
14036 * manual/examples/sigh1.c: Likewise.
14037 * manual/examples/sigusr.c: Likewise.
14038 * manual/examples/stpcpy.c: Likewise.
14039 * manual/examples/strdupa.c: Likewise.
14040 * manual/examples/strftim.c: Likewise.
14041 * manual/examples/strncat.c: Likewise.
14042 * manual/examples/subopt.c: Likewise.
14043 * manual/examples/swapcontext.c: Likewise.
14044 * manual/examples/termios.c: Likewise.
14045 * manual/examples/testopt.c: Likewise.
14046 * manual/examples/testpass.c: Likewise.
14047 * manual/examples/timeval_subtract.c: Likewise.
14048
01ae168d
RM
14049 [BZ #13792]
14050 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14051 function to ...
14052 * manual/timeval_subtract.c.texi: ... here, new file.
14053
49efa33d
DM
140542012-03-02 David S. Miller <davem@davemloft.net>
14055
14056 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14057
28afd92d
JM
140582012-03-02 Joseph Myers <joseph@codesourcery.com>
14059
804360ed
JM
14060 [BZ #3976]
14061 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14062 (__sin): Save and restore rounding mode and use round-to-nearest
14063 for all computations.
14064 (__cos): Save and restore rounding mode and use round-to-nearest
14065 for all computations.
14066 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14067 <fenv.h>.
14068 (tan): Save and restore rounding mode and use round-to-nearest for
14069 all computations.
14070 * math/libm-test.inc (cos_test_tonearest): New function.
14071 (cos_test_towardzero): Likewise.
14072 (cos_test_downward): Likewise.
14073 (cos_test_upward): Likewise.
14074 (sin_test_tonearest): Likewise.
14075 (sin_test_towardzero): Likewise.
14076 (sin_test_downward): Likewise.
14077 (sin_test_upward): Likewise.
14078 (tan_test_tonearest): Likewise.
14079 (tan_test_towardzero): Likewise.
14080 (tan_test_downward): Likewise.
14081 (tan_test_upward): Likewise.
14082 (main): Call the new functions.
14083 * sysdeps/i386/fpu/libm-test-ulps: Update.
14084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14085
a6d06d7b
JM
14086 [BZ #10135]
14087 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14088 small n, then large n, before computing and testing k+n.
14089 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14091 Likewise.
14092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14093 Likewise.
14094 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14095 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14096 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14097 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14098 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14099 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14100 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14102 * math/libm-test.inc (scalbn_test): Add more tests.
14103 (scalbln_test): Likewise.
14104
07e12bb3
JM
14105 * manual/filesys.texi (mode_t): Describe constraints on size and
14106 signedness, not exact equivalence to a particular type.
14107 (ino_t): Likewise.
14108 (ino64_t): Likewise.
14109 (dev_t): Likewise.
14110 (nlink_t): Likewise.
14111 (blkcnt_t): Likewise.
14112 (blkcnt64_t): Likewise.
14113 * manual/llio.texi (off_t): Likewise.
14114
28afd92d
JM
14115 [BZ #3976]
14116 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14117 (__ieee754_exp): Save and restore rounding mode and use
14118 round-to-nearest for all computations.
14119 * math/libm-test.inc (exp_test_tonearest): New function.
14120 (exp_test_towardzero): Likewise.
14121 (exp_test_downward): Likewise.
14122 (exp_test_upward): Likewise.
14123 (main): Call the new functions.
14124 * sysdeps/i386/fpu/libm-test-ulps: Update.
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14126
b1eeb65d
CD
141272012-03-01 Chris Demetriou <cgd@google.com>
14128
14129 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14130 have predictable order.
14131
53362a4b
DM
141322012-03-01 David S. Miller <davem@davemloft.net>
14133
3c969083
DM
14134 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14135
759707de
DM
14136 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14137 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14138 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14139 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14140
dfdb8ff2
DM
14141 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14142 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14143 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14145 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14146 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14147 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14148 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14149 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14150
ead89f96
DM
14151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14152
7f66bd07
DM
14153 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14154 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14155 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14156
53362a4b
DM
14157 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14158 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14159 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14160 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14161 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14162 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14163 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14164 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14165 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14166 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14167 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14168 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14173 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14174 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14175 * sysdeps/sparc/elf/configure: Regenerated.
14176
7b1902cb
JM
141772012-03-01 Joseph Myers <joseph@codesourcery.com>
14178
bec039bc
JM
14179 * configure.in (AS, LD): Require binutils 2.20 or later.
14180 * configure: Regenerated.
14181 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14182 as required minimum version.
14183 * INSTALL: Regenerated.
14184
7b1902cb
JM
14185 [BZ #2541]
14186 [BZ #4108]
14187 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14188 before squaring exponent.
14189 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14190 bottom long double and 27 bits of top long double before squaring
14191 exponent.
14192 * math/libm-test.inc (erfc_test): Add more tests.
14193 * sysdeps/i386/fpu/libm-test-ulps: Update.
14194 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196
f775c276
KT
141972012-03-01 Kai Tietz <ktietz@redhat.com>
14198
14199 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14200 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14201 containing bit-fields.
14202 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14203 * soft-fp/single.h (_FP_UNION_S): Likewise.
14204 * soft-fp/double.h (_FP_UNION_D): Likewise.
14205
5b8a4d4a
JM
142062012-02-29 Joseph Myers <joseph@codesourcery.com>
14207
0bab47b6
JM
14208 [BZ #13786]
14209 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14210 not include ../strcmp.S.
14211 [USE_AS_STRNCASECMP_L]: Likewise.
14212 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14213 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14214 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14215 (__strncasecmp_l_ia32): Define as alias to
14216 __strncasecmp_l_nonascii.
14217
0fcad3e2
JM
14218 [BZ #5794]
14219 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14220 * sysdeps/i386/fpu/libm-test-ulps: Update.
14221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14222
5b8a4d4a
JM
14223 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14225
8fdceb2e
JL
142262012-02-29 Jeff Law <law@redhat.com>
14227
14228 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14229 out of bounds read.
14230
1f393a11
MP
142312012-02-29 Marek Polacek <polacek@redhat.com>
14232
14233 [BZ #13706]
14234 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14235 * elf/Makefile: Add rules to run tst-unused-dep.out.
14236
8847f037
DM
142372012-02-28 David S. Miller <davem@davemloft.net>
14238
14239 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14240 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14243 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14244 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14245
169d7f11
JM
142462012-02-29 Joseph Myers <joseph@codesourcery.com>
14247
14248 * math/libm-test.inc (llround_test): Move one test from
14249 lround_test. Use TEST_f_L in moved test.
14250 (lround_test): Move misplaced test to llround_test. Add testcase
14251 from bug 2561.
14252
39adf059
UD
142532012-02-28 Ulrich Drepper <drepper@gmail.com>
14254
14255 * sysdeps/x86_64/fpu/e_expf.S: New file.
14256 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14257
71b5d1c5
SB
142582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14259
14260 [BZ #13637]
14261 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14262 of remain_len that may cause incomplete multi-byte character and
14263 false match.
14264 * posix/bug-regex33.c: New file.
14265 * posix/Makefile (tests): Add bug-regex33.
14266
1f77f049
JM
142672012-02-28 Joseph Myers <joseph@codesourcery.com>
14268
14269 * manual/macros.texi: New file.
14270 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14271 * manual/libc.texinfo: Include macros.texi.
14272 * manual/creatute.texi: Likewise.
14273 * manual/install.texi: Likewise.
14274 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14275 @glibcadj{} in references to the GNU C Library.
14276 * manual/charset.texi: Likewise.
14277 * manual/conf.texi: Likewise.
14278 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14279 when not using those macros.
14280 * manual/creature.texi: Likewise.
14281 * manual/crypt.texi: Likewise.
14282 * manual/errno.texi: Likewise.
14283 * manual/filesys.texi: Likewise.
14284 * manual/header.texi: Likewise.
14285 * manual/install.texi: Likewise.
14286 * manual/intro.texi: Likewise.
14287 * manual/io.texi: Likewise.
14288 * manual/job.texi: Likewise.
14289 * manual/lang.texi: Likewise.
14290 * manual/libc.texiinfo: Likewise.
14291 * manual/llio.texi: Likewise.
14292 * manual/locale.texi: Likewise.
14293 * manual/maint.texi: Likewise.
14294 * manual/math.texi: Likewise.
14295 * manual/memory.texi: Likewise.
14296 * manual/message.texi: Likewise.
14297 * manual/nss.texi: Likewise.
14298 * manual/pattern.texi: Likewise.
14299 * manual/process.texi: Likewise.
14300 * manual/resource.texi: Likewise.
14301 * manual/search.texi: Likewise.
14302 * manual/setjmp.texi: Likewise.
14303 * manual/signal.texi: Likewise.
14304 * manual/socket.texi: Likewise.
14305 * manual/startup.texi: Likewise.
14306 * manual/stdio.texi: Likewise.
14307 * manual/string.texi: Likewise.
14308 * manual/sysinfo.texi: Likewise.
14309 * manual/syslog.texi: Likewise.
14310 * manual/terminal.texi: Likewise.
14311 * manual/time.texi: Likewise.
14312 * manual/users.texi: Likewise.
14313 * INSTALL: Regenerated.
14314 * NOTES: Regenerated.
d40c5d54 14315 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14316
450bf206
AS
143172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14318
14319 * include/dirent.h: Include <dirstream.h> before
14320 <dirent/dirent.h>.
14321
741a235b
DM
143222012-02-28 David S. Miller <davem@davemloft.net>
14323
14324 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14325 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14326 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14327 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14328
d6b5aa58
DM
143292012-02-27 David S. Miller <davem@davemloft.net>
14330
1aff59a3
DM
14331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14333 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14334 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14335
d6b5aa58
DM
14336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14337 frame pointer instead of stack pointer relative arg slot.
14338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14339 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14340 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14341
433f48bf
CD
143422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14343
14344 [BZ #3992]
14345 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14346
d674b76d
DM
143472012-02-27 David S. Miller <davem@davemloft.net>
14348
14349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14353 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14354 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14355 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14356 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14357
0e7727f7
JM
143582012-02-27 Joseph Myers <joseph@codesourcery.com>
14359
14360 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14361 later. Allow versions 5-9.
43be4ca2 14362 * configure: Regenerated.
0e7727f7
JM
14363 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14364 required minimum version and 4.6 as recommended version. Do not
14365 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14366 * INSTALL: Regenerated.
0e7727f7 14367
a78bc654
DM
143682012-02-27 David S. Miller <davem@davemloft.net>
14369
428d5830
DM
14370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14374 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14375 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14376 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14377 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14378
a78bc654
DM
14379 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14380 manipulate bits before adding and subtracting TWO112[sx].
14381 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14382
4579f81c
RM
143832012-02-27 Roland McGrath <roland@hack.frob.com>
14384
36c8acb4
RM
14385 [BZ #13775]
14386 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14387 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14388 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14389 being in POSIX, because they are in 1003.1-2008.
14390
84ad622b
RM
14391 * rt/tst-aio.c: Include <fcntl.h>.
14392 * rt/tst-aio7.c: Likewise.
14393 * rt/tst-aio64.c: Likewise.
14394
4579f81c
RM
14395 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14396
abd923db
JM
143972012-02-27 Joseph Myers <joseph@codesourcery.com>
14398
14399 * manual/install.texi (--with-headers): Describe headers as
14400 interface headers, not private headers.
14401 (Specific advice for GNU/Linux systems): Describe use of headers
14402 from "make headers_install", not private headers from older
14403 kernels.
43be4ca2 14404 * INSTALL: Regenerated.
abd923db
JM
14405 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14406 Change to 2.6.19.
14407 * sysdeps/unix/sysv/linux/configure: Regenerated.
14408
6664049b
JM
14409 * manual/llio.texi (fclean): Remove documentation.
14410
bb8b6697
JM
14411 * manual/Makefile (libc-texi-generated): New variable. Include
14412 version.texi.
14413 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14414 $(libc-texi-generated), not duplicated list of files.
14415 (version.texi, stamp-version): New rules.
14416 (realclean): Remove $(libc-texi-generated), not individual files
14417 from that list. Do not remove dir-add.texinfo.
14418 * manual/libc.texinfo: Comment out uses of edition numbers and
14419 references to printed manual. Remove last-updated dates.
14420 (EDITION): Comment out.
14421 (ISBN): Likewise.
14422 (VERSION, UPDATED): Remove.
14423 (version.texi): Include.
14424
12e5c3b9
AS
144252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14426
14427 * sysdeps/posix/spawni.c: Include <signal.h>.
14428 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14429 * sysdeps/pthread/aio_fsync.c: Likewise.
14430
4efeffc1 144312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14432
ba63ba08
UD
14433 * conform/Makefile (tests): Run only when not cross-compiling and
14434 when fast-check is not defined.
14435
d94a4670
UD
14436 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14437 * conform/data/limits.h-data: Fixes for POSIX2008.
14438 * conform/run-conformtest.sh: Run all tests.
14439 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14440 headers.
14441 * include/bits/dlfcn.h: Likewise.
14442 * include/langinfo.h: Likewise.
14443 * include/monetary.h: Likewise.
14444 * include/sys/poll.h: Likewise.
14445
14446 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14447 for __USE_GNU.
14448 * posix/spawn.h: Define __need_sigset_t.
14449 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14450 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14451 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14452 to get sigevent_t only.
14453 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14454 only for __USE_GNU.
14455 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14456 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14457 process_vm_writev only for __USE_GNU.
14458 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14459
14460 * conform/Makefile: For now ignore errors from run-conformtest.
14461 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14462 POSIX to avoid namespace pollution. Don't prepend headers.
14463 * conform/data/aio.h-data: Fixes for POSIX testing.
14464 * conform/data/fcntl.h-data: Likewise.
14465 * conform/data/glob.h-data: Likewise.
14466 * conform/data/grp.h-data: Likewise.
14467 * conform/data/pthread.h-data: Likewise.
14468 * conform/data/pwd.h-data: Likewise.
14469 * conform/data/signal.h-data: Likewise.
14470 * conform/data/spawn.h-data: Likewise.
14471 * conform/data/stdio.h-data: Likewise.
14472 * conform/data/stdlib.h-data: Likewise.
14473 * conform/data/stropts.h-data: Likewise.
14474 * conform/data/sys/mman.h-data: Likewise.
14475 * conform/data/sys/stat.h-data: Likewise.
14476 * conform/data/sys/types.h-data: Likewise.
14477 * conform/data/sys/wait.h-data: Likewise.
14478 * conform/data/time.h-data: Likewise.
14479 * conform/data/unistd.h-data: Likewise.
14480 * conform/data/utime.h-data: Likewise.
14481
14482 * io/sys/stat.h: fchmod was always in POSIX.
14483 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14484 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14485 * rt/aio.h: Define __need_timespec before including <time.h>.
14486 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14487 struct. Add forward declaration of pthread_attr_t and use it in
14488 sigevent.
14489 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14490 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14491 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14492 always remove CLK_TCK definition.
14493
c20105c3
AS
144942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14495
14496 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14497
7a270350
UD
144982012-02-25 Ulrich Drepper <drepper@gmail.com>
14499
31341567
UD
14500 * conform/run-conformtest.sh: New file.
14501 * conform/Makefile: Run run-conformtest for tests.
14502 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14503 support.
14504
14505 * conform/data/uchar.h-data: New file.
14506 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14507 * conform/data/arpa/inet.h-data: Likewise.
14508 * conform/data/assert.h-data: Likewise.
14509 * conform/data/complex.h-data: Likewise.
14510 * conform/data/cpio.h-data: Likewise.
14511 * conform/data/ctype.h-data: Likewise.
14512 * conform/data/dirent.h-data: Likewise.
14513 * conform/data/dlfcn.h-data: Likewise.
14514 * conform/data/errno.h-data: Likewise.
14515 * conform/data/fcntl.h-data: Likewise.
14516 * conform/data/float.h-data: Likewise.
14517 * conform/data/fmtmsg.h-data: Likewise.
14518 * conform/data/fnmatch.h-data: Likewise.
14519 * conform/data/ftw.h-data: Likewise.
14520 * conform/data/glob.h-data: Likewise.
14521 * conform/data/grp.h-data: Likewise.
14522 * conform/data/iconv.h-data: Likewise.
14523 * conform/data/inttypes.h-data: Likewise.
14524 * conform/data/langinfo.h-data: Likewise.
14525 * conform/data/libgen.h-data: Likewise.
14526 * conform/data/limits.h-data: Likewise.
14527 * conform/data/locale.h-data: Likewise.
14528 * conform/data/math.h-data: Likewise.
14529 * conform/data/monetary.h-data: Likewise.
14530 * conform/data/mqueue.h-data: Likewise.
14531 * conform/data/ndbm.h-data: Likewise.
14532 * conform/data/net/if.h-data: Likewise.
14533 * conform/data/netdb.h-data: Likewise.
14534 * conform/data/netinet/in.h-data: Likewise.
14535 * conform/data/nl_types.h-data: Likewise.
14536 * conform/data/poll.h-data: Likewise.
14537 * conform/data/pthread.h-data: Likewise.
14538 * conform/data/pwd.h-data: Likewise.
14539 * conform/data/regex.h-data: Likewise.
14540 * conform/data/sched.h-data: Likewise.
14541 * conform/data/search.h-data: Likewise.
14542 * conform/data/semaphore.h-data: Likewise.
14543 * conform/data/setjmp.h-data: Likewise.
14544 * conform/data/signal.h-data: Likewise.
14545 * conform/data/spawn.h-data: Likewise.
14546 * conform/data/stdarg.h-data: Likewise.
14547 * conform/data/stdio.h-data: Likewise.
14548 * conform/data/stdlib.h-data: Likewise.
14549 * conform/data/string.h-data: Likewise.
14550 * conform/data/strings.h-data: Likewise.
14551 * conform/data/stropts.h-data: Likewise.
14552 * conform/data/sys/ipc.h-data: Likewise.
14553 * conform/data/sys/mman.h-data: Likewise.
14554 * conform/data/sys/msg.h-data: Likewise.
14555 * conform/data/sys/resource.h-data: Likewise.
14556 * conform/data/sys/select.h-data: Likewise.
14557 * conform/data/sys/sem.h-data: Likewise.
14558 * conform/data/sys/shm.h-data: Likewise.
14559 * conform/data/sys/socket.h-data: Likewise.
14560 * conform/data/sys/stat.h-data: Likewise.
14561 * conform/data/sys/statvfs.h-data: Likewise.
14562 * conform/data/sys/time.h-data: Likewise.
14563 * conform/data/sys/timeb.h-data: Likewise.
14564 * conform/data/sys/times.h-data: Likewise.
14565 * conform/data/sys/types.h-data: Likewise.
14566 * conform/data/sys/uio.h-data: Likewise.
14567 * conform/data/sys/un.h-data: Likewise.
14568 * conform/data/sys/utsname.h-data: Likewise.
14569 * conform/data/sys/wait.h-data: Likewise.
14570 * conform/data/syslog.h-data: Likewise.
14571 * conform/data/tar.h-data: Likewise.
14572 * conform/data/termios.h-data: Likewise.
14573 * conform/data/utime.h-data: Likewise.
14574 * conform/data/utmpx.h-data: Likewise.
14575 * conform/data/varargs.h-data: Likewise.
14576 * conform/data/wchar.h-data: Likewise.
14577 * conform/data/wctype.h-data: Likewise.
14578 * conform/data/wordexp.h-data: Likewise.
14579
14580 * include/stropts.h: New file.
14581 * include/uchar.h: New file.
14582 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14583 * include/assert.h: Likewise.
14584 * include/ctype.h: Likewise.
14585 * include/dirent.h: Likewise.
14586 * include/dlfcn.h: Likewise.
14587 * include/fcntl.h: Likewise.
14588 * include/fnmatch.h: Likewise.
14589 * include/glob.h: Likewise.
14590 * include/grp.h: Likewise.
14591 * include/libio.h: Likewise.
14592 * include/locale.h: Likewise.
14593 * include/math.h: Likewise.
14594 * include/net/if.h: Likewise.
14595 * include/netdb.h: Likewise.
14596 * include/netinet/in.h: Likewise.
14597 * include/pthread.h: Likewise.
14598 * include/pwd.h: Likewise.
14599 * include/regex.h: Likewise.
14600 * include/sched.h: Likewise.
14601 * include/search.h: Likewise.
14602 * include/setjmp.h: Likewise.
14603 * include/signal.h: Likewise.
14604 * include/stdio.h: Likewise.
14605 * include/stdlib.h: Likewise.
14606 * include/string.h: Likewise.
14607 * include/sys/cdefs.h: Likewise.
14608 * include/sys/mman.h: Likewise.
14609 * include/sys/msg.h: Likewise.
14610 * include/sys/resource.h: Likewise.
14611 * include/sys/select.h: Likewise.
14612 * include/sys/socket.h: Likewise.
14613 * include/sys/stat.h: Likewise.
14614 * include/sys/statvfs.h: Likewise.
14615 * include/sys/time.h: Likewise.
14616 * include/sys/times.h: Likewise.
14617 * include/sys/uio.h: Likewise.
14618 * include/sys/utsname.h: Likewise.
14619 * include/sys/wait.h: Likewise.
14620 * include/termios.h: Likewise.
14621 * include/time.h: Likewise.
14622 * include/ulimit.h: Likewise.
14623 * include/unistd.h: Likewise.
14624 * include/utime.h: Likewise.
14625 * include/wchar.h: Likewise.
14626 * include/wctype.h: Likewise.
14627 * include/wordexp.h: Likewise.
14628
14629 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14630
7a270350
UD
14631 * time/time.h: TIME_UTC must be a macro.
14632 Make timespec_get available for ISO C11 only as well.
14633
7724defc
UD
146342012-02-24 Ulrich Drepper <drepper@gmail.com>
14635
14636 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14637 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14638
6b1d1d46
JM
146392012-02-24 Joseph Myers <joseph@codesourcery.com>
14640
14641 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14642
0f8bbd69
JM
146432012-02-24 Joseph Myers <joseph@codesourcery.com>
14644
14645 * manual/texinfo.tex: Update to version 2012-01-19.16.
14646
66ab80bc
JM
146472012-02-24 Joseph Myers <joseph@codesourcery.com>
14648
14649 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14650
74981cc5
RM
146512012-02-24 Roland McGrath <roland@hack.frob.com>
14652
ee968201
RM
14653 [BZ #13738]
14654 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14655 * manual/fdl-1.3.texi: New file.
14656 * manual/fdl-1.1.texi: File removed.
14657
74981cc5
RM
14658 [BZ #13738]
14659 * manual/libc.texinfo (FDL_VERSION): New @set.
14660 Use it for mention of FDL in cover text.
14661 (Documentation License): Use it in @include file name.
14662
7bb764bc
JM
146632012-02-22 Joseph Myers <joseph@codesourcery.com>
14664 Roland McGrath <roland@hack.frob.com>
14665
14666 [BZ #5461]
14667 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14668 not LONG_LONG_MAX and LONG_LONG_MIN.
14669 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14670 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14671 name.
14672 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14673
6cbeae47
JM
146742012-02-22 Joseph Myers <joseph@codesourcery.com>
14675
14676 [BZ #2547]
14677 [BZ #11365]
14678 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14679 manipulate bits before adding and subtracting TWO23[sx].
14680 * math/libm-test.inc (nearbyint_test): Add more tests.
14681
fe45ce09
JM
146822012-02-22 Joseph Myers <joseph@codesourcery.com>
14683
14684 [BZ #2548]
14685 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14686 bits before adding and subtracting TWO23[sx].
14687 * math/libm-test.inc (rint_test): Add more tests.
14688 (rint_test_tonearest): Likewise.
14689 (rint_test_towardzero): Likewise.
14690 (rint_test_downward): Likewise.
14691 (rint_test_upward: Likewise.
14692
ff3b3d82
JM
146932012-02-22 Joseph Myers <joseph@codesourcery.com>
14694
14695 [BZ #10110]
14696 * include/stdc-predef.h: New file. Extracted from features.h.
14697 * include/features.h: Include stdc-predef.h.
14698 * Makefile (headers): Add stdc-predef.h.
14699 * CONFORMANCE (Compiler limitations): Update.
14700
ef0aab35
JM
147012012-02-22 Joseph Myers <joseph@codesourcery.com>
14702
14703 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14704
58639409
DM
147052012-02-21 David S. Miller <davem@davemloft.net>
14706
14707 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14708 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14709
c0e70b25
DM
147102012-02-20 David S. Miller <davem@davemloft.net>
14711
14712 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14713 using a normal save/restore sequence, rather than allocating a
14714 dummy stack frame just to store a frame pointer and restore.
14715 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14716
fb06851d
JM
147172012-02-21 Joseph Myers <joseph@codesourcery.com>
14718
14719 * manual/install.texi: Fix stray word in line-wrapped comment.
14720
7a8b71c3
DM
147212012-02-20 David S. Miller <davem@davemloft.net>
14722
d510c123
DM
14723 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14724 both binutils and gcc support GOTDATA.
14725
0722d7c2
DM
14726 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14727 "rd %pc" in the PIC register setup sequences.
14728
3d2b3019
DM
14729 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14730 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14731 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14732 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14733 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14735 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14738 (SYSCALL_ERROR_HANDLER): Likewise.
14739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14740 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14742 (SYSCALL_ERROR_HANDLER): Likewise.
14743
c80098a9
DM
14744 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14745 (HAVE_GCC_GOTDATA): New.
14746 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14747 relocation support in both binutils and gcc.
14748 * sysdeps/sparc/elf/configure: Regenerate.
14749
3a2545a0
DM
14750 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14751 * sysdeps/sparc/sparc32/elf/configure: Delete.
14752 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14753 * sysdeps/sparc/sparc64/elf/configure: Delete.
14754 * sysdeps/sparc/elf/configure.in: New file.
14755 * sysdeps/sparc/elf/configure: Generate.
14756
7a8b71c3
DM
14757 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14758 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14759 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14760 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14761 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14762
f1e86fca
JM
147632012-02-21 Joseph Myers <joseph@codesourcery.com>
14764
14765 * manual/install.texi: Do not mention specific glibc version
14766 numbers.
14767 * manual/libc.texinfo (VERSION, UPDATED): Update.
14768 (@copying): Use @copyright{} and range of years.
14769
0e7dfaef
JM
147702012-02-21 Joseph Myers <joseph@codesourcery.com>
14771
14772 [BZ #13695]
14773 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14774 [crti.S not in sysdirs] (generated): Do not append.
14775 [crti.S not in sysdirs] (omit-deps): Likewise.
14776 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14777 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14778 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14779 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14780 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14781 Likewise.
14782 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14783 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14784 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14785 * csu/defs.awk: Remove file.
14786 * sysdeps/generic/initfini.c: Likewise.
14787 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14788 variable.
14789 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14790 Likewise.
14791
599af3ca
JM
147922012-02-20 Joseph Myers <joseph@codesourcery.com>
14793
14794 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14795 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14796 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14797 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14798 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14799 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14800 <bits/epoll.h>.
14801 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14802 (__EPOLL_PACKED): Define to empty if not defined by
14803 <bits/epoll.h>.
14804 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14806 bits/epoll.h.
14807
0e499750
JM
148082012-02-20 Joseph Myers <joseph@codesourcery.com>
14809
14810 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14811 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14813 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14814 <bits/timerfd.h>.
14815 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14817 bits/timerfd.h.
14818
5ad91f6e
JM
148192012-02-20 Joseph Myers <joseph@codesourcery.com>
14820
14821 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14822 in C locale.
14823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14824 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14825 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14827
06b99b02
AJ
148282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14829
14830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14832
7638c0fd
AS
148332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14834
14835 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14836 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14837 defined.
14838 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14839 Likewise.
14840 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14841 entry for 2.16.
14842
92221550
AJ
148432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14844
14845 * math/w_acos.c: Use non-signaling floating-point comparisons.
14846 * math/w_acosf.c: Likewise.
14847 * math/w_acosh.c: Likewise.
14848 * math/w_acoshf.c: Likewise.
14849 * math/w_acoshl.c: Likewise.
14850 * math/w_acosl.c: Likewise.
14851 * math/w_asin.c: Likewise.
14852 * math/w_asinf.c: Likewise.
14853 * math/w_asinl.c: Likewise.
14854 * math/w_atanh.c: Likewise.
14855 * math/w_atanhf.c: Likewise.
14856 * math/w_atanhl.c: Likewise.
14857 * math/w_exp2.c: Likewise.
14858 * math/w_exp2f.c: Likewise.
14859 * math/w_exp2l.c: Likewise.
14860 * math/w_j0.c: Likewise.
14861 * math/w_j0f.c: Likewise.
14862 * math/w_j0l.c: Likewise.
14863 * math/w_j1.c: Likewise.
14864 * math/w_j1f.c: Likewise.
14865 * math/w_j1l.c: Likewise.
14866 * math/w_jn.c: Likewise.
14867 * math/w_jnf.c: Likewise.
14868 * math/w_log.c: Likewise.
14869 * math/w_log10.c: Likewise.
14870 * math/w_log10f.c: Likewise.
14871 * math/w_log10l.c: Likewise.
14872 * math/w_log2.c: Likewise.
14873 * math/w_log2f.c: Likewise.
14874 * math/w_log2l.c: Likewise.
14875 * math/w_logf.c: Likewise.
14876 * math/w_logl.c: Likewise.
14877 * math/w_sqrt.c: Likewise.
14878 * math/w_sqrtf.c: Likewise.
14879 * math/w_sqrtl.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14882 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14883 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14884 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14885
ebaf36eb
JM
148862012-02-19 Joseph Myers <joseph@codesourcery.com>
14887
14888 [BZ #9739]
14889 * manual/string.texi (strnlen): Use correct parameter name in
14890 equivalent expression.
14891
71c254a6
JM
148922012-02-19 Joseph Myers <joseph@codesourcery.com>
14893
14894 [BZ #11174]
14895 * manual/users.texi (seteuid): Consistently use neweuid for
14896 argument name.
14897
16d2c631
JM
148982012-02-19 Joseph Myers <joseph@codesourcery.com>
14899
14900 [BZ #13704]
14901 * manual/nss.texi (Services in the NSS configuration): Correct
14902 list of services in example configuration file.
14903
cd837b09
NB
149042012-02-19 Nick Bowler <nbowler@draconx.ca>
14905
14906 [BZ #11322]
14907 * manual/arith.texi: Remove statements about negative zero
14908 behaving identically to zero.
14909
02c4bbad
JM
149102012-02-18 Joseph Myers <joseph@codesourcery.com>
14911
14912 [BZ #5993]
14913 * manual/install.texi: Do not document upgrading from libc5.
14914
366842e7
JM
149152012-02-18 Joseph Myers <joseph@codesourcery.com>
14916
14917 [BZ #4596]
14918 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14919
dd54084d
DM
149202012-02-18 David S. Miller <davem@davemloft.net>
14921
14922 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14923 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14924 %o7 across the call.
14925 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14926 instead.
14927 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14928 SETUP_PIC_REG_LEAF.
14929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14930 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14931 * sysdeps/sparc/crtn.S: Likewise.
14932
2bcc53a3
UD
149332012-02-17 Ulrich Drepper <drepper@gmail.com>
14934
14935 * aout/Makefile: Remove.
14936
09c093b5
RK
149372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14938
14939 [BZ #13058]
14940 * manual/examples/argp-ex1.c (main): Format definition in GNU
14941 style.
14942 * manual/examples/argp-ex2.c (main): Likewise.
14943 * manual/examples/argp-ex3.c (main): Likewise.
14944 * manual/examples/argp-ex4.c (main): Likewise.
14945 * manual/examples/longopt.c (main): Use new-style prototype
14946 definition.
14947 * manual/examples/strncat.c (main): Specify return type and use
14948 (void) for arguments.
14949 * manual/examples/subopt.c (main): Use char **argv argument.
14950
2ee633a2
JM
149512012-02-17 Joseph Myers <joseph@codesourcery.com>
14952
14953 [BZ #5077]
14954 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14955 rounding modes.
14956
0520adde
FB
149572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14958
14959 [BZ #6907]
14960 * manual/string.texi (strchr): Change when strchrnul is
14961 recommended.
14962
3f4081cd
DGM
149632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14964
14965 [BZ #174]
14966 * manual/locale.texi (setlocale): Document LOCPATH.
14967
d1b10e78
JM
149682012-02-17 Joseph Myers <joseph@codesourcery.com>
14969
14970 [BZ #10210]
14971 * manual/process.texi (execle): Move @dots{} before last argument.
14972
79c6869c
PB
149732012-02-17 Paul Bolle <pebolle@tiscali.nl>
14974
14975 [BZ #12047]
14976 * manual/charset.texi (Generic Charset Conversion): Fix typo
14977 (LC_TYPE -> LC_CTYPE).
14978
cc6e48bc
NB
149792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14980
14981 [BZ #5805]
14982 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14983 (scalbnf): Likewise.
14984 (scalbnl): Likewise.
14985 (scalbln): Likewise.
14986 (scalblnf): Likewise.
14987 (scalblnl): Likewise.
14988 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14989 (vwarnx): Likewise.
14990 (verr): Likewise.
14991 (verrx): Likewise.
14992 * manual/filesys.texi (telldir): Use braces around return type.
14993 * manual/llio.texi (mmap): Add space after comma.
14994 (mmap64): Likewise.
14995 * manual/math.texi (jn): Use @var{} on parameter names.
14996 (jnf): Likewise.
14997 (jnl): Likewise.
14998 (yn): Likewise.
14999 (ynf): Likewise.
15000 (ynl): Likewise.
15001 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15002 line.
15003 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15004 "...".
15005 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15006 (sched_get_priority_max): Likewise.
15007 * manual/signal.texi (sigvec): Add space after comma.
15008 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15009 names.
15010 (if_indextoname): Likewise.
15011 (if_freenameindex): Likewise.
15012 (sendto): Use ',' instead of '.' in prototype.
15013 * manual/startup.texi (syscall): Use @dots{} instead of literal
15014 "...".
15015 * manual/stdio.texi (__fpending): Separate initial words of
15016 paragraph from @deftypefun line.
15017 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15018 "...".
15019 (vsyslog): Use @var{} on parameter names.
15020 * manual/terminal.texi (stty): Use @var{} on parameter names.
15021 * manual/users.texi (getutmp): Use @var{} on parameter names.
15022 (getutmpx): Likewise.
15023
5b23062f
JM
150242012-02-17 Joseph Myers <joseph@codesourcery.com>
15025
15026 [BZ #6884]
15027 * manual/stdio.texi (fopen): Fix typos in description of
15028 ",ccs=STRING".
15029
8dee4833
AJ
150302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15031
15032 [BZ #4026]
15033 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15034 get clock_id definition.
15035
9078ce93
TS
150362012-02-17 Thomas Schwinge <thomas@schwinge.name>
15037
15038 [BZ #4822]
15039 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15040 (madvise): Cast every argument to void on its own.
15041
3835c55f
JM
150422012-02-17 Joseph Myers <joseph@codesourcery.com>
15043
15044 [BZ #9902]
15045 * manual/startup.texi (Exit Status): Fix typo.
15046
35c47e37
JM
150472012-02-17 Joseph Myers <joseph@codesourcery.com>
15048
15049 [BZ #10140]
15050 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15051 * manual/examples/argp-ex2.c: Likewise.
15052 * manual/examples/argp-ex3.c: Likewise.
15053
e3b69ca7
RH
150542012-02-16 Richard Henderson <rth@redhat.com>
15055
15056 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15057 * sysdeps/s390/s390-32/initfini.c: Remove.
15058 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15059 * sysdeps/s390/s390-64/initfini.c: Remove.
15060
df83af67
KK
150612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15062
15063 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15064 compiler output for sysdeps/generic/initfini.c.
15065 * sysdeps/sh/elf/initfini.c: Remove file.
15066
f63f3380
DM
150672012-02-16 David S. Miller <davem@davemloft.net>
15068
fb59b3a4
DM
15069 [BZ #11494]
15070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15071
f63f3380
DM
15072 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15073 * sysdeps/sparc/crti.S: New file.
15074 * sysdeps/sparc/crtn.S: New file.
15075 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15076 * sysdeps/sparc/sparc64/Makefile: Likewise.
15077
df6a4a4a
MF
150782012-02-15 Mike Frysinger <vapier@gentoo.org>
15079
6dd8f3dc 15080 [BZ #3335]
df6a4a4a
MF
15081 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15082
1cac7236
RM
150832012-02-15 Roland McGrath <roland@hack.frob.com>
15084
d2c736f8
RM
15085 [BZ #4822]
15086 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15087
1cac7236
RM
15088 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15089 (write, read, close): Likewise.
15090 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15091
8e475601
JM
150922012-02-15 Joseph Myers <joseph@codesourcery.com>
15093
15094 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15095 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15096 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15097 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15098 <bits/signalfd.h>.
15099 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15100 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15101 bits/signalfd.h.
15102
ed656b40
MP
151032012-02-14 Marek Polacek <polacek@redhat.com>
15104
15105 * sysdeps/x86_64/crti.S: New file.
15106 * sysdeps/x86_64/crtn.S: New file.
15107 * sysdeps/x86_64/elf/initfini.c: Remove file.
15108
2a979d3a
JM
151092012-02-13 Joseph Myers <joseph@codesourcery.com>
15110
15111 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15112 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15113 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15114 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15115 <bits/inotify.h>.
15116 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15118 bits/inotify.h.
15119
2a418ac3
JM
151202012-02-13 Joseph Myers <joseph@codesourcery.com>
15121
15122 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15123 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15124 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15125 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15126 <bits/eventfd.h>.
15127 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15129 bits/eventfd.h.
15130
fb779be7
TS
151312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15132
e19e83c5
RM
15133 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15134 __feraiseexcept instead of feraiseexcept.
7c35ffed 15135
fb779be7
TS
15136 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15137 nanosleep invocations.
15138 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15139 strings, and add error checking for a nanosleep invocations.
15140
59ba27a6
PE
151412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15142
15143 Replace FSF snail mail address with URLs, as per GNU coding standards.
15144 Most of the snail mail addresses were wrong anyway, and omitting
15145 them makes the source code easier to maintain. Almost all of the
15146 changes are to license notices and to locale LC_IDENTIFICATION
15147 addresses, except for this one:
15148 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15149 not its snail mail address.
15150
57b957eb
RH
151512012-02-09 Richard Henderson <rth@twiddle.net>
15152
af850b1c
RH
15153 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15154 of kernel-features.h.
15155
57b957eb
RH
15156 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15157
6b73181a
MP
151582012-02-08 Marek Polacek <polacek@redhat.com>
15159
15160 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15161 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15162 * sysdeps/gnu/_G_config.h: Likewise.
15163 * sysdeps/generic/_G_config.h: Likewise.
15164
26ecc33a
AS
151652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15166
6c6dbc63
AS
15167 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15168 tests.
15169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15170
e216c012
AS
15171 * sysdeps/powerpc/powerpc32/crti.S: New file.
15172 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15173 * sysdeps/powerpc/powerpc64/crti.S: New file.
15174 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15175
26ecc33a
AS
15176 * Makeconfig (have-initfini): Don't set.
15177 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15178 * configure.in (nopic_initfini): Don't substitute.
15179 * config.h.in (HAVE_INITFINI): Don't #undef.
15180 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15181 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15182
3add8e13
JM
151832012-02-08 Joseph Myers <joseph@codesourcery.com>
15184
15185 Support crti.S and crtn.S provided directly by architectures.
15186 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15187 [crti.S in sysdirs] (omit-deps): Likewise.
15188 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15189 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15190 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15191 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15192 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15193 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15194 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15195 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15196 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15197 compiler output for sysdeps/generic/initfini.c.
15198 * sysdeps/i386/elf/Makefile: Remove file.
15199 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15200
a22f12b4
MP
152012012-02-07 Marek Polacek <polacek@redhat.com>
15202
15203 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15204 * sysdeps/gnu/_G_config.h: Likewise.
15205 * sysdeps/mach/hurd/_G_config.h: Likewise.
15206
148cf100
MP
152072012-02-07 Marek Polacek <polacek@redhat.com>
15208
15209 * math/Makefile (tests): Add tst-CMPLX2.
15210 * math/tst-CMPLX2.c: New file.
15211
cfdc0dd7
AS
152122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15213
84ba42c4
AS
15214 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15215
cfdc0dd7
AS
15216 * math/libm-test.inc (jn_test): Add missing L suffix.
15217
622c86f4
MP
152182012-02-06 Marek Polacek <polacek@redhat.com>
15219
15220 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15221 * sysdeps/i386/fpu/e_powf.S: Likewise.
15222 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15223 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15224 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15225 * sysdeps/i386/fpu/e_pow.S: Likewise.
15226 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15227 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15228 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15229 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15230 * sysdeps/i386/fpu/e_log2.S: Likewise.
15231 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15232 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15233 * sysdeps/i386/fpu/e_powl.S: Likewise.
15234 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15235 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15236 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15237 * sysdeps/i386/fpu/e_logl.S: Likewise.
15238 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15239 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15240 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15241 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15242 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15243 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15244 * sysdeps/i386/fpu/e_log.S: Likewise.
15245 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15246 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15247 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15248 * sysdeps/i386/fpu/e_logf.S: Likewise.
15249 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15250 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15251 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15252 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15253 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15254 * sysdeps/i386/fpu/e_log10.S: Likewise.
15255 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15256 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15257 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15258 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15259 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15260 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15261 * sysdeps/i386/asm-syntax.h: Likewise.
15262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15264 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15265 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15266 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15267 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15268 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15269 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15270 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15271 * sysdeps/powerpc/sysdep.h: Likewise.
15272 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15273 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15274
d4a54ac6
JM
152752012-02-06 Joseph Myers <joseph@codesourcery.com>
15276
15277 [BZ #411]
15278 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15279
314054ea
JM
152802012-02-06 Joseph Myers <joseph@codesourcery.com>
15281
15282 * sysdeps/i386/sysdep.h: Include <features.h>.
15283 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15284 version.
15285
d8e0ca50
JM
152862012-02-05 Joseph Myers <joseph@codesourcery.com>
15287
15288 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15289 Define.
15290 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15291 LOAD_PIC_REG_STR.
15292
b1da7dd9
JM
152932012-02-03 Joseph Myers <joseph@codesourcery.com>
15294
15295 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15296 (SETUP_PIC_REG): Use GET_PC_THUNK.
15297 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15298 macro.
15299
9a1d9254
JM
153002012-02-03 Joseph Myers <joseph@codesourcery.com>
15301
15302 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15303 for non-PIC compilation.
15304 (SETUP_PIC_REG): Add .p2align directive.
15305 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15306 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15307 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15308 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15309 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15310 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15311 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15313 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15314 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15315 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15316 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15317 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15318 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15319 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15320 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15321 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15322 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15323 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15324 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15325 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15326 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15327 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15328 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15333 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15334 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15335 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15336 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15337 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15338 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15339 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15340 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15341 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15342 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15343 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15344 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15345 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15346
65dc3b75
JM
153472012-02-03 Joseph Myers <joseph@codesourcery.com>
15348
15349 * math/tst-CMPLX.c: Include <stdio.h>.
15350
d55bf177
JM
153512012-01-31 Joseph Myers <joseph@codesourcery.com>
15352
15353 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15354 float.
15355 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15356 * sysdeps/sparc/bits/mathdef.h: Likewise.
15357
69db4f8f
MP
153582012-01-31 Marek Polacek <polacek@redhat.com>
15359
15360 * libio/libio.h: Don't define _PARAMS.
15361 * locale/programs/config.h: Don't define PARAMS.
15362 * stdlib/strtol_l.c: Likewise.
15363 (__strtol_l): Remove PARAMS from the prototype.
15364
41b81892
UD
153652012-01-31 Ulrich Drepper <drepper@gmail.com>
15366
3b49edc0
UD
15367 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15368 names. Just use the correct names. Remove unnecessary wrapper
15369 functions.
15370 * malloc/arena.c: Likewise.
15371 * malloc/hooks.c: Likewise.
15372
41b81892
UD
15373 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15374 ARENA_TEST says not to. Simplify test for creation of a new arena.
15375 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15376
27a25b6e
UD
153772012-01-30 Ulrich Drepper <drepper@gmail.com>
15378
15379 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15380 into tail calls.
15381 (update_get_addr): New function.
15382 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15383 GET_ADDR_MODULE parameter.
15384
c8a89e7d
JM
153852012-01-30 Joseph Myers <joseph@codesourcery.com>
15386
15387 * crypt/cert.c: Remove __STDC__ conditionals.
15388 * crypt/crypt-entry.c: Likewise.
15389 * crypt/crypt_util.c: Likewise.
15390 * libio/filedoalloc.c: Likewise.
15391 * libio/fileops.c: Likewise.
15392 * libio/genops.c: Likewise.
15393 * libio/iofclose.c: Likewise.
15394 * libio/iofdopen.c: Likewise.
15395 * libio/iofopen.c: Likewise.
15396 * libio/iofopen64.c: Likewise.
15397 * libio/iogetdelim.c: Likewise.
15398 * libio/iopopen.c: Likewise.
15399 * libio/obprintf.c: Likewise.
15400 * libio/oldfileops.c: Likewise.
15401 * libio/oldiofclose.c: Likewise.
15402 * libio/oldiofdopen.c: Likewise.
15403 * libio/oldiofopen.c: Likewise.
15404 * libio/oldiopopen.c: Likewise.
15405 * libio/wfiledoalloc.c: Likewise.
15406 * libio/wgenops.c: Likewise.
15407 * locale/programs/xmalloc.c: Likewise.
15408 * misc/syslog.c: Likewise.
15409 * stdio-common/xbug.c: Likewise.
15410 * string/memchr.c: Likewise.
15411 * string/memcmp.c: Likewise.
15412 * string/memrchr.c: Likewise.
15413 * string/rawmemchr.c: Likewise.
15414 * sysdeps/posix/getcwd.c: Likewise.
15415 * time/strftime_l.c: Likewise.
15416
3b100462
JM
154172012-01-30 Joseph Myers <joseph@codesourcery.com>
15418
15419 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15420 * config.make.in (config-cflags-sse2avx): Define.
15421 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15422 Fix typo.
15423
607998af
CM
154242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15425
15426 * scripts/config.guess: Update from upstream config git repository.
15427 * scripts/config.sub: Likewise.
15428
3601428f
CM
154292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15430
3ac8b282
CM
15431 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15432 (EM_NUM): Update.
15433 (R_TILEPRO_*, R_TILEGX_*): New macros.
15434
e034841e
CM
15435 * scripts/firstversions.awk: Fix bug in version range handling.
15436
540d7568
CM
15437 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15438
3601428f
CM
15439 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15440
463de862
CM
15441 * include/sys/epoll.h: New file.
15442 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15443 libc_hidden_def.
15444
73139a76
UD
154452012-01-28 Ulrich Drepper <drepper@gmail.com>
15446
96bc5b45
UD
15447 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15448 Avoid unnecessary __WORDSIZE == 64 test.
15449 (fmaxf): Use VEX format if possible.
15450 (fmax): Likewise.
15451 (fminf): Likewise.
15452 (fmin): Likewise.
15453
56f6f6a2
UD
15454 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15455 * math/math_private.h: Remove libc_fegetround* and
15456 libc_fesetround*.
15457 * sysdeps/i386/configure.in: Check for -msse2avx.
15458 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15459 also if SSE2AVX is defined.
15460 Remove libc_fegetround* and libc_fesetround*.
15461 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15462 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15464 of HAS_YMM_USABLE.
15465 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15466 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15468 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15469 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15470
73139a76
UD
15471 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15472
d73f93a4
AZ
154732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15474
15475 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15476 size is not set.
15477 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15478
6ee65ed6
UD
154792012-01-27 Ulrich Drepper <drepper@gmail.com>
15480
15481 [BZ #13618]
15482 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15483 relocation.
15484 * Makeconfig (libm): Define.
15485 * elf/Makefile: Add rules to build and run tst-relsort1.
15486 * elf/tst-relsort1.c: New file.
15487 * elf/tst-relsort1mod1.c: New file.
15488 * elf/tst-relsort1mod2.c: New file.
15489
8db21882
JM
154902012-01-27 Joseph Myers <joseph@codesourcery.com>
15491
15492 * math/s_ldexp.c: Remove __STDC__ conditionals.
15493 * math/s_ldexpf.c: Likewise.
15494 * math/s_ldexpl.c: Likewise.
15495 * math/s_nextafter.c: Likewise.
15496 * math/s_nexttowardf.c: Likewise.
15497 * math/s_significand.c: Likewise.
15498 * math/s_significandf.c: Likewise.
15499 * math/s_significandl.c: Likewise.
15500 * math/w_jnl.c: Likewise.
15501 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15502 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15503 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15504 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15505 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15507 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15508 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15509 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15510 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15511 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15512 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15513 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15514 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15515 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15516 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15517 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15518 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15519 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15520 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15521 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15522 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15523 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15525 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15526 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15527 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15528 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15529 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15530 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15531 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15532 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15533 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15534 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15535 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15536 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15537 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15538 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15539 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15540 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15541 * sysdeps/ieee754/k_standard.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15574 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15584 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15591 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15592 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15596 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15597 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15598 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15599 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15600 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15601 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15602 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15603 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15604 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15605 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15606 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15607 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15608 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15609 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15610 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15612 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15614 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15615 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15616 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15617 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15618 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15619 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15621 * sysdeps/ieee754/s_matherr.c: Likewise.
15622 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15626
965a54a4
JM
156272012-01-26 Joseph Myers <joseph@codesourcery.com>
15628
15629 * crypt/md5.h: Remove __STDC__ conditionals.
15630 * libio/libioP.h: Likewise.
15631 * locale/programs/config.h: Likewise.
15632 * sysdeps/generic/sysdep.h: Likewise.
15633 * sysdeps/i386/asm-syntax.h: Likewise.
15634 * sysdeps/s390/asm-syntax.h: Likewise.
15635 * sysdeps/unix/sysdep.h: Likewise.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15638
7071ad79
JM
156392012-01-26 Joseph Myers <joseph@codesourcery.com>
15640
15641 * libio/libio.h: Remove __STDC__ conditionals.
15642 * malloc/obstack.h: Likewise.
15643 * math/complex.h: Likewise.
15644 * math/math.h: Likewise.
15645 * sysdeps/generic/_G_config.h: Likewise.
15646 * sysdeps/gnu/_G_config.h: Likewise.
15647 * sysdeps/mach/hurd/_G_config.h: Likewise.
15648 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15649 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15650 * sysdeps/sparc/bits/mathdef.h: Likewise.
15651
afc5ed09
UD
156522012-01-26 Ulrich Drepper <drepper@gmail.com>
15653
15654 [BZ #13583]
15655 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15656 Clean up HAS_* macros.
afc5ed09 15657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15658 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15659 possible.
15660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15661 HAS_AVX.
15662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15667
bdb6de1d
JM
156682012-01-25 Joseph Myers <joseph@codesourcery.com>
15669
15670 * elf/tst-unique3.cc (gets): Remove declaration.
15671 * elf/tst-unique3lib.cc (gets): Likewise.
15672 * elf/tst-unique3lib2.cc (gets): Likewise.
15673 * elf/tst-unique4.cc (gets): Likewise.
15674
b15549e6
UD
156752012-01-24 Ulrich Drepper <drepper@gmail.com>
15676
15677 * include/stdio.h: Add C++ protection. Add gets declarations and
15678 definitions.
15679 * debug/tst-chk1.c: Don't declare gets here.
15680 * stdio-common/tst-gets.c: Likewise.
15681
a037381f
JM
156822012-01-24 Joseph Myers <joseph@codesourcery.com>
15683
15684 * posix/glob: Remove directory.
15685
f1d4aa75
JM
156862012-01-24 Joseph Myers <joseph@codesourcery.com>
15687
15688 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15689
81c0c964
PT
156902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15691
15692 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15693 of the non-standard EPFNOSUPPORT.
15694
0ea698ae
ST
156952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15696
15697 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15698 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15699 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15700
d220b117
UD
157012012-01-21 Ulrich Drepper <drepper@gmail.com>
15702
15703 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15704
3e1aa84e
UD
157052012-01-20 Ulrich Drepper <drepper@gmail.com>
15706
15707 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15708 transient errors.
15709 * nscd/grpcache.c (cache_addgr): Likewise.
15710 * nscd/hstcache.c (cache_addhst): Likewise.
15711 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15712 * nscd/pwdcache.c (cache_addpw): Likewise.
15713 * nscd/servicescache.c (cache_addserv): Likewise.
15714
400aa020
UD
157152012-01-16 Ulrich Drepper <drepper@gmail.com>
15716
d77e7869
UD
15717 * malloc/malloc.c: Various cleanups.
15718 * malloc/hooks.c: Likewise.
15719
400aa020
UD
15720 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15721 * stdlib/bug-fmtmsg1.c: New file.
15722
15723 * stdlib/fmtmsg.c (init): Add missing unlock.
15724 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15725
e0a309cf
MP
157262012-01-12 Marek Polacek <polacek@redhat.com>
15727
15728 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15729 and _GNU_SOURCE.
15730
929d11c7
WS
157312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15732
15733 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15734 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15735 macro to ensure uniqueness of label name.
15736 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15737 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15738
41d0e869
UD
157392012-01-11 Ulrich Drepper <drepper@gmail.com>
15740
0cc5ed3b
UD
15741 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15742
41d0e869
UD
15743 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15744 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15745 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15747
a47a831a
UD
157482012-01-10 Ulrich Drepper <drepper@gmail.com>
15749
daa891c0
UD
15750 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15751
15752 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15753 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15754 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15755
e58ef0f2
UD
15756 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15757
a47a831a 15758 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15762
15763 * math/bits/math-finite.h: Add ldexp support.
15764
a0bfc9c7
MP
157652012-01-10 Marek Polacek <polacek@redhat.com>
15766
15767 * locale/programs/localedef.h (show_archive_content): Add noreturn
15768 attribute.
15769
d6e97a1d
UD
157702012-01-09 Ulrich Drepper <drepper@gmail.com>
15771
15772 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15773
d5835c26
UD
157742012-01-08 Ulrich Drepper <drepper@gmail.com>
15775
e5f484c6
UD
15776 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15777
d5835c26
UD
15778 * io/Makefile (headers): Add bits/poll2.h.
15779
d1f741e9
WS
157802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15781
15782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15783 typo #include statement.
15784
ec09c1c4
UD
157852012-01-08 Ulrich Drepper <drepper@gmail.com>
15786
15787 * include/sys/cdefs.h: Define __attribute_alloc_size.
15788 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15789 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15790 * elf/pldd.c: Likewise.
15791 * iconv/iconv_charmap.c: Likewise.
15792 * iconv/iconvconfig.c: Likewise.
15793 * iconv/strtab.c: Likewise.
15794 * locale/programs/locale.c: Likewise.
15795 * locale/programs/localedef.h: Likewise.
15796 * locale/programs/simple-hash.c: Likewise.
15797 * nscd/nscd.h: Likewise.
15798 * nss/makedb.c: Likewise.
15799 * sysdeps/generic/ldconfig.h: Likewise.
15800 * locale/programs/localedef.c: Remove xmalloc prototype.
15801 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15802
20b38e03
PP
158032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15804
15805 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15806 appropriate.
15807
a0da5fe1
UD
158082012-01-08 Ulrich Drepper <drepper@gmail.com>
15809
1d5a644a 15810 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15811 * math/tst-CMPLX.c: New file.
1d5a644a 15812
8784a6db
UD
15813 * math/complex.h (CMPLXL): Fix typo.
15814
d9a216c0
UD
15815 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15816 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15817 GLIBC_2.16.
15818 * debug/tst-chk1.c: Add poll and ppoll tests.
15819 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15820 * include/sys/poll.h: Add hidden proto for ppoll.
15821 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15822 * sysdeps/mach/hurd/ppoll.c: Likewise.
15823 * io/ppoll.c: Likewise.
15824 * debug/poll_chk.c: New file.
15825 * debug/ppoll_chk.c: New file.
15826 * include/bits/poll2.h: New file.
15827 * io/bits/poll2.h: New file.
15828
ac097f5c
UD
15829 [BZ #1350]
15830 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15831
2119dcfa
UD
15832 * configure.in: static is always set to yes. Remove.
15833 * config.make.in: Don't set build-static.
15834 * Makeconfig: Remove use of build-static.
15835 * dlfcn/Makefile: Likewise.
15836 * elf/Makefile: Likewise.
15837 * math/Makefile: Likewise.
15838 * misc/Makefile: Likewise.
15839 * nptl/Makefile: Likewise.
15840 * sysdeps/mach/hurd/Makefile: Likewise.
15841
121766a9
UD
15842 * configure.in: PWD_P is not used anymore.
15843 * config.make.in: Remove PWD_P entry.
15844
51a1d39c 15845 * configure.in: Remove last remnants of RANLIB.
8720d066 15846 No need to check for signed size_t anymore.
215f4bdc
UD
15847 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15848 and IA-64.
3857022a 15849 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15850 * aclocal.m4: Likewise.
15851
d3ed7225
UD
15852 * wcsmbs/mbrtoc16.c: Implement using towc function.
15853 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15854 * wcsmbs/wcsmbsload.c: Likewise.
15855 * iconv/gconv_simple.c: Likewise.
15856 * iconv/gconv_int.h: Likewise.
15857 * iconv/gconv_builtin.h: Likewise.
15858 * iconv/iconv_prog.c: Remove CHAR16 handling.
15859
15860 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15861
15862 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15863
a0da5fe1
UD
15864 * configure.in: Remove --with-elf and --enable-bounded options.
15865 Dont set base_machine for ia64. More non-ELF conditions removed.
15866 Remove testing and setting of leading underscore information.
15867 * config.make.in (build-bounded): Set to no.
15868 * config.h.in: Remove NO_UNDERSCORES entry.
15869 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15870 them.
15871 * csu/start.c: Remove !NO_UNDERSCORE code.
15872 * locale/localeinfo.h: Likewise.
15873 * sysdeps/generic/machine-gmon.h: Likewise.
15874 * sysdeps/generic/sysdep.h: Likewise.
15875 * sysdeps/i386/sysdep.h: Likewise.
15876 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15877 * sysdeps/mach/sysdep.h: Likewise.
15878 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15880 * sysdeps/sh/sysdep.h: Likewise.
15881 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15882 * sysdeps/unix/i386/sysdep.S: Likewise.
15883 * sysdeps/unix/sparc/start.c: Likewise.
15884 * sysdeps/unix/sparc/sysdep.S: Likewise.
15885 * sysdeps/unix/sparc/sysdep.h: Likewise.
15886 * sysdeps/unix/start.c: Likewise.
15887 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15888 * sysdeps/x86_64/sysdep.h: Likewise.
15889
df78418a
UD
158902012-01-07 Ulrich Drepper <drepper@gmail.com>
15891
a784e502
UD
15892 [BZ #13553]
15893 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15894 for non-gcc.
15895 * argp/argp-fmtstream.h: Use const instead __const.
15896 * argp/argp.h: Likewise.
15897 * assert/assert.h: Likewise.
15898 * bits/fenv.h: Likewise.
15899 * bits/sched.h: Likewise.
15900 * bits/sigset.h: Likewise.
15901 * bits/sigthread.h: Likewise.
15902 * catgets/nl_types.h: Likewise.
15903 * conform/data/pthread.h-data: Likewise.
15904 * crypt/crypt-private.h: Likewise.
15905 * crypt/crypt.h: Likewise.
15906 * crypt/crypt_util.c: Likewise.
15907 * ctype/ctype.h: Likewise.
15908 * debug/execinfo.h: Likewise.
15909 * debug/mbsnrtowcs_chk.c: Likewise.
15910 * debug/mbsrtowcs_chk.c: Likewise.
15911 * debug/wcsnrtombs_chk.c: Likewise.
15912 * debug/wcsrtombs_chk.c: Likewise.
15913 * debug/wcstombs_chk.c: Likewise.
15914 * dirent/dirent.h: Likewise.
15915 * dlfcn/dlfcn.h: Likewise.
15916 * elf/neededtest4.c: Likewise.
15917 * grp/grp.h: Likewise.
15918 * gshadow/gshadow.h: Likewise.
15919 * iconv/gconv.h: Likewise.
15920 * iconv/gconv_int.h: Likewise.
15921 * iconv/gconv_simple.c: Likewise.
15922 * iconv/iconv.h: Likewise.
15923 * iconv/loop.c: Likewise.
15924 * iconv/skeleton.c: Likewise.
15925 * include/aio.h: Likewise.
15926 * include/aliases.h: Likewise.
15927 * include/argz.h: Likewise.
15928 * include/arpa/inet.h: Likewise.
15929 * include/assert.h: Likewise.
15930 * include/dirent.h: Likewise.
15931 * include/dlfcn.h: Likewise.
15932 * include/execinfo.h: Likewise.
15933 * include/fcntl.h: Likewise.
15934 * include/fenv.h: Likewise.
15935 * include/glob.h: Likewise.
15936 * include/grp.h: Likewise.
15937 * include/libintl.h: Likewise.
15938 * include/mntent.h: Likewise.
15939 * include/netdb.h: Likewise.
15940 * include/pwd.h: Likewise.
15941 * include/rpc/netdb.h: Likewise.
15942 * include/sched.h: Likewise.
15943 * include/search.h: Likewise.
15944 * include/shadow.h: Likewise.
15945 * include/signal.h: Likewise.
15946 * include/stdio.h: Likewise.
15947 * include/stdlib.h: Likewise.
15948 * include/string.h: Likewise.
15949 * include/sys/socket.h: Likewise.
15950 * include/sys/stat.h: Likewise.
15951 * include/sys/statfs.h: Likewise.
15952 * include/sys/statvfs.h: Likewise.
15953 * include/sys/syslog.h: Likewise.
15954 * include/sys/time.h: Likewise.
15955 * include/sys/uio.h: Likewise.
15956 * include/time.h: Likewise.
15957 * include/unistd.h: Likewise.
15958 * include/utmp.h: Likewise.
15959 * include/wchar.h: Likewise.
15960 * include/wctype.h: Likewise.
15961 * inet/aliases.h: Likewise.
15962 * inet/arpa/inet.h: Likewise.
15963 * inet/netinet/ether.h: Likewise.
15964 * inet/netinet/in.h: Likewise.
15965 * intl/libintl.h: Likewise.
15966 * io/bits/fcntl2.h: Likewise.
15967 * io/fcntl.h: Likewise.
15968 * io/ftw.h: Likewise.
15969 * io/sys/poll.h: Likewise.
15970 * io/sys/stat.h: Likewise.
15971 * io/sys/statfs.h: Likewise.
15972 * io/sys/statvfs.h: Likewise.
15973 * io/utime.h: Likewise.
15974 * libio/bits/stdio.h: Likewise.
15975 * libio/bits/stdio2.h: Likewise.
15976 * libio/libio.h: Likewise.
15977 * libio/libioP.h: Likewise.
15978 * libio/stdio.h: Likewise.
15979 * locale/lc-ctype.c: Likewise.
15980 * locale/locale.h: Likewise.
15981 * login/utmp.h: Likewise.
15982 * malloc/arena.c: Likewise.
15983 * malloc/malloc.c: Likewise.
15984 * malloc/malloc.h: Likewise.
15985 * malloc/mcheck.c: Likewise.
15986 * malloc/mtrace.c: Likewise.
15987 * math/bits/mathcalls.h: Likewise.
15988 * math/fenv.h: Likewise.
15989 * math/math_private.h: Likewise.
15990 * misc/bits/error.h: Likewise.
15991 * misc/bits/syslog.h: Likewise.
15992 * misc/err.h: Likewise.
15993 * misc/error.h: Likewise.
15994 * misc/fstab.h: Likewise.
15995 * misc/mntent.h: Likewise.
15996 * misc/regexp.h: Likewise.
15997 * misc/search.h: Likewise.
15998 * misc/sgtty.h: Likewise.
15999 * misc/sys/mman.h: Likewise.
16000 * misc/sys/syslog.h: Likewise.
16001 * misc/sys/uio.h: Likewise.
16002 * misc/sys/xattr.h: Likewise.
16003 * misc/ttyent.h: Likewise.
16004 * nis/rpcsvc/ypclnt.h: Likewise.
16005 * nss/nss.h: Likewise.
16006 * posix/bits/unistd.h: Likewise.
16007 * posix/fnmatch.h: Likewise.
16008 * posix/glob.h: Likewise.
16009 * posix/sched.h: Likewise.
16010 * posix/spawn.h: Likewise.
16011 * posix/sys/wait.h: Likewise.
16012 * posix/unistd.h: Likewise.
16013 * posix/wordexp.h: Likewise.
16014 * pwd/pwd.h: Likewise.
16015 * resolv/netdb.h: Likewise.
16016 * resource/sys/resource.h: Likewise.
16017 * rt/aio.h: Likewise.
16018 * rt/bits/mqueue2.h: Likewise.
16019 * rt/mqueue.h: Likewise.
16020 * shadow/shadow.h: Likewise.
16021 * signal/signal.h: Likewise.
16022 * socket/send.c: Likewise.
16023 * socket/sendto.c: Likewise.
16024 * socket/sys/socket.h: Likewise.
16025 * stdio-common/printf.h: Likewise.
16026 * stdlib/bits/stdlib.h: Likewise.
16027 * stdlib/fmtmsg.h: Likewise.
16028 * stdlib/monetary.h: Likewise.
16029 * stdlib/stdlib.h: Likewise.
16030 * stdlib/ucontext.h: Likewise.
16031 * streams/stropts.h: Likewise.
16032 * string/argz.h: Likewise.
16033 * string/bits/string2.h: Likewise.
16034 * string/string.h: Likewise.
16035 * string/strings.h: Likewise.
16036 * sunrpc/rpc/auth.h: Likewise.
16037 * sunrpc/rpc/auth_des.h: Likewise.
16038 * sunrpc/rpc/clnt.h: Likewise.
16039 * sunrpc/rpc/netdb.h: Likewise.
16040 * sunrpc/rpc/pmap_clnt.h: Likewise.
16041 * sunrpc/rpc/xdr.h: Likewise.
16042 * sysdeps/generic/inttypes.h: Likewise.
16043 * sysdeps/generic/net/if.h: Likewise.
16044 * sysdeps/generic/sys/swap.h: Likewise.
16045 * sysdeps/gnu/net/if.h: Likewise.
16046 * sysdeps/gnu/utmpx.h: Likewise.
16047 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16048 * sysdeps/i386/i486/bits/string.h: Likewise.
16049 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16050 * sysdeps/s390/bits/string.h: Likewise.
16051 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16052 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16053 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16054 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16055 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16056 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16057 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16058 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16059 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16060 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16061 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16062 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16063 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16064 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16065 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16066 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16067 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16068 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16069 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16070 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16071 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16072 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16073 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16074 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16075 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16076 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16077 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16078 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16079 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16080 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16081 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16082 * sysvipc/sys/ipc.h: Likewise.
16083 * sysvipc/sys/msg.h: Likewise.
16084 * sysvipc/sys/sem.h: Likewise.
16085 * sysvipc/sys/shm.h: Likewise.
16086 * termios/termios.h: Likewise.
16087 * time/sys/time.h: Likewise.
16088 * time/time.h: Likewise.
16089 * wcsmbs/bits/wchar2.h: Likewise.
16090 * wcsmbs/uchar.h: Likewise.
16091 * wcsmbs/wchar.h: Likewise.
16092 * wctype/wctype.h: Likewise.
16093
0269750c
UD
16094 [BZ #13551]
16095 * Makeconfig: Remove all but ELF support including AIX support.
16096 * Makerules: Likewise.
16097 * config.h.in: Likewise.
16098 * config.make.in: Likewise.
16099 * configure: Likewise.
16100 * configure.in: Likewise.
16101 * csu/Makefile: Likewise.
16102 * csu/version.c: Likewise.
16103 * debug/Makefile: Likewise.
16104 * dlfcn/Makefile: Likewise.
16105 * elf/Makefile: Likewise.
16106 * extra-lib.mk: Likewise.
16107 * iconv/Makefile: Likewise.
16108 * include/libc-symbols.h: Likewise.
16109 * include/shlib-compat.h: Likewise.
16110 * resolv/Makefile: Likewise.
16111 * resolv/res_libc.c: Likewise.
16112 * rt/Makefile: Likewise.
16113 * sysdeps/i386/asm-syntax.h: Likewise.
16114 * sysdeps/i386/sysdep.h: Likewise.
16115 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16116 * sysdeps/mach/sysdep.h: Likewise.
16117 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16118 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16119 * sysdeps/s390/asm-syntax.h: Likewise.
16120 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16122 * sysdeps/sh/sysdep.h: Likewise.
16123 * sysdeps/unix/sparc/sysdep.h: Likewise.
16124 * sysdeps/wordsize-32/divdi3.c: Likewise.
16125 * sysdeps/x86_64/sysdep.h: Likewise.
16126
00bbd29b
UD
16127 * argp/Versions: Remove _argp_unlock_xxx.
16128
16129 [BZ #13559]
16130 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16131 * abilist/libBrokenLocale.abilist: Likewise.
16132 * abilist/libanl.abilist: Likewise.
16133 * abilist/libc.abilist: Likewise.
16134 * abilist/libcrypt.abilist: Likewise.
16135 * abilist/libdl.abilist: Likewise.
16136 * abilist/libm.abilist: Likewise.
16137 * abilist/libnsl.abilist: Likewise.
16138 * abilist/libpthread.abilist: Likewise.
16139 * abilist/libresolv.abilist: Likewise.
16140 * abilist/librt.abilist: Likewise.
16141 * abilist/libthread_db.abilist: Likewise.
16142 * abilist/libutil.abilist: Likewise.
16143 * abilist/libnss_db.abilist: New file.
16144
16145 * scripts/abilist.awk: Add support for indirect functions.
16146
a2693a0e
UD
16147 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16148
3f05895f
UD
16149 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16150
ecb6fb48
UD
16151 * shlib-versions: Remove entries for ports architectures.
16152
664f8cb9
UD
16153 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16154 files in ports.
16155 * elf/stackguard-macros.h: Remove support for IA-64.
16156 * elf/tst-auditmod1.c: Likewise.
16157 * sysdeps/generic/ldsodefs.h: Likewise.
16158
7ae81d88
UD
16159 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16160 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16161 configure files.
16162
bdeba135
UD
16163 [BZ #13552]
16164 * configure.in: Remove --enable-omitfp support.
16165 * FAQ.in: Adjust.
16166 * config.make.in: Likewise.
16167 * Makeconfig: Likewise.
16168 * manual/install.texi: Likewise.
16169
d75a0a62
UD
16170 In case anyone cares, the IA-64 architecture could move to ports.
16171 * sysdeps/ia64/*: Removed.
16172 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16173 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16174
dcc9756b
UD
16175 [BZ #13555]
16176 * configure.in: Remove entries for unsupported architectures.
16177
d3761ebc 16178 [BZ #13533]
9954432e
UD
16179 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16180 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16181 routines.
16182 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16183 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16184 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16185 fall back to using wcrtomb.
16186 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16187 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16188 renaming.
16189 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16190 * wcsmbs/tst-c16c32-1.c: New file.
16191
16192 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16193 local variable.
16194
c3a87236
UD
16195 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16196
28926a1b
UD
16197 * elf/tst-unique3.cc: Add explicit declaration of gets.
16198 * elf/tst-unique3lib.cc: Likewise.
16199 * elf/tst-unique3lib2.cc: Likewise.
16200 * elf/tst-unique4.cc: Likewise.
16201
df78418a
UD
16202 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16203
8ecd6b2a
JM
162042012-01-06 Joseph Myers <joseph@codesourcery.com>
16205
16206 [BZ #13566]
16207 * assert/assert.h (static_assert): Don't define for C++.
16208 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16209 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16210
9f115170
UD
162112012-01-03 Ulrich Drepper <drepper@gmail.com>
16212
5e0d0300
UD
16213 * iconv/loop.c (single loop): Fix assertion in storing of
16214 remaining bytes.
16215
9f115170
UD
16216 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16217
81fb02b0
UD
162182012-01-01 Ulrich Drepper <drepper@gmail.com>
16219
16220 * posix/getconf.c: Update copyright year.
16221 * nss/getent.c: Likewise.
a316c1f6 16222 * nss/makedb.c: Likewise.
81fb02b0
UD
16223 * iconv/iconvconfig.c: Likewise.
16224 * iconv/iconv_prog.c: Likewise.
16225 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16226 * elf/pldd.c: Likewise.
16227 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16228 * catgets/gencat.c: Likewise.
16229 * csu/version.c: Likewise.
16230 * elf/ldd.bash.in: Likewise.
16231 * elf/sprof.c (print_version): Likewise.
16232 * locale/programs/locale.c: Likewise.
16233 * locale/programs/localedef.c: Likewise.
a316c1f6 16234 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16235 * nscd/nscd.c (print_version): Likewise.
16236 * debug/xtrace.sh: Likewise.
16237 * malloc/memusage.sh: Likewise.
16238 * malloc/mtrace.pl: Likewise.
16239 * debug/catchsegv.sh: Likewise.
16240
2ba92745
JJ
162412011-12-30 Jakub Jelinek <jakub@redhat.com>
16242
16243 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16244 pure attribute.
16245
dadebdae
UD
162462011-12-24 Ulrich Drepper <drepper@gmail.com>
16247
d3761ebc 16248 [BZ #13533]
db6af3eb
UD
16249 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16250 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16251 transformations.
16252 * iconv/gconv_int.h: Likewise.
16253 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16254 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16255 from libc for GLIBC_2.16.
16256 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16257 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16258 * wcsmbs/uchar.h: Really define mbstate_t.
16259 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16260 * wcsmbs/c16rtomb.c: New file.
16261 * wcsmbs/mbrtoc16.c: New file.
16262 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16263 for C/POSIX locale.
16264 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16265 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16266
dadebdae
UD
16267 * wcsmbs/wchar.h: Add missing __restrict.
16268
67371b56
UD
162692011-12-23 Ulrich Drepper <drepper@gmail.com>
16270
74033a25
UD
16271 [BZ #13532]
16272 * time/Makefile (routines): Add timespec_get.
16273 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16274 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16275 timespec for ISO C11.
16276 * time/timespec_get.c: New file.
16277 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16278 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16279
380d7e87
UD
16280 [BZ #13531]
16281 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16282 * stdlib/stdlib.h: Declare aligned_alloc.
16283 * Versions.def: Add GLIBC_2.16 for libc.
16284 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16285
4e9e7a35
UD
16286 [BZ 13527]
16287 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16288 ISO C11.
16289
380d7e87 16290 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16291 code.
16292
03a71829
UD
16293 [BZ #13528]
16294 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16295
839e283e
UD
16296 [BZ #13529]
16297 * assert/assert.h (static_assert): Define.
16298
ce5294e2 16299 * version.h: Update for 2.16 development version.
90fa7312 16300
8d44e150 16301 [BZ #13526]
d7809905
UD
16302 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16303 _ISOC11_SOURCE.
16304
c0da14cd
UD
16305 * version.h (RELEASE): Bump for 2.15 release.
16306 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16307
530a3249
MP
16308 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16309 Patch by Marek Polacek <mpolacek@redhat.com>.
16310
67371b56
UD
16311 * bits/byteswap.h: Protect long long constants with __extension__.
16312 * sysdeps/i386/bits/byteswap.h: Likewise.
16313 * sysdeps/ia64/bits/byteswap.h: Likewise.
16314 * sysdeps/s390/bits/byteswap.h: Likewise.
16315 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16316
15db4de1
LD
163172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16318
16319 [BZ #13540]
bbe315ea
LD
16320 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16321 destination buffer.
15db4de1
LD
16322 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16323
2b2596b1
MP
163242011-12-23 Marek Polacek <polacek@redhat.com>
16325
16326 * elf/dl-addr.c (determine_info): Add inline keyword.
16327 * elf/tst-auditmod4b.c (check_avx): Likewise.
16328 * elf/tst-auditmod6b.c (check_avx): Likewise.
16329 * elf/tst-auditmod6c.c (check_avx): Likewise.
16330 * elf/tst-auditmod7b.c (check_avx): Likewise.
16331
70c6c246
UD
163322011-12-23 Ulrich Drepper <drepper@gmail.com>
16333
16334 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16335 !__SSE_MATH__.
16336
c044cf14
LD
163372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16338
15db4de1 16339 [BZ #13540]
c044cf14
LD
16340 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16341 processing for last bytes.
16342
6b13d9d9
BH
163432011-08-06 Bruno Haible <bruno@clisp.org>
16344
d455f537
BH
16345 [BZ #13061]
16346 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16347 U+0385, not to U+1FEE.
16348
6b13d9d9
BH
16349 [BZ #13062]
16350 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16351 entry for U+00A5 U+0301.
16352
db910efd
UD
163532011-12-22 Ulrich Drepper <drepper@gmail.com>
16354
27deeafc
UD
16355 [BZ #13166]
16356 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16357 buffer for the output is too small.
16358
aed9d171
UD
16359 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16360 optimization.
16361
db910efd
UD
16362 [BZ #13185]
16363 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16364 SSE flags if possible.
16365
2bd779ae
LD
163662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16367
e7f9dac3 16368 [BZ #13540]
2bd779ae
LD
16369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16370 processing for last bytes.
16371
154bfc16
JM
163722011-12-22 Joseph Myers <joseph@codesourcery.com>
16373
16374 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16375 (syscall-list-default-options, syscall-list-default-condition)
16376 (syscall-list-includes): Define.
16377 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16378 list of ABIs and options and #if conditions for each ABI. Do not
16379 handle common syscalls between ABIs specially.
16380 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16381 Remove.
16382 (syscall-list-variants, syscall-list-32bit-options)
16383 (syscall-list-32bit-condition, syscall-list-64bit-options)
16384 (syscall-list-64bit-condition): Define.
16385 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16386 (syscall-list-variants, syscall-list-32bit-options)
16387 (syscall-list-32bit-condition, syscall-list-64bit-options)
16388 (syscall-list-64bit-condition): Define.
16389 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16390 Remove.
16391 (syscall-list-variants, syscall-list-32bit-options)
16392 (syscall-list-32bit-condition, syscall-list-64bit-options)
16393 (syscall-list-64bit-condition): Define.
16394 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16395 Remove.
16396 (syscall-list-variants, syscall-list-32bit-options)
16397 (syscall-list-32bit-condition, syscall-list-64bit-options)
16398 (syscall-list-64bit-condition): Define.
16399
21eaf3a5
UD
164002011-12-22 Ulrich Drepper <drepper@gmail.com>
16401
16c6f992
UD
16402 * locale/iso-639.def: Add brx entry.
16403
41043168
UD
16404 [BZ #13328]
16405 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16406 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16407
21eaf3a5
UD
16408 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16409 __feraiseexcept_renamed.
16410
e3a851a2
UD
164112011-12-21 Ulrich Drepper <drepper@gmail.com>
16412
4920765e
UD
16413 [BZ #13538]
16414 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16415 EPOLLET with unsigned values.
16416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16418
e3a851a2
UD
16419 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16420 to large cancellation.
16421 * math/s_cacoshf.c: Likewise.
16422 * math/s_cacoshl.c: Likewise.
16423
b27e24b8
RK
164242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16425
16426 [BZ #13305]
aebefeee 16427 [BZ #12786]
b27e24b8
RK
16428 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16429 * math/s_cacoshf.c: Likewise.
16430 * math/s_cacoshl.c: Likewise.
16431
ee190f67
UD
164322011-12-21 Ulrich Drepper <drepper@gmail.com>
16433
16434 [BZ #13439]
16435 * iconv/gconv.h: Define __GCONV_SWAP.
16436 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16437 * iconvdata/utf-16.c: Likewise.
16438 * iconvdata/utf-32.c: Likewise.
16439
707f25df
AS
164402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16441
16442 [BZ #13524]
16443 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16444 numerator after shifting it by one limb.
16445
d2daaa1e
RÁE
164462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16447
16448 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16449 under [__USE_EXTERN_INLINES].
16450
a4647e72
UD
164512011-12-17 Ulrich Drepper <drepper@gmail.com>
16452
16453 [BZ #13446]
16454 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16455
f0b264f1
AZ
164562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16457
16458 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16459 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16460 optimized code.
16461 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16462 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16463 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16464 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16465 for strncasecmp/strncasecmp_l compilation.
16466 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16467 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16468
8ef4f244
MP
164692011-12-08 Marek Polacek <mpolacek@redhat.com>
16470
16471 [BZ #13484]
16472 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16473 of __asm__.
16474
97ac2654
UD
164752011-12-17 Ulrich Drepper <drepper@gmail.com>
16476
16477 [BZ #13506]
16478 * time/tzfile.c (__tzfile_read): Check values from file header.
16479
91d2a845
WS
164802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16481
16482 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16483 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16484 * powerpc/powerpc32/dl-start.S: Likewise.
16485 * powerpc/powerpc32/elf/start.S: Likewise.
16486 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16487 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16488 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16489 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16490 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16491 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16492 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16493 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16494 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16495 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16496 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16497 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16498 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16499 * powerpc/powerpc32/memset.S: Likewise.
16500 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16501 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16502 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16503 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16504 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16505 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16506 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16507 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16508 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16509 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16510 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16511 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16512 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16513
a1267ba1
AZ
165142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16515
16516 * math/libm-test.inc: Added more nearbyint tests.
16517 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16519 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16521
ad8ac1bd
RL
165222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16523
16524 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16525 FD_CLOEXEC.
16526
1d3e4b61
UD
165272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16528
16529 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16530 Add wcscpy-ssse3 wcscpy-c.
16531 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16532 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16533 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16534 * sysdeps/x86_64/wcschr.S: New file.
16535 * sysdeps/x86_64/wcsrchr.S: New file.
16536 * string/test-strcmp.c: Remove checking of wcscmp function for
16537 wrong alignments.
16538 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16539 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16540 wcsrchr-sse2 wcsrchr-c.
16541 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16542 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16543 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16544 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16545 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16546 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16547 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16548 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16549 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16550 * wcsmbc/wcschr.c (WCSCHR): New macro.
16551
5b330a2d
UD
165522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16553
16554 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16555 * wcsmbs/test-wcsrchr.c: New file.
16556 * string/test-strrchr.c: Add wcsrchr support.
16557 (WIDE): New macro.
16558 * wcsmbs/test-wcscpy.c: New file.
16559 * string/test-strcpy.c: Add wcscpy support.
16560 (WIDE): New macro.
26428b7c 16561
f039c043
UD
165622011-12-10 Ulrich Drepper <drepper@gmail.com>
16563
16564 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16565 the inner loop.
16566
850fb039
AS
165672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16568
16569 [BZ #13472]
16570 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16571
4efbd5cb
UD
165722011-12-04 Ulrich Drepper <drepper@gmail.com>
16573
52ff5dd0 16574 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16575 Minor optimizations.
52ff5dd0 16576
4efbd5cb
UD
16577 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16578 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16579 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16580
8a426e12
UD
165812011-12-03 Ulrich Drepper <drepper@gmail.com>
16582
aff2453d
UD
16583 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16584 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16585 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16586 for gcc to avoid warnings.
16587 * inet/Makefile (tests): Add tst-checks.
16588 * inet/tst-checks.c: New file.
16589
16590 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16591 warning.
16592
16593 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16594 __wmemcmp_sse2.
16595
16596 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16597 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16598
8a426e12
UD
16599 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16600
9bea3473
UD
166012011-12-02 Ulrich Drepper <drepper@gmail.com>
16602
3a965496
UD
16603 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16604 problem.
16605
9bea3473
UD
16606 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16607
f101631b
UD
166082011-11-29 Joseph Myers <joseph@codesourcery.com>
16609
16610 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16611 conditional on GCC version.
16612 (__arch_compare_and_exchange_val_8_acq)
16613 (__arch_compare_and_exchange_val_16_acq)
16614 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16615 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16616 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16617
a98275aa
UD
166182011-12-02 Joseph Myers <joseph@codesourcery.com>
16619
16620 * sysdeps/sh/backtrace.c: New file.
16621
d4cc29a2
AS
166222011-12-02 Andreas Schwab <schwab@redhat.com>
16623
16624 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16625 parenthesis.
16626
6257af2d
AS
166272011-12-01 Andreas Schwab <schwab@redhat.com>
16628
16629 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16630 falling back to utime.
16631
b5f44c1a
AS
166322011-11-30 Andreas Schwab <schwab@redhat.com>
16633
16634 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16635 expectations for float.
16636
f3a6cc0a
AS
166372011-11-29 Andreas Schwab <schwab@redhat.com>
16638
16639 * locale/weight.h (findidx): Add parameter len.
16640 * locale/weightwc.h (findidx): Likewise.
16641 * posix/fnmatch_loop.c (FCT): Adjust caller.
16642 * posix/regcomp.c (build_equiv_class): Likewise.
16643 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16644 * posix/regexec.c (check_node_accept_bytes): Likewise.
16645 * string/strcoll_l.c (STRCOLL): Likewise.
16646 * string/strxfrm_l.c (STRXFRM): Likewise.
16647
9d65ea3a
UD
166482011-11-17 Ulrich Drepper <drepper@gmail.com>
16649
16650 * Makefile.in: Remove CVSOPT handling.
16651 * configure.in: Remove use of AC_REVISION.
16652 * iconvdata/Makefile (distribute): No need to filter out CVS.
16653 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16654 handling.
16655
5583a086
AS
166562011-11-16 Andreas Schwab <schwab@redhat.com>
16657
16658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16659 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16660 [USE_AS_STRNCASECMP_L]: Likewise.
16661 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16662 NO_TLS_DIRECT_SEG_REFS.
16663 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16664 Fix argument offsets for non-PIC.
16665 [USE_AS_STRNCASECMP_L]: Likewise.
16666 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16667 NO_TLS_DIRECT_SEG_REFS.
16668
d62a8200
UD
166692011-11-15 Ulrich Drepper <drepper@gmail.com>
16670
9d65ea3a 16671 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16672 O_CLOEXEC.
16673 * locale/loadlocale.c (_nl_load_locale): Likewise.
16674
09f93bd3
AS
166752011-11-15 Andreas Schwab <schwab@redhat.com>
16676
446514f9
AS
16677 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16678 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16679 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16680 (SYSCALL_GETTIME): Set errno on error.
16681
09f93bd3
AS
16682 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16683 count references to noai6ai_cached.
16684
312be3f9
UD
166852011-11-15 Ulrich Drepper <drepper@gmail.com>
16686
16687 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16688
16689 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16690 FD_CLOEXEC for /proc/self/maps.
16691
16692 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16693 FD_CLOEXEC for /proc/meminfo.
16694
16695 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16696 gai.conf.
16697
16698 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16699 FD_CLOEXEC for given file.
16700
16701 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16702
16703 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16704 FD_CLOEXEC for /etc/hosts.
16705 (_gethtent): Likewise.
16706
16707 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16708
16709 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16710 cancellation and set FD_CLOEXEC for /etc/netgroup.
16711
16712 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16713 reading /etc/publickey.
16714
16715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16716 allow cancellation when reading /etc/group.
16717
16718 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16719 cancellation.
16720 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16721
16722 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16723 when using data file.
16724
16725 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16726
16727 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16728 (write_nis_obj): Use "c" and "e" in fopen.
16729
16730 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16731
16732 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16733
16734 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16735
16736 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16737
16738 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16739 locale.alias.
16740
16741 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16742
16743 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16744
16745 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16746
16747 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16748 file parsing and set FD_CLOEXEC.
16749
82af0fa8
UD
167502011-11-14 Ulrich Drepper <drepper@gmail.com>
16751
16752 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16753
a5fb313c
AS
167542011-11-14 Andreas Schwab <schwab@redhat.com>
16755
16756 * malloc/arena.c (arena_get2): Don't call reused_arena when
16757 _int_new_arena failed.
16758
6abf3465
UD
167592011-11-14 Ulrich Drepper <drepper@gmail.com>
16760
16761 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16762 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16763 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16764 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16765 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16766 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16767 to compile strcasecmp and strncasecmp.
16768 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16769 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16770
16771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16772
76e3966e
UD
167732011-11-13 Ulrich Drepper <drepper@gmail.com>
16774
16775 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16776 locale-defines.sym to gen-as-const-headers.
16777 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16778 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16780 to compile strcasecmp and strncasecmp.
16781 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16782 strcasecmp_l and strncasecmp_l.
16783 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16784 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16785 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16786 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16787 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16788 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16789 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16790 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16791 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16792 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16793 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16794
ab26144e
UD
167952011-11-12 Ulrich Drepper <drepper@gmail.com>
16796
7edb22ef
UD
16797 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16798 result of SYSDEP_GETTIME_CPU to retval.
16799 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16800 parameter list to macro. Remove trailing semicolon. Adjust users.
16801
9694fc44
UD
16802 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16803 variable.
16804
8ad89ef8
UD
16805 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16806 mantissa words.
16807 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16808
0c822ef9
UD
16809 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16810 from unused variable.
16811
874e0564
UD
16812 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16813 DWARF definitions.
16814 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16815 for assembling.
16816
3a2edc79
UD
16817 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16818 over namespaces.
16819
f3c2577f
UD
16820 * sunrpc/rpc_prot.c (rejected): Fix case value.
16821
294ce126
UD
16822 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16823 unsigned long long int to avoid warnings in shift.
16824
5e2b63c6
UD
16825 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16826 of use of trans.
16827 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16828 variable tmp.
16829
e7f4b08e
UD
16830 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16831 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16833
ab26144e
UD
16834 * nis/nis_table.c (nis_list): Use variable of correct type for
16835 result of __follow_path call.
16836
8a6d5255
AZ
168372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16838
16839 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16840 of math functions ceil, trunc, floor, round, and sqrt, when
16841 avaliable on the platform.
16842 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16843 name clash.
16844 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16845 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16846 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16847
aaddc98c
MP
168482011-10-30 Marek Polacek <mpolacek@redhat.com>
16849
16850 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16851 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16852
95b7042b
RM
168532011-11-11 Roland McGrath <roland@hack.frob.com>
16854
16855 * include/unistd.h: Fix __readlink return type.
16856 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16857
57769839
UD
168582011-11-11 Ulrich Drepper <drepper@gmail.com>
16859
16860 * stdlib/ucontext.h: Undo last change for makecontext.
16861
edc5984d
AS
168622011-11-11 Andreas Schwab <schwab@redhat.com>
16863
98591e58
AS
16864 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16865
edc5984d
AS
16866 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16867 * setjmp/setjmp.h: Mark functions as non-leaf.
16868 * setjmp/bits/setjmp2.h: Likewise.
16869 * stdlib/ucontext.h: Likewise.
16870
77cdc054
AS
168712011-11-10 Andreas Schwab <schwab@redhat.com>
16872
16873 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16874 (reused_arena): Don't check arena limit.
16875 (arena_get2): Atomically check arena limit.
16876
fe72eebd
UD
168772011-11-08 Ulrich Drepper <drepper@gmail.com>
16878
5f078c32
UD
16879 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16880 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16881
fe72eebd
UD
16882 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16883 instructions.
16884
ae1bc2fa
AS
168852011-11-07 Andreas Schwab <schwab@redhat.com>
16886
7583a88d
AS
16887 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16888 handler when locking.
16889
ae1bc2fa
AS
16890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16891 Fix size of allocated buffer.
16892
10fb0bfa
AS
168932011-11-04 Andreas Schwab <schwab@redhat.com>
16894
998832a4
AS
16895 [BZ #10103]
16896 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16897 declarations for long double functions.
16898 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16899
10fb0bfa
AS
16900 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16901
3d7ba52b
AS
169022011-11-03 Andreas Schwab <schwab@redhat.com>
16903
a9ae54a1
AS
16904 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16905 installed.
16906
3d7ba52b
AS
16907 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16908 is disabled.
16909
bc8db248
ST
169102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16911
16912 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16913
45b96dd6
AS
169142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16915
647776f6
AS
16916 * include/alloca.h (stackinfo_alloca_round): Define.
16917 (extend_alloca): Use it.
16918 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16919 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16920 here.
16921
d91a8b93
AS
16922 * scripts/check-local-headers.sh: Ignore libaudit.h.
16923
45b96dd6
AS
16924 * nscd/Makefile (extra-objs): Make recursively expanded.
16925
432d41ce
UD
169262011-11-01 Ulrich Drepper <drepper@gmail.com>
16927
34372fc6
UD
16928 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16930
fadb59f8
UD
16931 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16932 * posix/tst-rfc3484-2.c: Likewise.
16933 * posix/tst-rfc3484-3.c: Likewise.
16934
78239589
UD
16935 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16936 process_vm_writev.
16937 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16938 process_vm_writev.
16939 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16940 process_vm_writev from libc using GLIBC_2.15 version.
16941
432d41ce
UD
16942 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16943
02f9c6cf
PP
169442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16945
16946 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16947 stack usage.
16948
3a2c0242
UD
169492011-10-31 Ulrich Drepper <drepper@gmail.com>
16950
f4ec4833
UD
16951 [BZ #13367]
16952 * nss/getent.c (initgroups_keys): Show error message in case no group
16953 names are given.
16954
3a2c0242
UD
16955 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16956 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16957 __bump_nl_timestamp.
16958 * nscd/connections (nscd_init): When host database is served open
16959 netlink socket and request notification about configuration changes.
16960 (main_loop_poll): Track netlink file descriptor and bump timestamp
16961 in case data becomes available.
16962 (main_loop_epoll): Likewise.
16963 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16964 (database_pers_head): Add extra_data fileds.
16965 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16966 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16967 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16968 Adjust caller.
16969 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16970 in6ai data, call __free_in6ai.
16971 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16972 Add -DHAVE_NETLINK.
16973 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16974 interface information. Reuse previous data if netlink timestamp
16975 is not changed.
16976 (__bump_nl_timestamp): New function.
16977 (__free_in6ai): New function.
16978
636064eb
UD
169792011-10-30 Ulrich Drepper <drepper@gmail.com>
16980
16981 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16982 close_not_cancel_no_status here.
16983 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16984
9beb2334
UD
169852011-10-29 Ulrich Drepper <drepper@gmail.com>
16986
6ef76f3b
UD
16987 [BZ #13276]
16988 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16989 return value.
16990
0ffc4f3e 16991 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16992 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16993 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16994
cb95113e
UD
169952011-07-03 Andreas Jaeger <aj@suse.de>
16996
16997 [BZ #10709]
16998 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16999 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17000 * math/libm-test.inc (sin_test): Add test case.
17001
a1b560ff
UD
170022011-10-29 Ulrich Drepper <drepper@gmail.com>
17003
c9aaface
UD
17004 [BZ #13337]
17005 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17006 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17007
d272e7f1
UD
17008 * elf/chroot_canon.c (chroot_canon): Cleanups.
17009
1bc33071
UD
17010 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17011
1760874d
TJ
17012 [BZ #13335]
17013 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17014 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17015
51d91b18
UD
17016 * string/test-strchr.c: Make usable for strchrnul testing.
17017 * string/test-strchrnul.c: New file.
17018 * string/Makefile (strop-tests): Add strchrnul.
17019
a1b560ff 17020 * po/it.po: Update from translation team.
b611fb81 17021 * po/es.po: Likewise.
a1b560ff 17022
a5b81e1f
UD
170232011-10-28 Ulrich Drepper <drepper@gmail.com>
17024
fd52bc6d
UD
17025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17026 the three constants needed as parameters. Drop the others.
17027 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17028 __m128i_strloadu_tolower.
52e4b9eb
UD
17029 Create and initialize variable zero and use it in all the places
17030 where _mm_setzero_si128 was used.
fd52bc6d 17031
a5b81e1f
UD
17032 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17033 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17034 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17035 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17036 anymore.
17037 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17038 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17039 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17040 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17041 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17042 __mpranred, __mptan.
17043 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17044 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17045 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17046 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17047 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17048 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17049 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17050 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17051 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17052
b4343346
AS
170532011-10-28 Andreas Schwab <schwab@redhat.com>
17054
0c92d8a8
AS
17055 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17056 redefine if SHARED.
17057 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17058
b4343346
AS
17059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17060 wide char related routines to wcsmbs subdir.
17061
3871f58f
AS
170622011-10-27 Andreas Schwab <schwab@redhat.com>
17063
17064 [BZ #13344]
17065 * misc/sys/cdefs.h (__THROWNL): Define.
17066 * posix/unistd.h: Use __THREADNL instead of __THREAD
17067 for memory synchronization functions.
17068
94d44d9f
RM
170692011-10-26 Roland McGrath <roland@hack.frob.com>
17070
21b64b15 17071 [BZ #13349]
94d44d9f
RM
17072 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17073 doesn't exist.
17074 * manual/stdio.texi (Obstack Streams): Node removed.
17075
f6ce9294
AS
170762011-10-26 Andreas Schwab <schwab@redhat.com>
17077
80479147
AS
17078 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17079 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17081
f6ce9294
AS
17082 * math/math_private.h (math_force_eval): Allow non-addressable
17083 arguments.
17084 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17085
618280a1
UD
170862011-10-25 Ulrich Drepper <drepper@gmail.com>
17087
e0016b11
UD
17088 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17089 file is not needed.
17090
17091 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17098 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17099 Add AVX variants.
17100 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17101 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17102 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17103 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17104 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17105 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17106 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17107 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17108 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17109 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17110 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17111 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17112 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17113 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17114 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17115 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17116 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17117 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17118 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17119
17120 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17121 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17122
618280a1
UD
17123 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17124 place. Use VEX encoding when compiling for AVX.
17125
37822576
AS
171262011-10-25 Andreas Schwab <schwab@redhat.com>
17127
1f1e1947
AS
17128 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17129 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17130
37822576
AS
17131 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17132
31ea014d
UD
171332011-10-25 Ulrich Drepper <drepper@gmail.com>
17134
d7826aa1 17135 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17136 useless if() expression.
d7826aa1
UD
17137 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17147 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17148 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17149 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17150 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17151 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17153 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17156
31ea014d
UD
17157 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17158
16437fec
AS
171592011-10-25 Andreas Schwab <schwab@redhat.com>
17160
17161 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17162 condition.
17163 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17164
31d3cc00
UD
171652011-10-25 Ulrich Drepper <drepper@gmail.com>
17166
17167 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17168 .text section. Avoid duplicate constants.
17169 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17179 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17181 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17184 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17186 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17190 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17192 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17193 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17194 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17195 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17196 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17197 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17198 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17199 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17200 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17201 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17202 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17203 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17204 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17205 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17206 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17207 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17208 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17209 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17211 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17212 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17213 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17214
58985aa9
UD
172152011-10-24 Ulrich Drepper <drepper@gmail.com>
17216
202c9deb
UD
17217 * sysdeps/x86_64/dla.h: Move to ...
17218 * sysdeps/x86_64/fpu/dla.h: ...here.
17219 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17220 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17221
af968f62
UD
17222 * config.make.in: Add have-mfma4 entry.
17223 * configure.in: Substitute libc_cv_cc_fma4.
17224 * math/Makefile (dbl-only-routines): Add sincostab.
17225 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17226 Use __sincostab not sincos.
17227 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17228 name is a macro.
17229 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17233 using __copysign.
17234 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17235 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17236 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17237 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17238 and __inv.
17239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17240 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17241 __copysign.
17242 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17243 define aliases when function name is a macro.
17244 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17245 sysdeps/ieee754/dbl-64/sincos.tbl.
17246 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17247 fma4-enabled routines.
17248 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17249 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17250 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17251 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17252 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17253 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17254 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17255 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17256 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17258 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17259 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17260 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17261 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17262 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17263 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17264 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17265 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17266 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17268 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17269 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17270 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17271 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17273 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17275 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17276 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17277 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17278
58985aa9
UD
17279 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17280 rename.
17281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17285 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17286 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17287 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17288 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17289
a201fbcf
AS
172902011-10-24 Andreas Schwab <schwab@redhat.com>
17291
17292 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17293
fc2ee42a
LD
172942011-10-23 Ulrich Drepper <drepper@gmail.com>
17295
bb3129bd
UD
17296 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17297
0275fff8
UD
17298 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17299 prediction.
17300 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17301
2fa2ae85
UD
17302 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17303 Remove unused variable magic_bits.
17304 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17305
fc2ee42a
LD
17306 * string/strnlen.c: Define and use STRNLEN macro.
17307 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17308 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17310 * wcsmbs/wcslen.c: Define and use WCSLEN.
17311 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17312 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17313 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17314 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17315 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17316 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17317 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17318
ce7dd29f
LD
173192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17320
17321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17322 strnlen-sse2-no-bsf.
17323 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17325 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17326 Add strnlen support.
17327 (USE_AS_STRNLEN): New macro.
17328 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17330 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17331 * sysdeps/x86_64/wcslen.S: New file.
17332
979c70a3
MZ
173332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17334
17335 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17336 XMM-moves are used for copying on small sizes.
17337
2d09f82f
LD
173382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17339
17340 * wcsmbs/Makefile (strop-tests): Add wcschr.
17341 * wcsmbs/test-wcschr.c: New file.
17342 * string/test-strchr.c: Update.
17343 Add wcschr support.
17344 (WIDE): New macro.
17345
619fccca
LD
173462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17347
2d09f82f 17348 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17349 * wcsmbs/test-wcslen.c: New file.
17350 * string/test-strlen.c: Update.
17351 Add wcslen support.
17352 (WIDE): New macro.
17353
09f699ea
UD
173542011-10-23 Ulrich Drepper <drepper@gmail.com>
17355
17356 * po/it.po: Update from translation team.
17357
95584d3b
LD
173582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17359
17360 * sysdeps/x86_64/wcscmp.S: Update.
17361 Fix wrong comparison semantics.
17362 wcscmp shall use signed comparison not unsigned.
17363 Don't use substraction to avoid overflow bug.
17364 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17365 * wcsmbc/wcscmp.c: Likewise.
17366 * string/test-strcmp.c: Likewise.
17367 Add new tests to check cases with negative values.
17368
c8b3296b
UD
173692011-10-23 Ulrich Drepper <drepper@gmail.com>
17370
17371 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17372 * sysdeps/x86_64/dla.h: ...here. New file.
17373 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17376 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17380 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17381 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17382
246ad57a
AS
173832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17384
17385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17386 __ynl_finite aliases.
17387
a1a87169
UD
173882011-10-22 Ulrich Drepper <drepper@gmail.com>
17389
0d355eb7
UD
17390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17391
a1a87169
UD
17392 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17393 define DLA_FMA.
17394 [DLA_FMA] (EMULV): Use DLA_FMA.
17395 [DLA_FMA] (MUL12): Use EMULV.
17396 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17397 that are not needed.
17398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17405
ee2aafe0
AS
174062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17407
17408 * math/s_nan.c: Undef __nan.
17409 * math/s_nanf.c: Undef __nanf.
17410 * math/s_nanl.c: Undef __nanl.
17411 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17412 "math_private.h".
17413
bc62c2fb
UD
174142011-10-22 Ulrich Drepper <drepper@gmail.com>
17415
77425c63
UD
17416 * math/s_catan.c: Add branch predictions.
17417 * math/s_catanf.c: Likewise.
17418 * math/s_catanh.c: Likewise.
17419 * math/s_catanhf.c: Likewise.
17420 * math/s_catanhl.c: Likewise.
17421 * math/s_catanl.c: Likewise.
17422 * math/s_cexp.c: Likewise.
17423 * math/s_cexpf.c: Likewise.
17424 * math/s_cexpl.c: Likewise.
17425 * math/s_clog.c: Likewise.
17426 * math/s_clog10.c: Likewise.
17427 * math/s_clog10f.c: Likewise.
17428 * math/s_clog10l.c: Likewise.
17429 * math/s_clogf.c: Likewise.
17430 * math/s_clogl.c: Likewise.
17431 * math/s_csqrt.c: Likewise.
17432 * math/s_csqrtf.c: Likewise.
17433 * math/s_csqrtl.c: Likewise.
17434 * math/s_ctanf.c: Likewise.
17435 * math/s_ctanh.c: Likewise.
17436 * math/s_ctanhf.c: Likewise.
17437 * math/s_ctanhl.c: Likewise.
17438 * math/s_ctanl.c: Likewise.
17439
bc62c2fb
UD
17440 * math/math_private.h: Define __nan, __nanf, __nanl.
17441 * math/s_cacosh.c: Include <math_private.h>.
17442 * math/s_cacoshl.c: Likewise.
17443 * math/s_casinh.c: Likewise.
17444 * math/s_casinhf.c: Likewise.
17445 * math/s_casinhl.c: Likewise.
17446 * math/s_ccos.c: Rely entire on ccosh.
17447 * math/s_ccosf.c: Rely entire on ccoshf.
17448 * math/s_ccosl.c: Rely entirely on ccoshl.
17449 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17450 Remove tests for FE_INVALID.
17451 * math/s_ccoshf.c: Likewise.
17452 * math/s_ccoshl.c: Likewise.
17453 * math/s_csin.c: Likewise.
17454 * math/s_csinf.c: Likewise.
17455 * math/s_csinh.c Likewise.
17456 * math/s_csinhf.c: Likewise.
17457 * math/s_csinhl.c: Likewise.
17458 * math/s_csinl.c: Likewise.
17459 * math/s_ctan.c: Likewise.
17460 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17461 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17462 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17463
8ec250a4
UD
174642011-10-21 Ulrich Drepper <drepper@gmail.com>
17465
c196fed8
UD
17466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17467 compilation problems.
17468
8ec250a4
UD
17469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17470 __builtin_expect.
17471
8d4f46c6
UD
174722011-10-20 Ulrich Drepper <drepper@gmail.com>
17473
ed72b654
UD
17474 * sysdeps/i386/configure.in: Test for -mfma4 option.
17475 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17476 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17477 COMMON_CPUID_INDEX_80000001.
17478 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17479 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17480 use it if FMA3 is not supported.
17481 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17482
8d4f46c6
UD
17483 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17484 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17485
d45c60c2
AS
174862011-10-20 Andreas Schwab <schwab@redhat.com>
17487
17488 [BZ #12892]
17489 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17490 it would create a cycle with a link time dependency.
17491
d9a4d2ab
UD
174922011-10-19 Ulrich Drepper <drepper@gmail.com>
17493
855d1560
UD
17494 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17495 instruction.
17496 * string/Makefile (strop-tests): Add rawmemchr.
17497 * string/test-rawmemchr.c: New file.
17498
d9a4d2ab
UD
17499 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17500 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17501 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17502 when compiling str{,n}casecmp and when AVX is available. Hook up
17503 new optimized code in initializers.
17504
8f3b1ffe
AS
175052011-10-19 Andreas Schwab <schwab@redhat.com>
17506
17507 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17508 __feraiseexcept instead of feraiseexcept.
17509
d38f1dba
UD
175102011-10-18 Ulrich Drepper <drepper@gmail.com>
17511
d9a8d0ab
UD
17512 * math/math_private.h: Define defaults for libc_fetestexcept and
17513 libc_feupdateenv.
17514 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17515 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17516 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17517 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17518 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17519 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17520 libc_fetestexcept and libc_feupdateenv.
17521
4855e3dd
UD
17522 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17523 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17524 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17525 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17526 libc_feholdexcept_setround.
17527
581d30e3
UD
17528 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17529 Add s_nearbyint-c and s_nearbyintf-c.
17530 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17531 nearbyintf inlines.
17532 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17533 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17534 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17535 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17536
d38f1dba
UD
17537 * math/math_private.h: Define defaults for libc_fegetround,
17538 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17539 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17540 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17541 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17542 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17543 standard functions.
17544 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17545 Remove comments and hacks for old compiler versions.
17546 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17547 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17548 libc_feholdexceptl.
17549
caa6c9d8
AS
175502011-10-18 Andreas Schwab <schwab@redhat.com>
17551
17552 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17553 (__feraiseexcept_renamed): Add __NTH.
17554 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17555 namespace violations.
17556
97c066e6
UD
175572011-10-17 Ulrich Drepper <drepper@gmail.com>
17558
99ce7b04
UD
17559 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17560
1004d182
UD
17561 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17562
228a984d
UD
17563 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17564 recently added interfaces.
17565 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17566
c8553a6a
UD
17567 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17568 about macro parameter expansion.
17569
ed22dcf6
UD
17570 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17571 __NO_MATH_INLINES is defined. Cleanups.
17572
17573 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17574 and __floorf is target has SSE4.1.
17575 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17576 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17577 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17578 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17579
b171c137
UD
17580 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17581 name.
17582 (floorf): Likewise.
17583
97c066e6
UD
17584 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17585
629f62ef
AS
175862011-10-17 Andreas Schwab <schwab@redhat.com>
17587
49a43d80
AS
17588 * misc/sys/cdefs.h: Fix last change.
17589
629f62ef
AS
17590 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17591 database lookup.
17592
e453f6cd
UD
175932011-10-16 Ulrich Drepper <drepper@gmail.com>
17594
aa78043a
UD
17595 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17596
ad0f5cad
UD
17597 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17599 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17600 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17601 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17602 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17603 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17604 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17605 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17606 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17607 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17608 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17609 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17610 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17611 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17612 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17613 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17614 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17615 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17616 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17617 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17618 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17619
17620 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17621 ceil, ceilf, floor, floorf.
17622
17623 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17624 Perform IRELATIVE relocations last.
17625
e453f6cd
UD
17626 * elf/do-rel.h: Add another parameter nrelative, replacing the
17627 local variable with the same name. Change name of the function
17628 to end in Rel or Rela (uppercase).
17629 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17630 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17631 elf_dynamic_do_##reloc function.
17632
fd5bdc09
UD
176332011-10-15 Ulrich Drepper <drepper@gmail.com>
17634
79b195b5
UD
17635 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17636 is sufficient, at least on modern CPUs.
17637
d4a28569
UD
17638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17639
b61099b5
UD
17640 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17641 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17642
bcf01e6d
UD
17643 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17644 __expl_finite.
17645 * math/bits/math-finite.h: Add entries for exp.
17646 * math/e_expl.c: Add __*_finite alias.
17647 * sysdeps/i386/fpu/e_exp.S: Likewise.
17648 * sysdeps/i386/fpu/e_expf.S: Likewise.
17649 * sysdeps/i386/fpu/e_expl.c: Likewise.
17650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17651 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17652 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17653 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17654 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17655 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17656 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17657
ba1a0d59
UD
17658 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17659 is sufficient, at least on modern CPUs.
17660
fd5bdc09
UD
17661 * ctype/ctype-info.c (__ctype_init): Define.
17662 * include/ctype.h (__ctype_init): Declare.
17663 (__ctype_b_loc): The variable is always initialized.
17664 (__ctype_toupper_loc): Likewise.
17665 (__ctype_tolower_loc): Likewise.
17666 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17667 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17668
7872cfb0
AS
176692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17670
b468825a
AS
17671 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17672
7872cfb0
AS
17673 * configure.in: Also look in $cxxmachine/include for C++ system
17674 headers.
17675
be13f7bf
LD
176762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17677
17678 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17679 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17680 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17681 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17682 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17683 (USE_AS_WMEMCMP): New macro.
17684 Fixing indents.
17685 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17686 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17687 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17688 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17690 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17691 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17692 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17693 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17694 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17696 (USE_AS_WMEMCMP): New macro.
17697 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17698 * sysdeps/string/test-memcmp.c: Update.
17699 Fix simple_wmemcmp.
17700 Add new tests.
17701 * wcsmbs/wmemcmp.c: Update.
17702 (WMEMCMP): New macro.
17703 Fix overflow bug.
17704
556a2007
AJ
177052011-10-12 Andreas Jaeger <aj@suse.de>
17706
17707 [BZ #13268]
17708 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17709
538faaa7
UD
177102011-10-15 Ulrich Drepper <drepper@gmail.com>
17711
ab6737ff
UD
17712 * libio/iofwide.c (do_length): Avoid warning.
17713
538faaa7
UD
17714 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17715
396a21b1
UD
177162011-10-14 Ulrich Drepper <drepper@gmail.com>
17717
cdf2901f
UD
17718 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17719
38ad40ce
UD
17720 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17721 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17722 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17723 * sysdeps/i386/i686/fpu/e_log.S: New file.
17724 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17725 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17726
396a21b1
UD
17727 * ctype/ctype.h: Add support for inlined isXXX functions when
17728 compiling C++ code.
17729
6b1f68c9
AS
177302011-10-14 Andreas Schwab <schwab@redhat.com>
17731
349290c0
AS
17732 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17733
6b1f68c9
AS
17734 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17735
f2282d42
RM
177362011-10-13 Roland McGrath <roland@hack.frob.com>
17737
17738 [BZ #13291]
17739 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17740
5298ffa8
AS
177412011-10-13 Andreas Schwab <schwab@redhat.com>
17742
714fad23
AS
17743 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17744 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17745 feraiseexcept.
17746
81dcc7fb
AS
17747 * sysdeps/x86_64/memrchr.S: Check for zero size.
17748
5298ffa8
AS
17749 * string/stratcliff.c: Add memrchr tests.
17750
951fbcec
LD
177512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17752
17753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17754 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17755 rawmemchr-sse2 rawmemchr-sse2-bsf.
17756 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17757 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17758 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17759 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17760 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17761 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17762 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17763 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17764 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17765 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17766 * string/memrchr.c (MEMRCHR): New macro.
17767
0ac5ae23
UD
177682011-10-12 Ulrich Drepper <drepper@gmail.com>
17769
17770 Add integration with gcc's -ffinite-math-only and optimize wrapper
17771 functions in libm.
17772 * Versions.def: Define GLIBC_2.15 version for libm.
17773 * math/Makefile (headers): Add bits/math-finite.h.
17774 * math/bits/math-finite.h: New file.
17775 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17776 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17777 * math/e_acoshl.c: Add __*_finite alias.
17778 * math/e_acosl.c: Likewise.
17779 * math/e_asinl.c: Likewise.
17780 * math/e_atan2l.c: Likewise.
17781 * math/e_atanhl.c: Likewise.
17782 * math/e_coshl.c: Likewise.
17783 * math/e_exp10.c: Likewise.
17784 * math/e_exp10f.c: Likewise.
17785 * math/e_exp10l.c: Likewise.
17786 * math/e_exp2l.c: Likewise.
17787 * math/e_fmodl.c: Likewise.
17788 * math/e_gammal_r.c: Likewise.
17789 * math/e_hypotl.c: Likewise.
17790 * math/e_j0l.c: Likewise.
17791 * math/e_j1l.c: Likewise.
17792 * math/e_jnl.c: Likewise.
17793 * math/e_lgammal_r.c: Likewise.
17794 * math/e_log10l.c: Likewise.
17795 * math/e_log2l.c: Likewise.
17796 * math/e_logl.c: Likewise.
17797 * math/e_powl.c: Likewise.
17798 * math/e_sinhl.c: Likewise.
17799 * math/e_sqrtl.c: Likewise.
17800 * math/e_scalb.c: Completely rewritten and optimized.
17801 * math/e_scalbf.c: Likewise.
17802 * math/e_scalbl.c: Likewise.
17803 * math/w_acos.c: Likewise.
17804 * math/w_acosf.c: Likewise.
17805 * math/w_acosl.c: Likewise.
17806 * math/w_acosh.c: Likewise.
17807 * math/w_acoshf.c: Likewise.
17808 * math/w_acoshl.c: Likewise.
17809 * math/w_asin.c: Likewise.
17810 * math/w_asinf.c: Likewise.
17811 * math/w_asinl.c: Likewise.
17812 * math/w_atan2.c: Likewise.
17813 * math/w_atan2f.c: Likewise.
17814 * math/w_atan2l.c: Likewise.
17815 * math/w_atanh.c: Likewise.
17816 * math/w_atanhf.c: Likewise.
17817 * math/w_atanhl.c: Likewise.
17818 * math/w_exp10.c: Likewise.
17819 * math/w_exp10f.c: Likewise.
17820 * math/w_exp10l.c: Likewise.
17821 * math/w_fmod.c: Likewise.
17822 * math/w_fmodf.c: Likewise.
17823 * math/w_fmodl.c: Likewise.
17824 * math/w_j0.c: Likewise.
17825 * math/w_j0f.c: Likewise.
17826 * math/w_j0l.c: Likewise.
17827 * math/w_j1.c: Likewise.
17828 * math/w_j1f.c: Likewise.
17829 * math/w_j1l.c: Likewise.
17830 * math/w_jn.c: Likewise.
17831 * math/w_jnf.c: Likewise.
17832 * math/w_log.c: Likewise.
17833 * math/w_logf.c: Likewise.
17834 * math/w_logl.c: Likewise.
17835 * math/w_log10.c: Likewise.
17836 * math/w_log10f.c: Likewise.
17837 * math/w_log10l.c: Likewise.
17838 * math/w_log2.c: Likewise.
17839 * math/w_log2f.c: Likewise.
17840 * math/w_log2l.c: Likewise.
17841 * math/w_pow.c: Likewise.
17842 * math/w_powf.c: Likewise.
17843 * math/w_powl.c: Likewise.
17844 * math/w_remainder.c: Likewise.
17845 * math/w_remainderf.c: Likewise.
17846 * math/w_remainderl.c: Likewise.
17847 * math/w_scalb.c: Likewise.
17848 * math/w_scalbf.c: Likewise.
17849 * math/w_scalbl.c: Likewise.
17850 * math/w_sqrt.c: Likewise.
17851 * math/w_sqrtf.c: Likewise.
17852 * math/w_sqrtl.c: Likewise.
17853 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17854 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17855 used.
17856 * math/math_private.h: Declare __kernel_standard_f.
17857 * math/w_cosh.c: Remove cruft and optimize a bit.
17858 * math/w_coshf.c: Likewise.
17859 * math/w_coshl.c: Likewise.
17860 * math/w_exp2.c: Likewise.
17861 * math/w_exp2f.c: Likewise.
17862 * math/w_exp2l.c: Likewise.
17863 * math/w_hypot.c: Likewise.
17864 * math/w_hypotf.c: Likewise.
17865 * math/w_hypotl.c: Likewise.
17866 * math/w_lgamma.c: Likewise.
17867 * math/w_lgamma_r.c: Likewise.
17868 * math/w_lgammaf.c: Likewise.
17869 * math/w_lgammaf_r.c: Likewise.
17870 * math/w_lgammal.c: Likewise.
17871 * math/w_lgammal_r.c: Likewise.
17872 * math/w_sinh.c: Likewise.
17873 * math/w_sinhf.c: Likewise.
17874 * math/w_sinhl.c: Likewise.
17875 * math/w_tgamma.c: Likewise.
17876 * math/w_tgammaf.c: Likewise.
17877 * math/w_tgammal.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17879 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17880 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17881 Minor optimizations. Pretty printing. Remove cruft.
17882 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17883 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17885 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17886 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17887 * sysdeps/i386/fpu/e_asin.S: Likewise.
17888 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17889 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17890 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17891 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17892 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17893 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17894 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17895 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17896 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17897 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17898 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17899 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17900 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17901 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17902 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17903 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17904 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17905 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17906 * sysdeps/i386/fpu/e_log.S: Likewise.
17907 * sysdeps/i386/fpu/e_log10.S: Likewise.
17908 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17909 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17910 * sysdeps/i386/fpu/e_log2.S: Likewise.
17911 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17912 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17913 * sysdeps/i386/fpu/e_logf.S: Likewise.
17914 * sysdeps/i386/fpu/e_logl.S: Likewise.
17915 * sysdeps/i386/fpu/e_pow.S: Likewise.
17916 * sysdeps/i386/fpu/e_powf.S: Likewise.
17917 * sysdeps/i386/fpu/e_powl.S: Likewise.
17918 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17919 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17920 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17921 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17922 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17924 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17925 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17926 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17928 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17931 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17933 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17941 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17943 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17944 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17945 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17946 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17947 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17948 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17949 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17950 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17951 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17952 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17953 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17954 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17955 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17956 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17957 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17958 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17959 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17960 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17961 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17962 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17963 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17965 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17966 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17967 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18007 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18015 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18018 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18019 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18020 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18024 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18025 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18026 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18027 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18028 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18029 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18030 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18031 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18032 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18033 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18034 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18035 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18036 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18037 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18038 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18039 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18040 (__isnanf): Likewise.
18041 (__isinf_ns): Likewise.
18042 (__isinf_nsf): Likewise.
18043 (__finite): Likewise.
18044 (__finitef): Likewise.
18045 (__ieee754_sqrt): Define as macro.
18046 (__ieee754_sqrtf): Define as macro.
18047 (__ieee754_sqrtl): Define as macro.
18048 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18049 inlined copy.
18050 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18051 __FINITE_MATH_ONLY__ consistent.
18052 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18053
12cc2fcd
AS
180542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18055
a843a204
AS
18056 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18057 of rawmemchr.
18058
12cc2fcd
AS
18059 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18060
c853acd5
UD
180612011-10-09 Ulrich Drepper <drepper@gmail.com>
18062
18063 * po/ja.po: Update from translation team.
18064
c658d255
RM
180652011-10-08 Roland McGrath <roland@hack.frob.com>
18066
110946e4
RM
18067 * locale/programs/locarchive.c (prepare_address_space): New function.
18068 (create_archive, enlarge_archive, open_archive): Use it.
18069
50604220
RM
18070 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18071 inside [SHARED], where it is used.
18072
c658d255
RM
18073 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18074
18075 * nss/getent.c (netgroup_keys): Remove unused variable.
18076 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18077
6a621eb7
UD
180782011-10-08 Ulrich Drepper <drepper@gmail.com>
18079
7edb55ce
UD
18080 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18084 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18085 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18086 * math/Makefile (libm-calls): Add s_isinf_ns.
18087 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18088 * math/multc3.c: Likewise.
18089 * math/s_casin.c: Likewise.
18090 * math/s_casinf.c: Likewise.
18091 * math/s_casinl.c: Likewise.
18092 * math/s_ccos.c: Likewise.
18093 * math/s_ccosf.c: Likewise.
18094 * math/s_ccosl.c: Likewise.
18095 * math/s_ctan.c: Likewise.
18096 * math/s_ctanf.c: Likewise.
18097 * math/s_ctanh.c: Likewise.
18098 * math/s_ctanhf.c: Likewise.
18099 * math/s_ctanhl.c: Likewise.
18100 * math/s_ctanl.c: Likewise.
18101 * math/w_fmod.c: Likewise.
18102 * math/w_fmodf.c: Likewise.
18103 * math/w_fmodl.c: Likewise.
18104 * math/w_remainder.c: Likewise.
18105 * math/w_remainderf.c: Likewise.
18106 * math/w_remainderl.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18108 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18111 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18112 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18113 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18114 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18115
187da0ae
UD
18116 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18117 of the number.
18118 * stdio-common/printf_fphex.c: Likewise.
18119 * stdio-common/printf_size.c: Likewise.
18120
9277c064
UD
18121 * math/e_exp10.c: Include math_private.h using <...> not "...".
18122 * math/e_exp10f.c: Likewise.
18123 * math/e_exp10l.c: Likewise.
18124 * math/e_exp2l.c: Likewise.
18125 * math/e_j0l.c: Likewise.
18126 * math/e_j1l.c: Likewise.
18127 * math/e_jnl.c: Likewise.
18128 * math/e_lgammal_r.c: Likewise.
18129 * math/e_rem_pio2l.c: Likewise.
18130 * math/e_scalb.c: Likewise.
18131 * math/e_scalbf.c: Likewise.
18132 * math/e_scalbl.c: Likewise.
18133 * math/k_cosl.c: Likewise.
18134 * math/k_sinl.c: Likewise.
18135 * math/k_tanl.c: Likewise.
18136 * math/s_cacoshf.c: Likewise.
18137 * math/s_catan.c: Likewise.
18138 * math/s_catanf.c: Likewise.
18139 * math/s_catanh.c: Likewise.
18140 * math/s_catanhf.c: Likewise.
18141 * math/s_catanhl.c: Likewise.
18142 * math/s_catanl.c: Likewise.
18143 * math/s_ccosh.c: Likewise.
18144 * math/s_ccoshf.c: Likewise.
18145 * math/s_ccoshl.c: Likewise.
18146 * math/s_cexp.c: Likewise.
18147 * math/s_cexpf.c: Likewise.
18148 * math/s_cexpl.c: Likewise.
18149 * math/s_clog.c: Likewise.
18150 * math/s_clog10.c: Likewise.
18151 * math/s_clog10f.c: Likewise.
18152 * math/s_clog10l.c: Likewise.
18153 * math/s_clogf.c: Likewise.
18154 * math/s_clogl.c: Likewise.
18155 * math/s_csin.c: Likewise.
18156 * math/s_csinf.c: Likewise.
18157 * math/s_csinh.c: Likewise.
18158 * math/s_csinhf.c: Likewise.
18159 * math/s_csinhl.c: Likewise.
18160 * math/s_csinl.c: Likewise.
18161 * math/s_csqrt.c: Likewise.
18162 * math/s_csqrtf.c: Likewise.
18163 * math/s_csqrtl.c: Likewise.
18164 * math/s_ctan.c: Likewise.
18165 * math/s_ctanf.c: Likewise.
18166 * math/s_ctanh.c: Likewise.
18167 * math/s_ctanhf.c: Likewise.
18168 * math/s_ctanhl.c: Likewise.
18169 * math/s_ctanl.c: Likewise.
18170 * math/s_ldexp.c: Likewise.
18171 * math/s_ldexpf.c: Likewise.
18172 * math/s_ldexpl.c: Likewise.
18173 * math/s_significand.c: Likewise.
18174 * math/s_significandf.c: Likewise.
18175 * math/s_significandl.c: Likewise.
18176 * math/w_acos.c: Likewise.
18177 * math/w_acosf.c: Likewise.
18178 * math/w_acosh.c: Likewise.
18179 * math/w_acoshf.c: Likewise.
18180 * math/w_acoshl.c: Likewise.
18181 * math/w_acosl.c: Likewise.
18182 * math/w_asin.c: Likewise.
18183 * math/w_asinf.c: Likewise.
18184 * math/w_asinl.c: Likewise.
18185 * math/w_atan2.c: Likewise.
18186 * math/w_atan2f.c: Likewise.
18187 * math/w_atan2l.c: Likewise.
18188 * math/w_atanh.c: Likewise.
18189 * math/w_atanhf.c: Likewise.
18190 * math/w_atanhl.c: Likewise.
18191 * math/w_cosh.c: Likewise.
18192 * math/w_coshf.c: Likewise.
18193 * math/w_coshl.c: Likewise.
18194 * math/w_dremf.c: Likewise.
18195 * math/w_exp10.c: Likewise.
18196 * math/w_exp10f.c: Likewise.
18197 * math/w_exp10l.c: Likewise.
18198 * math/w_exp2.c: Likewise.
18199 * math/w_exp2f.c: Likewise.
18200 * math/w_fmod.c: Likewise.
18201 * math/w_fmodf.c: Likewise.
18202 * math/w_fmodl.c: Likewise.
18203 * math/w_hypot.c: Likewise.
18204 * math/w_hypotf.c: Likewise.
18205 * math/w_hypotl.c: Likewise.
18206 * math/w_j0.c: Likewise.
18207 * math/w_j0f.c: Likewise.
18208 * math/w_j0l.c: Likewise.
18209 * math/w_j1.c: Likewise.
18210 * math/w_j1f.c: Likewise.
18211 * math/w_j1l.c: Likewise.
18212 * math/w_jn.c: Likewise.
18213 * math/w_jnf.c: Likewise.
18214 * math/w_jnl.c: Likewise.
18215 * math/w_lgamma.c: Likewise.
18216 * math/w_lgamma_r.c: Likewise.
18217 * math/w_lgammaf.c: Likewise.
18218 * math/w_lgammaf_r.c: Likewise.
18219 * math/w_lgammal.c: Likewise.
18220 * math/w_lgammal_r.c: Likewise.
18221 * math/w_log.c: Likewise.
18222 * math/w_log10.c: Likewise.
18223 * math/w_log10f.c: Likewise.
18224 * math/w_log10l.c: Likewise.
18225 * math/w_log2.c: Likewise.
18226 * math/w_log2f.c: Likewise.
18227 * math/w_log2l.c: Likewise.
18228 * math/w_logf.c: Likewise.
18229 * math/w_logl.c: Likewise.
18230 * math/w_pow.c: Likewise.
18231 * math/w_powf.c: Likewise.
18232 * math/w_powl.c: Likewise.
18233 * math/w_remainder.c: Likewise.
18234 * math/w_remainderf.c: Likewise.
18235 * math/w_remainderl.c: Likewise.
18236 * math/w_scalb.c: Likewise.
18237 * math/w_scalbf.c: Likewise.
18238 * math/w_scalbl.c: Likewise.
18239 * math/w_sinh.c: Likewise.
18240 * math/w_sinhf.c: Likewise.
18241 * math/w_sinhl.c: Likewise.
18242 * math/w_sqrt.c: Likewise.
18243 * math/w_sqrtf.c: Likewise.
18244 * math/w_sqrtl.c: Likewise.
18245 * math/w_tgamma.c: Likewise.
18246 * math/w_tgammaf.c: Likewise.
18247 * math/w_tgammal.c: Likewise.
18248
6a621eb7
UD
18249 * po/ja.po: Update from translation team.
18250
bf582445
AJ
182512011-09-29 Andreas Jaeger <aj@suse.de>
18252
f9efbf3a
AJ
18253 [BZ #13179]
18254 * sunrpc/netname.c (netname2host): Fix logic.
18255
bf582445
AJ
18256 [BZ #6779]
18257 [BZ #6783]
18258 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18259 correctly.
18260 * math/w_remainder.c (__remainder): Likewise.
18261 * math/w_remainderf.c (__remainderf): Likewise.
18262 * math/libm-test.inc (remainder_test): Add test cases.
18263
48693bea
AK
182642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18265
18266 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18267 sdiv_qrnnd.
18268
42622229
LD
182692011-10-07 Ulrich Drepper <drepper@gmail.com>
18270
18271 * string/test-memcmp.c: Avoid unncessary #defines.
18272 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18273
093ecf92
LD
182742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18275
18276 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18277 Use new sse2 version for core i3 - i7 as it's faster
18278 than sse42 version.
18279 (bit_Prefer_PMINUB_for_stringop): New.
18280 * sysdeps/x86_64/rawmemchr.S: Update.
18281 Replace with faster SSE2 version.
18282 * sysdeps/x86_64/memrchr.S: New file.
18283 * sysdeps/x86_64/memchr.S: Update.
18284 Replace with faster SSE2 version.
18285
fde56e5c
MP
182862011-09-12 Marek Polacek <mpolacek@redhat.com>
18287
18288 * elf/dl-load.c (lose): Add cast to avoid warning.
18289
21fd49a9
UD
182902011-10-07 Ulrich Drepper <drepper@gmail.com>
18291
5a06e643
UD
18292 * po/ca.po: Update from translation team.
18293
684ae515
UD
18294 * inet/getnetgrent_r.c: Hook up nscd.
18295 * nscd/Makefile (routines): Add nscd_netgroup.
18296 (nscd-modules): Add netgroupcache.
18297 (CFLAGS-netgroupcache.c): Define.
18298 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18299 (cache_search): Add const to second parameter.
18300 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18301 INNETGR.
18302 (dbs): Add netgrdb entry.
18303 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18304 (verify_persistent_db): Handle netgrdb.
18305 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18306 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18307 GETFDNETGR.
18308 (netgroup_response_header): Define.
18309 (innetgroup_response_header): Define.
18310 (datahead): Add netgroup_response_header and innetgroup_response_header
18311 elements.
18312 * nscd/nscd.conf: Add entries for netgroup cache.
18313 * nscd/nscd.h (dbtype): Add netgrdb.
18314 (_PATH_NSCD_NETGROUP_DB): Define.
18315 (netgroup_iov_disabled): Declare.
18316 (xmalloc, xcalloc, xrealloc): Move declarations here.
18317 (cache_search): Adjust prototype.
18318 Add netgroup-related prototypes.
18319 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18320 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18321 (__nscd_innetgr): Declare.
18322 * nscd/selinux.c (perms): Use access_vector_t as element type and
18323 add netgroup-related initializers.
18324 * nscd/netgroupcache.c: New file.
18325 * nscd/nscd_netgroup.c: New file.
18326 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18327 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18328 For four parameters use innetgr.
18329 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18330 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18331 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18332 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18333
21fd49a9
UD
18334 * nscd/connections.c (register_traced_file): Don't register file
18335 for disabled databases.
18336
054c0457
UD
183372011-10-06 Ulrich Drepper <drepper@gmail.com>
18338
32b63198
UD
18339 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18340
054c0457
UD
18341 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18342 from tree and freeing node.
18343
64031225
JO
183442011-09-25 Jiri Olsa <jolsa@redhat.com>
18345
18346 * nss/nsswitch.c (__nss_database_lookup): Handle
18347 nss_parse_service_list out of memory case.
18348
0490345c
JO
183492011-09-15 Jiri Olsa <jolsa@redhat.com>
18350
18351 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18352 out of memory case.
18353
3a62d00d
AS
183542011-10-04 Andreas Schwab <schwab@redhat.com>
18355
18356 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18357 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18358 pass it down.
18359 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18360 elf_machine_rela, elf_machine_lazy_rel.
18361 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18362 (ELF_DYNAMIC_DO_REL): Likewise.
18363 (ELF_DYNAMIC_DO_RELA): Likewise.
18364 (ELF_DYNAMIC_RELOCATE): Likewise.
18365 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18366 to ELF_DYNAMIC_DO_REL.
18367 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18368 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18369 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18370 elf_machine_rela.
18371 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18372 skip_ifunc, don't call ifunc function if non-zero.
18373 (elf_machine_rela): Likewise.
18374 (elf_machine_lazy_rel): Likewise.
18375 (elf_machine_lazy_rela): Likewise.
18376 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18377 (elf_machine_lazy_rel): Likewise.
18378 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18379 Likewise.
18380 (elf_machine_lazy_rel): Likewise.
18381 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18382 Likewise.
18383 (elf_machine_lazy_rel): Likewise.
18384 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18385 (elf_machine_lazy_rel): Likewise.
18386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18387 (elf_machine_lazy_rel): Likewise.
18388 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18389 (elf_machine_lazy_rel): Likewise.
18390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18391 (elf_machine_lazy_rel): Likewise.
18392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18393 (elf_machine_lazy_rel): Likewise.
18394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18395 (elf_machine_lazy_rel): Likewise.
18396
68577918
UD
183972011-09-28 Ulrich Drepper <drepper@gmail.com>
18398
18399 * nss/nss_files/files-init.c (_nss_files_init): Use static
18400 initialization for all the *_traced_file variables.
18401
68822d74
AS
184022011-09-28 Andreas Schwab <schwab@redhat.com>
18403
18404 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18405
2056100b
RM
184062011-09-27 Roland McGrath <roland@hack.frob.com>
18407
18408 [BZ #13226]
18409 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18410
32c76b63
AS
184112011-09-27 Andreas Schwab <schwab@redhat.com>
18412
18413 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18414 Reread the line before reparsing it.
18415
bf972c9d
AS
184162011-09-26 Andreas Schwab <schwab@redhat.com>
18417
18418 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18419
e057a1b5
JM
184202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18421 Maxim Kuvyrkov <maxim@codesourcery.com>
18422 Joseph Myers <joseph@codesourcery.com>
18423
18424 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18425 if needed for __stack_chk_guard.
18426
bc7e1c36
RM
184272011-09-19 Roland McGrath <roland@hack.frob.com>
18428
ecb1482f
RM
18429 * sysdeps/posix/spawni.c (script_execute): Always define it.
18430 It will be optimized away if unused.
18431 (maybe_script_execute): New function.
18432 (__spawni): Call it.
18433
bc7e1c36
RM
18434 * Makerules: Don't include tls.make.
18435 (config-tls): Always set to thread.
18436 * tls.make.c: File removed.
18437
1c3b002b
MF
184382011-09-19 Mike Frysinger <vapier@gentoo.org>
18439
18440 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18441 * config.make.in (CPPFLAGS-config): New substituted variable.
18442
2840865d
UD
184432011-09-15 Ulrich Drepper <drepper@gmail.com>
18444
88738eb6
UD
18445 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18446
cbf645a6 18447 [BZ #13192]
2840865d
UD
18448 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18449 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18450
b402e91a
RM
184512011-09-15 Roland McGrath <roland@hack.frob.com>
18452
18453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18454 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18456 (CALL_FAIL): Likewise.
18457 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18458 (CALL_FAIL): Macro removed.
18459 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18460
4c1a1f71
UD
184612011-09-15 Ulrich Drepper <drepper@gmail.com>
18462
18463 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18464 for __FINITE_MATH_ONLY__ == 1.
18465
edc121be
AS
184662011-09-15 Andreas Schwab <schwab@redhat.com>
18467
18468 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18469 __ieee754_sqrt instead of sqrt.
18470 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18471 __ieee754_sqrtf instead of sqrtf.
18472 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18473 __floorf instead of floorf.
18474 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18475 __floorf, __truncf instead of floorf, truncf.
18476
cd205654
UD
184772011-09-14 Ulrich Drepper <drepper@gmail.com>
18478
ee4d0315
UD
18479 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18480
cd205654
UD
18481 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18482 __extern_always_inline.
18483 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18484 32-bit.
18485
48b67d71
AS
184862011-09-14 Andreas Schwab <schwab@redhat.com>
18487
18488 * elf/rtld.c (dl_main): Also relocate in dependency order when
18489 doing symbol dependency testing.
18490
1ae12c75
AS
184912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18492
18493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18494 Always define `refsym'.
18495
995a80df
AS
184962011-09-13 Andreas Schwab <schwab@redhat.com>
18497
e529793b
AS
18498 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18499 (__FD_ELT): Renamed from __FDELT.
18500 * misc/bits/select2.h (__FD_ELT): Likewise.
18501 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18502 __FD_MASK instead of __FDELT, __FDMASK.
18503 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18504 Likewise.
18505 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18506 Likewise.
18507
52d4fef8
AS
18508 * elf/Makefile (gen-ldd): Fix pattern.
18509
995a80df
AS
18510 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18511 (init_tls): Likewise.
18512
8682f8b0
UD
185132011-09-12 Ulrich Drepper <drepper@gmail.com>
18514
18515 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18516
de82006d
AS
185172011-09-12 Andreas Schwab <schwab@redhat.com>
18518
a7c8e6a1
AS
18519 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18520 `struct cmsghdr *' instead of `void *'.
18521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18522 Likewise.
18523
0f31fe77
AS
185242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18525
18526 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18527 if non-absolute.
18528 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18529 ldd_rewrite_script.
0f31fe77 18530
32b4c839
UD
185312011-09-11 Ulrich Drepper <drepper@gmail.com>
18532
83cd1420
UD
18533 * configure.in: Remove --with-tls option.
18534 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18535 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18536 out in case it is missing.
18537 * sysdeps/ia64/elf/configure.in: Likewise.
18538 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18539 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18540 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18541 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18542 * sysdeps/sh/elf/configure.in: Likewise.
18543 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18544 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18545 * sysdeps/x86_64/elf/configure.in: Likewise.
18546 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18547 * sysdeps/mach/hurd/tls.h: Likewise.
18548
633f745d
UD
18549 [BZ #13067]
18550 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18551
f318beb8
UD
18552 [BZ #13090]
18553 * configure.in: Fix use of AC_INIT.
18554
32b4c839
UD
18555 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18556
3ce1f295
UD
185572011-09-10 Ulrich Drepper <drepper@gmail.com>
18558
bb016596
UD
18559 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18560 __set_errno.
8e58439c
UD
18561 * malloc/hooks.c: Likewise.
18562
aebae053 18563 [BZ #11929]
02d46fc4
UD
18564 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18565 variables statically.
18566 (narenas): Initialize.
18567 (list_lock): Initialize.
bb016596
UD
18568 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18569 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18570 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18571 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18572 Add initializers to main_arena and mp_.
18573 (malloc_state): Remove pagesize member. Change all users to use
18574 GLRO(dl_pagesize).
18575
18576 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18577 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18578 is always initialized.
18579
22a89187
UD
18580 * malloc/malloc.c: Removed unused configurations and dead code.
18581 * malloc/arena.c: Likewise.
18582 * malloc/hooks.c: Likewise.
02d46fc4 18583 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18584
d063d164
UD
18585 * include/tls.h: Removed. USE___THREAD must always be defined.
18586 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18587 * elf/dl-libc.c: Likewise.
18588 * elf/dl-tsd.c: Likewise.
18589 * include/errno.h: Likewise.
18590 * include/netdb.h: Likewise.
18591 * include/resolv.h: Likewise.
18592 * inet/herrno-loc.c: Likewise.
18593 * inet/herrno.c: Likewise.
18594 * malloc/arena.c: Likewise.
18595 * malloc/hooks.c: Likewise.
18596 * malloc/malloc.c: Likewise.
18597 * resolv/res-state.c: Likewise.
18598 * resolv/res_libc.c: Likewise.
18599 * sysdeps/i386/dl-machine.h: Likewise.
18600 * sysdeps/ia64/dl-machine.h: Likewise.
18601 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18602 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18603 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18604 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18605 * sysdeps/sh/dl-machine.h: Likewise.
18606 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18607 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18608 * sysdeps/unix/i386/sysdep.S: Likewise.
18609 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18610 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18611 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18614 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18615 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18619 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18620 * sysdeps/x86_64/dl-machine.h: Likewise.
18621 * tls.make.c: Likewise.
18622
3ce1f295
UD
18623 * configure.in: Remove --with-__thread option. Make tests for
18624 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18625 tls_model attribute fail if no support is available. Remove
18626 USE_IN_LIBIO.
18627 * Makeconfig: Adjust for dropped configure option. All features are
18628 now mandatory.
18629 * Makerules: Likewise.
18630 * Versions.def: Likewise.
18631 * argp/argp-fmtstream.c: Likewise.
18632 * argp/argp-fmtstream.h: Likewise.
18633 * argp/argp-help.c: Likewise.
18634 * assert/assert.c: Likewise.
18635 * config.h.in: Likewise.
18636 * config.make.in: Likewise.
18637 * configure: Likewise.
18638 * configure.in: Likewise.
18639 * csu/Versions: Likewise.
18640 * csu/init.c: Likewise.
18641 * elf/tst-audit2.c: Likewise.
18642 * elf/tst-tls10.c: Likewise.
18643 * elf/tst-tls10.h: Likewise.
18644 * elf/tst-tls11.c: Likewise.
18645 * elf/tst-tls12.c: Likewise.
18646 * elf/tst-tls14.c: Likewise.
18647 * elf/tst-tlsmod11.c: Likewise.
18648 * elf/tst-tlsmod12.c: Likewise.
18649 * elf/tst-tlsmod13.c: Likewise.
18650 * elf/tst-tlsmod13a.c: Likewise.
18651 * elf/tst-tlsmod14a.c: Likewise.
18652 * elf/tst-tlsmod15b.c: Likewise.
18653 * elf/tst-tlsmod16a.c: Likewise.
18654 * elf/tst-tlsmod16b.c: Likewise.
18655 * elf/tst-tlsmod7.c: Likewise.
18656 * elf/tst-tlsmod8.c: Likewise.
18657 * elf/tst-tlsmod9.c: Likewise.
18658 * gmon/gmon.c: Likewise.
18659 * grp/fgetgrent_r.c: Likewise.
18660 * grp/putgrent.c: Likewise.
18661 * hurd/fopenport.c: Likewise.
18662 * include/libc-symbols.h: Likewise.
18663 * include/tls.h: Likewise.
18664 * intl/gettextP.h: Likewise.
18665 * intl/loadinfo.h: Likewise.
18666 * locale/global-locale.c: Likewise.
18667 * locale/localeinfo.h: Likewise.
18668 * mach/devstream.c: Likewise.
18669 * malloc/arena.c: Likewise.
18670 * malloc/set-freeres.c: Likewise.
18671 * misc/err.c: Likewise.
18672 * misc/getttyent.c: Likewise.
18673 * misc/mntent_r.c: Likewise.
18674 * posix/getopt.c: Likewise.
18675 * posix/wordexp.c: Likewise.
18676 * pwd/fgetpwent_r.c: Likewise.
18677 * resolv/Versions: Likewise.
18678 * resolv/res_hconf.c: Likewise.
18679 * shadow/fgetspent_r.c: Likewise.
18680 * shadow/putspent.c: Likewise.
18681 * stdio-common/printf_fphex.c: Likewise.
18682 * stdio-common/tmpfile.c: Likewise.
18683 * stdlib/abort.c: Likewise.
18684 * stdlib/fmtmsg.c: Likewise.
18685 * sunrpc/auth_unix.c: Likewise.
18686 * sunrpc/clnt_perr.c: Likewise.
18687 * sunrpc/clnt_tcp.c: Likewise.
18688 * sunrpc/clnt_udp.c: Likewise.
18689 * sunrpc/clnt_unix.c: Likewise.
18690 * sunrpc/openchild.c: Likewise.
18691 * sunrpc/svc_simple.c: Likewise.
18692 * sunrpc/svc_tcp.c: Likewise.
18693 * sunrpc/svc_udp.c: Likewise.
18694 * sunrpc/svc_unix.c: Likewise.
18695 * sunrpc/xdr.c: Likewise.
18696 * sunrpc/xdr_array.c: Likewise.
18697 * sunrpc/xdr_rec.c: Likewise.
18698 * sunrpc/xdr_ref.c: Likewise.
18699 * sunrpc/xdr_stdio.c: Likewise.
18700
1248c1c4
PB
187012011-09-09 Ulrich Drepper <drepper@gmail.com>
18702
18703 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18704
187052011-07-03 Andreas Jaeger <aj@suse.de>
18706
18707 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18708 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18709 regenerate with gen-libm-tests.pl.
18710
187112010-05-12 Petr Baudis <pasky@suse.cz>
18712
18713 [BZ #11589]
18714 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18715 around j0() zero points by switching to j1().
18716 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18720
f22e1074
UD
187212011-09-09 Ulrich Drepper <drepper@gmail.com>
18722
f19009c1
UD
18723 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18724 instead of 0.
18725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18726 instead of 0. .
18727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18728 Patch in part by Pavel Roskin <proski@gnu.org>.
18729
3f8cc204
UD
18730 [BZ #13138]
18731 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18732 realloc.
18733 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18734 Free memory block if necessary.
18735
f22e1074
UD
18736 [BZ #12847]
18737 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18738 be NULL. Don't lock in this case.
18739
0a2349f9
RM
187402011-09-09 Roland McGrath <roland@hack.frob.com>
18741
18742 * elf/elf.h (ELFOSABI_GNU): New macro.
18743 (ELFOSABI_LINUX): Define to that.
18744
f3cdd467
DZ
187452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18746
18747 * string/strncat.c (strncat): Undef the symbol in case it has been
18748 defined in bits/string.h.
18749
74718d13
UD
187502011-09-09 Ulrich Drepper <drepper@gmail.com>
18751
633e9e0f
UD
18752 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18753
0a2349f9 18754 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18755 link map.
18756
f9924780
AJ
187572011-08-17 Andreas Jaeger <aj@suse.de>
18758
18759 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18760
7f5517aa
PP
187612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18762 Ian Lance Taylor <iant@google.com>
18763
18764 * math/libm-test.inc (lround_test): New testcase.
18765 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18766
762011fe
UD
187672011-09-08 Ulrich Drepper <drepper@gmail.com>
18768
92963737
UD
18769 * Makefile: Remove support for automatic cvs check-ins.
18770 * Makerules: Likewise.
18771 * config.make.in: Likewise.
18772 * configure.in: Likewise.
18773 * intl/Makefile: Likewise.
18774 * locale/Makefile: Likewise.
18775 * po/Makefile: Likewise.
18776 * posix/Makefile: Likewise.
18777 * sysdeps/gnu/Makefile: Likewise.
18778 * sysdeps/mach/hurd/Makefile: Likewise.
18779 * sysdeps/sparc/sparc32/Makefile: Likewise.
18780
b0727fd8
JS
18781 [BZ #13118]
18782 * posix/Makefile (bug-regex32-ENV): Define.
18783 Patch by John Stanley <jpsinthemix@verizon.net>.
18784
a0f33f99
UD
18785 * misc/Makefile (headers): Add bits/select2.h.
18786 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18787 * misc/bits/select2.h: New file.
18788 * include/bits/select2.h: New file.
18789 * debug/Makefile (routines): Add fdelt_chk.
18790 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18791 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18792 FD_ISSET.
18793 * debug/fdelt_chk.c: New file.
18794
762011fe
UD
18795 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18796 * wcsmbs/test-wmemcmp.c: Likewise.
18797 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18798 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18799
188002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18801
18802 * string/Makefile (strop-tests): Add memcmp.
18803 * string/test-wmemcmp.c: New file.
18804 * string/test-memcmp.c: Add wmemcmp support.
18805
7f513ec8
RM
188062011-09-08 Roland McGrath <roland@hack.frob.com>
18807
0442afb4
RM
18808 [BZ #13153]
18809 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18810 2011-07-19 change.
18811
7f513ec8
RM
18812 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18813 garbage value in a __mach_port_mod_refs call in the cases of the
18814 task-self and thread-self ports.
18815
a12b2239
ST
188162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18817
18818 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18819
610f9ab4
AS
188202011-09-08 Andreas Schwab <schwab@redhat.com>
18821
7f513ec8 18822 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18823
48882a1a
LD
188242011-09-07 Ulrich Drepper <drepper@gmail.com>
18825
b49865be
UD
18826 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18827
fdc86bc9
UD
18828 * elf/dl-libc.c (dlerror_run): Pass back error code from
18829 dl_catch_error.
18830
c966526a
UD
18831 [BZ #13123]
18832 * elf/dl-load.c (lose): Free l_origin if it is valid.
18833
48882a1a
LD
18834 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18835 names.
18836 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18837 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18838 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18839 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18840 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18841 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18842
77a2a8b4
AZ
188432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18844
18845 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18846 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18848 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18849 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18850 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18851 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18852 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18853 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18854 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18855
24f579d8
AM
188562011-08-15 Alan Modra <amodra@gmail.com>
18857
18858 [BZ #13092]
18859 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18860 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18861 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18862 ppc_mcount to static-only-routines.
18863 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18864 __mcount_internal.
18865 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18866 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18867
3d4837df
UD
188682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18869
18870 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18871 for finite and infinity parameters.
18872
22700377
WS
188732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18874
18875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18876 and add nop instructions for throughput optimization.
18877 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18878
5025581e
WS
188792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18880
18881 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18882 aligned copy for power7 with vector-scalar instructions.
18883 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18884
08a300c9
L
188852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18886
18887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18888 AVX check.
18889
59178ef9
AS
188902011-09-07 Andreas Schwab <schwab@redhat.com>
18891
18892 [BZ #13144]
18893 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18894 last change.
18895
e38ba7ab
UD
188962011-09-07 Ulrich Drepper <drepper@gmail.com>
18897
18898 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18899 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18900 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18901 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18902 clock_gettime.
18903
d53a73ac
UD
189042011-09-06 Ulrich Drepper <drepper@gmail.com>
18905
fc8bffcc
UD
18906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18907 Forgot to demangle the pointer.
18908
ceaa0c5d
UD
18909 * sysdeps/i386/sysdep.h: Define atom_text_section.
18910 * sysdeps/x86_64/sysdep.h: Likewise.
18911 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18912 section with atom_text_section.
18913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18915 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18916 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18917 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18918
a77d3c17
UD
18919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18920 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18921 already be defined. Change to take two parameters and don't assign
18922 result to variable. Adjust all users.
18923 Define INTERNAL_GETTIME if not already defined.
18924 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18925 call.
18926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18927 HAVE_CLOCK_GETTIME_VSYSCALL.
18928 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18929
d53a73ac
UD
18930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18931 gettimeofday vsyscall, just use time.
18932
a8f84144
AS
189332011-09-06 Andreas Schwab <schwab@redhat.com>
18934
18935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18936 <errno.h>.
18937
ef606249
UD
189382011-09-06 Ulrich Drepper <drepper@gmail.com>
18939
18940 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18941 syscall on x86-64.
18942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18943 syscall.
18944 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18946 syscall if possible.
18947
6585cb60
UD
189482011-09-05 Ulrich Drepper <drepper@gmail.com>
18949
18950 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18951 e_ident. Don't pass to find_mapsXX.
18952 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18953
a5f524e4
LD
189542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18955
18956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18957 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18958 * sysdeps/x86_64/multiarch/strchr.S: Update.
18959 Check bit_slow_BSF bit.
18960 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18961 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18962 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18963
554881ef
UD
189642011-09-05 Ulrich Drepper <drepper@gmail.com>
18965
d96de963
UD
18966 [BZ #13134]
18967 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18968 before glibc 2.15.
18969 (tryshell): Define.
18970 (__spawni): Change last parameter to be flag. Test
18971 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18972 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18973 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18974 * posix/spawni.c: Likewise.
18975 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18976 * posix/spawnp.c: Likewise. Change normal version to use
18977 SPAWN_XFLAGS_USE_PATH.
18978 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18979 SPAWN_XFLAGS_TRY_SHELL.
18980
d48e5868
UD
18981 [BZ #13150]
18982 * posix/glob.h: Remove gcc 1.x support.
18983
554881ef
UD
18984 [BZ #13068]
18985 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18986
693fb948
LD
189872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18988
18989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18990 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18991 strrchr-sse2-bsf
18992 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18993 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18994 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18995 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18996 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18997 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18998
1b48c537
UD
189992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19000
49d42c37
UD
19001 * sysdeps/x86_64/wcscmp.S: New file.
19002
1b48c537
UD
19003 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19004 wcscmp-c wcscmp-sse2
19005 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19006 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19007 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19008 * wcsmbs/wcscmp.c: Allow renaming.
19009
15c95c5d
DM
190102011-09-05 David S. Miller <davem@davemloft.net>
19011
19012 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19013 stack slot, rather than the struct return pointer slot.
19014 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19015 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19017 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19018
2f0ad8f3
UD
190192011-09-05 Ulrich Drepper <drepper@gmail.com>
19020
d88ae418
UD
19021 * po/ja.po: Update from translation team.
19022
2f0ad8f3
UD
19023 [BZ #13144]
19024 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19025 kernel in 64-bit binaries.
19026
5f4318d1
DM
190272011-09-01 David S. Miller <davem@davemloft.net>
19028
19029 * elf/elf.h (HWCAP_SPARC_*): Move to..
19030 * sysdeps/sparc/sysdep.h: this new file and add new values.
19031 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19032 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19033 _DL_HWCAP_COUNT to 24.
19034 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19035 entries.
19036 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19037 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19038 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19039 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19040 instead of magic constants.
19041 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19042
3ba57516
DM
190432011-08-31 David S. Miller <davem@davemloft.net>
19044
19045 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19047 Reimplement to do errno handling inline.
19048 (SYSCALL_ERROR_HANDLER): New macro.
19049 (__SYSCALL_STRING): Do not do errno handling in asm.
19050 (__CLONE_SYSCALL_STRING): Delete.
19051 (__INTERNAL_SYSCALL_STRING): Delete.
19052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19053 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19054 (PSEUDO): Reimplement to do errno handling inline.
19055 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19056 (SYSCALL_ERROR_HANDLER): New macro.
19057 (__SYSCALL_STRING): Do not do errno handling in asm.
19058 (__CLONE_SYSCALL_STRING): Delete.
19059 (__INTERNAL_SYSCALL_STRING): Delete.
19060 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19061 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19062 i386.
19063 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19064 (inline_syscall*): Add 'err' argument.
19065 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19066 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19067 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19068 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19069
19070 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19071 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19072
2bc17433
AS
190732011-08-30 Andreas Schwab <schwab@redhat.com>
19074
19075 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19076
fbeb5f4d
JO
190772011-08-29 Jiri Olsa <jolsa@redhat.com>
19078
19079 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19080 directive.
19081
ad69cc26
DM
190822011-08-24 David S. Miller <davem@davemloft.net>
19083
19084 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19085
39dd69df
AS
190862011-08-24 Andreas Schwab <schwab@redhat.com>
19087
19088 * elf/Makefile: Add rules to build and run unload8 test.
19089 * elf/unload8.c: New file.
19090 * elf/unload8mod1.c: New file.
19091 * elf/unload8mod1x.c: New file.
19092 * elf/unload8mod2.c: New file.
19093 * elf/unload8mod3.c: New file.
19094
19095 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19096 it wasn't used.
19097
2c0b250a
DM
190982011-08-23 David S. Miller <davem@davemloft.net>
19099
19100 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19101 subtract stack bias.
19102 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19103 %sp not %fp in calculations.
19104 (_JMPBUF_UNWINDS_ADJ): Likewise.
19105
22044b48
DM
19106 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19107 (aio_suspend): Call it to force an exception region around the
19108 AIO_MISC_WAIT() invocation.
19109
2cae4995
AS
191102011-08-23 Andreas Schwab <schwab@redhat.com>
19111
19112 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19113 backslash.
19114
873a772e
AJ
191152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19116
19117 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19118 protection macro.
19119 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19120 and <dl-machine.h>.
19121 (Elf64_FuncDesc): Remove.
19122
25ad0df1
DM
191232011-08-22 David S. Miller <davem@davemloft.net>
19124
19125 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19126 sigaltstack check, add missing cfi directives.
19127 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19128 missing cfi directives, and sigaltstack handling.
19129
e888bcbe
AS
191302011-08-16 Andreas Schwab <schwab@redhat.com>
19131
19132 [BZ #11724]
19133 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19134 object is seen twice.
19135 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19136
19137 * elf/Makefile (distribute): Add tst-initorder2.c.
19138 (tests): Add tst-initorder2.
19139 (modules-names): Add tst-initorder2a tst-initorder2b
19140 tst-initorder2c tst-initorder2d. Add rules to build them.
19141 ($(objpfx)tst-initorder2.out): New rule.
19142 * elf/tst-initorder2.c: New file.
19143 * elf/tst-initorder2.exp: New file.
19144
87162f46
AS
191452011-08-22 Andreas Schwab <schwab@redhat.com>
19146
70538b7f
AS
19147 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19148
f55ffe58
AS
19149 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19150 dependencies back to end of function.
19151
87162f46
AS
19152 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19153 $(elfobjdir)/ld.so.
19154
91b392a4
UD
191552011-08-21 Ulrich Drepper <drepper@gmail.com>
19156
19157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19158 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19160 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19161 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19162 of __vdso_gettimeofday.
19163 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19164 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19165 attribute_hidden.
19166 (_libc_vdso_platform_setup): Remove initialization of
19167 __vdso_gettimeofday and __vdso_time.
19168
5c43483f
UD
191692011-08-20 Ulrich Drepper <drepper@gmail.com>
19170
775a77e7
UD
19171 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19172 and fgetc_unlocked.
19173 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19174 getc_unlocked.
89f447ed 19175
49c74ba9
UD
19176 * elf/dl-open.c (add_to_global): Report additions to the global scope
19177 for LD_DEBUG=scopes.
19178 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19179 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19180
5c43483f
UD
19181 [BZ #13114]
19182 * stdio-common/Makefile (tests): Add bug24.
19183 * stdio-common/bug24.c: New file.
19184
a101b025
AJ
191852011-08-19 Andreas Jaeger <aj@suse.de>
19186
19187 [BZ #13114]
19188 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19189 non-existant file when using close-on-exec mode.
19190
c88f1766
UD
191912011-08-20 Ulrich Drepper <drepper@gmail.com>
19192
0276a718
UD
19193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19194 the very first instruction.
19195
c88f1766
UD
19196 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19197 the CFI state in the end.
19198 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19199 inclusion of dl-trampoline.h.
19200 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19201
51ccffa0
AS
192022011-08-19 Andreas Schwab <schwab@redhat.com>
19203
94d7165f
AS
19204 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19205 expectations for long double.
19206
51ccffa0
AS
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19208 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19209
fd708658 192102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19211
19212 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19213 artificual limit depends upon the system page size.
19214
44f0a71e
UD
192152011-08-17 Ulrich Drepper <drepper@gmail.com>
19216
19217 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19218 * resolv/Makefile: Define CFLAGS-libresolv.
19219
8de79a24
AS
192202011-08-17 Andreas Schwab <schwab@redhat.com>
19221
19222 * nss/makedb.c (compute_tables): Make variables used in nested
19223 function static.
19224
27724598
UD
192252011-08-17 Ulrich Drepper <drepper@gmail.com>
19226
c5305d88
UD
19227 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19228 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19229 if buffer was too small.
19230
27724598
UD
19231 * elf/pldd.c (main): Attach to all threads in the process.
19232 Rewrite /proc handling to use *at functions.
19233
076fe015
UD
192342011-08-16 Ulrich Drepper <drepper@gmail.com>
19235
174baab3
UD
19236 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19237 specifies first scope to show.
19238 (dl_open_worker): Update callers. Move printing scope of new
19239 object to before the relocation.
44f0a71e 19240 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19241 * sysdeps/generic/ldsodefs.h: Update declaration.
19242
076fe015
UD
19243 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19244 string for the scope number.
19245
a60df2c3
UD
192462011-08-14 Ulrich Drepper <drepper@gmail.com>
19247
19248 * nscd/servicescache.c (cache_addserv): Make sure written is always
19249 initialized.
19250
5e4287d1
RM
192512011-08-14 Roland McGrath <roland@hack.frob.com>
19252
85ae0589
RM
19253 * sysdeps/i386/i486/bits/atomic.h
19254 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19255 statement expression, so as to suppress "set but not used" warning.
19256 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19257
69f63097
RM
19258 * string/strncat.c (STRNCAT): Use prototype definition.
19259
675456ef
RM
19260 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19261 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19262 -Iprograms here.
19263 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19264 (localedef-modules): Add localedef.
19265 (locale-modules): Add locale.
19266
5e4287d1
RM
19267 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19268 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19269 to avoid a warning.
19270
9c96ff23
DM
192712011-08-14 David S. Miller <davem@davemloft.net>
19272
19273 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19274 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19275
f9ddf089
UD
192762011-08-13 Ulrich Drepper <drepper@gmail.com>
19277
44f0a71e 19278 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19279 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19280 * elf/rtld.c (dl_main): Set l_name of vDSO.
19281 Call _dl_show_scope when DL_DEBUG_SCOPES.
19282 (process_dl_debug): Recognize scopes flag and also set it for all.
19283 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19284 Declare _dl_show_scope.
19285
1dc27704
UD
19286 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19287 (do_dlopen): Pass caller_dlopen to dl_open.
19288 (__libc_dlopen_mode): Initialize caller_dlopen.
19289
f9ddf089
UD
19290 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19291 of libc. Make tolower call locale-independent. Optimize a bit by
19292 using isdigit instead of isalnum.
19293 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19294
9ac533d3
UD
192952011-08-12 Ulrich Drepper <drepper@gmail.com>
19296
19297 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19298 was a dependency or dynamically loaded.
19299
89edf2e9
UD
193002011-08-11 Ulrich Drepper <drepper@gmail.com>
19301
8e999d29
UD
19302 * intl/l10nflist.c: Allow architecture-specific pop function.
19303 * sysdeps/x86_64/l10nflist.c: New file.
19304
89edf2e9
UD
19305 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19306 classification.
19307
14d96785
AS
193082011-08-10 Andreas Schwab <schwab@redhat.com>
19309
19310 * include/dirent.h: Add libc_hidden_proto for scandirat and
19311 scandirat64. Don't declare __scandirat64.
19312 * dirent/scandirat.c: Add libc_hidden_def.
19313 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19314 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19315
6761ac04
DM
193162011-08-10 David S. Miller <davem@davemloft.net>
19317
19318 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19319 enum.
19320 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19321 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19322 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19323
c55fbd1e
UD
193242011-08-09 Ulrich Drepper <drepper@gmail.com>
19325
19326 * Versions.def [libc]: Add GLIBC_2.15.
19327 * dirent/Makefile (routines): Add scandirat and scandirat64.
19328 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19329 GLIBC_2.15.
19330 * dirent/dirent.h: Declare scandirat and scandirat64.
19331 * dirent/scandirat.c: New file.
19332 * dirent/scandirat64.c: New file.
19333 * sysdeps/wordsize-64/scandirat.c: New file.
19334 * sysdeps/wordsize-64/scandirat64.c: New file.
19335 * dirent/opendir.c: Define opendirat.
19336 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19337 using scandirat.
19338 * dirent/scandir64.c: Adjust for scandir.c change.
19339 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19340 __scandirat64, and __scandir_cancel_handler.
19341 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19342 additional parameter and use openat instead of open (outside of ld.so).
19343 Add new __opendir as wrapper around __opendirat.
19344 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19345 here without requiring old scandirat implementation.
19346
879165f2
UD
193472011-08-08 Ulrich Drepper <drepper@gmail.com>
19348
19349 * dirent/scandir.c (cancel_handler): Renamed to
19350 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19351 defined. Adjust users.
19352 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19354
cb7e923b
UD
193552011-08-04 Ulrich Drepper <drepper@gmail.com>
19356
16292edd
UD
19357 * string/test-string.h (IMPL): Use __STRING to expand name and then
19358 stringify it.
19359
cb7e923b
UD
19360 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19361 of cleanups.
19362
cff82933
LD
193632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19364
19365 * string/Makefile: Update.
19366 (strop-tests): Append strncat.
19367 * string/test-wcscmp.c: New file.
19368 New comprehensive test for wcscmp.
19369 * string/test-strcmp.c: Update.
19370 (WIDE): New define.
19371
9be9bfcc
AS
193722011-07-22 Andreas Schwab <schwab@redhat.com>
19373
19374 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19375 line.
19376
2e96f1c7
AS
193772011-07-26 Andreas Schwab <schwab@redhat.com>
19378
19379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19380 encoding to ACE if AI_IDN.
19381
85188888
JJ
193822011-08-01 Jakub Jelinek <jakub@redhat.com>
19383
19384 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19385 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19386
5fa16e9b
LD
193872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19388
19389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19390 Fix overflow bug in strncat.
19391 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19392
19393 * string/test-strncat.c: Update.
19394 Add new tests for checking overflow bugs.
19395
193962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19397
19398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19399 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19400 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19401 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19403 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19404 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19405 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19406 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19407
19408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19409 (USE_AS_STRCAT): Define.
19410 Add strcat and strncat support.
19411 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19412
8c1a459f
AS
194132011-07-25 Andreas Schwab <schwab@redhat.com>
19414
19415 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19416 __n bigger than INT_MAX+1.
19417 (__strncmp_g): Likewise.
19418
bba33c28
UD
194192011-07-23 Ulrich Drepper <drepper@gmail.com>
19420
798be72d
UD
19421 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19422 * libio/stido.h: Likewise.
19423
8accd4dc
UD
19424 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19425 (AF_NFC): Define.
19426 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19427 (AF_NFC): Define.
19428
cbff0d96
UD
19429 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19430 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19432 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19433 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19434
9191c04a
UD
19435 [BZ #13021]
19436 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19437 installed.
19438
bba33c28
UD
19439 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19440 typo.
19441 (_dl_x86_64_save_sse): Likewise.
19442
90f139dd
UD
194432011-07-22 Ulrich Drepper <drepper@gmail.com>
19444
1aae088a
UD
19445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19446 OSXSAVE.
19447 (_dl_x86_64_save_sse): Likewise.
19448
8e2045f5
UD
19449 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19450
90f139dd
UD
19451 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19452
1d002f25
AS
194532011-07-21 Andreas Schwab <schwab@redhat.com>
19454
19455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19456 change.
19457 (_dl_x86_64_save_sse): Use correct AVX check.
19458
21137f89
UD
194592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19460
19461 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19462 bug in strncpy/strncat.
19463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19464
a65c0b7a
UD
194652011-07-21 Ulrich Drepper <drepper@gmail.com>
19466
19467 * string/tester.c (test_strcat): Add tests for different alignments
19468 of source and destination.
19469 (test_strncat): Likewise.
19470
6986b98a
UD
194712011-07-20 Ulrich Drepper <drepper@gmail.com>
19472
90bb2039
UD
19473 [BZ #12852]
19474 * posix/glob.c (glob): Check passed in values before using them in
19475 expressions to avoid some overflows.
19476 (glob_in_dir): Likewise.
19477
5644ef54
UD
19478 [BZ #13007]
19479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19480 check for AVX enablement so that we don't crash with old kernels and
19481 new hardware.
19482 * elf/tst-audit4.c: Add same checks here.
19483 * elf/tst-audit6.c: Likewise.
19484
19485 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19486
bfc9dc9b
AS
194872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19488
19489 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19490
702e64bb
UD
194912011-07-20 Ulrich Drepper <drepper@gmail.com>
19492
19493 * po/cs.po: Update from translation team.
19494 * po/bg.po: Likewise.
19495
295e904f
MP
194962011-07-12 Marek Polacek <mpolacek@redhat.com>
19497
19498 * misc/sys/cdefs.h: Add support for const attribute.
19499 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19500 to gnu_dev_{major,minor,makedev} functions.
19501
3ff94596
MP
195022011-07-20 Marek Polacek <mpolacek@redhat.com>
19503
19504 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19505
28b59fca
AS
195062011-07-20 Andreas Schwab <schwab@redhat.com>
19507
19508 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19509 strlen results.
19510
19df733e
AK
195112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19512
19513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19514 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19515 register in order to avoid conflicts with the soft frame pointer
19516 being held in r11 when necessary.
19517 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19518 (INTERNAL_VSYSCALL_NCS): Likewise.
19519
c8835729
MP
195202011-07-14 Marek Polacek <mpolacek@redhat.com>
19521
19522 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19523 * elf/dl-fini.c (_dl_fini): Adjust caller.
19524 * elf/dl-close.c (_dl_close_worker): Likewise.
19525 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19526
b902330c
MP
195272011-07-15 Marek Polacek <mpolacek@redhat.com>
19528
8991e135
MP
19529 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19530 "aux_cache->nlibs < 0".
19531
b902330c
MP
19532 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19533 in the reload-count case.
19534
99710781
LD
195352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19536
19537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19538 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19539 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19540 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19541 * sysdeps/x86_64/multiarch/strcat.S: New file.
19542 * sysdeps/x86_64/multiarch/strncat.S: New file.
19543 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19544 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19545 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19546 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19547 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19548 (USE_AS_STRCAT): Define.
19549 Add strcat and strncat support.
19550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19552 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19553 * string/strncat.c: Update.
19554 (USE_AS_STRNCAT): Define.
19555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19556 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19557 and i7.
19558 * sysdeps/x86_64/multiarch/init-arch.h
19559 (bit_Prefer_PMINUB_for_stringop): New.
19560 (index_Prefer_PMINUB_for_stringop): Likewise.
19561 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19562 bit_Prefer_PMINUB_for_stringop.
19563
7dc6bd90
UD
195642011-07-19 Ulrich Drepper <drepper@gmail.com>
19565
19566 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19567 buffer64.
19568 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19569 of casting of buffer.
19570 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19571 buffer32 and buffer64.
19572 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19573 writes instead of casting of buffer.
19574 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19575 buffer32.
19576 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19577 casting of buffer.
19578
e0e72284
AS
195792011-07-19 Andreas Schwab <schwab@redhat.com>
19580
19581 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19582
feb1eb0b
UD
195832011-07-19 Ulrich Drepper <drepper@gmail.com>
19584
19585 * nscd/nscd.c (termination_handler): Don't do anything for a database
19586 if it has not yet been initialized.
19587
298711ff
UD
195882011-07-18 Ulrich Drepper <drepper@gmail.com>
19589
19590 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19591
195922011-07-15 Marek Polacek <mpolacek@redhat.com>
19593
19594 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19595
f9d68389
UD
195962011-07-18 Ulrich Drepper <drepper@gmail.com>
19597
19598 * po/nl.po: Update from translation team.
19599 * po/sv.po: Likewise.
19600
db290cf5
RM
196012011-07-16 Roland McGrath <roland@hack.frob.com>
19602
19603 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19604 now disallowed by GCC.
5c550700 19605
fd5e21c7
RM
19606 * configure.in (use-default-link): Default to yes if a test -shared
19607 link meets our qualifications.
19608 * configure: Regenerated.
19609
5c550700
RM
19610 * config.make.in (output-format): New variable.
19611 * configure.in: Check for ld --print-output-format support.
19612 * configure: Regenerated.
19613 * Makerules ($(common-objpfx)format.lds)
19614 [$(output-format) != unknown]: Just use $(output-format),
19615 instead of the linker-script munging.
19616
9fa2c032
RM
196172011-07-14 Roland McGrath <roland@hack.frob.com>
19618
a6928d51
RM
19619 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19620 of $(common-objpfx)shlib.lds.
19621 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19622
661607b3
RM
19623 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19624 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19625
9fa2c032
RM
19626 * configure.in (-z relro check): Adjust test code to add a large
19627 writable data section after it.
19628 * configure: Regenerated.
19629
defe9061
RM
196302011-07-11 Roland McGrath <roland@hack.frob.com>
19631
19632 * configure.in (-z relro check): Fix test code to make the variable
19633 truly const.
19634 * configure: Regenerated.
19635
319b9ad4
UD
196362011-07-11 Ulrich Drepper <drepper@gmail.com>
19637
19638 * nscd/nscd.h (struct traced_file): Define.
19639 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19640 elements. Add traced_files.
19641 (inotify_fd): Declare.
19642 (register_traced_file): Declare.
19643 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19644 (inotify_fd): Export.
19645 (resolv_conf_descr): Remove.
19646 (nscd_init): Move inotify descriptor creation to main.
19647 Don't register files for notification here.
19648 (register_traced_file): New function.
19649 (invalidate_cache): Don't use reset_res to determine whether to call
19650 res_init, go through the list of registered files.
19651 (main_loop_poll): The inotify descriptors are now stored in the
19652 structures for the traced files.
19653 (main_loop_epoll): Likewise
19654 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19655 to __nss_disable_nscd.
19656 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19657 for a database anymore. Check the records for all the registered
19658 files instead.
19659 * nss/Makefile (libnss_files-routines): Add files-init.
19660 (libnss_db-routines): Add db-init.
19661 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19662 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19663 * nss/nss_db/db-init.c: New file.
19664 * nss/nss_files/files-init.c: New file.
19665 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19666 __nss_lookup_function.
19667 (__nss_lookup_function): Call nss_load_library.
19668 (nss_load_all_libraries): New function.
19669 (__nss_disable_nscd): Take parameter with callback function for files
19670 to register. Set is_nscd. Load all the DSOs for the NSS modules
19671 used for the cached services.
19672 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19673 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19674 options for features to all the files in nscd.
19675
19676 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19677
23bee3e8
RM
196782011-07-10 Roland McGrath <roland@hack.frob.com>
19679
19680 * csu/elf-init.c (__libc_csu_init): Comment typo.
19681
46a5b7f0
UD
196822011-07-09 Ulrich Drepper <drepper@gmail.com>
19683
19684 * po/pl.po: Update from translation team.
19685 * po/ja.po: Likewise.
19686 * po/ru.po: Likewise.
19687 * po/ko.po: Likewise.
19688 * po/fr.po: Likewise.
19689
d30cf5bb
RM
196902011-07-09 Roland McGrath <roland@hack.frob.com>
19691
113ddea4
RM
19692 * configure.in (.ctors/.dtors header and trailer check):
19693 Use an empirical test on a built program.
19694 * configure: Regenerated.
19695
574920b4
RM
19696 * configure.in (-z relro check): Use an empirical test on a built DSO.
19697 Detect, but do not require, on ia64.
19698 * configure: Regenerated.
19699
d30cf5bb
RM
19700 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19701 Update tests that use readelf to use $READELF instead.
19702 * configure: Regenerated.
19703
8538fdb3
UD
197042011-07-08 Ulrich Drepper <drepper@gmail.com>
19705
19706 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19707 if the result is not used.
19708
04d08991
AJ
197092011-07-05 Andreas Jaeger <aj@suse.de>
19710
19711 [BZ#9696]
19712 * stdlib/tst-strtod.c: Add testcase.
19713
de283087
AD
197142011-07-07 Ulrich Drepper <drepper@gmail.com>
19715
4e5f31c8 19716 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19717 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19718 The latter has a higher limit. Take additional parameter to pass to
19719 the new function.
19720 (__pathconf): Pass file to __statfs_link_max.
19721 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19722 __statfs_link_max.
19723 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19724 __statfs_link_max.
19725
de283087
AD
19726 [BZ #12868]
19727 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19729 Handle Lustre.
19730 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19731 (__statfs_filesize_max): Likewise.
19732 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19733
c75fa153
AJ
197342011-07-05 Andreas Jaeger <aj@suse.de>
19735
19736 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19737
1a544854
UD
197382011-07-06 Marek Polacek <mpolacek@redhat.com>
19739
19740 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19741 `status' variable.
19742 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19743 Likewise.
19744
6f0eec67
UD
197452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19746
19747 * Makefile (strop-tests): Add strncat.
19748 * string/test-strncat.c: New file.
19749
aae30307
UD
197502011-06-30 Marek Polacek <mpolacek@redhat.com>
19751
19752 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19753
c0cfb5eb
UD
197542011-06-21 Andreas Jaeger <aj@suse.de>
19755
19756 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19757 Copy rule from iconvdata/Makefile.
19758
01636b21
UD
197592011-07-06 Ulrich Drepper <drepper@gmail.com>
19760
19761 [BZ #12922]
19762 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19763 but no long options are defined, just return 'W'.
19764
9895c8bc
UD
197652011-06-22 Marek Polacek <mpolacek@redhat.com>
19766
19767 [BZ #9696]
19768 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19769
5d4cf042
UD
197702011-07-06 Ulrich Drepper <drepper@gmail.com>
19771
19772 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19773 netgroups to read.
960e5535 19774 (innetgr): Likewise.
5d4cf042 19775
751eb97e
RM
197762011-07-05 Roland McGrath <roland@hack.frob.com>
19777
19778 * config.make.in (install_root): Default to $(DESTDIR).
19779
f15f1e45
UD
197802011-07-05 Ulrich Drepper <drepper@gmail.com>
19781
19782 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19783
4e34ac6a
RM
197842011-07-02 Roland McGrath <roland@hack.frob.com>
19785
5e9b6af4
RM
19786 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19787
84f9ea0f
RM
19788 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19789 containing directory rather than embedding absolute directory names.
19790
ea5ee9f7
RM
19791 * scripts/check-local-headers.sh: Rewritten using awk.
19792 Match by word, not by line. Print error messages for matches.
19793 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19794
1b74661a
RM
19795 * Makerules [shlib-lds-flags empty]:
19796 ($(common-objpfx)libc_pic.opts): New target.
19797 ($(common-objpfx)libc_pic.os.clean): New target.
19798 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19799
19800 * config.make.in (OBJCOPY): New variable.
19801 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19802 * configure: Regenerated.
19803
f781ef40
RM
19804 * config.make.in (use-default-link): New variable.
19805 * configure.in (use_default_link): Grok --with-default-link to set it.
19806 * configure: Regenerated.
19807 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19808 (shlib-lds, shlib-lds-flags): Define to empty.
19809
2d4fa81e
RM
19810 * Makerules (shlib-lds): New variable.
19811 (shlib-lds-flags): New variable.
19812 (build-shlib, build-moduile, build-module-asneeded): Use it.
19813 ($(common-objpfx)libc.so): Use $(shlib-lds).
19814 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19815 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19816
31fffa6b
RM
19817 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19818 DT_FLAGS/DT_FLAGS_1 with zero flags.
19819
4e34ac6a
RM
19820 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19821 linker script munging.
19822
fcfc776b
UD
198232011-07-02 Ulrich Drepper <drepper@gmail.com>
19824
19825 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19826 as 128-bit value.
19827 * crypt/sha512.c (sha512_process_block): Perform total addition using
19828 128-bit if possible.
19829 (__sha512_finish_ctx): Likewise.
19830 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19831 as 64-bit value.
19832 * crypt/sha256.c (SWAP64): Define.
19833 (sha256_process_block): Perform total addition using 64-bit if
19834 possible.
19835 (__sha256_finish_ctx): Likewise.
19836
99231d9a
UD
198372011-07-01 Ulrich Drepper <drepper@gmail.com>
19838
19839 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19841 * nscd/hstcache.c (cache_addhst): Likewise.
19842 * nscd/grpcache.c (cache_addgr): Likewise.
19843 * nscd/aicache.c (addhstaiX): Likewise
19844 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19845
445b4a53
TK
198462011-07-01 Thorsten Kukuk <kukuk@suse.de>
19847
19848 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19849 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19850 * nscd/hstcache.c (cache_addhst): Likewise.
19851 * nscd/grpcache.c (cache_addgr): Likewise.
19852 * nscd/aicache.c (addhstaiX): Likewise
19853
6d4d8e8e
AS
198542011-07-01 Andreas Schwab <schwab@redhat.com>
19855
19856 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19857 domain only when needed.
19858
89f654c5
AS
198592011-06-30 Andreas Schwab <schwab@redhat.com>
19860
19861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19862 is always restored.
19863
cf3b23ff
UD
198642011-06-29 Ulrich Drepper <drepper@gmail.com>
19865
19866 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19867 are re-adding the entry.
19868 * nscd/servicescache.c (cache_addserv): Likewise.
19869
751626f9
AJ
198702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19871
19872 * sysdeps/generic/dl-irel.h: fix protection against multiple
19873 inclusions.
19874 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19875
9113ea1f
UD
198762011-06-28 Ulrich Drepper <drepper@gmail.com>
19877
5c0b8d90
UD
19878 [BZ #12935]
19879 * malloc/memusage.sh: Fix quoting in message.
19880 * debug/xtrace.sh: Likewise.
19881
9113ea1f
UD
19882 * configure.in: Remove support for --experimental-malloc option, make
19883 it the default.
19884 * config.make.in: Likewise.
19885 * malloc/Makefile: Likewise.
19886
a4172181
AS
198872011-06-27 Andreas Schwab <schwab@redhat.com>
19888
19889 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19890 two-byte characters.
19891
78a7eee7
RM
198922011-06-27 Roland McGrath <roland@hack.frob.com>
19893
62bede13
RM
19894 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19895 AC_CACHE_CHECK invocation.
19896 * configure: Regenerated.
19897
78a7eee7
RM
19898 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19899
5ce33a62
UD
199002011-06-27 Ulrich Drepper <drepper@gmail.com>
19901
034807a9
UD
19902 [BZ #12350]
19903 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19904 bit from old_res_options.
19905
4902da17
UD
19906 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19907
5ce33a62
UD
19908 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19909 value type for setfct.
19910
c2344f56
L
199112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19912
19913 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19914 __gettimeofday instead of gettimeofday.
19915
68468076
UD
199162011-06-26 Ulrich Drepper <drepper@gmail.com>
19917
19918 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19919
acb0d739
L
199202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19921
19922 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19923
19924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19925 info.
19926
8912479f
L
199272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19928
19929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19930 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19931 strcpy-sse2-unaligned strncpy-sse2-unaligned
19932 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19933 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19934 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19935 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19936 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19937 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19938 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19939 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19940 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19941 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19942 (STRCPY): Support SSE2 and SSSE3 versions.
19943
d5495a11
UD
199442011-06-24 Ulrich Drepper <drepper@gmail.com>
19945
19946 [BZ #12874]
19947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19948 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19949 kernels which artificially limit size of requests.
19950
0b1cbaae
L
199512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19952
19953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19954 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19955 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19956 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19957 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19958 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19959 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19960 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19961 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19962 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19963 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19964 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19965 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19966 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19967 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19969 Enable unaligned load optimization for Intel Core i3, i5 and i7
19970 processors.
19971 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19972 Define.
19973 (index_Fast_Unaligned_Load): Define.
19974 (HAS_FAST_UNALIGNED_LOAD): Define.
19975
07f494a0
MP
199762011-06-23 Marek Polacek <mpolacek@redhat.com>
19977
19978 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19979
fa3fc0fe
UD
199802011-06-22 Ulrich Drepper <drepper@gmail.com>
19981
19982 [BZ #12907]
19983 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19984 until it is clear that the information is realy needed.
19985 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19986
e12df166
AS
199872011-06-22 Andreas Schwab <schwab@redhat.com>
19988
19989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19990
852eb34d
UD
199912011-06-22 Ulrich Drepper <drepper@gmail.com>
19992
84e2a551
UD
19993 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19994 /sys/devices/system/cpu/online if it is usable.
19995
852eb34d
UD
19996 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19997 reading the information from the /proc filesystem to once a second.
19998
6e502e19
UD
199992011-06-21 Andreas Jaeger <aj@suse.de>
20000
20001 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20002 NULL after inclusion of kernel headers.
20003
75d39ff2
UD
200042011-06-21 Ulrich Drepper <drepper@gmail.com>
20005
51f9aa6a
UD
20006 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20007 calls to internal_setent.
20008
c0244a9d
UD
20009 [BZ #12885]
20010 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20011 addresses using gethostbyname4_r ignore IPv4 addresses.
20012
c5e3c2ae
UD
20013 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20014 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20015
75d39ff2
UD
20016 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20017
42675c6f
DM
200182011-06-20 David S. Miller <davem@davemloft.net>
20019
20020 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20021 inclusions.
20022 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20023
20024 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20025 (elf_irel): Use it.
20026 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20027 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20028 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20029 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20030 * sysdeps/x86_64/dl-irel.h: Likewise.
20031
20032 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20033 * elf/dl-sym.c: Likewise.
20034
57912a71
UD
200352011-06-15 Ulrich Drepper <drepper@gmail.com>
20036
20037 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20038 need to dereference resplen2.
20039
ee22793d
AS
200402011-06-14 Andreas Schwab <schwab@redhat.com>
20041
20042 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20043
a9e836b0
UD
200442011-06-15 Ulrich Drepper <drepper@gmail.com>
20045
77fb9117
UD
20046 * Makeconfig: Define vardbdir and inst_vardbdir.
20047 * nss/Makefile: Add rules to install db-Makefile.
20048
40c1b22c
UD
20049 * nss/nss_db/db-XXX.c: Cleanup.
20050
9f2da732
UD
20051 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20052 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20053 GLIBC_PRIVATE.
20054 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20055 * nss/makedb.c: Implement -g option to specify that value strings
20056 are generated and should not be added to table iterated over for
20057 get*ent calls.
20058 * nss/nss_db/db-initgroups.c: New file.
20059
82e9a1f7
UD
20060 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20061 interface.
20062
c41af17e
UD
20063 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20064 (internal_getgrouplist): Adjust to name change.
20065 Update use_initgroups_entry if this is not the first call.
20066 * nss/databases.def: Add initgroups entry.
20067
a9e836b0
UD
20068 * nss/makedb.c (compute_tables): Check result of multiple hash table
20069 sizes to minimize maximum chain length.
20070
2666d441
UD
200712011-06-14 Ulrich Drepper <drepper@gmail.com>
20072
20073 * Versions.def: Add entry for libnss_db.
20074 * shlib-versions: Likewise.
20075 * nss/Makefile: Add rules to build libnss_db.
20076 * nss/Versions: Add libnss_db information. Organize libnss_files
20077 entries better.
20078 * nss/db-Makefile: Add gshadow support. Change rules for the new
20079 makedb progra. Some minor improvements to generate smaller files.
20080 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20081 here from...
20082 * nss/makedb.c: ...here.
20083 Improve database format to be smaller and require less memory at
20084 runtime.
20085 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20086 db anymore.
20087 * nss/nss_db/db-netgrp.c: Likewise.
20088 * nss/nss_db/db-open.c: Likewise.
20089 * nss/nss_files/flies-XXX.x: Adjust comments.
20090 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20091 * nss/nss_files/files-grp.c: Likewise.
20092 * nss/nss_files/files-hosts.c: Likewise.
20093 * nss/nss_files/files-network.c: Likewise.
20094 * nss/nss_files/files-proto.c: Likewise.
20095 * nss/nss_files/files-pwd.c: Likewise.
20096 * nss/nss_files/files-rpc.c: Likewise.
20097 * nss/nss_files/files-service.c: Likewise.
20098 * nss/nss_files/files-sgrp.c: Likewise.
20099 * nss/nss_files/files-spwd.c: Likewise.
20100 * nss/nss_db/db-alias.c: Removed.
20101 * nss/nss_db/dummy-db.h: Removed.
20102
9ee76b5a
UD
201032011-06-02 Ulrich Drepper <drepper@gmail.com>
20104
20105 * nss/makedb.c: Rewritten to not use database library.
20106 * nss/Makefile: Update to build new makedb program.
20107
c71ca1f8
AJ
201082011-06-14 Andreas Jaeger <aj@suse.de>
20109
20110 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20111 memset declaration.
20112
3154bfb8
UD
201132011-06-10 Andreas Schwab <schwab@redhat.com>
20114
20115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20116 tmpbuf.
20117
b350afab
RM
201182011-06-10 Roland McGrath <roland@hack.frob.com>
20119
decd4e50
RM
20120 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20121 * elf/Makefile ($(objpfx)ld.so): Likewise.
20122
5615eaf2
RM
20123 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20124 Don't list ld.so twice in dependencies.
20125
20126 * posix/bug-regex31.c: Include <stdlib.h>.
20127
20128 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20129
20130 * nis/nss_compat/compat-spwd.c
20131 (getspent_next_nss_netgr): Remove unused variable.
20132 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20133
20134 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20135 nonmembers" output to use the right array.
20136
20137 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20138
20139 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20140
20141 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20142 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20143 * catgets/gencat.c (read_input_file): Likewise.
20144 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20145
20146 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20147 variable definition inside #if's controlling its use.
20148
20149 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20150
20151 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20152
20153 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20154
20155 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20156 unreachable code.
20157
20158 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20159
b68e08db
RM
20160 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20161 * configure: Regenerated.
20162
b350afab
RM
20163 * Makerules: Revert last change.
20164 * elf/Makefile: Likewise.
20165
28368601
RM
201662011-06-09 Roland McGrath <roland@hack.frob.com>
20167
20168 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20169 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20170 (reloc-link): Likewise.
20171
11988f8f
UD
201722011-06-09 Ulrich Drepper <drepper@gmail.com>
20173
20174 * elf/Makefile: Add rules to build pldd.
20175 * elf/pldd.c: New file.
20176 * elf/pldd-xx.c: New file.
20177
e80fab37
UD
201782011-06-07 Ulrich Drepper <drepper@gmail.com>
20179
20180 * version.h: Update for 2.15 development version.
20181
9b849836
DM
201822011-06-07 David S. Miller <davem@davemloft.net>
20183
20184 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20185 ifuncs.
20186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20187 elf_machine_lazy_rel): Likewise.
20188 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20190 elf_machine_lazy_rel): Likewise.
20191 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20192 dl_hwcap via passed in argument.
20193 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20194 Likewise.
20195
5a31b283
AK
201962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20197
20198 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20199
069e52f8
RM
202002011-06-06 Roland McGrath <roland@hack.frob.com>
20201
20202 [BZ #12849]
20203 * manual/fdl-1.1.texi: New file, verbatim from:
20204 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20205 * manual/lgpl-2.1.texi: New file, verbatim from:
20206 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20207 * manual/Makefile (licenses): New variable, list those new file names.
20208 (texis): Use it.
20209 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20210
20211 * manual/fdl.texi: File removed.
20212 * manual/lesser.texi: File removed.
20213 * manual/libc.texinfo (Copying, Documentation License):
20214 Use new @include file names, put @appendix directive before @include.
20215
f16846a5
JJ
202162011-06-04 Jakub Jelinek <jakub@redhat.com>
20217
20218 [BZ #12841]
20219 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20220 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20221 (mq_open): Add __NTH.
20222
3d29045b
L
202232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20224
20225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20226 Assume Intel Core i3/i5/i7 processor if AVX is available.
20227
8c297311
UD
202282011-05-31 Ulrich Drepper <drepper@gmail.com>
20229
20230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20231 typo.
20232
c8fc0c91
UD
202332011-05-31 Andreas Schwab <schwab@redhat.com>
20234
20235 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20236 memory. Use alloca_account. Fix memory leak when retrying.
20237
5b27a807
UD
202382011-05-31 Ulrich Drepper <drepper@gmail.com>
20239
356f8bc6
UD
20240 * version.h (RELEASE): Bump for 2.14 release.
20241 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20242
5b27a807
UD
20243 * config.make.in (RANLIB): Remove entry.
20244
01f16ab0
UD
202452011-05-30 Ulrich Drepper <drepper@gmail.com>
20246
41fce8bd
UD
20247 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20248 (libc.pot): Work around missing support for .ksh extension in xgettext.
20249
4769ae77
UD
20250 [BZ #12684]
20251 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20252 if both request failed.
20253 (send_dg): In case of server errors clear resplen or *resplen2.
20254
6b1e7d19
UD
20255 [BZ #12454]
20256 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20257 when there are multiple maps.
20258 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20259 (_dl_fini): Remove test here.
20260
01f16ab0
UD
20261 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20262
b1ebd700
UD
202632011-05-29 Ulrich Drepper <drepper@gmail.com>
20264
7ae22829
UD
20265 [BZ #12350]
20266 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20267 bit from old_res_options.
20268 (gaih_inet): Likewise.
20269
553149f6 20270 [BZ #11099]
18a84741 20271 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20272 as signed.
20273
652ffab1
UD
20274 * resolv/res_init.c (res_setoptions): Make the code more compact.
20275
16985fd0
UD
20276 [BZ #11558]
20277 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20278 set RES_USEVC.
20279
0464f746
UD
20280 [BZ #11634]
20281 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20282
7d17596c
UD
20283 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20284
cf6bbbd7
UD
20285 [BZ #11781]
20286 * malloc/malloc.h: Declare malloc hook variables as volatile.
20287
13f1ab36
UD
20288 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20289 in last patch.
20290
b1ebd700
UD
20291 [BZ #11799]
20292 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20293 raise in the comment.
80e2212d
UD
20294 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20295 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20296 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20297
ce67228d
UD
202982011-05-28 Ulrich Drepper <drepper@gmail.com>
20299
8887a920
UD
20300 [BZ #12811]
20301 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20302 grow the buffers more if it already has to be sufficient.
20303 (build_wcs_upper_buffer): Likewise.
20304 * posix/regexec.c (check_matching): Likewise.
20305 (clean_state_log_if_needed): Likewise.
20306 (extend_buffers): Don't enlarge buffers beyond size of the input
20307 buffer.
20308 Patches mostly by Emil Wojak <emil@wojak.eu>.
20309 * posix/bug-regex32.c: New file.
20310 * posix/Makefile (tests): Add bug-regex32.
20311
4f031072
UD
20312 * locale/findlocale.c (_nl_find_locale): Return right away if
20313 _nl_explode_name failed.
20314 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20315
d0478f0c
UD
20316 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20317
de81b246
UD
20318 * debug/xtrace.sh: Unify messages.
20319 * malloc/memusage.sh: Likewise.
20320
c738465a
UD
20321 [BZ #12813]
20322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20323 time symbol from vDSO. Substitute with vsyscall if not available.
20324 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20325 __vdso_time.
20326
f1f929d7
UD
20327 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20328 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20329 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20330 Add sendmmsg and internal_sendmmsg.
20331 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20332 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20333 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20334
ce67228d
UD
20335 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20336 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20337 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20338
e57420c6
UD
203392011-05-27 Ulrich Drepper <drepper@gmail.com>
20340
a8509ca5
UD
20341 [BZ #12813]
20342 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20343 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20344 available.
20345 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20346 __vdso_getcpu.
20347
e57420c6
UD
20348 [BZ #12814]
20349 * iconvdata/Makefile (tests): Add bug-iconv9.
20350 * iconvdata/bug-iconv9.c: New file.
20351
4d07db15
AS
203522011-05-27 Andreas Schwab <schwab@redhat.com>
20353
20354 [BZ #12814]
20355 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20356
ea486f69
JJ
203572011-05-25 Jakub Jelinek <jakub@redhat.com>
20358
20359 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20360 (struct user_regs_struct): Change intcs field back to cs.
20361
6f038433
UD
203622011-05-25 Ulrich Drepper <drepper@gmail.com>
20363
20364 * po/ja.po: Update from translation team.
20365
67f86a25
UD
203662011-05-23 Ulrich Drepper <drepper@gmail.com>
20367
20368 [BZ #12795]
20369 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20370 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20371
def7fbd6
AS
203722011-05-20 Andreas Schwab <schwab@redhat.com>
20373
20374 * stdlib/longlong.h: Update from GCC.
20375
f50ef8f1
AS
203762011-05-23 Andreas Schwab <schwab@redhat.com>
20377
20378 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20379 parameter name.
20380 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20381 Add parameter name.
20382 (__sysconf): Pass it down.
20383
de7ce8f1
UD
203842011-05-22 Ulrich Drepper <drepper@gmail.com>
20385
f2962a71
UD
20386 [BZ #12671]
20387 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20388 some situations.
20389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20390 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20391 add in in __libc_use_alloca calls. Adjust callers.
20392 (glob): Use malloc in some situations.
20393
de7ce8f1
UD
20394 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20395 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20396 pltexit.
20397
aec84f53
UD
203982011-05-21 Ulrich Drepper <drepper@gmail.com>
20399
05bb4a68
UD
20400 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20401 and CLOCK_BOOTTIME_ALARM.
20402
7ea72f99
UD
20403 [BZ #12782]
20404 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20405 is returned.
20406
7e4afad5
UD
20407 * string/_strerror.c (__strerror_r): Print negative errors as signed
20408 numbers.
20409
8e211fec
UD
20410 [BZ #12777]
20411 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20412 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20413 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20414
f7d82dc9
UD
20415 * configure.in: Fix typo in redirection and correct removal of test
20416 files in two cases.
20417
cc9e536d
UD
20418 [BZ #12788]
20419 * locale/setlocale.c (new_composite_name): Fix test to check for
20420 identical name of all categories.
20421
aec84f53
UD
20422 [BZ #12792]
20423 * libio/filedoalloc.c (local_isatty): New function.
20424 (_IO_file_doallocate): Use local_isatty.
20425 * stdio-common/perror.c (perror): In case a new stream is used
20426 forward the stream error.
20427 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20428 error flag.
20429
78e64fdc
RT
204302011-05-20 Ulrich Drepper <drepper@gmail.com>
20431
34a9094f
UD
20432 [BZ #11869]
20433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20434 alloca.
20435 * include/alloca.h (extend_alloca_account): Define.
20436
78e64fdc
RT
20437 [BZ #11857]
20438 * posix/regex.h: Fix comments with documentation of user-accessible
20439 fields after compilation and describe correct free'ing of pattern
20440 after re_compile_pattern.
20441 Patch by Reuben Thomas <rrt@sc3d.org>.
20442
457bddfc
RA
204432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20444
20445 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20446 and -mno-altivec to prevent the compiler from using Altivec and/or
20447 VSX instructions when the corresponding registers are not available.
20448
a4527b51
AS
204492011-05-19 Andreas Schwab <schwab@redhat.com>
20450
20451 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20452
ed690b2f
UD
204532011-05-19 Ulrich Drepper <drepper@gmail.com>
20454
20455 * libio/freopen.c (freopen): Use __dup2, not dup2.
20456 * libio/freopen64.c (freopen64): Likewise.
20457
8db73634
L
204582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20459
20460 [BZ #12775]
20461 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20462 * math/Makefile (tests): Add test-powl.
20463 (CFLAGS-test-powl.c): Define.
20464 * math/test-powl.c: New file.
20465
0a197a9d
L
204662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20467
20468 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20469
ee30c380
UD
204702011-05-17 Ulrich Drepper <drepper@gmail.com>
20471
20472 [BZ #11837]
20473 * iconvdata/gb18030.c: Update to GB18020-2005.
20474
6ce75379
UD
204752011-05-16 Ulrich Drepper <drepper@gmail.com>
20476
a4b89fd8
AR
20477 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20478 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20479 Patch by Aharon Robbins <arnold@skeeve.com>.
20480
ea389b12
UD
20481 [BZ #11892]
20482 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20483 on the stack.
20484
68a3f91f
UD
20485 [BZ #11895]
20486 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20487 through underflows.
20488
15cc7dd1
UD
20489 [BZ #12766]
20490 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20491 point to strings before performing equality test for error_one_per_line
20492 mode.
20493
f3799213
UD
20494 [BZ #11697]
20495 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20496
d79a9c94
UD
20497 [BZ #11820]
20498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20499 (struct user_fpregs_struct): Avoid __uint*_t types.
20500
56e5eb46
UD
20501 [BZ #6420]
20502 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20503 symbol info. Use it instead of calling _dl_addr locally.
20504 (lock_and_info): New function.
20505 (tr_freehook): Call lock_and_info and pass symbol info as additional
20506 parameter to tr_where.
20507 (tr_mallochook): Likewise.
20508 (tr_reallochook): Likewise.
20509 (tr_memalignhook): Likewise.
20510
6ce75379
UD
20511 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20512 used and couldn't be at all thread-safe.
20513
f8a3b5bf
UD
205142011-05-15 Ulrich Drepper <drepper@gmail.com>
20515
94b7cc37
UD
20516 * libio/freopen.c (freopen): Don't close old file descriptor
20517 before the new one is opened. Instead dup the new file descriptor
20518 to the old one after the new stream is created.
20519 * libio/freopen64.c (freopen64): Likewise.
20520 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20521 * libio/fileops.c (_IO_new_file_close_it): Handle new
20522 _IO_FLAGS2_NOCLOSE flag.
20523 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20524 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20525 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20526 _IO_FLAGS2_NOCLOSE flag.
20527 * include/unistd.h: Add hidden_proto for dup3.
20528 Define __have_dup3.
20529 * io/dup3.c: Define hidden symbol.
20530 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20531
bd25564e
UD
20532 [BZ #7101]
20533 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20534 when an incomplete long option is used.
20535 * posix/tst-getopt_long1.c: New file.
20536 * posix/Makefile (tests): Add tst-getopt_long1.
20537
c84cfef4
UD
20538 [BZ #10138]
20539 * scripts/config.guess: Update from autoconf-2.68.
20540 * scripts/config.sub: Likewise.
20541
3b85df27
UD
20542 [BZ #10157]
20543 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20544 tests into ...
20545 (has_cpuclock): ...this. New function.
20546 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20547 macro here based on has_cpuclock code.
20548
15a856b1
UD
20549 [BZ #10149]
20550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20551 First byte (not low byte) is now always NUL.
20552 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20553
05f399e6
UD
20554 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20555 Use non-cancelable interfaces.
20556
10a52685 20557 [BZ #9809]
94ecc67d
UD
20558 * locale/iso-639.def: Add entry for Sorani.
20559
f8a3b5bf
UD
20560 [BZ #11901]
20561 * include/stdlib.h: Move include protection to the right place.
20562 Define abort_msg_s. Declare __abort_msg with it.
20563 * stdlib/abort.c (__abort_msg): Adjust type.
20564 * assert/assert.c (__assert_fail_base): New function. Majority
20565 of code from __assert_fail. Allocate memory for __abort_msg with
20566 mmap.
20567 (__assert_fail): Now call __assert_fail_base.
20568 * assert/assert-perr.c: Remove bulk of implementation. Use
20569 __assert_fail_base.
20570 * include/assert.hL Declare __assert_fail_base.
20571 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20572 mmap.
20573 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20574
1af4e298
UD
205752011-05-14 Ulrich Drepper <drepper@gmail.com>
20576
f8a3b5bf 20577 [BZ #11952]
d26dfc60
MG
20578 [BZ #12453]
20579 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20580 until all modules are registered in the DTV.
20581 * elf/Makefile: Add rules to build and run tst-tls19.
20582 * elf/tst-tls19.c: New file.
20583 * elf/tst-tls19mod1.c: New file.
20584 * elf/tst-tls19mod2.c: New file.
20585 * elf/tst-tls19mod3.c: New file.
20586 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20587
2fc54d6f
UD
20588 [BZ #12083]
20589 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20590 correctly.
20591
98d76b46
UD
20592 [BZ #12601]
20593 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20594 two-byte sequence errors.
20595 * iconvdata/Makefile (tests): Add bug-iconv8.
20596 * iconvdata/bug-iconv8.c: New file.
20597
da3c19ef
UD
20598 [BZ #12626]
20599 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20600 buf2 definition.
20601
ca408c15
UD
20602 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20603
d6f67f7d
UD
20604 [BZ #12432]
20605 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20606 (dummy_getcfa): New function.
20607 (init): Get _Unwind_GetCFA address, use dummy if not found.
20608 (backtrace_helper): In recursion check, also check whether CFA changes.
20609 (__backtrace): Completely initialize arg.
20610
1af4e298 20611 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20612 storing incomplete byte sequence in state object. Avoid testing for
20613 guaranteed too small input if we know there is enough data available.
1af4e298 20614
da62f81b
AS
206152011-05-11 Andreas Schwab <schwab@redhat.com>
20616
20617 * Makeconfig (+link-pie): Indent.
20618 * Rules (binaries-pie): Define if $(have-fpie) and
20619 $(build-shared).
20620 (binaries-shared): Also filter out $(binaries-pie).
20621 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20622 * nscd/Makefile (others-pie): Add nscd.
20623 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20624 ($(objpfx)nscd): Remove command override.
20625 * login/Makefile (others-pie): Add pt_chown.
20626 ($(objpfx)pt_chown): Remove command override.
20627 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20628 remove command overrides.
20629
fcabc0f8
UD
206302011-05-13 Ulrich Drepper <drepper@gmail.com>
20631
20030ae6
UD
20632 * libio/tst_putwc.c: Fix error messages.
20633
fcabc0f8
UD
20634 [BZ #12724]
20635 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20636 currently writing and seek to current position when not.
20637 * libio/Makefile (tests): Add bug-fclose1.
20638 * libio/bug-fclose1.c: New file.
20639
320a5dc0
PB
206402011-05-12 Ulrich Drepper <drepper@gmail.com>
20641
20642 [BZ #12511]
20643 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20644 don't set DF_1_NODELETE here.
20645 (do_lookup_x): When entering new entry test for copy relocation
20646 and if necessary set DF_1_NODELETE flag.
20647 * elf/tst-unique4.cc: New file.
20648 * elf/tst-unique4.h: New file.
20649 * elf/tst-unique4lib.cc: New file.
20650 * elf/Makefile: Add rules to build and run tst-unique4.
20651 Patch by Piotr Bury <pbury@goahead.com>.
20652
22836f52
UD
206532011-05-11 Ulrich Drepper <drepper@gmail.com>
20654
f574184a
UD
20655 [BZ #12052]
20656 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20657
e1fb097f
UD
20658 [BZ #12625]
20659 * misc/mntent_r.c (addmntent): Flush the stream after the output
20660
22836f52
UD
20661 [BZ #12393]
20662 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20663 (is_trusted_path_normalize): Skip initial colon. Append slash
20664 to empty buffer. Duplicate is_trusted_path code but allow
20665 constructed patch to be prefix.
20666 (is_dst): Allow $ORIGIN followed by /.
20667 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20668 Correct testing of result of is_trusted_path_normalize
20669 (decompose_rpath): Fix warning.
20670
7b3b0b2a
UD
206712011-05-10 Ulrich Drepper <drepper@gmail.com>
20672
20673 [BZ #11257]
20674 * grp/initgroups.c (internal_getgrouplist): When we found the service
20675 list through the initgroups entry in nsswitch.conf do not always
20676 continue on a successful lookup. Don't always use the
eac80ce2 20677 __nss_group_database value if it is set.
7b3b0b2a
UD
20678 * nss/nsswitch.conf (initgroups): Change action for successful db
20679 lookup to continue for compatibility.
20680
2a81eaa5
UD
206812011-05-09 Ulrich Drepper <drepper@gmail.com>
20682
be97a69e
UD
20683 [BZ #11532]
20684 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20685 and CP774 modules.
20686 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20687 and CP774 modules.
20688 * iconvdata/tst-tables.sh: Likewise.
20689 * iconvdata/cp770.c: New file.
20690 * iconvdata/cp771.c: New file.
20691 * iconvdata/cp772.c: New file.
20692 * iconvdata/cp773.c: New file.
20693 * iconvdata/cp774.c: New file.
20694 * iconvdata/testdata/CP770: New file.
20695 * iconvdata/testdata/CP770..UTF8: New file.
20696 * iconvdata/testdata/CP771: New file.
20697 * iconvdata/testdata/CP771..UTF8: New file.
20698 * iconvdata/testdata/CP772: New file.
20699 * iconvdata/testdata/CP772..UTF8: New file.
20700 * iconvdata/testdata/CP773: New file.
20701 * iconvdata/testdata/CP773..UTF8: New file.
20702 * iconvdata/testdata/CP774: New file.
20703 * iconvdata/testdata/CP774..UTF8: New file.
20704
20705 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20706 END CHARMAP line.
20707 * iconvdata/gen-8bit-gap.sh: Likewise.
20708 * iconvdata/gen-8bit.sh: Likewise.
20709
c1e9e399
UD
20710 * locale/iso-639.def: Add ary entry.
20711
24c55fb3 20712 [BZ #11258]
96b4b1b0
UD
20713 * locale/C-translit.h.in: Add U20A1 transliteration.
20714
bdc2f971
KB
20715 [BZ #12178]
20716 * locale/iso-639.def: Add wae entry.
20717 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20718
2952b117
UD
20719 [BZ #12545]
20720 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20721 for n.
20722
2a81eaa5
UD
20723 [BZ #12711]
20724 * locale/C-translit.h.in: Add entry for U20B9.
20725 Patch by pravin.d.s@gmail.com.
20726
28377d1b
UD
207272011-05-08 Ulrich Drepper <drepper@gmail.com>
20728
7fb90fb8
UD
20729 [BZ #12713]
20730 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20731 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20732 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20733 in rtld. Use *stat64.
7fb90fb8 20734 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20735 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20736 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20737 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20738 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20739 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20740 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20741 __fstatat64 macros.
7fb90fb8
UD
20742 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20743 * dirent/rewinddir.c: Add libc_hidden_def.
20744 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20745 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20746
28377d1b
UD
20747 * include/dirent.h (__alloc_dir): Add flags parameter.
20748 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20749 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20750 __alloc_dir.
20751 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20752 from fdopendir if O_CLOEXEC is already set.
20753
66bdbaa4
AM
207542011-03-15 Alan Modra <amodra@gmail.com>
20755
20756 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20757 l_tls_firstbyte_offset non-zero. Save padding offset in
20758 l_tls_firstbyte_offset for later use.
20759 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20760 freeing static tls block.
20761
95721191
JN
207622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20763
20764 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20765 where #ifdef was intended. The intent is to prevent ARG_MAX from
20766 being defined by the kernel headers.
20767
f87dfb1f
UD
207682011-05-07 Ulrich Drepper <drepper@gmail.com>
20769
20770 [BZ #12734]
20771 * resolv/resolv.h: Define RES_NOTLDQUERY.
20772 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20773 no-tld-query and set RES_NOTLDQUERY.
20774 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20775 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20776 modern BIND to search name as TLD unless forbidden.
20777
47c3cd7a
UD
207782011-05-07 Petr Baudis <pasky@suse.cz>
20779 Ulrich Drepper <drepper@gmail.com>
20780
20781 [BZ #12393]
20782 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20783 (is_trusted_path): ...to here.
c1e9ea35 20784 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20785 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20786 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20787
8a35c912
PP
207882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20789
20790 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20791 __BEGIN/__END_DECLS.
20792
acd41f47
UD
207932011-05-06 Ulrich Drepper <drepper@gmail.com>
20794
20795 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20796 NSS_STATUS_NOTFOUND if no record was found.
20797
597df647
AS
207982011-05-05 Andreas Schwab <schwab@redhat.com>
20799
20800 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20801 (headers-not-in-tirpc): Remove rpc/netdb.h
20802 * resolv/netdb.h: Revert last change.
20803
b9af1301
PP
208042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20805
20806 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20807 circular dependency between libgcc.a and libc.a.
20808
4e34d5f5
AS
208092011-05-05 Andreas Schwab <schwab@redhat.com>
20810
20811 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20812 * nis/Makefile: Don't install rpcsvc/*.
20813 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20814 instead of <rpc/types.h>.
20815 (MAXHOSTNAMELEN): Define.
20816
00ee369c
AS
208172011-05-03 Andreas Schwab <schwab@redhat.com>
20818
20819 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20820
0b592a30
MB
208212011-04-28 Maciej Babinski <mbabinski@google.com>
20822
20823 [BZ #12714]
20824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20825 gethostbyname4_r when IPv6 results are possible.
20826
6e04cbbe
UD
208272011-05-02 Ulrich Drepper <drepper@gmail.com>
20828
20829 [BZ #12723]
20830 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20831 _PC_PIPE_BUF handling.
20832
e4ecafe0
BH
208332011-04-30 Bruno Haible <bruno@clisp.org>
20834
20835 [BZ #12717]
20836 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20837 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20838 to 'int'.
20839 * inet/getnameinfo.c (getnameinfo): Likewise.
20840
125ee683
UD
208412011-04-29 Ulrich Drepper <drepper@gmail.com>
20842
20843 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20844 to groups setting in database lookup.
20845 * nss/nsswitch.conf: Add initgroups entry.
20846
b722481a
EB
208472011-04-22 Ulrich Drepper <drepper@gmail.com>
20848
20849 [BZ #12685]
20850 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20851 mode string.
20852 Patch by Eric Blake <eblake@redhat.com>.
20853
4df46dbd
L
208542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20855
20856 * sunrpc/Makefile (need-export-routines): Add svc_run.
20857 (routines): Remove svc_run.
20858 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20859 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20860 * sunrpc/svc_run.c (svc_run): Likewise.
20861 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20862
e84142d2
UD
208632011-04-21 Ulrich Drepper <drepper@gmail.com>
20864
20865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20866 problem in reallocation in last patch.
20867
877175d8
UD
208682011-04-20 Ulrich Drepper <drepper@gmail.com>
20869
20870 * sunrpc/Makefile: Move inclusion of Rules.
20871
ab8eed78
UD
208722011-04-19 Ulrich Drepper <drepper@gmail.com>
20873
20874 * nss/nss_files/files-initgroups.c: New file.
20875 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20876 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20877 _nss_files_initgroups_dyn.
20878
e3d8f584
RS
208792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20880
20881 * elf/elf.h (R_ARM_IRELATIVE): Define.
20882
af190f45
UD
208832011-04-19 Ulrich Drepper <drepper@gmail.com>
20884
20885 * po/ru.po: Update from translation team.
20886
53cf59ef
UD
208872011-04-17 Ulrich Drepper <drepper@gmail.com>
20888
20889 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20890 dependencies.
20891
4c559bcd
MF
208922011-02-06 Mike Frysinger <vapier@gentoo.org>
20893
20894 [BZ #12653]
20895 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20896 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20899 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20900
4420675c
AS
209012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20902
20903 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20904 differing bytes.
20905 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20907 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20908
75ea32ab
UD
209092011-04-17 Ulrich Drepper <drepper@gmail.com>
20910
20911 [BZ #12420]
20912 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20913 storing it.
20914 * stdlib/bug-getcontext.c: New file.
20915 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20916
27390476
AK
209172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20918
20919 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20920 instructions into .machine "z9-109".
20921 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20922 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20923
10442705
AK
209242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20925
20926 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20927 between environment variables and auxiliary vector.
20928
7b57bfe5
UD
209292011-04-16 Ulrich Drepper <drepper@gmail.com>
20930
20931 * Makefile: Add rules to build linkobj/libc.so.
20932 * include/libc-symbols.h: Define libc_hidden_nolink.
20933 * include/rpc/auth.h: Mark functions which are to be hidden.
20934 * include/rpc/auth_des.h: Likewise.
20935 * include/rpc/auth_unix.h: Likewise.
20936 * include/rpc/clnt.h: Likewise.
20937 * include/rpc/des_crypt.h: Likewise.
20938 * include/rpc/key_prot.h: Likewise.
20939 * include/rpc/pmap_clnt.h: Likewise.
20940 * include/rpc/pmap_prot.h: Likewise.
20941 * include/rpc/pmap_rmt.h: Likewise.
20942 * include/rpc/rpc_msg.h: Likewise.
20943 * include/rpc/svc.h: Likewise.
20944 * include/rpc/svc_auth.h: Likewise.
20945 * include/rpc/xdr.h: Likewise.
20946 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20947 * nss/Makefile: Likewise.
20948 * sunrpc/Makefile: Don't install headers. Build library with normal
20949 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20950 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20951 for the compat linking library. Remove use of INTDEF/INTUSE.
20952 * sunrpc/auth_none.c: Likewise.
20953 * sunrpc/auth_unix.c: Likewise.
20954 * sunrpc/authdes_prot.c: Likewise.
20955 * sunrpc/authuxprot.c: Likewise.
20956 * sunrpc/clnt_gen.c: Likewise.
20957 * sunrpc/clnt_perr.c: Likewise.
20958 * sunrpc/clnt_raw.c: Likewise.
20959 * sunrpc/clnt_simp.c: Likewise.
20960 * sunrpc/clnt_tcp.c: Likewise.
20961 * sunrpc/clnt_udp.c: Likewise.
20962 * sunrpc/clnt_unix.c: Likewise.
20963 * sunrpc/des_crypt.c: Likewise.
20964 * sunrpc/des_soft.c: Likewise.
20965 * sunrpc/get_myaddr.c: Likewise.
20966 * sunrpc/key_call.c: Likewise.
20967 * sunrpc/key_prot.c: Likewise.
20968 * sunrpc/netname.c: Likewise.
20969 * sunrpc/pm_getmaps.c: Likewise.
20970 * sunrpc/pm_getport.c: Likewise.
20971 * sunrpc/pmap_clnt.c: Likewise.
20972 * sunrpc/pmap_prot.c: Likewise.
20973 * sunrpc/pmap_prot2.c: Likewise.
20974 * sunrpc/pmap_rmt.c: Likewise.
20975 * sunrpc/publickey.c: Likewise.
20976 * sunrpc/rpc_cmsg.c: Likewise.
20977 * sunrpc/rpc_common.c: Likewise.
20978 * sunrpc/rpc_dtable.c: Likewise.
20979 * sunrpc/rpc_prot.c: Likewise.
20980 * sunrpc/rpc_thread.c: Likewise.
20981 * sunrpc/rtime.c: Likewise.
20982 * sunrpc/svc.c: Likewise.
20983 * sunrpc/svc_auth.c: Likewise.
20984 * sunrpc/svc_authux.c: Likewise.
20985 * sunrpc/svc_raw.c: Likewise.
20986 * sunrpc/svc_run.c: Likewise.
20987 * sunrpc/svc_simple.c: Likewise.
20988 * sunrpc/svc_tcp.c: Likewise.
20989 * sunrpc/svc_udp.c: Likewise.
20990 * sunrpc/svc_unix.c: Likewise.
20991 * sunrpc/svcauth_des.c: Likewise.
20992 * sunrpc/xcrypt.c: Likewise.
20993 * sunrpc/xdr.c: Likewise.
20994 * sunrpc/xdr_array.c: Likewise.
20995 * sunrpc/xdr_float.c: Likewise.
20996 * sunrpc/xdr_intXX_t.c: Likewise.
20997 * sunrpc/xdr_mem.c: Likewise.
20998 * sunrpc/xdr_rec.c: Likewise.
20999 * sunrpc/xdr_ref.c: Likewise.
21000 * sunrpc/xdr_sizeof.c: Likewise.
21001 * sunrpc/xdr_stdio.c: Likewise.
21002
e6c61494
UD
210032011-04-10 Ulrich Drepper <drepper@gmail.com>
21004
21005 [BZ #12650]
21006 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21007 * sysdeps/ia64/dl-tls.h: Likewise.
21008 * sysdeps/powerpc/dl-tls.h: Likewise.
21009 * sysdeps/s390/dl-tls.h: Likewise.
21010 * sysdeps/sh/dl-tls.h: Likewise.
21011 * sysdeps/sparc/dl-tls.h: Likewise.
21012 * sysdeps/x86_64/dl-tls.h: Likewise.
21013 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21014
34fe483e
AS
210152011-03-14 Andreas Schwab <schwab@redhat.com>
21016
21017 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21018 rpath element also skip the following colon.
21019 (expand_dynamic_string_token): Add is_path parameter and pass
21020 down to DL_DST_REQUIRED and _dl_dst_substitute.
21021 (decompose_rpath): Call expand_dynamic_string_token with
21022 non-zero is_path. Ignore empty rpaths.
21023 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21024 with zero is_path.
21025
f12a32e6
AS
210262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21027
21028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21029 Make cancelable.
21030
38a7d692
UD
210312011-04-09 Ulrich Drepper <drepper@gmail.com>
21032
21033 [BZ #12655]
21034 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21035 Patch by Filipe David Manana <fdmanana@apache.org>.
21036
e451d22b
AS
210372011-04-07 Andreas Schwab <schwab@redhat.com>
21038
21039 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21040 Maintain aligned stack.
21041 (CHECK_RSP): Remove unused macro.
21042
dedc7c7b
UD
210432011-04-03 Ulrich Drepper <drepper@gmail.com>
21044
21045 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21046 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21047
94521213
UD
210482011-04-02 Ulrich Drepper <drepper@gmail.com>
21049
21050 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21051
8cb700c0 21052 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21053
0354e355
L
210542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21055
21056 [BZ #12518]
21057 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21058 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21059 * sysdeps/x86_64/memmove.c: New file.
21060 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21061 (memcpy): Renamed to ...
21062 (__new_memcpy): This.
21063 (memcpy): Provide GLIBC_2_14 memcpy.
21064 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21065 (memcpy): Provide GLIBC_2_2_5 memcpy.
21066
8593482f
UD
210672011-04-01 Ulrich Drepper <drepper@gmail.com>
21068
21069 [BZ #12631]
21070 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21071
81a5726b
AS
210722011-03-30 Andreas Schwab <schwab@redhat.com>
21073
21074 * misc/syncfs.c: New file.
21075 * misc/Makefile (routines): Add syncfs.
21076 * posix/unistd.h: Declare syncfs.
21077 * sysdeps/unix/syscalls.list: Add syncfs.
21078
00e5419f
AS
210792011-04-01 Andreas Schwab <schwab@redhat.com>
21080
21081 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21082 open_by_handle_at.
21083 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21084 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21086 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21088 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21089 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21090
748876bf
UD
210912011-04-01 Ulrich Drepper <drepper@gmail.com>
21092
658e451d
UD
21093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21094 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21095 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21099 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21100
748876bf
UD
21101 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21102 sync_file_range.c with -fexceptions.
21103 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21104 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21105 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21106 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21107 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21108 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21110 sync_file_range as cancellation point
21111 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21112 now a wrapper around __call_sync_file_range with cancellation handling.
21113 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21114 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21115 function name to __call_sync_file_range.
21116 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21117 Add call_sync_file_range.
748876bf 21118
6e63d5e1
AS
211192011-04-01 Andreas Schwab <schwab@redhat.com>
21120
21121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21122 bits/timex.h.
6e63d5e1 21123
46998f74
UD
211242011-04-01 Ulrich Drepper <drepper@gmail.com>
21125
4c1423ed
UD
21126 * iconv/iconv.h: Fix typo in comment.
21127 * io/fcntl.h: Likewise.
21128 * libio/stdio.h: Likewise.
21129 * posix/spawn.h: Likewise.
21130 * posix/unistd.h: Likewise.
21131 * stdlib/stdlib.h: Likewise.
21132 * time/time.h: Likewise.
21133 * wcsmbs/wchar.h: Likewise.
21134
158648c0
UD
21135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21136 open_by_handle): Add.
21137 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21138 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21139 Augment a few comments.
21140 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21141 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21145 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21146 open_by_handle.
21147
46998f74
UD
21148 * io/fcntl.h (AT_EMPTY_PATH): Define.
21149
83fe108b
UD
211502011-03-30 Ulrich Drepper <drepper@gmail.com>
21151
21152 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21153 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21154 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21155 to...
21156 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21157 * Versions.def: Add GLIBC_2.14.
21158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21159 Export.
83fe108b 21160
bb242059
UD
211612011-03-22 Ulrich Drepper <drepper@gmail.com>
21162
21163 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21164 round counter.
21165 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21166
c97a1282
L
211672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21168
21169 [BZ #12597]
21170 * string/test-strncmp.c (do_page_test): New function.
21171 (check2): Likewise.
21172 (test_main): Call check2.
21173 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21174
2a115601
UD
211752011-03-20 Ulrich Drepper <drepper@gmail.com>
21176
21177 [BZ #12587]
21178 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21179 Handle cache information in CPU leaf 4.
21180 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21181
8126d904
UD
211822011-03-18 Ulrich Drepper <drepper@gmail.com>
21183
042c49c6 21184 [BZ #12583]
8126d904
UD
21185 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21186 character representation.
21187 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21188
ccfe366e
RA
211892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21190
21191 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21192 END(__isnan) to END(__isnanf) to match function entry point/label
21193 EALIGN(__isnanf,...).
21194
c6e13027
JJ
211952011-03-10 Jakub Jelinek <jakub@redhat.com>
21196
21197 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21198
33f85a3f
UD
211992011-03-10 Ulrich Drepper <drepper@gmail.com>
21200
028478fa
UD
21201 [BZ #12510]
21202 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21203 copy from the symbol referenced in the relocation to initialize the
21204 used variable.
21205 Patch by Piotr Bury <pbury@goahead.com>.
21206 * elf/Makefile: Add rules to build and tst-unique3.
21207 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21208 * elf/tst-unique3.cc: New file.
21209 * elf/tst-unique3.h: New file.
21210 * elf/tst-unique3lib.cc: New file.
21211 * elf/tst-unique3lib2.cc: New file.
21212
33f85a3f
UD
21213 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21214
03592fc7
MF
212152011-03-10 Mike Frysinger <vapier@gentoo.org>
21216
21217 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21218 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21219 to _start.
03592fc7 21220
6a5ee102
UD
212212011-03-06 Ulrich Drepper <drepper@gmail.com>
21222
21223 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21224 to-be-loaded object along a path to loader is ld.so.
21225
7e4ba49c
HJ
212262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21227 Ulrich Drepper <drepper@gmail.com>
21228
21229 * sysdeps/x86_64/memset.S: After aligning destination, code
21230 branches to different locations depending on the value of
21231 misalignment, when multiarch is enabled. Fix this.
21232
212332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21234
21235 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21236 Set _x86_64_preferred_memory_instruction for AMD processsors.
21237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21238 Set bit_Prefer_SSE_for_memop for AMD processors.
21239
13a804de
UD
212402011-03-04 Ulrich Drepper <drepper@gmail.com>
21241
21242 * libio/fmemopen.c (fmemopen): Optimize a bit.
21243
9d25c392
AS
212442011-03-03 Andreas Schwab <schwab@redhat.com>
21245
21246 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21247
a5543c6a
RM
212482011-03-03 Roland McGrath <roland@redhat.com>
21249
21250 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21251
012d35f7
DM
212522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21253
7e4ba49c 21254 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21255 __bzero_ultra1 instead of __memset_ultra1.
21256
4bff6e01
AS
212572011-02-23 Andreas Schwab <schwab@redhat.com>
21258 Ulrich Drepper <drepper@gmail.com>
21259
21260 [BZ #12509]
21261 * include/link.h (struct link_map): Add l_orig_initfini.
21262 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21263 returning unsuccessfully.
21264 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21265 close of a file loaded at startup, restore the original l_initfini
21266 list.
21267 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21268 list, store the pointer.
21269 * elf/Makefile ($(objpfx)noload-mem): New rule.
21270 (noload-ENV): Define.
21271 (tests): Add $(objpfx)noload-mem.
21272 * elf/noload.c: Include <memcheck.h>.
21273 (main): Call mtrace. Close all opened handles.
21274
f2092faf
AS
212752011-02-17 Andreas Schwab <schwab@redhat.com>
21276
21277 [BZ #12454]
21278 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21279 dependencies are missing.
21280
6c8a2e88
ST
212812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21282
f2092faf 21283 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21284 Hurd needs munmap.
21285 * sysdeps/mach/hurd/ifreq.h: New file.
21286
84a42118
PB
212872011-01-27 Petr Baudis <pasky@suse.cz>
21288 Ulrich Drepper <drepper@gmail.com>
21289
071f805e 21290 [BZ 12445]#
84a42118
PB
21291 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21292 to extend_alloca().
21293 * stdio-common/bug23.c: New file.
21294 * stdio-common/Makefile (tests): Add bug23.
21295
e23fe25b
AS
212962010-09-28 Andreas Schwab <schwab@redhat.com>
21297 Ulrich Drepper <drepper@gmail.com>
21298
21299 [BZ #12489]
21300 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21301 before performing relro protection. At old place add assertion
21302 to make sure nothing changed.
21303
d3f02e10
NS
213042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21305 Glauber de Oliveira Costa <glommer@gmail.com>
21306
21307 * elf/elf.h: Add new ARM TLS relocs.
21308
d55fd7a5
RA
213092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21310
21311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21312 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21313 cast from r3.
21314 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21315 'tests' variable.
21316 * sysdeps/wordsize-64/tst-writev.c: New file.
21317
2206397e
RA
213182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21319
21320 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21321 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21322 insns in _dl_start to prevent a TOC reference before relocs are
21323 resolved.
21324
e9433893
UD
213252011-02-15 Ulrich Drepper <drepper@gmail.com>
21326
21327 [BZ #12469]
21328 * Makeconfig: Remove RANLIB definition.
21329 * Makerules: Don't use RANLIB.
21330 * aclocal.m4: Remove ranlib test.
21331 * configure.in: No need to check for ranlib.
21332 * elf/rtld-Rules: Don't use RANLIB.
21333
f75286c6
ST
213342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21335
8e31c82d
ST
21336 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21337 protection macro.
21338 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21339 inclusion protection macro.
21340
f75286c6
ST
21341 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21342 SIGRTMIN and SIGRTMAX and print information in that case only when
21343 SIGRTMIN is defined.
21344
c1d0e639
JJ
213452011-02-11 Jakub Jelinek <jakub@redhat.com>
21346
21347 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21348 arginfo fn returning -1.
21349
21350 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21351 and thousands string is zero terminated.
21352
edf9294e
AS
213532011-02-03 Andreas Schwab <schwab@redhat.com>
21354
21355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21356 sysdeps/unix/sysv/linux/bits/socket.h.
21357
2b7e92df
ST
213582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21359
edf9294e
AS
21360 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21361 (__CPU_COUNT): Remove old macros.
21362 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21363 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21364 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21365 (__sched_cpualloc, __sched_cpufree): Add declarations.
21366
a4c7ea7b
UD
213672011-02-05 Ulrich Drepper <drepper@gmail.com>
21368
21369 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21370 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21371 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21372 (readdhstai): Return value of addhstaiX call.
21373 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21374 (addgrbyX): Return value returned by cache_addgr.
21375 (readdgrbyname): Return value returned by addgrbyX.
21376 (readdgrbygid): Likewise.
21377 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21378 (addpwbyX): Return value returned by cache_addpw.
21379 (readdpwbyname): Return value returned by addhstbyX.
21380 (readdpwbyuid): Likewise.
21381 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21382 (addservbyX): Return value returned by cache_addserv.
21383 (readdservbyname): Return value returned by addservbyX:
21384 (readdservbyport): Likewise.
21385 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21386 (addhstbyX): Return value returned by cache_addhst.
21387 (readdhstbyname): Return value returned by addhstbyX.
21388 (readdhstbyaddr): Likewise.
21389 (readdhstbynamev6): Likewise.
21390 (readdhstbyaddrv6): Likewise.
21391 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21392 (readdinitgroups): Return value returned by addinitgroupsX.
21393 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21394 (prune_cache): Keep track of timeout value of re-added entries.
21395 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21396 * nscd/nscd.h: Adjust prototypes of readd* functions.
21397
a0bf67cc
RM
213982011-02-04 Roland McGrath <roland@redhat.com>
21399
21400 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21401 (nis_stats): Likewise.
21402 * nis/nis_modify.c (nis_modify): Likewise.
21403 * nis/nis_remove.c (nis_remove): Likewise.
21404 * nis/nis_add.c (nis_add): Likewise.
21405
21406 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21407
21408 * posix/fnmatch_loop.c: Add some consts.
21409
21410 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21411
435b95eb
L
214122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 [BZ #12460]
21415 * config.make.in (config-cflags-novzeroupper): Define.
21416 * configure.in: Substitute libc_cv_cc_novzeroupper.
21417 * elf/Makefile (AVX-CFLAGS): Define.
21418 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21419 (CFLAGS-tst-auditmod4a.c): Likewise.
21420 (CFLAGS-tst-auditmod4b.c): Likewise.
21421 (CFLAGS-tst-auditmod6b.c): Likewise.
21422 (CFLAGS-tst-auditmod6c.c): Likewise.
21423 (CFLAGS-tst-auditmod7b.c): Likewise.
21424 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21425
8517b15e
UD
214262011-02-02 Ulrich Drepper <drepper@gmail.com>
21427
21428 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21429 function to the callback.
21430 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21431
10a656fe
AS
214322011-02-02 Andreas Schwab <schwab@redhat.com>
21433
21434 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21435 of errno.
21436
968dad0a
UD
214372011-01-19 Ulrich Drepper <drepper@gmail.com>
21438
9f94d2ea 21439 [BZ #11724]
968dad0a
UD
21440 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21441 of constructors.
21442 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21443 of destructors.
21444 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21445
21446 [BZ #11724]
21447 * elf/Makefile: Add rules to build and run new test.
21448 * elf/tst-initorder.c: New file.
21449 * elf/tst-initorder.exp: New file.
21450 * elf/tst-initordera1.c: New file.
21451 * elf/tst-initordera2.c: New file.
21452 * elf/tst-initordera3.c: New file.
21453 * elf/tst-initordera4.c: New file.
21454 * elf/tst-initorderb1.c: New file.
21455 * elf/tst-initorderb2.c: New file.
21456 * elf/tst-order-a1.c: New file.
21457 * elf/tst-order-a2.c: New file.
21458 * elf/tst-order-a3.c: New file.
21459 * elf/tst-order-a4.c: New file.
21460 * elf/tst-order-b1.c: New file.
21461 * elf/tst-order-b2.c: New file.
21462 * elf/tst-order-main.c: New file.
21463 New test case by George Gensure <werkt0@gmail.com>.
21464
86e92359
UD
214652010-10-01 Andreas Schwab <schwab@redhat.com>
21466
21467 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21468 decoding ACE if AI_CANONIDN.
21469
5d5732b0
UD
214702011-01-18 Ulrich Drepper <drepper@gmail.com>
21471
21472 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21473
a77e8cbc
UD
214742011-01-17 Ulrich Drepper <drepper@gmail.com>
21475
6392473f
UD
21476 * version.h (RELEASE): Bump for 2.13 release.
21477 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21478
620a0529
UD
21479 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21480
18ba70a5
UD
21481 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21482 MADV_NOHUGEPAGE.
32465c3e
UD
21483 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21484 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21485 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21486 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21488 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21489
c0dafcf1
UD
21490 * posix/getconf.c: Update copyright year.
21491 * catgets/gencat.c: Likewise.
21492 * csu/version.c: Likewise.
21493 * debug/catchsegv.sh: Likewise.
21494 * debug/xtrace.sh: Likewise.
21495 * elf/ldconfig.c: Likewise.
21496 * elf/ldd.bash.in: Likewise.
21497 * elf/sprof.c (print_version): Likewise.
21498 * iconv/iconv_prog.c: Likewise.
21499 * iconv/iconvconfig.c: Likewise.
21500 * locale/programs/locale.c: Likewise.
21501 * locale/programs/localedef.c: Likewise.
21502 * malloc/memusage.sh: Likewise.
21503 * malloc/mtrace.pl: Likewise.
21504 * nscd/nscd.c (print_version): Likewise.
21505 * nss/getent.c: Likewise.
21506
a77e8cbc
UD
21507 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21508 PF_CAIF, and PF_ALG.
21509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21510
77e8bddf
AS
215112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21512
1f20b93a
AS
21513 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21514 (modules-names): Use them.
21515 (ifunc-test-modules, ifunc-pie-tests): Define.
21516 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21517 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21518 (test-extras): Likewise.
21519 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21520 $(compile-command.c).
21521 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21522 (all-built-dso): Define.
21523 (check-textrel.out, check-execstack.out): Depend on it.
21524
77e8bddf
AS
21525 * configure.in: Don't override --enable-multi-arch.
21526
bc425b33
UD
215272011-01-15 Ulrich Drepper <drepper@gmail.com>
21528
21529 [BZ #6812]
21530 * nscd/hstcache.c (tryagain): Define.
21531 (cache_addhst): Return tryagain not notfound for temporary errors.
21532 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21533 failed.
21534
794c3ad3
UD
215352011-01-14 Ulrich Drepper <drepper@gmail.com>
21536
70181fdd
UD
21537 [BZ #10563]
21538 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21539 to make the syscall.
21540 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21541
794c3ad3
UD
21542 [BZ #12378]
21543 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21544 and fall back to matching as normal character if the string ends before
21545 the matching ']' is found. This is what POSIX requires.
21546 * posix/testfnm.c: Adjust test result.
21547 * posix/globtest.sh: Adjust test result. Add new test.
21548 * posix/tst-fnmatch.input: Likewise.
21549 * posix/tst-fnmatch2.c: Add new test.
21550
68dc9497
AS
215512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21552
21553 * elf/Makefile (check-execstack): Revert last change. Depend on
21554 check-execstack.h.
21555 (check-execstack.h): New target.
21556 (generated): Add check-execstack.h.
21557 * elf/check-execstack.c: Include "check-execstack.h".
21558 (main): Revert last change.
21559 (handle_file): Return zero if GNU_STACK is absent and
21560 DEFAULT_STACK_PERMS doesn't include PF_X.
21561
451f001b
UD
215622011-01-13 Ulrich Drepper <drepper@gmail.com>
21563
cfa28e56
UD
21564 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21565 in child fails because the descriptor is already closed.
8cf8ce17
UD
21566 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21567 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21568 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21569
1086d70d
UD
21570 [BZ #12397]
21571 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21572 syscall.
21573
451f001b
UD
21574 [BZ #10484]
21575 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21576 temporary buffer used to handle multi lookups locally.
a85b5cb4 21577 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21578
08769175
UD
215792011-01-12 Ulrich Drepper <drepper@gmail.com>
21580
21581 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21582 loader is ld.so.
21583
5e49c52e
UD
215842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21585
21586 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21587 alignment for SSE2.
21588
60522a5f
UD
215892011-01-12 Ulrich Drepper <drepper@gmail.com>
21590
21591 [BZ #12394]
21592 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21593 characters. When rounding increased number of integer digits recompute
21594 number of groups.
21595 * stdio-common/tst-grouping.c: New file.
21596 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21597
f257bbd7
UD
215982011-01-09 Ulrich Drepper <drepper@gmail.com>
21599
21600 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21601 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21602
21603 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21604 void.
21605 * bits/select.h: Likewise.
21606
fa9c15cb
UD
216072011-01-08 Ulrich Drepper <drepper@gmail.com>
21608
21609 * po/ja.po: Update from translation team.
21610
16c2895f
DM
216112011-01-04 David S. Miller <davem@sunset.davemloft.net>
21612
21613 [BZ #11155]
21614 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21615 implementation just like for lxstat, fxstatat, et al.
21616
2543fef2
JM
216172010-12-27 Jim Meyering <meyering@redhat.com>
21618
21619 [BZ #12348]
21620 * posix/regexec.c (build_trtable): Return failure indication upon
21621 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21622
98727dbe
UD
216232010-12-25 Ulrich Drepper <drepper@gmail.com>
21624
5bd6dc5c
UD
21625 [BZ #12201]
21626 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21627 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21628 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21629 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21630
97983464
UD
21631 [BZ #12207]
21632 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21633
98727dbe
UD
21634 [BZ #12204]
21635 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21636 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21637
4a531bb0
L
216382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21639
21640 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21641 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21642 script has SORT_BY_INIT_PRIORITY.
21643 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21644 NO_CTORS_DTORS_SECTIONS is defined.
21645 * elf/soinit.c: Likewise.
21646 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21647 NO_CTORS_DTORS_SECTIONS is defined.
21648 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21649 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21650 * sysdeps/sh/init-first.c: Likewise.
21651 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21652
07eb4b71
UD
216532010-12-24 Ulrich Drepper <drepper@gmail.com>
21654
21655 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21656 always use the slow path.
21657
30950a5f
RA
216582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21659
21660 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21661 similar rule which adds the sysdep directories to the header search in
21662 order to pick up the correct platform stackinfo.h.
21663 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21664 perform test if it is, otherwise return successfully without testing.
21665 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21666 DEFAULT_STACK_PERMS define in stackinfo.h.
21667 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21668 defined in stackinfo.h.
21669 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21670 DEFAULT_STACK_PERMS defined in stackinfo.h.
21671 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21672 * sysdeps/ia64/stackinfo.h: Likewise.
21673 * sysdeps/s390/stackinfo.h: Likewise.
21674 * sysdeps/sh/stackinfo.h: Likewise.
21675 * sysdeps/sparc/stackinfo.h: Likewise.
21676 * sysdeps/x86_64/stackinfo.h: Likewise.
21677 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21678 PF_X for powerpc64. Retain PF_X for powerpc32.
21679
db753e2c
UD
216802010-12-19 Ulrich Drepper <drepper@gmail.com>
21681
14b697f7
UD
21682 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21683 accurately.
db753e2c
UD
21684 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21685 GETDENTS_64BIT_ALIGNED.
21686
28300719
UD
216872010-12-14 Ulrich Drepper <dreper@gmail.com>
21688
14b697f7 21689 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21690
4f197237
AS
216912010-12-10 Andreas Schwab <schwab@redhat.com>
21692
dbb0472f
AS
21693 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21694 _GNU_SOURCE.
21695
4f197237
AS
21696 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21697 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21698 Remove __restrict.
21699 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21700 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21701
fb88ac72
UD
217022010-12-09 Ulrich Drepper <drepper@gmail.com>
21703
21704 [BZ #11655]
21705 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21706 are initialized.
21707
42acbb92
JJ
217082010-12-09 Jakub Jelinek <jakub@redhat.com>
21709
21710 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21711
c038d98d
UD
217122010-12-03 Ulrich Drepper <drepper@gmail.com>
21713
21714 * po/it.po: Update from translation team.
21715
3a4a2499
L
217162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21717
21718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21719 unused codes.
21720
1e24cf6e
UD
217212010-11-30 Ulrich Drepper <drepper@gmail.com>
21722
21723 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21724
a7690819
AS
217252010-11-24 Andreas Schwab <schwab@redhat.com>
21726
21727 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21728 specially.
21729 (gaih_getanswer_slice): Likewise.
21730
3bf8d1b1
JJ
217312010-10-20 Jakub Jelinek <jakub@redhat.com>
21732
21733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21734
6db52fbb
PB
217352010-05-31 Petr Baudis <pasky@suse.cz>
21736
21737 [BZ #11149]
21738 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21739 silently even in the chroot mode.
21740
eaca7569
UD
217412010-11-22 Ulrich Drepper <drepper@gmail.com>
21742
21743 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21744 last patch a bit. Pretty printing
21745
3056dcdb
UD
217462010-05-31 Petr Baudis <pasky@suse.cz>
21747
21748 [BZ #10085]
21749 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21750 initialization of skip_initgroups_dyn.
21751
cf7c9078
UD
217522010-11-19 Ulrich Drepper <drepper@gmail.com>
21753
21754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21755 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21756
a1fb5e3e
UD
217572010-11-16 Ulrich Drepper <drepper@gmail.com>
21758
21759 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21760
3540d66b
AS
217612010-11-11 Andreas Schwab <schwab@redhat.com>
21762
21763 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21764 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21765 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21766 ($(objpfx)tst-fnmatch-mem): New rule.
21767 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21768 * posix/tst-fnmatch.c (main): Call mtrace.
21769
13b69574
L
217702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21771
21772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21773 Support Intel processor model 6 and model 0x2c.
21774
da93d214
LM
217752010-11-10 Luis Machado <luisgpm@br.ibm.com>
21776
21777 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21778 signed comparison.
21779
8ca52c6e
L
217802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21781
21782 [BZ #12205]
21783 * string/test-strncasecmp.c (check_result): New function.
21784 (do_one_test): Use it.
21785 (check1): New function.
21786 (test_main): Use it.
21787 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21788 Support strcasecmp and strncasecmp.
21789
69da074d
UD
217902010-11-08 Ulrich Drepper <drepper@gmail.com>
21791
21792 [BZ #12194]
21793 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21794 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21795
ff02d528
L
217962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21797
21798 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21799 IFUNC support.
21800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21801 memset-x86-64.
21802 * sysdeps/x86_64/multiarch/bzero.S: New file.
21803 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21804 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21805 * sysdeps/x86_64/multiarch/memset.S: New file.
21806 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21808 Set bit_Prefer_SSE_for_memop for Intel processors.
21809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21810 Define.
21811 (index_Prefer_SSE_for_memop): Define.
21812 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21813
344d0b54
LM
218142010-11-04 Luis Machado <luisgpm@br.ibm.com>
21815
21816 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21817 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21818
c0dde15b
UD
218192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21820
21821 [BZ #12191]
21822 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21823 (__x86_64_raw_data_cache_size_half): Likewise.
21824 (__x86_64_raw_shared_cache_size): Likewise.
21825 (__x86_64_raw_shared_cache_size_half): Likewise.
21826
21827 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21828 (__x86_64_raw_data_cache_size_half): Likewise.
21829 (__x86_64_raw_shared_cache_size): Likewise.
21830 (__x86_64_raw_shared_cache_size_half): Likewise.
21831 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21832 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21833 and __x86_64_raw_shared_cache_size_half. Round
21834 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21835 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21836 to multiple of 256 bytes.
21837
0e516e0e
MS
218382010-11-03 Ulrich Drepper <drepper@gmail.com>
21839
21840 [BZ #12167]
21841 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21842 of inacessible symlinks. Verify result of symlink before returning it.
21843 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21844 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21845
0e012e87
ER
218462010-10-28 Erich Ritz <erichritz@gmail.com>
21847
21848 * math/math.h (isinf): Fix typo in comment.
21849
de0ff7bc
UD
218502010-11-01 Ulrich Drepper <drepper@gmail.com>
21851
21852 * po/da.po: Update from translation team.
21853
fa41c84d
UD
218542010-10-26 Ulrich Drepper <drepper@gmail.com>
21855
21856 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21857 is added to the list.
21858
f0967738
AK
218592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21860 Ulrich Drepper <drepper@gmail.com>
21861
21862 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21863 the global list here. Move code to...
21864 (_dl_add_to_namespace_list): ...here. New function.
21865 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21866 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21867 * elf/dl-load.c (lose): Don't remove the element from the list.
21868 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21869 (_dl_map_object): Likewise.
21870
218712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21872
21873 [BZ #12159]
21874 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21875 into all bytes of SSE register.
21876 Patch by Richard Li <richardpku@gmail.com>.
21877
f0967738 218782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21879
21880 [BZ #12140]
21881 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21882 perturbing.
21883
d0b9e94f
MB
218842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21885
21886 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21887 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21888 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21889 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21891 submachine.
21892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21893
8e9f92e9
AS
218942010-10-22 Andreas Schwab <schwab@redhat.com>
21895
21896 * include/dlfcn.h (__RTLD_SECURE): Define.
21897 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21898 mode & __RTLD_SECURE instead.
21899 (open_path): Rename preloaded parameter to secure.
21900 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21901 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21902 * elf/dl-deps.c (openaux): Likewise.
21903 * elf/rtld.c (struct map_args): Remove is_preloaded.
21904 (map_doit): Don't use it.
21905 (dl_main): Likewise.
21906 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21907 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21908
bc96fbda
AS
219092010-09-09 Andreas Schwab <schwab@redhat.com>
21910
21911 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21912 (sysd-rules-targets): Remove duplicates.
21913 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21914 rtld-%.$o dependency.
21915
22cd1c9b
AS
219162010-10-18 Andreas Schwab <schwab@redhat.com>
21917
21918 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21919 _dl_map_object do it.
21920
18edac48
UD
219212010-10-19 Ulrich Drepper <drepper@gmail.com>
21922
21923 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21924 fast fma builtins, define the macros in the C99 standard.
21925 (FP_FAST_FMAF): Likewise.
21926 (FP_FAST_FMAL): Likewise.
21927 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21928
21929 * bits/mathdef.h: Update copyright year.
21930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21931
d2050124
MM
219322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21933
21934 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21935 builtins, define the macros in the C99 standard.
21936 (FP_FAST_FMAF): Likewise.
21937 (FP_FAST_FMAL): Likewise.
21938 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21939 multiply/add.
21940 (FP_FAST_FMAF): Likewise.
21941
475facd1
JJ
219422010-10-15 Jakub Jelinek <jakub@redhat.com>
21943
21944 [BZ #3268]
21945 * math/libm-test.inc (fma_test): Some new testcases.
21946 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21947 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21948 y and infinite z. Do multiplication by C already in long double.
21949 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21951 y and infinite z. Do bitwise or of inexact bit into u.d.
21952 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21953 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21954 * sysdeps/i386/fpu/s_fma.S: Removed.
21955 * sysdeps/i386/fpu/s_fmal.S: Removed.
21956
7c08a05c
JJ
219572010-10-16 Jakub Jelinek <jakub@redhat.com>
21958
21959 [BZ #3268]
21960 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21962 computation is not scheduled after fetestexcept. Fix value
21963 of minimum denormal long double.
21964
f3f7372d
JJ
219652010-10-14 Jakub Jelinek <jakub@redhat.com>
21966
21967 [BZ #3268]
21968 * math/libm-test.inc (fma_test): Add some more tests.
21969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21970 correctly.
21971
14d43591
AS
219722010-10-15 Andreas Schwab <schwab@redhat.com>
21973
21974 * scripts/data/localplt-s390-linux-gnu.data: New file.
21975 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21976
5e908464
JJ
219772010-10-13 Jakub Jelinek <jakub@redhat.com>
21978
21979 [BZ #3268]
21980 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21981 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21982 instead of dbl-64.
21983 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21984 inlines.
21985 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21987 if one of x and y is very large and the other is subnormal.
21988 * sysdeps/s390/fpu/s_fmaf.c: New file.
21989 * sysdeps/s390/fpu/s_fma.c: New file.
21990 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21991 * sysdeps/powerpc/fpu/s_fma.S: New file.
21992 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21993 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21994 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21995
219962010-10-12 Jakub Jelinek <jakub@redhat.com>
21997
21998 [BZ #3268]
21999 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22000 fma tests.
22001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22002 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22003 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22004 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22005 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22006 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22007 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22008
b833d51f
UD
220092010-10-12 Ulrich Drepper <drepper@redhat.com>
22010
22011 [BZ #12078]
22012 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22013 * posix/bug-regex31.input: Add test case.
22014
1751705d
UD
220152010-10-11 Ulrich Drepper <drepper@gmail.com>
22016
e9b9cbf5
UD
22017 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22018 * posix/bug-regex31.input: New file.
22019
22020 [BZ #12078]
22021 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22022 (parse_sub_exp): Fix last change, use postorder.
22023
ef06edbe
UD
22024 * posix/bug-regex31.c: New file.
22025 * posix/Makefile: Add rules to build and run bug-regex31.
22026
a129c80d
UD
22027 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22028
22029 [BZ #12078]
22030 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22031
b76b818e
UD
22032 [BZ #12108]
22033 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22034 to have entries in sys_siglist.
22035
1751705d
UD
22036 [BZ #12093]
22037 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22038 be NULL.
22039
9ff8d36f
JJ
220402010-10-07 Jakub Jelinek <jakub@redhat.com>
22041
22042 [BZ #3268]
22043 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22044 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22045 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22046 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22047 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22048 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22049 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22050 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22051 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22052 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22053 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22054 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22055 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22056 * math/ftestexcept.c (fetestexcept): Likewise.
22057 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22058 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22059 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22060 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22061 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22062 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22063 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22064
af325969
UD
220652010-10-11 Ulrich Drepper <drepper@gmail.com>
22066
c579b202 22067 [BZ #12107]
af325969
UD
22068 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22069 newline.
22070
67a67b95
UD
220712010-10-06 Ulrich Drepper <drepper@gmail.com>
22072
22073 * string/bug-strstr1.c: New file.
22074 * string/Makefile: Add rules to build and run bug-strstr1.
22075
5fb308bc
EB
220762010-10-05 Eric Blake <eblake@redhat.com>
22077
22078 [BZ #12092]
22079 * string/str-two-way.h (two_way_long_needle): Always clear memory
22080 when skipping input due to the shift table.
22081
45db99c7
UD
220822010-10-03 Ulrich Drepper <drepper@gmail.com>
22083
3b111893
UD
22084 [BZ #12005]
22085 * malloc/mcheck.c: Handle large requests.
22086
45db99c7
UD
22087 [BZ #12077]
22088 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22089 for strncmp and strncasecmp.
22090 * string/stratcliff.c: Add tests for strcmp and strncmp.
22091 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22092
cf7a1eb8
NI
220932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22094
22095 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22096 __set_fpscr.
22097
6484ba5e
AJ
220982010-09-30 Andreas Jaeger <aj@suse.de>
22099
22100 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22101 (CGROUP_SUPER_MAGIC): Define.
22102 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22103 Handle btrfs and cgroup file systems.
22104 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22105 Likewise.
22106
91c42559
LM
221072010-09-27 Luis Machado <luisgpm@br.ibm.com>
22108
22109 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22110 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22111
87a97932
AK
221122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22113
22114 [BZ #12067]
22115 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22116 trying to locate the ELF header.
22117
c21cc9bc
AS
221182010-09-27 Andreas Schwab <schwab@redhat.com>
22119
22120 [BZ #11611]
22121 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22122 Mask out sign-bit copies when constructing f_fsid.
22123
315970f6
PB
221242010-09-24 Petr Baudis <pasky@suse.cz>
22125
22126 * debug/stack_chk_fail_local.c: Add missing licence exception.
22127 * debug/warning-nop.c: Likewise.
22128
1ac7a2c7
JM
221292010-09-15 Joseph Myers <joseph@codesourcery.com>
22130
22131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22132 implementing getdents64 using getdents syscall, set d_type if
22133 __ASSUME_GETDENTS32_D_TYPE.
22134
56801c50
AS
221352010-09-16 Andreas Schwab <schwab@redhat.com>
22136
22137 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22138 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22139
dda51327
UD
221402010-09-21 Ulrich Drepper <drepper@redhat.com>
22141
22142 [BZ #12037]
22143 * posix/unistd.h: Undo change of feature selection for ftruncate from
22144 2010-01-11.
22145
8ffcee4a
UD
221462010-09-20 Ulrich Drepper <drepper@redhat.com>
22147
a545ecd9 22148 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22149 detection.
22150
e24f0a8b
AS
221512010-09-20 Andreas Schwab <schwab@redhat.com>
22152
22153 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22154 fanotify_mark.
22155 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22156
7291c56f
AS
221572010-09-14 Andreas Schwab <schwab@redhat.com>
22158
22159 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22160 variables after CHECK_SP call.
22161 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22162
bc5fb037
AS
221632010-09-13 Andreas Schwab <schwab@redhat.com>
22164 Ulrich Drepper <drepper@redhat.com>
22165
22166 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22167 re-relocationg ld.so.
22168 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22169 _dl_init_paths call.
22170 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22171 here anymore.
22172
e66e7419
UD
221732010-09-14 Ulrich Drepper <drepper@redhat.com>
22174
22175 * resolv/res_init.c (__res_vinit): Count the default server we added.
22176
c044aa75
CLT
221772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22178 Ulrich Drepper <drepper@redhat.com>
22179
22180 [BZ #11968]
22181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22182 (____longjmp_chk): Use %ebx for saving value across system call.
22183 Add unwind info.
22184
32cf4069
AS
221852010-09-06 Andreas Schwab <schwab@redhat.com>
22186
22187 * manual/Makefile: Don't mix pattern rules with normal rules.
22188
817328ee
AS
221892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22190
22191 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22192 operation.
22193 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22194 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22195 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22196 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22198 Likewise.
22199
29fddf61
UD
222002010-09-04 Ulrich Drepper <drepper@redhat.com>
22201
22202 [BZ #11979]
22203 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22204 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22205
0959ffc9
UD
222062010-09-02 Ulrich Drepper <drepper@redhat.com>
22207
22208 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22209 * sysdeps/x86_64/addmul_1.S: Likewise.
22210 * sysdeps/x86_64/lshift.S: Likewise.
22211 * sysdeps/x86_64/mul_1.S: Likewise.
22212 * sysdeps/x86_64/rshift.S: Likewise.
22213 * sysdeps/x86_64/sub_n.S: Likewise.
22214 * sysdeps/x86_64/submul_1.S: Likewise.
22215
ece29840
ST
222162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22217
0959ffc9
UD
22218 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22219 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22220 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22221 * bits/sched.h [__need_schedparam]
ece29840 22222 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22223 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22224 (__defined_schedparam): Define to 1.
ece29840
ST
22225 (__sched_param): New structure, identical to sched_param.
22226 (__need_schedparam): Undefine.
22227
e53a31fe
MF
222282010-08-31 Mike Frysinger <vapier@gentoo.org>
22229
fdc0c10d
MF
22230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22231 (epoll_create1): Declare.
22232
e53a31fe
MF
22233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22234
a726d796
AS
222352010-08-31 Andreas Schwab <schwab@redhat.com>
22236
22237 [BZ #7066]
22238 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22239 shifting retval into place.
22240
2f3e3dc7
UD
222412010-09-01 Ulrich Drepper <drepper@redhat.com>
22242
f2933da9
UD
22243 * nis/rpcsvc/nis.h: Update copyright notice.
22244 * nis/rpcsvc/nis.x: Likewise.
22245 * nis/rpcsvc/nis_callback.h: Likewise.
22246 * nis/rpcsvc/nis_callback.x: Likewise.
22247 * nis/rpcsvc/nis_object.x: Likewise.
22248 * nis/rpcsvc/nis_tags.h: Likewise.
22249 * nis/rpcsvc/yp.h: Likewise.
22250 * nis/rpcsvc/yp.x: Likewise.
22251 * nis/rpcsvc/ypupd.h: Likewise.
22252 * nis/yp_xdr.c: Likewise.
22253 * nis/ypupdate_xdr.c: Likewise.
22254
2f3e3dc7
UD
22255 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22256 mainly the body of pmap_getport. Add parameters to specify timeouts.
22257 (pmap_getport): Use __libc_rpc_getport.
22258 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22259 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22260 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22261
f3dcc2f9
AS
222622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22263
22264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22265 fanotify_mark.
22266
6d34eb5b
RM
222672010-08-27 Roland McGrath <roland@redhat.com>
22268
22269 * sysdeps/i386/i686/multiarch/Makefile
22270 (CFLAGS-varshift.c): New variable.
22271
9ea3de11
UD
222722010-08-27 Ulrich Drepper <drepper@redhat.com>
22273
c96d23fc
UD
22274 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22275 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22276
9ea3de11
UD
22277 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22278
22279 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22280
623aac7f
L
222812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22282
22283 * sysdeps/x86_64/strlen.S: Unroll the loop.
22284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22285 strlen-sse2 strlen-sse2-bsf.
22286 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22287 __strlen_no_bsf if bit_Slow_BSF is set.
22288 (__strlen_sse42): Removed.
22289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22290 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22291
8b2b7715
RM
222922010-08-25 Roland McGrath <roland@redhat.com>
22293
22294 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22295 * sysdeps/x86_64/multiarch/varshift.c: New file.
22296 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22297 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22298 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22299 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22300
e73015f2
L
223012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22302
22303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22304 strlen-sse2 strlen-sse2-bsf.
22305 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22306 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22307 (__strlen_sse2): Removed.
22308 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22309 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22311 bit_Slow_BSF for Atom.
22312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22313 (index_Slow_BSF): Define.
22314 (HAS_SLOW_BSF): Define.
22315
df24a73e
UD
223162010-08-25 Ulrich Drepper <drepper@redhat.com>
22317
22318 [BZ #10851]
22319 * resolv/res_init.c (__res_vinit): When no server address at all
22320 is given default to loopback.
22321
f2ac4868
RM
223222010-08-24 Roland McGrath <roland@redhat.com>
22323
09055553
RM
22324 * configure.in: Remove config-name.h generation.
22325 * configure: Regenerated.
22326 * config-name.in: File removed.
22327 * scripts/config-uname.sh: New file.
22328 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22329 ($(objdir)config-name.h): New target.
22330
f2ac4868
RM
22331 * sunrpc/rpc_parse.h: Avoid nested comment.
22332
73f27d5e
RH
223332010-08-24 Richard Henderson <rth@redhat.com>
22334 Ulrich Drepper <drepper@redhat.com>
22335 H.J. Lu <hongjiu.lu@intel.com>
22336
22337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22339 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22340 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22341 _mm_alignr_epi8 with _mm_loadu_si128.
22342 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22343 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22344 (__m128i_shift_right): Removed.
22345 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22346 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22347 * sysdeps/x86_64/multiarch/varshift.h: New file.
22348 * sysdeps/x86_64/multiarch/varshift.S: New file.
22349
84b9230c
MF
223502010-08-21 Mike Frysinger <vapier@gentoo.org>
22351
22352 * configure.in: Move assembler checks to before sysdep dir checking.
22353
9bbd0ddc
PB
223542010-08-20 Petr Baudis <pasky@suse.cz>
22355
22356 * LICENSES: Sync the sunrpc license.
22357
9da4bb31
UD
223582010-08-19 Ulrich Drepper <drepper@redhat.com>
22359
a7ab6ec8
UD
22360 * sunrpc/auth_des.c: Update copyright notice once again.
22361 * sunrpc/auth_none.c: Likewise.
22362 * sunrpc/auth_unix.c: Likewise.
22363 * sunrpc/authdes_prot.c: Likewise.
22364 * sunrpc/authuxprot.c: Likewise.
22365 * sunrpc/bindrsvprt.c: Likewise.
22366 * sunrpc/clnt_gen.c: Likewise.
22367 * sunrpc/clnt_perr.c: Likewise.
22368 * sunrpc/clnt_raw.c: Likewise.
22369 * sunrpc/clnt_simp.c: Likewise.
22370 * sunrpc/clnt_tcp.c: Likewise.
22371 * sunrpc/clnt_udp.c: Likewise.
22372 * sunrpc/clnt_unix.c: Likewise.
22373 * sunrpc/des_crypt.c: Likewise.
22374 * sunrpc/des_soft.c: Likewise.
22375 * sunrpc/get_myaddr.c: Likewise.
22376 * sunrpc/getrpcport.c: Likewise.
22377 * sunrpc/key_call.c: Likewise.
22378 * sunrpc/key_prot.c: Likewise.
22379 * sunrpc/openchild.c: Likewise.
22380 * sunrpc/pm_getmaps.c: Likewise.
22381 * sunrpc/pm_getport.c: Likewise.
22382 * sunrpc/pmap_clnt.c: Likewise.
22383 * sunrpc/pmap_prot.c: Likewise.
22384 * sunrpc/pmap_prot2.c: Likewise.
22385 * sunrpc/pmap_rmt.c: Likewise.
22386 * sunrpc/rpc/auth.h: Likewise.
22387 * sunrpc/rpc/auth_unix.h: Likewise.
22388 * sunrpc/rpc/clnt.h: Likewise.
22389 * sunrpc/rpc/des_crypt.h: Likewise.
22390 * sunrpc/rpc/key_prot.h: Likewise.
22391 * sunrpc/rpc/netdb.h: Likewise.
22392 * sunrpc/rpc/pmap_clnt.h: Likewise.
22393 * sunrpc/rpc/pmap_prot.h: Likewise.
22394 * sunrpc/rpc/pmap_rmt.h: Likewise.
22395 * sunrpc/rpc/rpc.h: Likewise.
22396 * sunrpc/rpc/rpc_des.h: Likewise.
22397 * sunrpc/rpc/rpc_msg.h: Likewise.
22398 * sunrpc/rpc/svc.h: Likewise.
22399 * sunrpc/rpc/svc_auth.h: Likewise.
22400 * sunrpc/rpc/types.h: Likewise.
22401 * sunrpc/rpc/xdr.h: Likewise.
22402 * sunrpc/rpc_clntout.c: Likewise.
22403 * sunrpc/rpc_cmsg.c: Likewise.
22404 * sunrpc/rpc_common.c: Likewise.
22405 * sunrpc/rpc_cout.c: Likewise.
22406 * sunrpc/rpc_dtable.c: Likewise.
22407 * sunrpc/rpc_hout.c: Likewise.
22408 * sunrpc/rpc_main.c: Likewise.
22409 * sunrpc/rpc_parse.c: Likewise.
22410 * sunrpc/rpc_parse.h: Likewise.
22411 * sunrpc/rpc_prot.c: Likewise.
22412 * sunrpc/rpc_sample.c: Likewise.
22413 * sunrpc/rpc_scan.c: Likewise.
22414 * sunrpc/rpc_scan.h: Likewise.
22415 * sunrpc/rpc_svcout.c: Likewise.
22416 * sunrpc/rpc_tblout.c: Likewise.
22417 * sunrpc/rpc_util.c: Likewise.
22418 * sunrpc/rpc_util.h: Likewise.
22419 * sunrpc/rpcinfo.c: Likewise.
22420 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22421 * sunrpc/rpcsvc/key_prot.x: Likewise.
22422 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22423 * sunrpc/rpcsvc/mount.x: Likewise.
22424 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22425 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22426 * sunrpc/rpcsvc/rex.x: Likewise.
22427 * sunrpc/rpcsvc/rstat.x: Likewise.
22428 * sunrpc/rpcsvc/rusers.x: Likewise.
22429 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22430 * sunrpc/rpcsvc/spray.x: Likewise.
22431 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22432 * sunrpc/rtime.c: Likewise.
22433 * sunrpc/svc.c: Likewise.
22434 * sunrpc/svc_auth.c: Likewise.
22435 * sunrpc/svc_authux.c: Likewise.
22436 * sunrpc/svc_raw.c: Likewise.
22437 * sunrpc/svc_run.c: Likewise.
22438 * sunrpc/svc_simple.c: Likewise.
22439 * sunrpc/svc_tcp.c: Likewise.
22440 * sunrpc/svc_udp.c: Likewise.
22441 * sunrpc/svc_unix.c: Likewise.
22442 * sunrpc/svcauth_des.c: Likewise.
22443 * sunrpc/xcrypt.c: Likewise.
22444 * sunrpc/xdr.c: Likewise.
22445 * sunrpc/xdr_array.c: Likewise.
22446 * sunrpc/xdr_float.c: Likewise.
22447 * sunrpc/xdr_mem.c: Likewise.
22448 * sunrpc/xdr_rec.c: Likewise.
22449 * sunrpc/xdr_ref.c: Likewise.
22450 * sunrpc/xdr_sizeof.c: Likewise.
22451 * sunrpc/xdr_stdio.c: Likewise.
22452
9da4bb31
UD
22453 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22454 handling.
22455
bdaa77bc
AS
224562010-08-19 Andreas Schwab <schwab@redhat.com>
22457
22458 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22459
fe2f79db
LM
224602010-08-19 Luis Machado <luisgpm@br.ibm.com>
22461
22462 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22463 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22464 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22465 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22466 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22467 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22468 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22469 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22470 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22471 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22472 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22473 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22474 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22475 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22476
b9b42ee0
AB
224772010-07-26 Anton Blanchard <anton@samba.org>
22478
22479 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22480 * malloc/arena.c (heap_trim): Likewise.
22481
1c06ba31
UD
224822010-08-16 Ulrich Drepper <drepper@redhat.com>
22483
22484 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22485 here. Not...
22486 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22487 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22488
f8392f40
L
224892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22490
22491 * sysdeps/i386/elf/Makefile: New file.
22492
3162f12e
AS
224932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22494
22495 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22496 from fanotify_init.
22497 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22499
28c90b2c
UD
225002010-08-15 Ulrich Drepper <drepper@redhat.com>
22501
22502 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22503 of strncasecmp_l.
1feccb6c 22504 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22505
ca6bb004
UD
225062010-08-14 Ulrich Drepper <drepper@redhat.com>
22507
e9f82e0d
UD
22508 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22509 strncase_l-nonascii.
22510 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22511 Add strncase_l-ssse3.
22512 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22513 * sysdeps/x86_64/strcmp.S: Likewise.
22514 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22515 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22516 * sysdeps/x86_64/strncase.S: New file.
22517 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22518 * sysdeps/x86_64/strncase_l.S: New file.
22519 * string/Makefile (strop-tests): Add strncasecmp.
22520 * string/test-strncasecmp.c: New file.
22521
22522 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22523 warning.
22524
ca6bb004
UD
22525 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22526 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22527
052fa7b3
AS
225282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22529
22530 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22531
962dba78
UD
225322010-08-12 Ulrich Drepper <drepper@redhat.com>
22533
22534 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22535 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22536 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22537
bebff237
AM
225382010-05-01 Alan Modra <amodra@gmail.com>
22539
22540 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22541 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22542 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22543 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22544 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22545 tidying. Don't tail-call __sigjmp_save for static lib.
22546 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22547 save location.
22548 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22549 (CALL_MCOUNT): Add eh info, and nop after bl.
22550 (TAIL_CALL_SYSCALL_ERROR): New macro.
22551 (PSEUDO_RET): Use it.
22552 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22553 Correct save location of integer regs and cr.
22554 (_dl_profile_resolve): Correct cr save location. Delete nops
22555 after bl when SHARED. Reduce cfi size a little by better
22556 placement of cfi directives.
22557 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22558 make a stack frame. Instead use parm save area as a temp.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22560 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22562 Don't make a stack frame for parent, use parm save area.
22563 Increase child stack frame to 112 bytes. Don't save unused reg,
22564 and adjust reg usage. Set up cfi on error recovery and
22565 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22567 (__makecontext): Add dummy nop after jump to exit.
22568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22569 Use correct parm save area and cr save, reduce stack frame.
22570 Correct cfi for possible PSEUDO_RET frame setup.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22572 Branch to local label emitted by PSEUDO_RET rather than
22573 __syscall_error.
22574
02637374
AS
225752010-08-12 Andreas Schwab <schwab@redhat.com>
22576
22577 [BZ #11904]
22578 * locale/programs/locale.c (print_assignment): New function.
22579 (show_locale_vars): Use it.
22580
c3e2f19b
UD
225812010-08-11 Ulrich Drepper <drepper@redhat.com>
22582
3cdaa6ad
UD
22583 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22584 field.
22585 (struct statfs64): Likewise.
22586 (_STATFS_F_FLAGS): Define.
22587 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22589 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22590 (ST_VALID): Define locally.
22591 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22592 __statvfs_getflags, use the provided value.
22593 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22594 __ASSUME_STATFS_F_FLAGS.
22595
754f7da3
UD
22596 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22597
10b3bedc
UD
22598 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22599 Add sys/fanotify.h.
22600 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22601 fanotify_mask for GLIBC_2.13.
22602 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22603 fanotify_init and fanotify_mark.
22604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22605 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22606
c08fb0d7
UD
22607 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22608 Add prlimit.
22609 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22610 prlimit64 for GLIBC_2.13.
22611 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22612 prlimit64.
22613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22614 syscall.
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22616 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22617 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22618 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22620 add prlimit alias.
22621 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22622
15bac72b
UD
22623 [BZ #11903]
22624 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22625 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22626
c3e2f19b
UD
22627 * nss/Makefile: Add rules to build and run tst-nss-test1.
22628 * shlib-versions: Add entry for libnss_test1.
22629 * nss/nss_test1.c: New file.
22630 * nss/tst-nss-test1.c: New file.
22631
22632 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22633 (__nss_configure_lookup): Set appropriate entry in
22634 __nss_configure_lookup to true.
22635 * nss/nsswitch.h: Define enum with indeces of databases in
22636 databases and __nss_database_custom arrays. Declare
22637 __nss_database_custom.
22638 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22639 to avoid using nscd when custom rules are installed.
22640 * nss/getXXbyYY_r.c: Likewise.
22641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22642
22643 * nss/nss_files/files-parse.c: Whitespace fixes.
22644
f15ce4d8
UD
226452010-08-09 Ulrich Drepper <drepper@redhat.com>
22646
22647 [BZ #11883]
22648 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22649 * posix/fnmatch_loop.c: Likewise.
22650
d22e4cc9
AK
226512010-07-17 Andi Kleen <ak@linux.intel.com>
22652
22653 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22654 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22655 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22656 * Versions.def [GLIBC_2.13]: Add.
22657
805bc17d
UD
226582010-08-06 Ulrich Drepper <drepper@redhat.com>
22659
22660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22661 Also fail if tpwd after pwuid call is NULL.
22662
5a42321d
ST
226632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22664
22665 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22666 when converting to ms.
22667
fd3ebeda
ST
226682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22669
22670 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22671 EOPNOTSUPP errors with ENOTTY.
22672 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22673 EOPNOTSUPP errors with ENOTTY.
22674
73507d3a
UD
226752010-07-31 Ulrich Drepper <drepper@redhat.com>
22676
22677 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22678 Add strcasecmp_l-ssse3.
22679 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22680 strcasecmp.
22681 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22682 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22683 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22684
fe36dd02
UD
226852010-07-30 Ulrich Drepper <drepper@redhat.com>
22686
66f6765a
UD
22687 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22688
42e08a54
UD
22689 * string/Makefile (strop-tests): Add strcasecmp.
22690 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22691 strcasecmp_l-nonascii.
22692 (gen-as-const-headers): Add locale-defines.sym.
22693 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22694 * sysdeps/x86_64/strcasecmp.S: New file.
22695 * sysdeps/x86_64/strcasecmp_l.S: New file.
22696 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22697 * sysdeps/x86_64/locale-defines.sym: New file.
22698 * string/test-strcasecmp.c: New file.
22699
fe36dd02
UD
22700 * string/test-strcasestr.c: Test both ends of the range of characters.
22701 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22702
48cbc0d6
RM
227032010-07-29 Roland McGrath <roland@redhat.com>
22704
76e6d6bc 22705 [BZ #11856]
48cbc0d6
RM
22706 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22707
880113d9
UD
227082010-07-27 Ulrich Drepper <drepper@redhat.com>
22709
22710 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22711 for ld.so.
22712
deb9cabb
AS
227132010-07-27 Andreas Schwab <schwab@redhat.com>
22714
22715 * manual/memory.texi (Malloc Tunable Parameters): Document
22716 M_PERTURB.
22717
1c7570ff
RM
227182010-07-26 Roland McGrath <roland@redhat.com>
22719
22720 [BZ #11840]
22721 * configure.in (-fgnu89-inline check): Set and substitute
22722 gnu89_inline, not libc_cv_gnu89_inline.
22723 * configure: Regenerated.
22724 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22725
24fb0f88
UD
227262010-07-26 Ulrich Drepper <drepper@redhat.com>
22727
22728 * string/test-strnlen.c: New file.
22729 * string/Makefile (strop-tests): Add strnlen.
22730 * string/tester.c (test_strnlen): Add a few more test cases.
22731 * string/tst-strlen.c: Better error reporting.
22732
22733 * sysdeps/x86_64/strnlen.S: New file.
22734
8e96b93a
UD
227352010-07-24 Ulrich Drepper <drepper@redhat.com>
22736
22737 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22738 lower-latency instructions.
22739
dbc676d4
UD
227402010-07-23 Ulrich Drepper <drepper@redhat.com>
22741
22742 * string/test-strcasestr.c: New file.
22743 * string/test-strstr.c: New file.
22744 * string/Makefile (strop-tests): Add strstr and strcasestr.
22745 * string/str-two-way.h: Don't undefine MAX.
22746 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22747
f6a31e0e
AS
227482010-07-21 Andreas Schwab <schwab@redhat.com>
22749
22750 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22751 strcasestr-nonascii.
22752 (CFLAGS-strcasestr-nonascii.c): Define.
22753 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22754 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22755 Remove unused attribute.
22756
5dbc3b6c
RM
227572010-07-20 Roland McGrath <roland@redhat.com>
22758
22759 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22760 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22761 ld.so.cache was broken. With it, there is no way to disable dsocaps
22762 like LD_HWCAP_MASK can disable hwcaps.
22763
23d101d8
EPM
227642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22765
22766 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22767
cc9f2e47
UD
227682010-07-16 Ulrich Drepper <drepper@redhat.com>
22769
22770 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22771 call in strcasestr.
22772 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22773 __strcasestr_sse42_nonascii.
22774 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22775 strcasestr-nonascii.c.
22776 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22777
77c1b069
LM
227782010-06-15 Luis Machado <luisgpm@br.ibm.com>
22779
22780 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22781 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22782 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22784
440566c3
UD
227852010-07-09 Ulrich Drepper <drepper@redhat.com>
22786
22787 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22788 fcntl.
22789
5be9d05d
AS
227902010-07-06 Andreas Schwab <schwab@redhat.com>
22791
c30b7ee2 22792 [BZ #11577]
5be9d05d
AS
22793 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22794 dl_signal_cerror.
22795
8a492a67
UD
227962010-07-06 Ulrich Drepper <drepper@redhat.com>
22797
22798 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22799 _PC_PIPE_BUF using F_GETPIPE_SZ.
22800
713df3d5
RM
228012010-07-05 Roland McGrath <roland@redhat.com>
22802
22803 * manual/arith.texi (Rounding Functions): Fix rint description
22804 implicit in round description.
22805
702e8f14
UD
228062010-07-02 Ulrich Drepper <drepper@redhat.com>
22807
22808 * elf/Makefile: Fix linking for a few tests to make recent linker
22809 happy.
22810
52ed8be9
AS
228112010-06-30 Andreas Schwab <schwab@redhat.com>
22812
22813 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22814 $(common-objpfx)libc_nonshared.a.
22815
f47c9a11
LM
228162010-06-21 Luis Machado <luisgpm@br.ibm.com>
22817
22818 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22819 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22820 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22821 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22822 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22823 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22824 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22825 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22840 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22841 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22842 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22843 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22844 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22845 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22846 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22847 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22848 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22849 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22850 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22851 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22866
6fb8cbcb
L
228672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22868
22869 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22870 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22871 * string/memmove.c (memmove): Renamed to ...
22872 (MEMMOVE): ...this. Default to memmove.
22873 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22874 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22875 (END_CHK): Define.
22876 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22877 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22878 mempcpy-ssse3-back memmove-ssse3-back.
22879 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22881 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22882 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22883 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22884 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22885 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22886 * sysdeps/x86_64/multiarch/memmove.c: New file.
22887 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22888 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22889 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22890 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22891 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22892 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22893 Define.
22894 (index_Fast_Copy_Backward): Define.
22895 (HAS_ARCH_FEATURE): Define.
22896 (HAS_FAST_REP_STRING): Define.
22897 (HAS_FAST_COPY_BACKWARD): Define.
22898
4e733bac 228992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22900
22901 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22902 Restore proper fallback handling.
22903
63c4ed22
UD
229042010-06-19 Ulrich Drepper <drepper@redhat.com>
22905
ac2b484c
UD
22906 [BZ #11701]
22907 * posix/group_member.c (__group_member): Correct checking loop.
22908
63c4ed22
UD
22909 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22910 OOM in getpwuid_r correctly. Return error number when the caller
22911 should return, otherwise -1.
22912 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22913 call returning > 0 value.
22914 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22915
765ade4b
AS
229162010-06-07 Andreas Schwab <schwab@redhat.com>
22917
22918 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22919 libc_nonshared.a from targets in modules-names.
22920
80da2e09
KS
229212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22922
22923 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22924 requires it.
22925
158db122
LM
229262010-06-10 Luis Machado <luisgpm@br.ibm.com>
22927
22928 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22929 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22930 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22932
caa78cf8
AS
229332010-06-02 Andreas Schwab <schwab@redhat.com>
22934
22935 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22936
b2ef2c01
UD
229372010-06-14 Ulrich Drepper <drepper@redhat.com>
22938
22939 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22940 and F_GETPIPE_SZ.
22941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22945 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22947
fbd643b6
RM
229482010-06-14 Roland McGrath <roland@redhat.com>
22949
22950 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22951
f32f2869
JJ
229522010-06-07 Jakub Jelinek <jakub@redhat.com>
22953
22954 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22955 __REDIRECT followed by __THROW.
22956 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22957 * posix/getopt.h (getopt): Likewise.
22958
2a50c078
EPM
229592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22960
22961 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22962 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22963 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22964 in AT_FLAGS.
22965 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22966 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22967
eb5ad2eb
LM
229682010-05-28 Luis Machado <luisgpm@br.ibm.com>
22969
22970 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22971
3c88fe1e
L
229722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22973
22974 [BZ #11640]
22975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22976 Properly check family and model.
22977
d2f73151
TY
229782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22979
22980 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22981
ebd2e13d
LM
229822010-05-24 Luis Machado <luisgpm@br.ibm.com>
22983
22984 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22985
b32b8b45
UD
229862010-05-21 Ulrich Drepper <drepper@redhat.com>
22987
22988 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22989 symbol reference.
22990
9acbe24d
AS
229912010-05-19 Andreas Schwab <schwab@redhat.com>
22992
22993 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22994 symbol reference.
22995
f0ccf6ea
AS
229962010-05-21 Andreas Schwab <schwab@redhat.com>
22997
3d04ff3a
AS
22998 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22999 and internal_recvmmsg.
23000 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23001 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23002 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23003 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23004
f0ccf6ea
AS
23005 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23006 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23007 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23008
5b08ac57
AS
230092010-05-20 Andreas Schwab <schwab@redhat.com>
23010
23011 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23012
4828935d
LM
230132010-05-17 Luis Machado <luisgpm@br.ibm.com>
23014
23015 POWER7 optimizations.
23016 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23017 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23018
373d545e
UD
230192010-05-19 Ulrich Drepper <drepper@redhat.com>
23020
23021 * version.h: Update for 2.13 development version.
23022
21a2b1ae
AS
230232010-05-12 Andrew Stubbs <ams@codesourcery.com>
23024
23025 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23026 exceptions. Return 0.
23027
3f7dcb2b
RM
230282010-05-07 Roland McGrath <roland@redhat.com>
23029
23030 * elf/ldconfig.c (main): Add a const.
23031
5f24d53a 230322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23033
a160f8d8
UD
23034 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23035 (args_options): Add no-idn option.
23036 (ahosts_keys_int): Add idn_flags to ai_flags.
23037 (parse_option): Handle 'i' option to clear idn_flags.
23038
5f24d53a
UD
23039 * malloc/malloc.c (_int_free): Possible race in the most recently
23040 added check. Only act on the data if no current modification
23041 happened.
265bb1ce
UD
23042
23043See ChangeLog.17 for earlier changes.
This page took 2.991264 seconds and 5 git commands to generate.