]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix assertion failures in resolver (BZ #13013).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cc8bb21c
AJ
12011-11-30 Aurelien Jarno <aurel32@debian.org>
2
3 [BZ #13013]
4 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5 depending n and resplen2 to catch cases where answer
6 equals answerp2.
7
c93ec1f0
CD
82012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9
10 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12
37db69de
MF
132012-11-29 Mike Frysinger <vapier@gentoo.org>
14
15 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16
e10c4e4f
RM
172012-11-29 Roland McGrath <roland@hack.frob.com>
18
19 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20
2af1b328
JL
212012-11-28 Jeff Law <law@redhat.com>
22
23 [BZ #13761]
24 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25 dataset_temporary. Track alloca usage into alloca_used.
26 If dataset is large allocate and release it via malloc/free.
27
111db5b1
FW
282012-06-04 Florian Weimer <fweimer@redhat.com>
29
f06cc227 30 [BZ #14197]
111db5b1
FW
31 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32
dd694abd
DM
332012-11-28 David S. Miller <davem@davemloft.net>
34
35 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36
9984dd01
JM
372012-11-28 Joseph Myers <joseph@codesourcery.com>
38
39 [BZ #14803]
40 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41 of pi/2 rounded to nearest to 64 bits.
42 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
43 nearest to 64 bits.
44 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
45 bits.
46
14bc93a9
JL
472012-11-28 Jeff Law <law@redhat.com>
48 Martin Osvald <mosvald@redhat.com>
49
50 [BZ #14889]
51 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52 * sunrpc/svc.c: Include time.h.
53 (__svc_accept_failed): New function.
54 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55 any reason other than EINTR, call __svc_accept_failed.
56 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58
e3c6aa3a
AS
592012-11-28 Andreas Schwab <schwab@suse.de>
60
61 * scripts/abilist.awk: Also handle indirect functions in .opd
62 section.
63
1bead169
JM
642012-11-28 Joseph Myers <joseph@codesourcery.com>
65
66 [BZ #13881]
67 * sysdeps/x86/fpu/powl_helper.c: New file.
68 * sysdeps/x86/fpu/Makefile: Likewise.
69 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70 (p3): New object.
71 (__ieee754_powl): Use __powl_helper for finite arguments except
72 integer exponents below 8.
73 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
74 (p3): New object.
75 (__ieee754_powl): Use __powl_helper for finite arguments except
76 integer exponents below 8.
77 * math/libm-test.inc (pow_test): Add more tests and enable some
78 previously disabled tests.
79 * sysdeps/i386/fpu/libm-test-ulps: Update.
80 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81
0817d63d
SP
822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
83 Carlos O'Donell <carlos_odonell@mentor.com>
84
85 * nss/makedb.c (is_prime): Assert that input is odd and greater
86 than 4. Note that fact in a comment too.
87 (next_prime): Add 4 to input.
88
de2fd463
SP
892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
90
91 [BZ #11741]
92 * libio/Makefile (tests): Add test case tst-fwrite-error.
93 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
94 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
95 * libio/tst-fwrite-error.c: New test case.
96
c515fb51
L
972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
98
99 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
100 before casting to void *.
101 * include/libc-internal.h (__pointer_type): New macro.
102 (__integer_if_pointer_type_sub): Likewise.
103 (__integer_if_pointer_type): Likewise.
104 (cast_to_integer): Likewise.
105 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
106 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
107 before casting to atomic64_t.
108 (atomic_exchange_acq): Likewise.
109 (__arch_exchange_and_add_body): Likewise.
110 (__arch_add_body): Likewise.
111 (atomic_add_negative): Likewise.
112 (atomic_add_zero): Likewise.
113
4cf77aa9
JM
1142012-11-26 Joseph Myers <joseph@codesourcery.com>
115
116 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
117 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
118 (add_fdes): Likewise.
119 (linear_search_fdes): Likewise.
120 (binary_search_unencoded_fdes): Likewise.
121
d260b3b4
AS
1222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
123
124 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
125
67060746
AC
1262012-11-24 Adam Conrad <adconrad@0c3.net>
127
128 * configure.in: Autodetect C++ header directories.
129 * configure: Regenerated.
130
800938a1
MF
1312012-11-23 Mike Frysinger <vapier@gentoo.org>
132
133 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
134
4e6e34e6
AS
1352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
136
137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
138
7c7feb47
JM
1392012-11-22 Joseph Myers <joseph@codesourcery.com>
140
7184dcdf
JM
141 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
142 LDBL_MANT_DIG == 106]: Disable some tests.
143 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
144 Likewise.
145 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
146 Likewise.
147
0a42601f
JM
148 [BZ #14871]
149 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
150 input for small inputs. Return +/- pi/2 for large inputs.
151 * math/libm-test.inc (atan_test): Add more tests.
152
79c9b9fe
JM
153 * sysdeps/generic/unwind-dw2-fde-glibc.c
154 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
155 __attribute__ ((unused)).
156
c60d3bf2
JM
157 [BZ #14645]
158 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
159 x * y if x and y are nonzero and z is zero.
160
ef1e0867
JM
161 [BZ #14811]
162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
163 nonzero exponents with absolute value below 0x1p-117 to +/-
164 0x1p-117.
165
1468ded3
JM
166 [BZ #14869]
167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
168 up arguments below 2**-450, not just those below 2**-500.
169 * math/libm-test.inc (hypot_test): Add another test.
170
8e27e3cc
JM
171 [BZ #14868]
172 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
173 Return a+b for ratio over 2**120, not 2**60.
174 * math/libm-test.inc (hypot_test): Add another test.
175
c9c0279b
JM
176 * math/libm-test.inc (clog_test): Use
177 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
178 (clog10_test): Likewise.
179
7c7feb47
JM
180 [BZ #6778]
181 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
182
fff1530e
AS
1832012-11-22 Andreas Schwab <schwab@suse.de>
184
185 * sysdeps/i386/fpu/libm-test-ulps: Update.
186
94558d30
PT
1872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
188
189 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
190 printf output with newline.
191
7e1be741
L
1922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
193
6bfea974
L
194 [BZ #14865]
195 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
196 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
197 -z nodlopen, -z initfirst and -z execstack support.
198 * configure: Regenerated.
199
7e1be741
L
200 * elf/elf.h (DF_1_NODIRECT): New macro.
201 (DF_1_IGNMULDEF): Likewise.
202 (DF_1_NOKSYMS): Likewise.
203 (DF_1_NOHDR): Likewise.
204 (DF_1_EDITED): Likewise.
205 (DF_1_NORELOC): Likewise.
206 (DF_1_SYMINTPOSE): Likewise.
207 (DF_1_GLOBAUDIT): Likewise.
208 (DF_1_SINGLETON): Likewise.
209 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
210 DT_1_SUPPORTED_MASK bits.
211 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
212
105ce2ce
CD
2132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
214
215 * sysdeps/unix/make-syscalls.sh: Document prefixes.
216
123be9de
TS
2172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
218
d072f3f7
TS
219 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
220 macro.
221
123be9de
TS
222 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
223 (sendmmsg): Move declarations...
224 * socket/sys/socket.h: ... here.
225 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
226 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
227 include it from...
228 * socket/recvmmsg.c: ... this new file.
229 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
230 (sendmmsg): Rename to __sendmmsg, create weak alias and make
231 definition of __sendmmsg hidden.
232 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
233 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
234 Move ENOSYS stub into and include it from...
235 * socket/sendmmsg.c: ... this new file.
236 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
237 (sysdep_routines): Move recvmmsg and sendmmsg...
238 * socket/Makefile (routines): ... here.
239 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
240 (GLIBC_PRIVATE): Add __sendmmsg.
241 * include/sys/socket.h (__sendmmsg): Add declarations.
242 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
243 sendmmsg.
244
cf9a5d18
JM
2452012-11-20 Joseph Myers <joseph@codesourcery.com>
246
247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
248 variable I1 with __attribute__ ((unused)).
249 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
250
ecd4caf9
JM
2512012-11-19 Joseph Myers <joseph@codesourcery.com>
252
be14d48f
JM
253 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
254 DUMMY variables with __attribute__ ((unused)).
255
ecd4caf9
JM
256 * bits/byteswap.h: Include <bits/types.h>.
257 (__bswap_64): Use __uint64_t instead of unsigned long long int.
258
986cab95
PT
2592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
260
261 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
262 string_t. Do not manually set errno.
263 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
264 length with __strnlen. Make sure to both set errno and return it on
265 failure.
266
6d33cc9d
DM
2672012-11-19 David S. Miller <davem@davemloft.net>
268
269 With help from Joseph Myers.
270 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
271 very large arguments properly.
272 * math/libm-test.inc (atan_test): New tests.
273 (atan2_test): New tests.
274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
276
ee663277
JM
2772012-11-19 Joseph Myers <joseph@codesourcery.com>
278
877f2d8e
JM
279 [BZ #14856]
280 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
281 Define to 3.
282
116fc08a
JM
283 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
284 [POSIX] (EADDRNOTAVAIL): Likewise.
285 [POSIX] (EAFNOSUPPORT): Likewise.
286 [POSIX] (EALREADY): Likewise.
287 [POSIX] (ECONNABORTED): Likewise.
288 [POSIX] (ECONNREFUSED): Likewise.
289 [POSIX] (ECONNRESET): Likewise.
290 [POSIX] (EDESTADDRREQ): Likewise.
291 [POSIX] (EDQUOT): Likewise.
292 [POSIX] (EHOSTUNREACH): Likewise.
293 [POSIX] (EIDRM): Likewise.
294 [POSIX] (EISCONN): Likewise.
295 [POSIX] (ELOOP): Likewise.
296 [POSIX] (EMULTIHOP): Likewise.
297 [POSIX] (ENETDOWN): Likewise.
298 [POSIX] (ENETUNREACH): Likewise.
299 [POSIX] (ENOBUFS): Likewise.
300 [POSIX] (ENODATA): Likewise.
301 [POSIX] (ENOLINK): Likewise.
302 [POSIX] (ENOMSG): Likewise.
303 [POSIX] (ENOPROTOOPT): Likewise.
304 [POSIX] (ENOSR): Likewise.
305 [POSIX] (ENOSTR): Likewise.
306 [POSIX] (ENOTCONN): Likewise.
307 [POSIX] (ENOTSOCK): Likewise.
308 [POSIX] (EOPNOTSUPP): Likewise.
309 [POSIX] (EOVERFLOW): Likewise.
310 [POSIX] (EPROTO): Likewise.
311 [POSIX] (EPROTONOSUPPORT): Likewise.
312 [POSIX] (EPROTOTYPE): Likewise.
313 [POSIX] (ESTALE): Likewise.
314 [POSIX] (ETIME): Likewise.
315 [POSIX] (ETXTBSY): Likewise.
316 [POSIX] (EWOULDBLOCK): Likewise.
317 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
318 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
319 [POSIX] (SEEK_CUR): Likewise.
320 [POSIX] (SEEK_END): Likewise.
321 [POSIX || UNIX98] (mode_t): Do not require.
322 [POSIX] (off_t): Likewise.
323 [POSIX] (pid_t): Likewise.
324 [POSIX] (sys/stat.h): Do not allow header.
325 [POSIX] (unistd.h): Likewise.
326 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
327 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
328 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
329 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
330 require.
331 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
332 sigevent): Specify elements.
333 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
334 entry.
335 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
336 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
337
a483863f
JM
338 * conform/data/cpio.h-data [POSIX]: Disable whole file.
339 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
340 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
341 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
342 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
343 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
344 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
345 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
346 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
347 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
348 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
349 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
350 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
351 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
352 Likewise.
353 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
354 Likewise.
355 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
356 Likewise.
357 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
358 Likewise.
359 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
360 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
361 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
362 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
363 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
364 Specify lower bound on value.
365 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
366 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
367 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
368 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
369 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
370 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
371 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
372 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
373 value.
374 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
375 as optional.
376 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
377 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
378 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
379 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
380 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
381 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
382 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
383 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
384 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
385 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
386 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
387 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
388 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
389 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
390 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
391 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
392 entry.
393 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
394 optional.
395 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
396 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
397 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
398 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
399 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
400 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
401 Likewise.
402 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
403 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
404 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
405 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
406 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
407 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
408 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
409 as optional.
410 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
411 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
412 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
413 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
414 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
415 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
416 specify as optional.
417 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
418 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
419 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
420 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
421 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
422 [XPG3] (NL_LANGMAX): Likewise.
423 [POSIX || XPG3] (NL_MSGMAX): Likewise.
424 [POSIX || XPG3] (NL_NMAX): Likewise.
425 [POSIX || XPG3] (NL_SETMAX): Likewise.
426 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
427 [XPG3] (NZERO): Likewise.
428 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
429 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
430 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
431 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
432 (REG_ERANGE): Expect.
433 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
434 optional-constant.
435 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
436 Use (void) in prototype.
437 [POSIX] (*_t): Allow.
438 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
439 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
440 (WRDE_BADVAL): Expect.
441
5ba924e3
JM
442 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
443 expect.
444 [XPG3 || XPG4] (O_RSYNC): Likewise.
445 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
446 Likewise.
447 [XPG3 || XPG4] (pthread_sigmask): Likewise.
448 [XPG3 || XPG4] (sigqueue): Likewise.
449 [XPG3 || XPG4] (sigtimedwait): Likewise.
450 [XPG3 || XPG4] (sigwaitinfo): Likewise.
451 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
452 [XPG3 || XPG4] (vsnprintf): Likewise.
453 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
454 Likewise.
455 [XPG3 || XPG4] (blksize_t): Likewise.
456 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
457 Likewise.
458 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
459 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
460 [XPG3 || XPG4] (struct itimerspec): Likewise.
461 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
462 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
463 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
464 [XPG3 || XPG4] (clockid_t): Likewise.
465 [XPG3 || XPG4] (timer_t): Likewise.
466 [XPG3 || XPG4] (clock_getres): Likewise.
467 [XPG3 || XPG4] (clock_gettime): Likewise.
468 [XPG3 || XPG4] (clock_settime): Likewise.
469 [XPG3 || XPG4] (nanosleep): Likewise.
470 [XPG3 || XPG4] (timer_create): Likewise.
471 [XPG3 || XPG4] (timer_delete): Likewise.
472 [XPG3 || XPG4] (timer_gettime): Likewise.
473 [XPG3 || XPG4] (timer_getoverrun): Likewise.
474 [XPG3 || XPG4] (timer_settime): Likewise.
475 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
476 [XPG3 || XPG4] (getlogin_r): Likewise.
477 [XPG3 || XPG4] (pread): Likewise.
478 [XPG3 || XPG4] (pthread_atfork): Likewise.
479 [XPG3 || XPG4] (pwrite): Likewise.
480
ee663277
JM
481 [BZ #14835]
482 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
483 <bits/siginfo.h>.
484
942caa16
PT
4852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
486
e19af380
PT
487 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
488 finalizing MALLSTREAM.
489
942caa16
PT
490 * sysdeps/mach/hurd/syncfs.c: New file.
491
cfde9b46
SP
4922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
493
494 [BZ #14719]
495 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
496 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
497 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
498 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
499 (_nss_dns_gethostbyname4_r): Likewise.
500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
501 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
502
f6da27e5
PH
5032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
504
505 [BZ #13763]
506 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
507
6665d4a2
SM
5082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
509
1f51ee92
SM
510 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
511 * elf/cache.c (print_entry): Print ",AArch64" for
512 FLAG_AARCH64_LIB64
513
6665d4a2
SM
514 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
515 * elf/cache.c (print_entry): Print ",hard-float" for
516 FLAG_ARM_LIBHF.
517
05b227bd
DM
5182012-11-18 David S. Miller <davem@davemloft.net>
519
520 With help from Joseph Myers.
521 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
522 cutoff to 2**-13.
523 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
524 cutoff to 2**-25.
525 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
526 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
527 small.
528 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
529 * math/libm-test.inc (y0_test): New tests.
530 (y1_test): New tests.
531 * sysdeps/i386/fpu/libm-test-ulps: Update.
532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
534
786b0b67
AS
5352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
536
537 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
538 64-bit targets.
539 * configure: Regenerated.
540
8e18b86d
DM
5412012-11-17 David S. Miller <davem@davemloft.net>
542
543 [BZ #14811]
544 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
545 nonzero exponents with absolute value below 0x1p-128 to +/-
546 0x1p-128.
547
531f1ae0
JM
5482012-11-17 Joseph Myers <joseph@codesourcery.com>
549
12df29e2
JM
550 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
551
150dc1a0
JM
552 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
553
531f1ae0
JM
554 * posix/getconf-speclist.c: New file.
555 * posix/posix-envs.def: Likewise.
556 * posix/confstr.c (START_ENV_GROUP): New macro.
557 (END_ENV_GROUP): Likewise.
558 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
559 (KNOWN_PRESENT_ENV_STRING): Likewise.
560 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
561 (UNKNOWN_ENVIRONMENT): Likewise.
562 (confstr): Include posix-envs.def instead of handling
563 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
564 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
565 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
566 (END_ENV_GROUP): Likewise.
567 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
568 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
569 (UNKNOWN_ENVIRONMENT): Likewise.
570 (__sysconf): Include posix-envs.def instead of handling associated
571 cases directly here.
572 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
573 preprocessing getconf-speclist.c rather than running getconf or
574 generating empty file.
575
a93f9cbc
PT
5762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
577
578 * scripts/check-local-headers.sh: Ignore 'mach' headers.
579
d64d9f87
AL
5802012-11-16 Andrej Lajovic <natrij@gmail.com>
581
582 [BZ #14672]
583 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
584
447885eb
DM
5852012-11-16 David S. Miller <davem@davemloft.net>
586
587 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
588 smaller than LDBL_EPSILON/2.0L, just return xm1.
589
bcbf9830
L
5902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
591
592 * elf/tst-array1.c (init): Set constructor priority to 1000.
593 (fini): Set destructor priority to 1000.
594 * elf/tst-array2dep.c: Likewise.
595
2b766585
SP
5962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
597
598 [BZ #11741]
599 * libio/fileops.c (_IO_new_file_write): Correctly return error.
600 (_IO_new_file_xsputn): Also return EOF if none of the input
601 data was written when overflow failed.
602 * libio/iopadn.c (_IO_padn): Likewise.
603 * libio/iowpadn.c (_IO_wpadn): Likewise.
604 * stdio-common/tst-put-error.c: Add copyright notice.
605 (do_test): Add case for printing padded string.
606 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
607 _IO_padn returned error.
608 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
609 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
610 return EOF.
611
b1848fde
SP
6122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
613
614 * libio/libioP.h: Add comment note that the references to C++
615 bits are now obsolete.
616
2fd89785
MS
6172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
618
619 * math/libm-test.inc (check_complex): Use asprintf.
620
e3ea5409
JM
6212012-11-14 Joseph Myers <joseph@codesourcery.com>
622
623 * debug/pcprofiledump.c (print_version): Update copyright year.
624 * malloc/memusagestat.c (print_version): Likewise.
625
2e64d265
L
6262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
627
628 [BZ #14831]
629 * elf/Makefile (tests): Add tst-audit8.
630 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
631 ($(objpfx)tst-audit8.out): New target.
632 (tst-audit8-ENV): New variable.
633 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
634 audit if l_reloc_result is NULL.
635 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
636 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
637 * elf/tst-audit8.c: New file.
638
c485e4d2
MS
6392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
640
641 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
642 * misc/Makefile (CFLAGS-select.c): Define.
643 * posix/Makefile (CFLAGS-pause.c): Define.
644
3a0d900a
DM
6452012-11-13 David S. Miller <davem@davemloft.net>
646
647 * crypt/Makefile: Move test targets after toplevel Rules
648 inclusion. Grab any necessary sysdep routines when linking.
649 * crypt/md5.c (md5_process_block): Remove define, we will always
650 name it __md5_process_block.
651 (md5_finish_ctx): Update md5_process_block call.
652 (md5_stream): Likewise.
653 (md5_process_bytes): Likewise.
654 (md5_process_block): Rename to __md5_process_block and move to ...
655 * crypt/md5-block.c: ... here.
656 * crypt/sha256.c (sha256_process_block): Move to ...
657 * crypt/sha256-block.c: ... here.
658 * crypt/sha512.c (sha512_process_block): Move to ...
659 * crypt/sha512-block.c: ... here.
660 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
661 path.
662 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
663 * sysdeps/sparc/sparc64/multiarch/Makefile
664 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
665 crypt subdir.
666 (localedef-aux): Add md5 crypto assembler when in locale subdir.
667 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
668 multiarch changes.
669 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
670 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
671 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
672 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
673 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
674 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
675 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
676 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
677 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
678 file.
679 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
680 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
681 file.
682 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
683
8ca89318
JM
6842012-11-13 Joseph Myers <joseph@codesourcery.com>
685
e27d476a
JM
686 * timezone/tzselect.ksh: Update from tzcode git revision
687 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
688 * timezone/zdump.c: Likewise.
689 * timezone/zic.c: Likewise.
690 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
691 in TZVERSION setting, not $(PKGVERSION).
692 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
693 REPORT_BUGS_TO settings.
694
8ca89318
JM
695 [BZ #14838]
696 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
697 macro.
698
47594329
MS
6992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
700
701 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
702 detection to immediately after _FP_ROUND().
703 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
704 bits are 0.
705
640ac3f1
DM
7062012-11-11 David S. Miller <davem@davemloft.net>
707
708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
709 inttypes.h
710 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
711 __close rather than their public counterparts.
712
3d2577bb
JM
7132012-11-10 Joseph Myers <joseph@codesourcery.com>
714
715 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
716 file.
717 [UNIX98] (sem_timedwait): Do not expect.
718 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
719 [XPG4 || UNIX98] (sockatmark): Do not expect.
720 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
721 (clock_getcpuclockid): Do not expect.
722 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
723 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
724 Do not expect.
725 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
726 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
727 [UNIX98] (vwscanf): Likewise.
728 [UNIX98] (vswscanf): Likewise.
729
fb1ae1ee
JM
7302012-11-09 Joseph Myers <joseph@codesourcery.com>
731
9ec6f8bd
JM
732 * timezone/version.h: Remove file.
733 * timezone/README: Do not refer to version.h.
734 * timezone/Makefile ($(objpfx)zic.o): New dependency on
735 $(objpfx)version.h.
736 ($(objpfx)zdump.o): Likewise.
c3f81911 737 ($(objpfx)version.h): New target.
9ec6f8bd 738
0aa8f8a1
JM
739 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
740 2012i.
741 * timezone/README: Don't mention modification to tzselect.ksh.
742 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
743 work on unmodified tzselect.ksh. Substitute version numbers in
744 tzselect.ksh.
745
4e87147f
JM
746 * Makefile (format-me): Remove.
747 (INSTALL): Adjust indentation. Use commands directly instead of
748 using $(format-me).
749
8b748aed
JM
750 * aclocal.m4 (ACX_PKGVERSION): New macro.
751 (ACX_BUGURL): Likewise.
752 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
753 (PKGVERSION): New AC_DEFINE_UNQUOTED.
754 (REPORT_BUGS_TO): Likewise.
755 * configure: Regenerated.
756 * config.h.in (PKGVERSION): New macro.
757 (REPORT_BUGS_TO): Likewise.
758 * config.make.in (PKGVERSION): New variable.
759 (PKGVERSION_TEXI): Likewise.
760 (REPORT_BUGS_TO): Likewise.
761 (REPORT_BUGS_TEXI): Likewise.
762 * Makefile (format-me): Use -I$(common-objpfx)manual.
763 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
764 ($(common-objpfx)manual/%): New target.
765 (manual/%): Remove target.
766 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
767 (print_version): Use PKGVERSION.
768 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
769 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
770 and REPORT_BUGS_TO.
771 ($(objpfx)xtrace): Likewise.
772 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
773 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
774 (print_version): Use PKGVERSION.
775 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
776 (do_version): Use PKGVERSION.
777 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
778 REPORT_BUGS_TO.
779 (common-ldd-rewrite): Likewise.
780 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
781 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
782 (print_version): Use PKGVERSION.
783 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
784 * elf/pldd.c (argp_program_bug_address): Remove variable.
785 (more_help): New function.
786 (argp): Use more_help.
787 (print_version): Use PKGVERSION.
788 * elf/sln.c (main): Use PKGVERSION.
789 (usage): Use REPORT_BUGS_TO.
790 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
791 (top level): Use PKGVERSION.
792 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
793 (print_version): Use PKGVERSION.
794 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
795 (print_version): Use PKGVERSION.
796 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
797 (print_version): Use PKGVERSION.
798 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
799 (print_version): Use PKGVERSION.
800 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
801 (print_version): Use PKGVERSION.
802 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
803 (print_version): Use PKGVERSION.
804 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
805 and BUGURL.
806 ($(objpfx)memusage): Likewise.
807 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
808 (do_version): Use PKGVERSION.
809 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
810 (print_version): Use PKGVERSION.
811 * malloc/mtrace.pl ($PACKAGE): Remove variable.
812 ($PKGVERSION): New variable.
813 ($REPORT_BUGS_TO): Likewise.
814 (usage): Use $REPORT_BUGS_TO.
815 (top level): Use $PKGVERSION.
816 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
817 ($(objpfx)pkgvers.texi): New rule.
818 ($(objpfx)stamp-pkgvers): Likewise.
819 * manual/install.texi: Include pkgvers.texi.
820 (--with-pkgversion): Document new configure option.
821 (--with-bugurl): Likewise.
822 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
823 than necessarily for this particular distribution. Use
824 REPORT_BUGS_TO for where to report bugs.
825 * INSTALL: Regenerated.
826 * manual/libc.texinfo: Include pkgvers.texi.
827 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
828 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
829 (print_version): Use PKGVERSION.
830 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
831 (print_version): Use PKGVERSION.
832 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
833 (print_version): Use PKGVERSION.
834 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
835 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
836 macro.
837 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
838 (print_version): Use PKGVERSION.
839 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
840 (print_version): Use PKGVERSION.
841 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
842 and PKGVERSION.
843
92e4b6a9
JM
844 * timezone/checktab.awk: Update from tzcode 2012i.
845 * timezone/ialloc.c: Likewise.
846 * timezone/private.h: Likewise.
847 * timezone/scheck.c: Likewise.
848 * timezone/tzfile.h: Likewise.
849 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
850 (TZVERSION): Hardcode tzcode version number.
851 * timezone/zdump.c: Update from tzcode 2012i.
852 * timezone/zic.c: Likewise.
853 * timezone/version.h: New file.
854 * timezone/README: Describe version.h. Update upstream location.
855
9bde902c
JM
856 [BZ #14824]
857 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
858 (mktemp): Enable declaration.
859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
862 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
863 Likewise.
864 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
865 Likewise.
866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
867 Likewise.
868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
869 Likewise.
870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
871 Likewise.
872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
873 Likewise.
874
fb1ae1ee
JM
875 [BZ #14821]
876 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
877 offset in buffer as u_int32_t not u_long. Consistently use memcpy
878 for copies of such integer values.
879 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
880 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
881
2c1adbcb
AJ
8822012-11-09 Andreas Jaeger <aj@suse.de>
883
884 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
885 definitions and declarations that are provided by
886 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
887
d0f8457e
AK
8882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
889
890 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
891 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
892 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
893 definition.
894
57241e26
MS
8952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
896
897 * elf/elf.h: Update comment before AArch64 relocations.
898
60e8270d
DM
8992012-11-07 David S. Miller <davem@davemloft.net>
900
901 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
902 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
903 (__start_context): Declare.
904 (__makecontext_ret): Delete.
905 (__makecontext): Hook up __start_context instead of
906 __makecontext_ret.
907 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
908 (sysdep_routines): Add __start_context when in stdlib.
909
0fbb0fbc
JM
9102012-11-07 Joseph Myers <joseph@codesourcery.com>
911
912 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
913 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
914 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
915 hardcoded "nm".
916 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
917 (READELF): New variable. Use it instead of hardcoded "readelf".
918
eb48db7e
L
9192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
920
921 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
922 * sysdeps/x86/Makefile: Here.
923 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
924 * sysdeps/x86/tst-xmmymm.sh: This.
925
05bcf62a
JM
9262012-11-07 Joseph Myers <joseph@codesourcery.com>
927
c4b6cf53
JM
928 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
929 expectations.
930 [UNIX98] (pthread_barrier_t): Do not expect.
931 [UNIX98] (pthread_barrierattr_t): Likewise.
932 [UNIX98] (pthread_spinlock_t): Likewise.
933 [UNIX98] (pthread_barrier_destroy): Likewise.
934 [UNIX98] (pthread_barrier_init): Likewise.
935 [UNIX98] (pthread_barrier_wait): Likewise.
936 [UNIX98] (pthread_barrierattr_destroy): Likewise.
937 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
938 [UNIX98] (pthread_barrierattr_init): Likewise.
939 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
940 [UNIX98] (pthread_getcpuclockid): Likewise.
941 [UNIX98] (pthread_mutex_timedlock): Likewise.
942 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
943 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
944 [UNIX98] (pthread_sigmask): Likewise.
945 [UNIX98] (pthread_spin_destroy): Likewise.
946 [UNIX98] (pthread_spin_init): Likewise.
947 [UNIX98] (pthread_spin_lock): Likewise.
948 [UNIX98] (pthread_spin_trylock): Likewise.
949 [UNIX98] (pthread_spin_unlock): Likewise.
950 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
951 Do not expect.
952 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
953 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
954 [XPG3 || XPG4] (pthread_cond_t): Likewise.
955 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
956 [XPG3 || XPG4] (pthread_key_t): Likewise.
957 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
958 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
959 [XPG3 || XPG4] (pthread_once_t): Likewise.
960 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
961 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
962 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
963 [XPG3 || XPG4] (pthread_t): Likewise.
964
cbe6e120
JM
965 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
966 not expect.
967 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
968
1b126443
JM
969 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
970 Change function return type to int.
971
b961a573
JM
972 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
973 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
974 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
975 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
976 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
977 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
978 [!POSIX] (posix_madvise): Likewise.
979 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
980 && !UNIX98].
981 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
982 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
983 (mode_t): Likewise.
984 (posix_mem_offset): Likewise.
985 (posix_typed_mem_get_info): Likewise.
986 (posix_typed_mem_open): Likewise.
987
9e188909
JM
988 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
989 Change condition to [XOPEN2K8].
990
05bcf62a
JM
991 * conform/conformtest.pl: Preprocess allow-header data with -x c
992 instead of from stdin.
993 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
994 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
995 [C99-based standards] (cerfc): Likewise.
996 [C99-based standards] (cexp2): Likewise.
997 [C99-based standards] (cexpm1): Likewise.
998 [C99-based standards] (clog10): Likewise.
999 [C99-based standards] (clog1p): Likewise.
1000 [C99-based standards] (clog2): Likewise.
1001 [C99-based standards] (clgamma): Likewise.
1002 [C99-based standards] (ctgamma): Likewise.
1003 [C99-based standards] (cerff): Likewise.
1004 [C99-based standards] (cerfcf): Likewise.
1005 [C99-based standards] (cexp2f): Likewise.
1006 [C99-based standards] (cexpm1f): Likewise.
1007 [C99-based standards] (clog10f): Likewise.
1008 [C99-based standards] (clog1pf): Likewise.
1009 [C99-based standards] (clog2f): Likewise.
1010 [C99-based standards] (clgammaf): Likewise.
1011 [C99-based standards] (ctgammaf): Likewise.
1012 [C99-based standards] (cerfl): Likewise.
1013 [C99-based standards] (cerfcl): Likewise.
1014 [C99-based standards] (cexp2l): Likewise.
1015 [C99-based standards] (cexpm1l): Likewise.
1016 [C99-based standards] (clog10l): Likewise.
1017 [C99-based standards] (clog1pl): Likewise.
1018 [C99-based standards] (clog2l): Likewise.
1019 [C99-based standards] (clgammal): Likewise.
1020 [C99-based standards] (ctgammal): Likewise.
1021 * conform/data/inttypes.h-data [C99-based standards]: Include
1022 stdint.h-data. Remove all expectations for stdint.h contents.
1023 [C99-based standards] (PRI*): Do not allow.
1024 [C99-based standards] (SCN*): Likewise.
1025 [C99-based standards] (*_t): Likewise.
1026 [C99-based-standards] (PRId8): Expect macro.
1027 [C99-based-standards] (PRIi8): Likewise.
1028 [C99-based-standards] (PRIo8): Likewise.
1029 [C99-based-standards] (PRIu8): Likewise.
1030 [C99-based-standards] (PRIx8): Likewise.
1031 [C99-based-standards] (PRIX8): Likewise.
1032 [C99-based-standards] (SCNd8): Likewise.
1033 [C99-based-standards] (SCNi8): Likewise.
1034 [C99-based-standards] (SCNo8): Likewise.
1035 [C99-based-standards] (SCNu8): Likewise.
1036 [C99-based-standards] (SCNx8): Likewise.
1037 [C99-based-standards] (PRIdLEAST8): Likewise.
1038 [C99-based-standards] (PRIiLEAST8): Likewise.
1039 [C99-based-standards] (PRIoLEAST8): Likewise.
1040 [C99-based-standards] (PRIuLEAST8): Likewise.
1041 [C99-based-standards] (PRIxLEAST8): Likewise.
1042 [C99-based-standards] (PRIXLEAST8): Likewise.
1043 [C99-based-standards] (SCNdLEAST8): Likewise.
1044 [C99-based-standards] (SCNiLEAST8): Likewise.
1045 [C99-based-standards] (SCNoLEAST8): Likewise.
1046 [C99-based-standards] (SCNuLEAST8): Likewise.
1047 [C99-based-standards] (SCNxLEAST8): Likewise.
1048 [C99-based-standards] (PRIdFAST8): Likewise.
1049 [C99-based-standards] (PRIiFAST8): Likewise.
1050 [C99-based-standards] (PRIoFAST8): Likewise.
1051 [C99-based-standards] (PRIuFAST8): Likewise.
1052 [C99-based-standards] (PRIxFAST8): Likewise.
1053 [C99-based-standards] (PRIXFAST8): Likewise.
1054 [C99-based-standards] (SCNdFAST8): Likewise.
1055 [C99-based-standards] (SCNiFAST8): Likewise.
1056 [C99-based-standards] (SCNoFAST8): Likewise.
1057 [C99-based-standards] (SCNuFAST8): Likewise.
1058 [C99-based-standards] (SCNxFAST8): Likewise.
1059 [C99-based-standards] (PRId16): Likewise.
1060 [C99-based-standards] (PRIi16): Likewise.
1061 [C99-based-standards] (PRIo16): Likewise.
1062 [C99-based-standards] (PRIu16): Likewise.
1063 [C99-based-standards] (PRIx16): Likewise.
1064 [C99-based-standards] (PRIX16): Likewise.
1065 [C99-based-standards] (SCNd16): Likewise.
1066 [C99-based-standards] (SCNi16): Likewise.
1067 [C99-based-standards] (SCNo16): Likewise.
1068 [C99-based-standards] (SCNu16): Likewise.
1069 [C99-based-standards] (SCNx16): Likewise.
1070 [C99-based-standards] (PRIdLEAST16): Likewise.
1071 [C99-based-standards] (PRIiLEAST16): Likewise.
1072 [C99-based-standards] (PRIoLEAST16): Likewise.
1073 [C99-based-standards] (PRIuLEAST16): Likewise.
1074 [C99-based-standards] (PRIxLEAST16): Likewise.
1075 [C99-based-standards] (PRIXLEAST16): Likewise.
1076 [C99-based-standards] (SCNdLEAST16): Likewise.
1077 [C99-based-standards] (SCNiLEAST16): Likewise.
1078 [C99-based-standards] (SCNoLEAST16): Likewise.
1079 [C99-based-standards] (SCNuLEAST16): Likewise.
1080 [C99-based-standards] (SCNxLEAST16): Likewise.
1081 [C99-based-standards] (PRIdFAST16): Likewise.
1082 [C99-based-standards] (PRIiFAST16): Likewise.
1083 [C99-based-standards] (PRIoFAST16): Likewise.
1084 [C99-based-standards] (PRIuFAST16): Likewise.
1085 [C99-based-standards] (PRIxFAST16): Likewise.
1086 [C99-based-standards] (PRIXFAST16): Likewise.
1087 [C99-based-standards] (SCNdFAST16): Likewise.
1088 [C99-based-standards] (SCNiFAST16): Likewise.
1089 [C99-based-standards] (SCNoFAST16): Likewise.
1090 [C99-based-standards] (SCNuFAST16): Likewise.
1091 [C99-based-standards] (SCNxFAST16): Likewise.
1092 [C99-based-standards] (PRId32): Likewise.
1093 [C99-based-standards] (PRIi32): Likewise.
1094 [C99-based-standards] (PRIo32): Likewise.
1095 [C99-based-standards] (PRIu32): Likewise.
1096 [C99-based-standards] (PRIx32): Likewise.
1097 [C99-based-standards] (PRIX32): Likewise.
1098 [C99-based-standards] (SCNd32): Likewise.
1099 [C99-based-standards] (SCNi32): Likewise.
1100 [C99-based-standards] (SCNo32): Likewise.
1101 [C99-based-standards] (SCNu32): Likewise.
1102 [C99-based-standards] (SCNx32): Likewise.
1103 [C99-based-standards] (PRIdLEAST32): Likewise.
1104 [C99-based-standards] (PRIiLEAST32): Likewise.
1105 [C99-based-standards] (PRIoLEAST32): Likewise.
1106 [C99-based-standards] (PRIuLEAST32): Likewise.
1107 [C99-based-standards] (PRIxLEAST32): Likewise.
1108 [C99-based-standards] (PRIXLEAST32): Likewise.
1109 [C99-based-standards] (SCNdLEAST32): Likewise.
1110 [C99-based-standards] (SCNiLEAST32): Likewise.
1111 [C99-based-standards] (SCNoLEAST32): Likewise.
1112 [C99-based-standards] (SCNuLEAST32): Likewise.
1113 [C99-based-standards] (SCNxLEAST32): Likewise.
1114 [C99-based-standards] (PRIdFAST32): Likewise.
1115 [C99-based-standards] (PRIiFAST32): Likewise.
1116 [C99-based-standards] (PRIoFAST32): Likewise.
1117 [C99-based-standards] (PRIuFAST32): Likewise.
1118 [C99-based-standards] (PRIxFAST32): Likewise.
1119 [C99-based-standards] (PRIXFAST32): Likewise.
1120 [C99-based-standards] (SCNdFAST32): Likewise.
1121 [C99-based-standards] (SCNiFAST32): Likewise.
1122 [C99-based-standards] (SCNoFAST32): Likewise.
1123 [C99-based-standards] (SCNuFAST32): Likewise.
1124 [C99-based-standards] (SCNxFAST32): Likewise.
1125 [C99-based-standards] (PRId64): Likewise.
1126 [C99-based-standards] (PRIi64): Likewise.
1127 [C99-based-standards] (PRIo64): Likewise.
1128 [C99-based-standards] (PRIu64): Likewise.
1129 [C99-based-standards] (PRIx64): Likewise.
1130 [C99-based-standards] (PRIX64): Likewise.
1131 [C99-based-standards] (SCNd64): Likewise.
1132 [C99-based-standards] (SCNi64): Likewise.
1133 [C99-based-standards] (SCNo64): Likewise.
1134 [C99-based-standards] (SCNu64): Likewise.
1135 [C99-based-standards] (SCNx64): Likewise.
1136 [C99-based-standards] (PRIdLEAST64): Likewise.
1137 [C99-based-standards] (PRIiLEAST64): Likewise.
1138 [C99-based-standards] (PRIoLEAST64): Likewise.
1139 [C99-based-standards] (PRIuLEAST64): Likewise.
1140 [C99-based-standards] (PRIxLEAST64): Likewise.
1141 [C99-based-standards] (PRIXLEAST64): Likewise.
1142 [C99-based-standards] (SCNdLEAST64): Likewise.
1143 [C99-based-standards] (SCNiLEAST64): Likewise.
1144 [C99-based-standards] (SCNoLEAST64): Likewise.
1145 [C99-based-standards] (SCNuLEAST64): Likewise.
1146 [C99-based-standards] (SCNxLEAST64): Likewise.
1147 [C99-based-standards] (PRIdFAST64): Likewise.
1148 [C99-based-standards] (PRIiFAST64): Likewise.
1149 [C99-based-standards] (PRIoFAST64): Likewise.
1150 [C99-based-standards] (PRIuFAST64): Likewise.
1151 [C99-based-standards] (PRIxFAST64): Likewise.
1152 [C99-based-standards] (PRIXFAST64): Likewise.
1153 [C99-based-standards] (SCNdFAST64): Likewise.
1154 [C99-based-standards] (SCNiFAST64): Likewise.
1155 [C99-based-standards] (SCNoFAST64): Likewise.
1156 [C99-based-standards] (SCNuFAST64): Likewise.
1157 [C99-based-standards] (SCNxFAST64): Likewise.
1158 [C99-based-standards] (PRIdMAX): Likewise.
1159 [C99-based-standards] (PRIiMAX): Likewise.
1160 [C99-based-standards] (PRIoMAX): Likewise.
1161 [C99-based-standards] (PRIuMAX): Likewise.
1162 [C99-based-standards] (PRIxMAX): Likewise.
1163 [C99-based-standards] (PRIXMAX): Likewise.
1164 [C99-based-standards] (SCNdMAX): Likewise.
1165 [C99-based-standards] (SCNiMAX): Likewise.
1166 [C99-based-standards] (SCNoMAX): Likewise.
1167 [C99-based-standards] (SCNuMAX): Likewise.
1168 [C99-based-standards] (SCNxMAX): Likewise.
1169 [C99-based-standards] (PRIdPTR): Likewise.
1170 [C99-based-standards] (PRIiPTR): Likewise.
1171 [C99-based-standards] (PRIoPTR): Likewise.
1172 [C99-based-standards] (PRIuPTR): Likewise.
1173 [C99-based-standards] (PRIxPTR): Likewise.
1174 [C99-based-standards] (PRIXPTR): Likewise.
1175 [C99-based-standards] (SCNdPTR): Likewise.
1176 [C99-based-standards] (SCNiPTR): Likewise.
1177 [C99-based-standards] (SCNoPTR): Likewise.
1178 [C99-based-standards] (SCNuPTR): Likewise.
1179 [C99-based-standards] (SCNxPTR): Likewise.
1180 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1181 allow.
1182 * conform/data/stdint.h-data: Update comments to clarify
1183 requirements.
1184 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1185 type.
1186 [C99-based standards] (INT8_MAX): Likewise.
1187 [C99-based standards] (INT16_MIN): Likewise.
1188 [C99-based standards] (INT16_MAX): Likewise.
1189 [C99-based standards] (INT32_MIN): Likewise.
1190 [C99-based standards] (INT32_MAX): Likewise.
1191 [C99-based standards] (INT64_MIN): Likewise.
1192 [C99-based standards] (INT64_MAX): Likewise.
1193 [C99-based standards] (UINT8_MAX): Likewise.
1194 [C99-based standards] (UINT16_MAX): Likewise.
1195 [C99-based standards] (UINT32_MAX): Likewise.
1196 [C99-based standards] (UINT64_MAX): Likewise.
1197 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1198 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1199 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1200 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1201 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1202 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1203 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1204 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1205 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1206 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1207 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1208 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1209 [C99-based standards] (INT_FAST8_MIN): Likewise.
1210 [C99-based standards] (INT_FAST8_MAX): Likewise.
1211 [C99-based standards] (INT_FAST16_MIN): Likewise.
1212 [C99-based standards] (INT_FAST16_MAX): Likewise.
1213 [C99-based standards] (INT_FAST32_MIN): Likewise.
1214 [C99-based standards] (INT_FAST32_MAX): Likewise.
1215 [C99-based standards] (INT_FAST64_MIN): Likewise.
1216 [C99-based standards] (INT_FAST64_MAX): Likewise.
1217 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1218 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1219 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1220 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1221 [C99-based standards] (INTPTR_MIN): Likewise.
1222 [C99-based standards] (INTPTR_MAX): Likewise.
1223 [C99-based standards] (UINTPTR_MAX): Likewise.
1224 [C99-based standards] (INTMAX_MIN): Likewise.
1225 [C99-based standards] (INTMAX_MAX): Likewise.
1226 [C99-based standards] (UINTMAX_MAX): Likewise.
1227 [C99-based standards] (PTRDIFF_MIN): Likewise.
1228 [C99-based standards] (PTRDIFF_MAX): Likewise.
1229 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1230 [C99-based standards] (SIZE_MAX): Likewise.
1231 [C99-based standards] (WCHAR_MAX): Likewise.
1232 [C99-based standards] (WINT_MAX): Likewise.
1233 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1234 constraint on value.
1235 [C99-based standards] (WCHAR_MIN): Likewise.
1236 [C99-based standards] (WINT_MIN): Likewise.
1237 [C99-based standards] (*_t): Allow.
1238 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1239 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1240 Include math.h-data and complex.h-data. Remove all expectations
1241 of math.h and complex.h contents.
1242 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1243 at end of line.
1244 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1245 (struct tm): Expect tag.
1246 [C99-based-standards] (wcstof): Expect function.
1247 [C99-based-standards] (wcstold): Likewise.
1248 [C99-based-standards] (wcstoll): Likewise.
1249 [C99-based-standards] (wcstoull): Likewise.
1250 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1251 macro-int-constant. Specify type.
1252 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1253 constraint on value.
1254 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1255 Specify type.
1256 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1257 Specify value.
1258 [ISO C standards]: Do not allow headers.
1259 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1260 wcs[abcdefghijklmnopqrstuvwxyz]*.
1261 [ISO C standards] (*_t): Do not allow.
1262 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1263 Expect function.
1264 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1265 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1266 Specify type.
1267 [ISO C standards]: Do not allow headers.
1268 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1269 is[abcdefghijklmnopqrstuvwxyz]*.
1270 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1271 to[abcdefghijklmnopqrstuvwxyz]*.
1272 [ISO C standards] (*_t): Do not allow.
1273 * conform/data/stdalign.h-data: New file.
1274 * conform/data/stdbool.h-data: Likewise.
1275 * conform/data/stdnoreturn.h-data: Likewise.
1276
7514feb8
RM
12772012-11-07 Roland McGrath <roland@hack.frob.com>
1278
1279 [BZ #14815]
1280 * manual/filesys.texi (Directory Entries): Typo fix.
1281 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1282
19b2ecfc
MS
12832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1284
1285 * elf/elf.h (EM_AARCH64): New macro.
1286 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1287 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1288 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1289 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1290 (R_AARCH64_TLSDESC): Likewise.
1291 (NT_ARM_TLS): Likewise.
1292 (NT_ARM_HW_BREAK): Likewise.
1293 (NT_ARM_HW_WATCH): Likewise.
1294
60e235ee
JM
12952012-11-07 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #14811]
1298 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1299 (__ieee754_powl): Saturate nonzero exponents with absolute value
1300 below 0x1p-79 to +/- 0x1p-79.
1301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1302 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1303 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1304 nonzero exponents with absolute value below 0x1p-32 to +/-
1305 0x1p-32.
1306 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1307 (__ieee754_powl): Saturate nonzero exponents with absolute value
1308 below 0x1p-79 to +/- 0x1p-79.
1309 * math/libm-test.inc (pow_test): Add more tests.
1310
0ab234b7
AK
13112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1312
1313 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1314 _dl_s390_cap_flags with kernel. Increase string length.
1315 (_dl_s390_platforms): Add z196 and zEC12.
1316
45832f74
JM
13172012-11-07 Joseph Myers <joseph@codesourcery.com>
1318
1319 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1320 Change XOPEN21K to XOPEN2K.
1321
19218757
MK
13222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1323
1324 * string/memmove.c: Use memcpy when possible.
1325
c5f45721
AJ
13262012-11-06 Andreas Jaeger <aj@suse.de>
1327
1328 * po/eo.po: Update from translation team.
1329
82477c28
JM
13302012-11-06 Joseph Myers <joseph@codesourcery.com>
1331
1332 [BZ #14793]
1333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1334 exponent and small x and y exponents, scale x or y up. Increase
1335 by 2 the exponent used in scaling up.
1336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1338 * math/libm-test.inc (fma_test): Add more tests.
1339 (fma_test_towardzero): Likewise.
1340 (fma_test_downward): Likewise.
1341 (fma_test_upward): Likewise.
1342
99252c8c
JM
13432012-11-05 Joseph Myers <joseph@codesourcery.com>
1344
acfa885f
JM
1345 [BZ #14805]
1346 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1347 fenv_t *.
1348
99252c8c
JM
1349 [BZ #14801]
1350 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1351 namespace for names of struct fields.
1352 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1353 fenv_t fields.
1354 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1355 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1356
d6d98dea
ST
13572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1358
1359 [BZ #3665]
1360 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1361
e10bb107
TS
13622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1363
1364 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1365 PTR_DEMANGLE.
1366
1367 [BZ #5246]
1368 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1369 PTR_DEMANGLE.
1370
a0c2940d
JM
13712012-11-04 Joseph Myers <joseph@codesourcery.com>
1372
1373 [BZ #14797]
1374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1375 definitely overflow as x * y not x * y + z.
1376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1377 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1378 * math/libm-test.inc (fma_test): Add more tests.
1379 (fma_test_towardzero): Likewise.
1380 (fma_test_downward): Likewise.
1381 (fma_test_upward): Likewise.
1382
b830319d
TS
13832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1384
1385 [BZ #157]
1386
1387 * include/stub-tag.h: Remove file.
1388 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1389 '#include' of it.
1390 * manual/maint.texi (Porting): Don't reference it.
1391 * Makerules ($(objpfx)stubs): Likewise.
1392 * dirent/closedir.c: Don't include <stub-tag.h>.
1393 * dirent/dirfd.c: Likewise.
1394 * dirent/fdopendir.c: Likewise.
1395 * dirent/getdents.c: Likewise.
1396 * dirent/getdents64.c: Likewise.
1397 * dirent/opendir.c: Likewise.
1398 * dirent/readdir.c: Likewise.
1399 * dirent/readdir64.c: Likewise.
1400 * dirent/readdir64_r.c: Likewise.
1401 * dirent/readdir_r.c: Likewise.
1402 * dirent/rewinddir.c: Likewise.
1403 * dirent/seekdir.c: Likewise.
1404 * dirent/telldir.c: Likewise.
1405 * gmon/profil.c: Likewise.
1406 * grp/setgroups.c: Likewise.
1407 * inet/if_index.c: Likewise.
1408 * io/access.c: Likewise.
1409 * io/chdir.c: Likewise.
1410 * io/chmod.c: Likewise.
1411 * io/chown.c: Likewise.
1412 * io/close.c: Likewise.
1413 * io/dup.c: Likewise.
1414 * io/dup2.c: Likewise.
1415 * io/dup3.c: Likewise.
1416 * io/euidaccess.c: Likewise.
1417 * io/faccessat.c: Likewise.
1418 * io/fchdir.c: Likewise.
1419 * io/fchmod.c: Likewise.
1420 * io/fchmodat.c: Likewise.
1421 * io/fchown.c: Likewise.
1422 * io/fchownat.c: Likewise.
1423 * io/fcntl.c: Likewise.
1424 * io/flock.c: Likewise.
1425 * io/fstatfs.c: Likewise.
1426 * io/fstatfs64.c: Likewise.
1427 * io/fstatvfs.c: Likewise.
1428 * io/fstatvfs64.c: Likewise.
1429 * io/futimens.c: Likewise.
1430 * io/fxstat.c: Likewise.
1431 * io/fxstat64.c: Likewise.
1432 * io/fxstatat.c: Likewise.
1433 * io/fxstatat64.c: Likewise.
1434 * io/getcwd.c: Likewise.
1435 * io/isatty.c: Likewise.
1436 * io/lchmod.c: Likewise.
1437 * io/lchown.c: Likewise.
1438 * io/link.c: Likewise.
1439 * io/linkat.c: Likewise.
1440 * io/lseek.c: Likewise.
1441 * io/lseek64.c: Likewise.
1442 * io/lxstat64.c: Likewise.
1443 * io/mkdir.c: Likewise.
1444 * io/mkdirat.c: Likewise.
1445 * io/mkfifo.c: Likewise.
1446 * io/mkfifoat.c: Likewise.
1447 * io/open.c: Likewise.
1448 * io/open64.c: Likewise.
1449 * io/openat.c: Likewise.
1450 * io/openat64.c: Likewise.
1451 * io/pipe.c: Likewise.
1452 * io/pipe2.c: Likewise.
1453 * io/poll.c: Likewise.
1454 * io/posix_fadvise.c: Likewise.
1455 * io/posix_fadvise64.c: Likewise.
1456 * io/posix_fallocate.c: Likewise.
1457 * io/posix_fallocate64.c: Likewise.
1458 * io/read.c: Likewise.
1459 * io/readlink.c: Likewise.
1460 * io/readlinkat.c: Likewise.
1461 * io/rmdir.c: Likewise.
1462 * io/sendfile.c: Likewise.
1463 * io/sendfile64.c: Likewise.
1464 * io/statfs.c: Likewise.
1465 * io/statfs64.c: Likewise.
1466 * io/statvfs.c: Likewise.
1467 * io/statvfs64.c: Likewise.
1468 * io/symlink.c: Likewise.
1469 * io/symlinkat.c: Likewise.
1470 * io/ttyname.c: Likewise.
1471 * io/ttyname_r.c: Likewise.
1472 * io/umask.c: Likewise.
1473 * io/unlink.c: Likewise.
1474 * io/unlinkat.c: Likewise.
1475 * io/utime.c: Likewise.
1476 * io/utimensat.c: Likewise.
1477 * io/write.c: Likewise.
1478 * io/xmknod.c: Likewise.
1479 * io/xmknodat.c: Likewise.
1480 * io/xstat.c: Likewise.
1481 * io/xstat64.c: Likewise.
1482 * login/getpt.c: Likewise.
1483 * login/grantpt.c: Likewise.
1484 * login/unlockpt.c: Likewise.
1485 * math/e_acoshl.c: Likewise.
1486 * math/e_acosl.c: Likewise.
1487 * math/e_asinl.c: Likewise.
1488 * math/e_atan2l.c: Likewise.
1489 * math/e_atanhl.c: Likewise.
1490 * math/e_coshl.c: Likewise.
1491 * math/e_expl.c: Likewise.
1492 * math/e_fmodl.c: Likewise.
1493 * math/e_gammal_r.c: Likewise.
1494 * math/e_hypotl.c: Likewise.
1495 * math/e_j0l.c: Likewise.
1496 * math/e_j1l.c: Likewise.
1497 * math/e_jnl.c: Likewise.
1498 * math/e_lgammal_r.c: Likewise.
1499 * math/e_log10l.c: Likewise.
1500 * math/e_log2l.c: Likewise.
1501 * math/e_logl.c: Likewise.
1502 * math/e_powl.c: Likewise.
1503 * math/e_rem_pio2l.c: Likewise.
1504 * math/e_sinhl.c: Likewise.
1505 * math/e_sqrtl.c: Likewise.
1506 * math/fclrexcpt.c: Likewise.
1507 * math/fedisblxcpt.c: Likewise.
1508 * math/feenablxcpt.c: Likewise.
1509 * math/fegetenv.c: Likewise.
1510 * math/fegetexcept.c: Likewise.
1511 * math/fegetround.c: Likewise.
1512 * math/feholdexcpt.c: Likewise.
1513 * math/fesetenv.c: Likewise.
1514 * math/fesetround.c: Likewise.
1515 * math/feupdateenv.c: Likewise.
1516 * math/fgetexcptflg.c: Likewise.
1517 * math/fraiseexcpt.c: Likewise.
1518 * math/fsetexcptflg.c: Likewise.
1519 * math/ftestexcept.c: Likewise.
1520 * math/k_cosl.c: Likewise.
1521 * math/k_rem_pio2l.c: Likewise.
1522 * math/k_sinl.c: Likewise.
1523 * math/k_tanl.c: Likewise.
1524 * math/s_asinhl.c: Likewise.
1525 * math/s_atanl.c: Likewise.
1526 * math/s_cbrtl.c: Likewise.
1527 * math/s_erfl.c: Likewise.
1528 * math/s_expm1l.c: Likewise.
1529 * math/s_log1pl.c: Likewise.
1530 * math/s_tanhl.c: Likewise.
1531 * misc/acct.c: Likewise.
1532 * misc/brk.c: Likewise.
1533 * misc/chflags.c: Likewise.
1534 * misc/chroot.c: Likewise.
1535 * misc/fchflags.c: Likewise.
1536 * misc/fgetxattr.c: Likewise.
1537 * misc/flistxattr.c: Likewise.
1538 * misc/fremovexattr.c: Likewise.
1539 * misc/fsetxattr.c: Likewise.
1540 * misc/fsync.c: Likewise.
1541 * misc/ftruncate.c: Likewise.
1542 * misc/futimes.c: Likewise.
1543 * misc/futimesat.c: Likewise.
1544 * misc/getdomain.c: Likewise.
1545 * misc/getdtsz.c: Likewise.
1546 * misc/gethostid.c: Likewise.
1547 * misc/gethostname.c: Likewise.
1548 * misc/getloadavg.c: Likewise.
1549 * misc/getpagesize.c: Likewise.
1550 * misc/getsysstats.c: Likewise.
1551 * misc/getxattr.c: Likewise.
1552 * misc/gtty.c: Likewise.
1553 * misc/ioctl.c: Likewise.
1554 * misc/lgetxattr.c: Likewise.
1555 * misc/listxattr.c: Likewise.
1556 * misc/llistxattr.c: Likewise.
1557 * misc/lremovexattr.c: Likewise.
1558 * misc/lsetxattr.c: Likewise.
1559 * misc/lutimes.c: Likewise.
1560 * misc/madvise.c: Likewise.
1561 * misc/mincore.c: Likewise.
1562 * misc/mlock.c: Likewise.
1563 * misc/mlockall.c: Likewise.
1564 * misc/mmap.c: Likewise.
1565 * misc/mprotect.c: Likewise.
1566 * misc/msync.c: Likewise.
1567 * misc/munlock.c: Likewise.
1568 * misc/munlockall.c: Likewise.
1569 * misc/munmap.c: Likewise.
1570 * misc/preadv.c: Likewise.
1571 * misc/preadv64.c: Likewise.
1572 * misc/ptrace.c: Likewise.
1573 * misc/pwritev.c: Likewise.
1574 * misc/pwritev64.c: Likewise.
1575 * misc/readv.c: Likewise.
1576 * misc/reboot.c: Likewise.
1577 * misc/remap_file_pages.c: Likewise.
1578 * misc/removexattr.c: Likewise.
1579 * misc/revoke.c: Likewise.
1580 * misc/select.c: Likewise.
1581 * misc/setdomain.c: Likewise.
1582 * misc/setegid.c: Likewise.
1583 * misc/seteuid.c: Likewise.
1584 * misc/sethostid.c: Likewise.
1585 * misc/sethostname.c: Likewise.
1586 * misc/setregid.c: Likewise.
1587 * misc/setreuid.c: Likewise.
1588 * misc/setxattr.c: Likewise.
1589 * misc/sstk.c: Likewise.
1590 * misc/stty.c: Likewise.
1591 * misc/swapoff.c: Likewise.
1592 * misc/swapon.c: Likewise.
1593 * misc/sync.c: Likewise.
1594 * misc/syncfs.c: Likewise.
1595 * misc/syscall.c: Likewise.
1596 * misc/truncate.c: Likewise.
1597 * misc/ualarm.c: Likewise.
1598 * misc/usleep.c: Likewise.
1599 * misc/ustat.c: Likewise.
1600 * misc/utimes.c: Likewise.
1601 * misc/vhangup.c: Likewise.
1602 * misc/writev.c: Likewise.
1603 * posix/_exit.c: Likewise.
1604 * posix/alarm.c: Likewise.
1605 * posix/execve.c: Likewise.
1606 * posix/fexecve.c: Likewise.
1607 * posix/fork.c: Likewise.
1608 * posix/fpathconf.c: Likewise.
1609 * posix/getaddrinfo.c: Likewise.
1610 * posix/getegid.c: Likewise.
1611 * posix/geteuid.c: Likewise.
1612 * posix/getgid.c: Likewise.
1613 * posix/getgroups.c: Likewise.
1614 * posix/getlogin.c: Likewise.
1615 * posix/getlogin_r.c: Likewise.
1616 * posix/getpgid.c: Likewise.
1617 * posix/getpid.c: Likewise.
1618 * posix/getppid.c: Likewise.
1619 * posix/getresgid.c: Likewise.
1620 * posix/getresuid.c: Likewise.
1621 * posix/getsid.c: Likewise.
1622 * posix/getuid.c: Likewise.
1623 * posix/glob64.c: Likewise.
1624 * posix/nanosleep.c: Likewise.
1625 * posix/pathconf.c: Likewise.
1626 * posix/pause.c: Likewise.
1627 * posix/posix_madvise.c: Likewise.
1628 * posix/pread.c: Likewise.
1629 * posix/pread64.c: Likewise.
1630 * posix/pwrite.c: Likewise.
1631 * posix/pwrite64.c: Likewise.
1632 * posix/sched_getaffinity.c: Likewise.
1633 * posix/sched_getp.c: Likewise.
1634 * posix/sched_gets.c: Likewise.
1635 * posix/sched_primax.c: Likewise.
1636 * posix/sched_primin.c: Likewise.
1637 * posix/sched_rr_gi.c: Likewise.
1638 * posix/sched_setaffinity.c: Likewise.
1639 * posix/sched_setp.c: Likewise.
1640 * posix/sched_sets.c: Likewise.
1641 * posix/sched_yield.c: Likewise.
1642 * posix/setgid.c: Likewise.
1643 * posix/setlogin.c: Likewise.
1644 * posix/setpgid.c: Likewise.
1645 * posix/setresgid.c: Likewise.
1646 * posix/setresuid.c: Likewise.
1647 * posix/setsid.c: Likewise.
1648 * posix/setuid.c: Likewise.
1649 * posix/sleep.c: Likewise.
1650 * posix/spawni.c: Likewise.
1651 * posix/sysconf.c: Likewise.
1652 * posix/times.c: Likewise.
1653 * posix/wait.c: Likewise.
1654 * posix/wait3.c: Likewise.
1655 * posix/wait4.c: Likewise.
1656 * posix/waitpid.c: Likewise.
1657 * resolv/gai_sigqueue.c: Likewise.
1658 * resource/getpriority.c: Likewise.
1659 * resource/getrlimit.c: Likewise.
1660 * resource/getrusage.c: Likewise.
1661 * resource/nice.c: Likewise.
1662 * resource/setpriority.c: Likewise.
1663 * resource/setrlimit.c: Likewise.
1664 * resource/ulimit.c: Likewise.
1665 * rt/aio_cancel.c: Likewise.
1666 * rt/aio_fsync.c: Likewise.
1667 * rt/aio_read.c: Likewise.
1668 * rt/aio_sigqueue.c: Likewise.
1669 * rt/aio_suspend.c: Likewise.
1670 * rt/aio_write.c: Likewise.
1671 * rt/clock_getres.c: Likewise.
1672 * rt/clock_gettime.c: Likewise.
1673 * rt/clock_nanosleep.c: Likewise.
1674 * rt/clock_settime.c: Likewise.
1675 * rt/lio_listio.c: Likewise.
1676 * rt/mq_close.c: Likewise.
1677 * rt/mq_getattr.c: Likewise.
1678 * rt/mq_notify.c: Likewise.
1679 * rt/mq_open.c: Likewise.
1680 * rt/mq_receive.c: Likewise.
1681 * rt/mq_send.c: Likewise.
1682 * rt/mq_setattr.c: Likewise.
1683 * rt/mq_timedreceive.c: Likewise.
1684 * rt/mq_timedsend.c: Likewise.
1685 * rt/mq_unlink.c: Likewise.
1686 * rt/shm_open.c: Likewise.
1687 * rt/shm_unlink.c: Likewise.
1688 * rt/timer_create.c: Likewise.
1689 * rt/timer_delete.c: Likewise.
1690 * rt/timer_getoverr.c: Likewise.
1691 * rt/timer_gettime.c: Likewise.
1692 * rt/timer_settime.c: Likewise.
1693 * setjmp/__longjmp.c: Likewise.
1694 * setjmp/setjmp.c: Likewise.
1695 * signal/kill.c: Likewise.
1696 * signal/killpg.c: Likewise.
1697 * signal/raise.c: Likewise.
1698 * signal/sigaction.c: Likewise.
1699 * signal/sigaltstack.c: Likewise.
1700 * signal/sigblock.c: Likewise.
1701 * signal/sigignore.c: Likewise.
1702 * signal/sigintr.c: Likewise.
1703 * signal/signal.c: Likewise.
1704 * signal/sigpause.c: Likewise.
1705 * signal/sigpending.c: Likewise.
1706 * signal/sigqueue.c: Likewise.
1707 * signal/sigreturn.c: Likewise.
1708 * signal/sigset.c: Likewise.
1709 * signal/sigsetmask.c: Likewise.
1710 * signal/sigstack.c: Likewise.
1711 * signal/sigsuspend.c: Likewise.
1712 * signal/sigtimedwait.c: Likewise.
1713 * signal/sigvec.c: Likewise.
1714 * signal/sigwait.c: Likewise.
1715 * signal/sigwaitinfo.c: Likewise.
1716 * signal/sysv_signal.c: Likewise.
1717 * socket/accept.c: Likewise.
1718 * socket/accept4.c: Likewise.
1719 * socket/bind.c: Likewise.
1720 * socket/connect.c: Likewise.
1721 * socket/getpeername.c: Likewise.
1722 * socket/getsockname.c: Likewise.
1723 * socket/getsockopt.c: Likewise.
1724 * socket/isfdtype.c: Likewise.
1725 * socket/listen.c: Likewise.
1726 * socket/recv.c: Likewise.
1727 * socket/recvfrom.c: Likewise.
1728 * socket/recvmsg.c: Likewise.
1729 * socket/send.c: Likewise.
1730 * socket/sendmsg.c: Likewise.
1731 * socket/sendto.c: Likewise.
1732 * socket/setsockopt.c: Likewise.
1733 * socket/shutdown.c: Likewise.
1734 * socket/sockatmark.c: Likewise.
1735 * socket/socket.c: Likewise.
1736 * socket/socketpair.c: Likewise.
1737 * stdio-common/ctermid.c: Likewise.
1738 * stdio-common/cuserid.c: Likewise.
1739 * stdio-common/remove.c: Likewise.
1740 * stdio-common/rename.c: Likewise.
1741 * stdio-common/renameat.c: Likewise.
1742 * stdio-common/tempname.c: Likewise.
1743 * stdlib/getcontext.c: Likewise.
1744 * stdlib/makecontext.c: Likewise.
1745 * stdlib/setcontext.c: Likewise.
1746 * stdlib/swapcontext.c: Likewise.
1747 * stdlib/system.c: Likewise.
1748 * streams/fattach.c: Likewise.
1749 * streams/fdetach.c: Likewise.
1750 * streams/getmsg.c: Likewise.
1751 * streams/getpmsg.c: Likewise.
1752 * streams/putmsg.c: Likewise.
1753 * streams/putpmsg.c: Likewise.
1754 * sysdeps/unix/bsd/getpt.c: Likewise.
1755 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1756 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1757 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1759 Likewise.
1760 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1761 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1762 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1763 * sysvipc/msgctl.c: Likewise.
1764 * sysvipc/msgget.c: Likewise.
1765 * sysvipc/msgrcv.c: Likewise.
1766 * sysvipc/msgsnd.c: Likewise.
1767 * sysvipc/semctl.c: Likewise.
1768 * sysvipc/semget.c: Likewise.
1769 * sysvipc/semop.c: Likewise.
1770 * sysvipc/semtimedop.c: Likewise.
1771 * sysvipc/shmat.c: Likewise.
1772 * sysvipc/shmctl.c: Likewise.
1773 * sysvipc/shmdt.c: Likewise.
1774 * sysvipc/shmget.c: Likewise.
1775 * termios/tcdrain.c: Likewise.
1776 * termios/tcflow.c: Likewise.
1777 * termios/tcflush.c: Likewise.
1778 * termios/tcgetattr.c: Likewise.
1779 * termios/tcgetpgrp.c: Likewise.
1780 * termios/tcsendbrk.c: Likewise.
1781 * termios/tcsetattr.c: Likewise.
1782 * termios/tcsetpgrp.c: Likewise.
1783 * time/adjtime.c: Likewise.
1784 * time/clock.c: Likewise.
1785 * time/getitimer.c: Likewise.
1786 * time/gettimeofday.c: Likewise.
1787 * time/setitimer.c: Likewise.
1788 * time/settimeofday.c: Likewise.
1789 * time/stime.c: Likewise.
1790 * time/time.c: Likewise.
1791
17922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1793
a20492cf
PT
1794 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1795 /usr/old/bin.
1796
72e182e3
PT
1797 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1798 instead of spaces.
1799 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1800
fbeafede
JM
18012012-11-03 Joseph Myers <joseph@codesourcery.com>
1802
5b5b04d6
JM
1803 [BZ #14796]
1804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1805 FE_TONEAREST before applying Dekker multiplication and Knuth
1806 addition. Clear inexact exceptions and check for exact zero
1807 results afterwards.
1808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1809 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1810 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1811 * math/libm-test.inc (fma_test): Add more tests.
1812 (fma_test_towardzero): Likewise.
1813 (fma_test_downward): Likewise.
1814 (fma_test_upward): Likewise.
1815 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1816 function.
1817 (libc_fesetround): New macro.
1818 (libc_fesetroundf): Likewise.
1819 (libc_fesetroundl): Likewise.
1820 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1821 function.
1822 (libc_fesetround_387): Likewise.
1823 (libc_fesetroundf): New macro.
1824 (libc_fesetround): Likewise.
1825 (libc_fesetroundl): Likewise.
1826 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1827 function.
1828 (libc_fesetroundf): New macro.
1829 (libc_fesetround): Likewise.
1830 (libc_fesetroundl): Likewise.
1831 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1832 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1833 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1834 libm_hidden_ver.
1835 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1836 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1837 libm_hidden_def.
1838 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1839 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1840 libm_hidden_ver.
1841 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1842 libm_hidden_def.
1843
fbeafede
JM
1844 [BZ #3439]
1845 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1846 integer constant usable in #if and use that to give value to enum
1847 constant.
1848 (FE_DIVBYZERO): Likewise.
1849 (FE_UNDERFLOW): Likewise.
1850 (FE_OVERFLOW): Likewise.
1851 (FE_INVALID): Likewise.
1852 (FE_INVALID_SNAN): Likewise.
1853 (FE_INVALID_ISI): Likewise.
1854 (FE_INVALID_IDI): Likewise.
1855 (FE_INVALID_ZDZ): Likewise.
1856 (FE_INVALID_IMZ): Likewise.
1857 (FE_INVALID_COMPARE): Likewise.
1858 (FE_INVALID_SOFTWARE): Likewise.
1859 (FE_INVALID_SQRT): Likewise.
1860 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1861 (FE_TONEAREST): Likewise.
1862 (FE_TOWARDZERO): Likewise.
1863 (FE_UPWARD): Likewise.
1864 (FE_DOWNWARD): Likewise.
1865 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1866 (FE_DIVBYZERO): Likewise.
1867 (FE_OVERFLOW): Likewise.
1868 (FE_UNDERFLOW): Likewise.
1869 (FE_INEXACT): Likewise.
1870 (FE_TONEAREST): Likewise.
1871 (FE_DOWNWARD): Likewise.
1872 (FE_UPWARD): Likewise.
1873 (FE_TOWARDZERO): Likewise.
1874 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1875 (FE_UNDERFLOW): Likewise.
1876 (FE_OVERFLOW): Likewise.
1877 (FE_DIVBYZERO): Likewise.
1878 (FE_INVALID): Likewise.
1879 (FE_TONEAREST): Likewise.
1880 (FE_TOWARDZERO): Likewise.
1881 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1882 (FE_OVERFLOW): Likewise.
1883 (FE_UNDERFLOW): Likewise.
1884 (FE_DIVBYZERO): Likewise.
1885 (FE_INEXACT): Likewise.
1886 (FE_TONEAREST): Likewise.
1887 (FE_TOWARDZERO): Likewise.
1888 (FE_UPWARD): Likewise.
1889 (FE_DOWNWARD): Likewise.
1890 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1891 (FE_DIVBYZERO): Likewise.
1892 (FE_OVERFLOW): Likewise.
1893 (FE_UNDERFLOW): Likewise.
1894 (FE_INEXACT): Likewise.
1895 (FE_TONEAREST): Likewise.
1896 (FE_DOWNWARD): Likewise.
1897 (FE_UPWARD): Likewise.
1898 (FE_TOWARDZERO): Likewise.
1899
105ca950
CM
19002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1901
1902 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1903
a542b389
AS
19042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1905
1906 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1907 commands. Quote $PWD.
1908 (blacklist_exports): Don't use remove_newlines. Replace "declare
1909 -x" by "export".
1910 (remove_newlines): Remove.
1911
f62c8abc
L
19122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1915 * stdlib/stdlib.h (atof): Moved to ...
1916 * include/bits/stdlib-float.h: Here. New file.
1917 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1918 * stdlib/bits/stdlib-float.h: New file.
1919 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1920 -mno-sse -mno-mmx.
1921 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1922 <xmmintrin.h>.
1923
0155d5b2
JM
19242012-11-02 Joseph Myers <joseph@codesourcery.com>
1925
a68d0680
JM
1926 * conform/conformtest.pl (@headers): Add fenv.h.
1927 * conform/data/fenv.h-data: New file.
1928 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1929 include of <math/fenv.h>.
1930
caf7f573
JM
1931 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1932 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1933 && !UNIX98]. Enables tests for XOPEN2K8.
1934 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1935 POSIX2008]: Likewise.
1936
6c073ad6
JM
1937 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1938 (struct rusage): Do not expect type or its members.
1939
0155d5b2
JM
1940 [BZ #3439]
1941 * math/math.h (FP_NAN): Define macro to integer constant usable in
1942 #if and use that to give value to enum constant.
1943 (FP_INFINITE): Likewise.
1944 (FP_ZERO): Likewise.
1945 (FP_SUBNORMAL): Likewise.
1946 (FP_NORMAL): Likewise.
1947
b5dcacb4
AS
19482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1949
1950 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1951 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1952 arguments.
1953
f7934be8
RM
19542012-11-02 Roland McGrath <roland@hack.frob.com>
1955
1956 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1957 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1958 autoconf-time if not.
1959 * configure.in: Remove AC_PREREQ.
1960
d7d08bde
TMQMF
19612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1962
1963 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1964 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1965 of the internal implementation.
1966
dcdae19a
JM
19672012-11-02 Joseph Myers <joseph@codesourcery.com>
1968
1969 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1970 except include of <misc/sys/syslog.h>.
1971
d6cffd3e
AS
19722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1973
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1975 function returns with a NULL context exit with zero.
1976
b3563932
TMQMF
19772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1978
1979 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1980
b288a93d
L
19812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1982
1983 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1984 (run_program_cmd): This.
1985 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1986 (tst_langinfo): New variable. Use it.
1987
a2421a68
SAS
19882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1989
1990 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1991 floating point opcodes.
1992
6f796e1b
TS
19932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1994
7402596b
TS
1995 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1996 variable.
1997
d0d4f868
TS
1998 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1999
6f796e1b
TS
2000 * sysdeps/mach/hurd/powerpc: Remove directory.
2001 * sysdeps/mach/powerpc: Likewise.
2002
4da224a2
AS
20032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2004
2005 * scripts/check-local-headers.sh: Ignore c++ headers.
2006
341dd673
TS
20072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2008
2009 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2010 __libc_cleanup_region_start argument.
2011
473611b2
JM
20122012-11-01 Joseph Myers <joseph@codesourcery.com>
2013
2014 [BZ #14784]
2015 [BZ #14785]
2016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2017 x * y using scaling, not as x * y + z.
2018 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2019 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2020 * math/libm-test.inc (fma_test): Add more tests.
2021 (fma_test_towardzero): Likewise.
2022 (fma_test_downward): Likewise.
2023 (fma_test_upward): Likewise.
2024
4078da3d
TS
20252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2026
2027 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2028
903252aa
JM
20292012-10-31 Joseph Myers <joseph@codesourcery.com>
2030
2031 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2032 New variable.
2033
cbc818d0
TS
20342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2035
2036 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2037
5a03cb1e
AS
20382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2039
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2041 Fix sort order.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2043 Likewise.
2044
90aff2ff
TMQMF
20452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2046
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2048 Fix the order of the list for glibc 2.17.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2050 Likewise.
2051
1818fcb7
AS
20522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2053
2054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2055
ef82f4da
JM
20562012-10-31 Joseph Myers <joseph@codesourcery.com>
2057
16a0e2ec
JM
2058 [BZ #14610]
2059 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2060 for low part of x being zero before using __atanl (y).
2061 * math/libm-test.inc (atan2_test): Add another test.
2062
0eb69512
JM
2063 * manual/install.texi (Configuring and compiling): Document
2064 general use of test-wrapper and test-wrapper-env.
2065 * INSTALL: Regenerated.
2066
ef82f4da
JM
2067 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2068 (__fma): Do not extract and scale down low bits on after-rounding
2069 systems when result rounded to normal precision would have normal
2070 exponent.
2071 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2072 (__fmal): Do not extract and scale down low bits on after-rounding
2073 systems when result rounded to normal precision would have normal
2074 exponent.
2075 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2076 (__fmal): Do not extract and scale down low bits on after-rounding
2077 systems when result rounded to normal precision would have normal
2078 exponent.
2079 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2080 macro.
2081 (fma_test): Add more tests.
2082 (fma_test_towardzero): Likewise.
2083 (fma_test_downward): Likewise.
2084 (fma_test_upward): Likewise.
2085
954ef0d9
L
20862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 * sysdeps/i386/tininess.h: Renamed to ...
2089 * sysdeps/x86/tininess.h: This.
2090 * sysdeps/x86_64/tininess.h: Removed.
2091
df61ffb2
JM
20922012-10-30 Joseph Myers <joseph@codesourcery.com>
2093
2094 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2095 input. Use $(build-program-cmd).
2096 ($(objpfx)tst-array1-static.out): Likewise.
2097 ($(objpfx)tst-array2.out): Likewise.
2098 ($(objpfx)tst-array3.out): Likewise.
2099 ($(objpfx)tst-array4.out): Likewise.
2100 ($(objpfx)tst-array5.out): Likewise.
2101 ($(objpfx)tst-array5-static.out): Likewise.
2102
01767843
CM
21032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2104
47cc1490
CM
2105 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2106 if defined.
2107
01767843
CM
2108 * nss/nsswitch.h (nss_interface_function): Provide new
2109 macro for use with NSS functions.
2110 * grp/initgroups.c: Use new macro.
2111 * nss/getXXbyYY.c: Likewise.
2112 * nss/getXXbyYY_r.c: Likewise.
2113 * nss/getXXent.c: Likewise.
2114 * nss/getXXent_r.c: Likewise.
2115 * sysdeps/posix/getaddrinfo.c: Likewise.
2116
8321aa97
AJ
21172012-10-30 Andreas Jaeger <aj@suse.de>
2118
2119 * po/ru.po: Update Russion translation from translation project.
2120
2a27fd6d
JM
21212012-10-30 Joseph Myers <joseph@codesourcery.com>
2122
8627a232
JM
2123 [BZ #14152]
2124 [BZ #14783]
2125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2126 result and shift together with sticky bit instead of replicating
2127 round-to-nearest rounding.
2128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2129 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2130 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2131 missing underflow exceptions.
2132 (fma_test_towardzero): Add more tests.
2133 (fma_test_downward): Likewise.
2134 (fma_test_upward): Likewise.
2135
2a27fd6d
JM
2136 [BZ #14047]
2137 * sysdeps/generic/tininess.h: New file.
2138 * sysdeps/i386/tininess.h: Likewise.
2139 * sysdeps/sh/tininess.h: Likewise.
2140 * sysdeps/x86_64/tininess.h: Likewise.
2141 * stdlib/tst-strtod-underflow.c: Likewise.
2142 * stdlib/tst-tininess.c: Likewise.
2143 * stdlib/strtod_l.c: Include <tininess.h>.
2144 (round_and_return): Do not set errno for exact underflow cases.
2145 Force an underflow exception when setting errno for underflow.
2146 Determine underflow based on rounding to normal precision if
2147 TININESS_AFTER_ROUNDING.
2148 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2149 ERANGE for exact underflow cases.
2150 * stdlib/Makefile (tests): Add tst-tininess and
2151 tst-strtod-underflow.
2152 ($(objpfx)tst-tininess): Use $(link-libm).
2153 ($(objpfx)tst-strtod-underflow): Likewise.
2154
e7170363
AJ
21552012-10-30 Andreas Jaeger <aj@suse.de>
2156
e5088dc6
AJ
2157 [BZ#14767]
2158 * elf/Makefile (tests): Remove conditional for have-initfini-array
2159 since this is now always required and the variable does not exist
2160 anymore.
2161 (tests-static): Likewise.
2162 (modules-names): Likewise.
2163
e7170363 2164 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2165
2166 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2167 merged with constructor/destructor.
2168 (init_array): Likewise.
2169 * elf/tst-array2dep.c (fini_array): Likewise.
2170 (init_array): Likewise.
2171
60457d8a
MF
21722012-10-29 Mike Frysinger <vapier@gentoo.org>
2173
2174 * manual/message.texi: Delete @cartouche tags.
2175
8bece752
PT
21762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2177
94ce799f
PT
2178 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2179 EOPNOTSUPP.
2180 * sysdeps/mach/hurd/fsync.c: Likewise.
2181
8bece752
PT
2182 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2183 [_POSIX_REALTIME_SIGNALS]: Change condition to
2184 [_POSIX_REALTIME_SIGNALS > 0].
2185
86ebe6b1
AJ
21862012-10-27 Andreas Jaeger <aj@suse.de>
2187
2188 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2189 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2191 [__WORDSIZE != 64]: Likewise.
2192
54399c08
L
21932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2194
2195 * iconvdata/tst-table.sh: Remove ${SHELL}.
2196 * iconvdata/tst-tables.sh: Likewise.
2197
e2211bed
DM
21982012-10-25 David S. Miller <davem@davemloft.net>
2199
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2201 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2202 of strtoull.
2203
f303f97c
DM
2204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2205 ifunc-impl-list.c
2206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2207 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2208 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2209 file.
2210
1e9d84cd
RM
22112012-10-25 Roland McGrath <roland@hack.frob.com>
2212
2213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2214 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2215 __getdirentries.
2216
df381762
JM
22172012-10-25 Joseph Myers <joseph@codesourcery.com>
2218 Jim Blandy <jimb@codesourcery.com>
2219
2220 * scripts/cross-test-ssh.sh: New file.
2221 * manual/install.texi (Configuring and compiling): Document use of
2222 cross-test-ssh.sh.
2223 * INSTALL: Regenerated.
2224
bff64913
PT
22252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2226
2227 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2228 EOPNOTSUPP.
2229
25fe8932
JM
22302012-10-25 Joseph Myers <joseph@codesourcery.com>
2231
2232 * Makeconfig (run-program-prefix): Fix comment.
2233
cc1290d0
JM
22342012-10-24 Joseph Myers <joseph@codesourcery.com>
2235 Jim Blandy <jimb@codesourcery.com>
2236
2237 * Makeconfig (test-wrapper): New variable,
2238 (test-wrapper-env): Likewise.
2239 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2240 (run-built-tests): Define to yes.
2241 (run-program-prefix): Use $(test-wrapper).
2242 (built-program-cmd): Likewise.
2243 * Rules (make-test-out): Use $(test-wrapper-env) and
2244 $(host-built-program-cmd).
2245 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2246 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2247 tst-pathopt.sh.
2248 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2249 $(test-wrapper-env) to tst-rtld-load-self.sh.
2250 ($(objpfx)order2.out): Use $(test-wrapper).
2251 ($(objpfx)tst-initorder.out): Likewise.
2252 ($(objpfx)tst-initorder2.out): Likewise.
2253 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2254 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2255 (test_wrapper_env): New variable. Use it to run ld.so.
2256 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2257 Use it to run ld.so.
2258 (test_wrapper_env): Likewise.
2259 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2260 $(test-wrapper) to run-iconv-test.sh.
2261 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2262 (ICONV): Use $test_wrapper.
2263 * posix/Makefile ($(objpfx)globtest.out): Pass
2264 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2265 globtest.sh, not $(run-program-prefix).
2266 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2267 (test_wrapper): Likewise.
2268 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2269 set together with run_via_rtld_prefix.
2270 (run_program_prefix): Define in terms of test_wrapper and
2271 run_via_rtld_prefix.
2272
6e6249d0
RM
22732012-10-24 Roland McGrath <roland@hack.frob.com>
2274
2275 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2276 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2277 Targets removed.
2278
2279 [BZ #14743]
2280 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2281 Declare __clock_getres, __clock_gettime, __clock_settime,
2282 __clock_nanosleep, and __clock_getcpuclockid.
2283 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2284 Remove librt_hidden_def (clock_gettime).
2285 * sysdeps/unix/clock_gettime.c: Likewise.
2286 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2287 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2288 * rt/clock_getres.c: Define __clock_getres as an alias.
2289 * sysdeps/posix/clock_getres.c: Likewise.
2290 * rt/clock_settime.c: Define __clock_settime as an alias.
2291 * sysdeps/unix/clock_settime.c: Likewise.
2292 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2293 * sysdeps/unix/clock_nanosleep.c: Likewise.
2294 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2295 * rt/clock-compat.c: New file.
2296 * rt/Makefile (librt-routines): Add clock-compat and move
2297 $(clock-routines) to ...
2298 (routines): ... here, new variable.
2299 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2300 Don't add get_clockfreq here.
2301 * rt/Versions (libc: GLIBC_2.17): New version set.
2302 Add clock_* symbols here.
2303 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2304 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2305 (GLIBC_2.17): Add clock_* symbols.
2306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2310 Likewise.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2312 Likewise.
2313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2317 * NEWS: Mention the move.
2318
2319 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2320 Use __open, __read, __close rather than their public counterparts.
2321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2322 (__get_clockfreq_via_cpuinfo): Likewise.
2323 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2324 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2325
2326 * config.h.in (HAVE_IFUNC): New #undef.
2327 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2328 was successful.
2329 * configure: Regenerated.
2330
0cae3f4b
MF
23312012-10-24 Mike Frysinger <vapier@gentoo.org>
2332
2333 * configure.in: Move READELF check to start of file.
2334 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2335 libc_cv_asm_gnu_indirect_function in the process.
2336 * configure: Regenerated.
2337
8175a253
MF
23382012-10-24 Mike Frysinger <vapier@gentoo.org>
2339
2340 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2341 send the output to /dev/null.
2342 (libc_cv_cc_with_libunwind): Likewise.
2343 (libc_cv_as_noexecstack): Likewise.
2344 * configure: Regenerate.
2345
0708a7d1
JM
23462012-10-24 Joseph Myers <joseph@codesourcery.com>
2347
10b40d85
JM
2348 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2349
0708a7d1
JM
2350 * posix/globtest.sh (TMPDIR): Do not set.
2351 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2352 (testout): Likewise.
2353
9fddec1a
AJ
23542012-10-24 Andreas Jaeger <aj@suse.de>
2355
3a8db22f
AJ
2356 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2357 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2358 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2359 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2360 posix_fadvise64, posix_fallocate64.
2361
9fddec1a
AJ
2362 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2363 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2364 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2365 Likewise.
2366 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2367 Likewise.
2368 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2369
2370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2371 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2372 <bits/fcntl-linux.h>.
2373 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2374
2375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2376 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2377 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2378 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2379 [__WORDSIZE != 64]: Likewise.
2380
ebfd1bbd
JM
23812012-10-23 Joseph Myers <joseph@codesourcery.com>
2382
03ac099f
JM
2383 * Makeconfig (run-built-tests): New variable.
2384 * Rules [$(cross-compiling) = yes]: Change condition to
2385 [$(run-built-tests) = no].
2386 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2387 to [$(run-built-tests) = yes].
2388 * elf/Makefile [$(cross-compiling) = no]: Likewise
2389 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2390 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2391 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2392 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2393 * io/Makefile [$(cross-compiling) = no]: Likewise.
2394 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2395 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2396 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2397 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2398 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2399 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2400 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2401 * string/Makefile [$(cross-compiling) = no]: Likewise.
2402
ebfd1bbd
JM
2403 * posix/Makefile ($(objpfx)globtest.out): Pass
2404 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2405 $(rtld-installed-name).
2406 * posix/globtest.sh (elf_objpfx): Remove variable.
2407 (rtld_installed_name): Likewise.
2408 (library_path): Likewise.
2409 (run_program_prefix): New variable. Use for running globtest
2410 binary.
2411
166bca24
JB
24122012-10-23 Jim Blandy <jimb@codesourcery.com>
2413 Joseph Myers <joseph@codesourcery.com>
2414
2415 * Makeconfig (host-built-program-cmd): New variable.
2416 * elf/Makefile (tst-stackguard1-ARGS): Use
2417 $(host-built-program-cmd).
2418 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2419 (tst-spawn-ARGS): Likewise.
2420 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2421
88866099
JM
24222012-10-23 Joseph Myers <joseph@codesourcery.com>
2423 Jim Blandy <jimb@codesourcery.com>
2424
2425 * Makeconfig (run-via-rtld-prefix): New variable.
2426 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2427 (built-program-cmd): Likewise.
2428
b4b4c296
AJ
24292012-10-22 Andreas Jaeger <aj@suse.de>
2430
2431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2432 __O_RSYNC if it exists, otherwise to O_SYNC.
2433
6fb54a22
JB
24342012-10-22 Jim Blandy <jimb@codesourcery.com>
2435 Joseph Myers <joseph@codesourcery.com>
2436
2437 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2438 /dev/null.
2439 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2440 from /dev/null
2441 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2442 /dev/null.
2443
481b90b9
AJ
24442012-10-22 Andreas Jaeger <aj@suse.de>
2445
2a0e2669
AJ
2446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2447 Define always.
2448 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2449
76e38f9a
AJ
2450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2451 bits/fcntl-linux.h.
2452
7cd37b43
AJ
2453 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2454 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2455
481b90b9
AJ
2456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2457 to __O_LARGEFILE.
2458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2459 to __O_LARGEFILE.
2460
aba75984
JB
24612012-10-21 Jim Blandy <jimb@codesourcery.com>
2462 Joseph Myers <joseph@codesourcery.com>
2463
2464 * config.make.in (NM): New variable.
2465
88d4247f
AJ
24662012-10-21 Andreas Jaeger <aj@suse.de>
2467
2468 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2469 definitions and declarations that are provided by
2470 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2471
f2eed205
L
24722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 [BZ #14683]
2475 * elf/Makefile (tests-static): Add tst-leaks1-static.
2476 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2477 ($(objpfx)tst-leaks1-static): New rule.
2478 ($(objpfx)tst-leaks1-static-mem): Likewise.
2479 (tst-leaks1-static-ENV): New macro.
2480 * elf/dl-open.c (dl_open_worker): Check the main application
2481 only if SHARED is defined.
2482 * elf/tst-leaks1-static.c: New file.
2483
335e6931
AJ
24842012-10-20 Andreas Jaeger <aj@suse.de>
2485
2486 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2487 generic values for Linux.
2488 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2489 and declarations that are provided by <bits/fcntl-linux.h> and
2490 include <bits/fcntl-linux.h>.
2491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2492 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2493
ac5c94d3
RM
24942012-10-20 Roland McGrath <roland@hack.frob.com>
2495
2496 * io/fcntl.h: Move include of <bits/types.h> to the top and
2497 include it unconditionally.
2498
de54b33a
L
24992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2500
228cfb01
L
2501 * wcsmbs/Makefile (tests-ifunc): New variable.
2502 (tests): Add $(tests-ifunc).
2503 * wcsmbs/test-wcschr-ifunc.c: New file.
2504 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2505 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2506 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2507 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2508 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2509
69f07e5f
L
2510 * string/Makefile (tests-ifunc): New variable.
2511 (tests): Add $(tests-ifunc).
2512 * string/test-memccpy.c (TEST_NAME): New macro.
2513 * string/test-memchr.c (TEST_NAME): Likewise.
2514 * string/test-memcmp.c (TEST_NAME): Likewise.
2515 * string/test-memcpy.c (TEST_NAME): Likewise.
2516 * string/test-memmem.c (TEST_NAME): Likewise.
2517 * string/test-memmove.c (TEST_NAME): Likewise.
2518 * string/test-memset.c (TEST_NAME): Likewise.
2519 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2520 * string/test-stpcpy.c (TEST_NAME): Likewise.
2521 * string/test-stpncpy.c (TEST_NAME): Likewise.
2522 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2523 * string/test-strcasestr.c (TEST_NAME): Likewise.
2524 * string/test-strcat.c (TEST_NAME): Likewise.
2525 * string/test-strchr.c (TEST_NAME): Likewise.
2526 * string/test-strcmp.c(TEST_NAME): Likewise.
2527 * string/test-strcpy.c (TEST_NAME): Likewise.
2528 * string/test-strcspn.c (TEST_NAME): Likewise.
2529 * string/test-strlen.c (TEST_NAME): Likewise.
2530 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2531 * string/test-strncmp.c (TEST_NAME): Likewise.
2532 * string/test-strncpy.c (TEST_NAME): Likewise.
2533 * string/test-strnlen.c (TEST_NAME): Likewise.
2534 * string/test-strpbrk.c (TEST_NAME): Likewise.
2535 * string/test-strrchr.c (TEST_NAME): Likewise.
2536 * string/test-strspn.c (TEST_NAME): Likewise.
2537 * string/test-strstr.c (TEST_NAME): Likewise.
2538 * string/test-bcopy-ifunc.c: New file.
2539 * string/test-bzero-ifunc.c: Likewise.
2540 * string/test-memccpy-ifunc.c: Likewise.
2541 * string/test-memchr-ifunc.c: Likewise.
2542 * string/test-memcmp-ifunc.c: Likewise.
2543 * string/test-memcpy-ifunc.c: Likewise.
2544 * string/test-memmem-ifunc.c: Likewise.
2545 * string/test-memmove-ifunc.c: Likewise.
2546 * string/test-mempcpy-ifunc.c: Likewise.
2547 * string/test-memset-ifunc.c: Likewise.
2548 * string/test-rawmemchr-ifunc.c: Likewise.
2549 * string/test-stpcpy-ifunc.c: Likewise.
2550 * string/test-stpncpy-ifunc.c: Likewise.
2551 * string/test-strcasecmp-ifunc.c: Likewise.
2552 * string/test-strcasestr-ifunc.c: Likewise.
2553 * string/test-strcat-ifunc.c: Likewise.
2554 * string/test-strchr-ifunc.c: Likewise.
2555 * string/test-strchrnul-ifunc.c: Likewise.
2556 * string/test-strcmp-ifunc.c: Likewise.
2557 * string/test-strcpy-ifunc.c: Likewise.
2558 * string/test-strcspn-ifunc.c: Likewise.
2559 * string/test-strlen-ifunc.c: Likewise.
2560 * string/test-strncasecmp-ifunc.c: Likewise.
2561 * string/test-strncat-ifunc.c: Likewise.
2562 * string/test-strncmp-ifunc.c: Likewise.
2563 * string/test-strncpy-ifunc.c: Likewise.
2564 * string/test-strnlen-ifunc.c: Likewise.
2565 * string/test-strpbrk-ifunc.c: Likewise.
2566 * string/test-strrchr-ifunc.c: Likewise.
2567 * string/test-strspn-ifunc.c: Likewise.
2568 * string/test-strstr-ifunc.c: Likewise.
2569
de54b33a
L
2570 * debug/Makefile (tests-ifunc): New variable.
2571 (tests): Add $(tests-ifunc).
2572 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2573 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2574 * debug/test-stpcpy_chk-ifunc.c: New file.
2575 * debug/test-strcpy_chk-ifunc.c: Likewise.
2576
88481c16
SP
25772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2578
2579 [BZ #13601]
2580 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2581 header is not read in.
2582
135948bd
JM
25832012-10-19 Joseph Myers <joseph@codesourcery.com>
2584
89f1c388
JM
2585 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2586 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2587 directly. Pass built executable to script as
2588 $(built-program-cmd).
2589 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2590 $testprogram without using LD_LIBRARY_PATH and $ldso.
2591
e40a0d21
JM
2592 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2593 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2594 $(rtld-installed-name).
2595 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2596 (rtld_installed_name): Likewise.
2597 (library_path): Likewise.
2598 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2599 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2600 $(run-program-prefix) to tst-tables.sh.
2601 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2602 it to run tst-table-from and tst-table-to.
2603 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2604 Pass it to tst-table.sh.
2605 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2606 $(run-program-prefix) to tst-gettext.sh.
2607 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2608 tst-translit.sh.
2609 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2610 tst-gettext2.sh.
2611 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2612 to run tst-gettext.
2613 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2614 to run tst-gettext2.
2615 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2616 to run tst-translit.
2617 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2618 $(run-program-prefix) to tst-mtrace.sh.
2619 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2620 to run tst-mtrace.
2621 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2622 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2623 $(rtld-installed-name).
2624 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2625 (rtld_installed_name): Likewise.
2626 (run_program_prefix): New variable. Use it to run wordexp-test.
2627
728e272a
JM
2628 * Makeconfig (ARCH): Remove all definitions.
2629 (machine): Likewise.
2630 [ARCH]: Remove conditional code.
2631 [!objdir]: Give error.
2632 [!objdir] (objpfx): Remove.
2633 [!objdir] (common-objpfx): Likewise.
2634 [!objdir] (common-objdir): Likewise.
2635 * configure.in (config_makefile): Remove. Hardcode Makefile in
2636 AC_CONFIG_FILES call.
2637 * configure: Regenerated.
2638
d528cdcf
JM
2639 [BZ #13888]
2640 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2641 or TMPDIR.
2642 (testout): Likewise.
2643
135948bd
JM
2644 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2645 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2646 $(rtld-installed-name).
2647 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2648 (rtld_installed_name): Likwise.
2649 (runit): Remove function.
2650 (run_getconf): New variable, Use it for running getconf binary.
2651
38c78296
L
26522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 [BZ #14716]
2655 * string/test-memmem.c (check_result): New function.
2656 (do_one_test): Use it.
2657 (check1): New function.
2658 (test_main): Use it.
2659
d077f65f
MT
26602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2661
2662 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2663
ced52c71
JM
26642012-10-18 Joseph Myers <joseph@codesourcery.com>
2665
2666 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2667 (_G_LSEEK64): Likewise.
2668 (_G_MMAP64): Likewise.
2669 (_G_FSTAT64): Likewise.
2670 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2671 (_G_LSEEK64): Likewise.
2672 (_G_MMAP64): Likewise.
2673 (_G_FSTAT64): Likewise.
2674 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2675 unconditional. Call __mmap64 directly.
2676 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2677 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2678 __lseek64 directly.
2679 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2680 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2681 __mmap64 directly.
2682 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2683 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2684 __lseek64 directly.
2685 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2686 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2687 __lseek64 directly.
2688 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2689 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2690 __lseek64 directly.
2691 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2692 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2693 __fxstat64 directly.
2694 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2695 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2696 unconditional.
2697 (freopen64) [!_G_OPEN64]: Remove conditional code.
2698 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2699 unconditional.
2700 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2701 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2702 unconditional.
2703 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2704 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2705 unconditional.
2706 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2707 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2708 unconditional.
2709 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2710 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2711 unconditional.
2712 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2713 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2714 unconditional.
2715 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2716 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2717 unconditional.
2718 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2719
b741de23
SP
27202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2721
2722 [BZ #12140]
2723 * manual/memory.texi (Malloc Tunable Parameters): Add note
2724 about free list pointers overwriting some perturb bytes.
2725 Wording suggested by Roland McGrath.
2726
f9b9d9c9
JM
27272012-10-17 Joseph Myers <joseph@codesourcery.com>
2728
2729 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2730 (lgamma_test): Likewise.
2731 (tgamma_test): Likewise.
2732
172a631a
FW
27332012-10-16 Florian Weimer <fweimer@redhat.com>
2734
2735 [BZ #14700]
2736 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2737 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2738
e9f37252
MK
27392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2740
2741 * NEWS: Mention BZ #14716.
2742 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2743 when removing AVAILABLE1_USES_J macro.
2744
d394eb74
L
27452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2746
2747 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2748 (__bswap_64): __uint64_t for unsigned 64-bit int.
2749
ca38dc17
AS
27502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2751
2752 * include/string.h (memmem): Declare libc hidden alias.
2753 * string/memmem.c (memmem): Define libc hidden alias.
2754 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2755 __read, __close instead of open, read, close.
2756
9a387d1f
L
27572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2758
ac49ecaf
L
2759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2760 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2761 global and hidden.
2762 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2763 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2764 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2765 Likewise.
2766 (__rawmemchr_sse2): Likewise.
2767 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2768 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2769 (__strchr_sse2): Likewise.
2770 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2771 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2772 (__strcasecmp_sse2): Likewise.
2773 (__strncasecmp_sse2): Likewise.
2774 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2775 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2776 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2777 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2778 (__strrchr_sse2): Likewise.
2779 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2780 ifunc-impl-list.c.
2781 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2782 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2783 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2784 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2785 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2786 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2787 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2788 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2789 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2790 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2791 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2792 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2793 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2794 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2795 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2796 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2797 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2798 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2799 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2800 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2801 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2802 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2803 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2804 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2805 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2806 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2807 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2808 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2809 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2810 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2811
b090e8ea
L
2812 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2813 global and hidden.
2814 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2815 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2816 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2817 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2818 Likewise.
2819 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2820 Likewise.
2821 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2822 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2823 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2824 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2825 ifunc-impl-list.c.
2826 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2827 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2828 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2829 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2830 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2831 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2832 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2834 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2835 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2836 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2837 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2838 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2839 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2844 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2846 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2847 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2848 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2850 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2851 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2852 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2856 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2857 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2858 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2859 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2860 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2861 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2862 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2863 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2864 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2865 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2866 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2867
11dd4af6
L
2868 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2869 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2870 * include/ifunc-impl-list.h: New file.
2871 * misc/ifunc-impl-list.c: Likewise.
2872 * misc/Makefile (routines): Add ifunc-impl-list.
2873 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2874 * string/test-string.h: Include <ifunc-impl-list.h>.
2875 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2876 impl_array): New variables.
2877 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2878 are defined.
2879 (test_init): Call __libc_ifunc_impl_list to initialize
2880 func_list if TEST_IFUNC and TEST_NAME are defined.
2881
9a387d1f
L
2882 * string/Makefile (strop-tests): Add bcopy and bzero.
2883 * string/test-bcopy.c: New file.
2884 * string/test-bzero.c: Likewise.
2885 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2886 defined.
2887 * string/test-memset.c: Support bzero test if TEST_BZERO is
2888 defined.
2889 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2890 __libc_memmove.
2891 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2892 __libc_memset.
2893 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2894 of memset.
2895
472371b9
JM
28962012-10-10 Joseph Myers <joseph@codesourcery.com>
2897
1e4a9536
JM
2898 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2899 * configure: Regenerated.
2900
d173d12e
JM
2901 * Makeconfig (+link-static-before-libc): Don't include
2902 $(link-static-libc).
2903
472371b9
JM
2904 * libio/libio.h (_IO_pos_t): Remove.
2905
89a3ad0b
AO
29062012-10-10 Alexandre Oliva <aoliva@redhat.com>
2907
2908 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2909 McGrath.
2910
e7451425
AO
29112012-10-10 Alexandre Oliva <aoliva@redhat.com>
2912
2913 * crypt/crypt-entry.c: Include fips-private.h.
2914 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2915 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2916 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2917 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2918
4ba74a35
AO
29192012-10-10 Alexandre Oliva <aoliva@redhat.com>
2920
2921 * crypt/crypt-private.h: Include stdbool.h.
2922 (_ufc_setup_salt_r): Return bool.
2923 * crypt/crypt-entry.c: Include errno.h.
2924 (__crypt_r): Return NULL with EINVAL for bad salt.
2925 * crypt/crypt_util.c (bad_for_salt): New.
2926 (_ufc_setup_salt_r): Check that salt is long enough and within
2927 the specified alphabet.
2928 * crypt/badsalttest.c: New file.
2929 * crypt/Makefile (tests): Add it.
2930 ($(objpfx)badsalttest): New.
2931
f96f1242
MK
29322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2933
2934 * NEWS: Add entry for BZ #14602.
2935
0e8e0c1c
JM
29362012-10-09 Joseph Myers <joseph@codesourcery.com>
2937
2938 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2939 type-generic.
2940 * math/libm-test.inc: Update comment listing what functions and
2941 macros are tested.
2942 (isgreater_test): New function.
2943 (isgreaterequal_test): Likewise.
2944 (isless_test): Likewise.
2945 (islessequal_test): Likewise.
2946 (islessgreater_test): Likewise.
2947 (isunordered_test): Likewise.
2948 (main): Call the new functions.
2949
273edc5e
RM
29502012-10-09 Roland McGrath <roland@hack.frob.com>
2951
b8493de0
RM
2952 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2953 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2954 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2955 * sysdeps/i386/configure: Regenerated.
2956 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2957 * sysdeps/mach/configure: Regenerated.
2958 * sysdeps/mach/hurd/configure: Regenerated.
2959 * sysdeps/powerpc/configure: Regenerated.
2960 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2961 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2962 * sysdeps/s390/s390-32/configure: Regenerated.
2963 * sysdeps/s390/s390-64/configure: Regenerated.
2964 * sysdeps/sh/configure: Regenerated.
2965 * sysdeps/sparc/configure: Regenerated.
2966 * sysdeps/unix/sysv/linux/configure: Regenerated.
2967 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2968 * sysdeps/x86_64/configure: Regenerated.
2969
273edc5e
RM
2970 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2971 defined. Don't check if MAP is NULL.
2972
c8450f70
JM
29732012-10-09 Joseph Myers <joseph@codesourcery.com>
2974
2975 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2976 (_G_stat64): Likewise.
2977 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2978 (_G_stat64): Likewise.
2979 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2980 instead of struct _G_stat64.
2981 * libio/fileops.c (mmap_remap_check): Likewise.
2982 (decide_maybe_mmap): Likewise.
2983 (_IO_new_file_seekoff): Likewise.
2984 (_IO_file_stat): Likewise.
2985 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2986 _G_off64_t.
2987 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2988 instead of struct _G_stat64.
2989 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2990
57e605ba
MK
29912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2992
2993 [BZ #14602]
2994 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2995 Replace with ...
2996 (CHECK_EOL): New macro.
2997 (two_way_short_needle): Check beginning of haystack for EOL. Use
2998 CHECK_EOL.
2999 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3000 Replace with CHECK_EOL.
3001 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3002 Replace with CHECK_EOL.
3003
ef1bb361
JM
30042012-10-08 Joseph Myers <joseph@codesourcery.com>
3005
3006 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3007 type-generic.
3008 * math/libm-test.inc: Update comment listing what functions and
3009 macros are tested.
3010 (finite_test): New function.
3011 (isinf_test): Likewise.
3012 (isnan_test): Likewise.
3013 (fpclassify_test): Test subnormal input.
3014 (isfinite_test): Likewise.
3015 (isnormal_test): Likewise.
3016 (main): Call the new functions.
3017
55f11534
JN
30182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3019
3020 [BZ #14660]
3021 * Makerules (%.dynsym): Force C locale when running
3022 $(OBJDUMP) --dynamic-syms.
3023
1ab29350
AS
30242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3025
3026 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3027 <stdint.h>.
3028
f1ecb7ef
DM
30292012-10-06 David S. Miller <davem@davemloft.net>
3030
3031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3032 upper 32-bits of the length value in %o2 since we use branch-on-register
3033 tests which consider the entire 64-bit register.
3034
5d41d91a
L
30352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 * string/test-strstr.c (check2): Add a test for page boundary.
3038
3baddb72
DM
30392012-10-05 David S. Miller <davem@davemloft.net>
3040
3041 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3042 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3043 file.
3044 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3045 sysdep_routines.
3046 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3047 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3048 and bzero when HWCAP_SPARC_CRYPTO is present.
3049
9cee5585
L
30502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3051
d7e0dab9
L
3052 [BZ #14602]
3053 * string/test-strstr.c (check2): New function.
3054 (test_main): Call check2.
3055
03759f47
L
3056 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3057 and bug-strchr1.
3058 * string/bug-strcasestr1.c (do_test): Moved to ...
3059 * string/test-strcasestr.c (check1): Here. New function.
3060 (do_one_test): Break out result checking code into ...
3061 (check_result): This. New function.
3062 (do_one_test): Call check_result.
3063 (test_main): Call check1.
3064 * string/bug-strchr1.c (do_test): Moved to ...
3065 * string/test-strchr.c (check1): Here. New function.
3066 (do_one_test): Break out result checking code into ...
3067 (check_result): This. New function.
3068 (do_one_test): Call check_result.
3069 (test_main): Call check1.
3070 * string/bug-strstr1.c (main): Moved to ...
3071 * string/test-strchr.c (check1): Here. New function.
3072 (do_one_test): Break out result checking code into ...
3073 (check_result): This. New function.
3074 (do_one_test): Call check_result.
3075 (test_main): Call check1.
3076 * string/bug-strcasestr1.c: Removed.
3077 * string/bug-strchr1.c: Likewise.
3078 * string/bug-strstr1.c: Likewise.
3079
53cea63e
L
3080 * elf/Makefile (dl-routines): Add hwcaps.
3081 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3082 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3083 (_dl_important_hwcaps): Moved to ...
3084 * elf/dl-hwcaps.c: Here. New file.
3085 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3086
9cee5585 3087 [BZ #14557]
bb859b06
L
3088 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3089 if IS_IN_rtld isn't defined.
3090
9cee5585
L
3091 * elf/dl-support.c (_dl_sysinfo_map): New.
3092 Include "get-dynamic-info.h" and "setup-vdso.h".
3093 (_dl_non_dynamic_init): Call setup_vdso.
3094 * elf/dynamic-link.h: Don't include <assert.h>.
3095 (elf_get_dynamic_info): Moved to ...
3096 * elf/get-dynamic-info.h: Here. New file.
3097 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3098 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3099 * elf/setup-vdso.h: Here. New file.
3100 * elf/rtld.c: Include "setup-vdso.h".
3101 (dl_main): Call setup_vdso.
3102
23c31b76
JM
31032012-10-05 Joseph Myers <joseph@codesourcery.com>
3104
28234b07
JM
3105 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3106 creal in comment listing functions tested. List finite, isinf,
3107 isnan, isless, islessequal, isgreater, isgreaterequal,
3108 islessgreater, isunordered, lgamma_r and pow10 as functions and
3109 macros not tested. Mention which functions not tested are aliases
3110 for other functions. Fix typo. Note that signs of NaNs are not
3111 tested.
3112
23c31b76
JM
3113 * scripts/config.guess: Update from config.git.
3114 * scripts/config.sub: Likewise.
3115
9043e228
RM
31162012-10-04 Roland McGrath <roland@hack.frob.com>
3117
3118 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3119 * misc/madvise.c (madvise): Renamed to __madvise.
3120 Make madvise a weak alias.
3121 * include/sys/mman.h: Declare __madvise.
3122 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3123 * sysdeps/unix/syscalls.list
3124 (madvise): Make __madvise the strong name, and madvise a weak alias.
3125 * sysdeps/unix/sysv/linux/syscalls.list
3126 (madvise, mmap): Remove redundant entries.
3127 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3128 * malloc/malloc.c (mtrim): Likewise.
3129 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3130
f57f8055
RM
31312012-10-03 Roland McGrath <roland@hack.frob.com>
3132
3133 * sysdeps/mach/hurd/dl-cache.c: File removed.
3134 * config.h.in (USE_LDCONFIG): New #undef.
3135 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3136 * configure: Regenerated.
3137 * elf/Makefile (dl-routines): Add dl-cache only under
3138 [$(use-ldconfig) = yes].
3139 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3140 cache on [USE_LDCONFIG].
3141 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3142 [USE_LDCONFIG].
3143 * elf/rtld.c (dl_main): Likewise.
3144
5bb0c10a
PT
31452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3146
3147 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3148 _SC_LEVEL4_CACHE_LINESIZE.
3149
010188c6
RM
31502012-10-03 Roland McGrath <roland@hack.frob.com>
3151
3152 * sysdeps/unix/bsd/confstr.h: File removed.
3153
b6c5ec07
AO
31542012-10-02 Alexandre Oliva <aoliva@redhat.com>
3155
3156 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3157 sys/sdt-config.h.
3158
408223d4
RM
31592012-10-02 Roland McGrath <roland@hack.frob.com>
3160
3161 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3162 Make 'mapoff' field ElfW(Off) rather than off_t.
3163
bb9510dc
DL
31642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3165
fc997c6e
DL
3166 * nscd/Makefile: Remove nscd-cflags and all its users.
3167 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3168 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3169
bb9510dc
DL
3170 [BZ #10631]
3171 * malloc.c (malloc_printerr): Clarify error message.
3172
05699367
L
31732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3174
3175 [BZ #14648]
3176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3177 Set bit_FMA_Usable if FMA is supported.
3178 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3179 macro.
3180 (bit_FMA4_Usable): Updated.
3181 (index_FMA_Usable): New macro.
3182 (CPUID_FMA): Likewise
3183 (HAS_FMA): Defined with bit_FMA_Usable.
3184
51367701
RM
31852012-10-01 Roland McGrath <roland@hack.frob.com>
3186
3187 * bits/types.h (__swblk_t): Type removed.
3188 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3189 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3190 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3191 (__SWBLK_T_TYPE): Likewise.
3192 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3193 (__SWBLK_T_TYPE): Likewise.
3194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3195 (__SWBLK_T_TYPE): Likewise.
3196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3197 (__SWBLK_T_TYPE): Likewise.
3198
4d57bf63 31992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3200 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3201
3202 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3203 (xdr_mapname): Use YPMAXMAP as maxsize.
3204 (xdr_peername): Use YPMAXPEER as maxsize.
3205 (xdr_keydat): Use YPAXRECORD as maxsize.
3206 (xdr_valdat): Use YPMAXRECORD as maxsize.
3207
93c65d43
RM
32082012-10-01 Roland McGrath <roland@hack.frob.com>
3209
497a03d6
RM
3210 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3211
93c65d43
RM
3212 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3213 * csu/init-first.c: ... here.
3214 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3215 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3216 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3217 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3218 * sysdeps/i386/init-first.c: File removed.
3219 * sysdeps/sh/init-first.c: File removed.
3220
bec749fd
JM
32212012-10-01 Joseph Myers <joseph@codesourcery.com>
3222
3223 [BZ #14645]
3224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3225 if x * y might underflow to zero and z is zero.
3226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3228 * math/libm-test.inc (min_subnorm_value): New variable.
3229 (fma_test): Add more tests.
3230 (fma_test_towardzero): Likewise.
3231 (fma_test_downward): Likewise
3232 (fma_test_upward): Likewise.
3233 (initialize): Set min_subnorm_value.
3234
8ec5b013
JM
32352012-09-29 Joseph Myers <joseph@codesourcery.com>
3236
3237 [BZ #14638]
3238 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3239 0 + 0.
3240 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3241 mode for addition resulting in exact zero.
3242 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3244 exact 0 + 0.
3245 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3247 * math/libm-test.inc (fma_test): Add more tests.
3248 (fma_test_towardzero): New function.
3249 (fma_test_downward): Likewise.
3250 (fma_test_upward): Likewise.
3251 (main): Call the new functions.
3252
b1fa802e
DM
32532012-09-28 David S. Miller <davem@davemloft.net>
3254
3255 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3256
d3b9fd9e
RM
32572012-09-28 Roland McGrath <roland@hack.frob.com>
3258
ea4d37b3
RM
3259 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3260 instead of SIGALRM.
3261
ac51c949
RM
3262 * sysdeps/gnu/_G_config.h: Moved to ...
3263 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3264 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3265 * sysdeps/generic/_G_config.h: ... here.
3266
28c195f7
RM
3267 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3268
848917f9
RM
3269 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3270
6bacf05b
RM
3271 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3272 Conditionalize target on [libnss_test1.so-version].
3273
91363dbb
RM
3274 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3275
cc87f7d8
RM
3276 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3277 (elfobjdir): Move out of conditionals.
3278
b1c608fe
RM
3279 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3280 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3281 (__nss_lookup_function): Conditionalize label remove_from_tree on
3282 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3283
1d9a6d96
DM
32842012-09-28 David S. Miller <davem@davemloft.net>
3285
3286 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3287 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3288 file.
3289 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3290 sysdep_routines.
3291 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3293 when HWCAP_SPARC_CRYPTO is present.
3294
72581615
PT
32952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3296
3297 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3298
715a900c
JL
32992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3300
3301 [BZ #6530]
3302 * stdio-common/vfprintf.c (process_string_arg): Revert
3303 2000-07-22 change.
3304
33052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3306
3307 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3308 for testcase.
3309 * stdio-common/tst-sprintf.c: Include <locale.h>
3310 (main): Test sprintf's handling of incomplete multibyte
3311 characters.
3312
9bac1d86
L
33132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3314
3315 * elf/dl-runtime.c (VERSYMIDX): Removed.
3316 * elf/dl-version.c (VERSYMIDX): Likewise.
3317 * elf/do-rel.h (VERSYMIDX): Likewise.
3318 (VALIDX): Likewise.
3319 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3320 * elf/rtld.c (VALIDX): Likewise.
3321 (ADDRIDX): Likewise.
9bac1d86
L
3322 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3323 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3324 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3325 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3326 (VALIDX): Likewise.
3327 (ADDRIDX): Likewise.
9bac1d86 3328
b31606c0
PT
33292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3330
3331 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3332
11541177
JL
33332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3334
3335 [BZ #11438]
3336 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3337 to global scope.
3338 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3339 addresses are in the same scope as 192.0.2/24.
3340 * posix/gai.conf: Document new scope table defaults.
3341
adb26fae
SP
33422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3343
3344 [BZ #5298]
3345 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3346 for ftell. Compute offsets from write pointers instead.
3347 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3348
4573c6b0
SP
33492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3350
3351 [BZ #14543]
3352 * libio/Makefile (tests): New test case tst-fseek.
3353 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3354 combination works in wide mode.
3355 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3356 state when the external buffer state changes.
3357
aa9bbfe6
DM
33582012-09-27 David S. Miller <davem@davemloft.net>
3359
3360 [BZ #14376]
3361 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3362 pass reloc->r_addend in as the 'high' argument to
3363 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3364
784421e7
DM
3365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3366
c39bc8b8
PT
33672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3368
3369 * rt/tst-aio2.c: Include <pthread.h>.
3370 * rt/tst-aio3.c: Likewise.
3371
1ccc2399
SE
33722012-09-27 Steve Ellcey <sellcey@mips.com>
3373
3374 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3375
31ed4153
L
33762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3377
25f5f885
L
3378 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3379 contents on [SHARED].
31ed4153 3380
b7bfe116
MP
33812012-09-26 Marek Polacek <polacek@redhat.com>
3382
3383 [BZ #14530]
3384 [BZ #13741]
3385 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3386 for C++ and GCC <4.3 as well as for non GCC compilers.
3387
43c4edba
MT
33882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3389
3390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3391
6a1bf82f
RM
33922012-09-25 Roland McGrath <roland@hack.frob.com>
3393
3394 * Makefile.in (all, install): Declare with .PHONY.
3395 Reported by Michael Hope <michael.hope@linaro.org>.
3396
8ad11b9a
TMQMF
33972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3398
3399 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3400 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3401 system header.
3402 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3403 Likewise.
3404 (sydep_routines): Add the new and the internal functions.
3405 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3406 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3408 (GLIBC_2.17): Add the new function.
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3410 (GLIBC_2.17): Likewise.
3411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3412 (GLIBC_2.17): Likewise.
3413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3414 (GLIBC_2.17): Likewise.
3415 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3416
7e2fca8d
AM
34172012-09-25 Alan Modra <amodra@gmail.com>
3418
3419 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3420 Add release barrier before setting once_control to say
3421 initialisation is done. Add hints on lwarx. Use macro in
3422 place of isync.
3423 (clear_once_control): Add release barrier.
3424
b87c4b24
JM
34252012-09-25 Joseph Myers <joseph@codesourcery.com>
3426
d032e0d2
JM
3427 [BZ #13629]
3428 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3429 specially.
3430 * math/s_clog10.c (__clog10): Likewise.
3431 * math/s_clog10f.c (__clog10f): Likewise.
3432 * math/s_clog10l.c (__clog10l): Likewise.
3433 * math/s_clogf.c (__clogf): Likewise.
3434 * math/s_clogl.c (__clogl): Likewise.
3435 * math/Makefile (libm-calls): Add x2y2m1.
3436 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3437 (__x2y2m1): Likewise.
3438 (__x2y2m1l): Likewise.
3439 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3440 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3441 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3443 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3444 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3445 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3446 * sysdeps/i386/fpu/libm-test-ulps: Update.
3447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3448
b87c4b24
JM
3449 [BZ #14621]
3450 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3451 int as type of variable DEPTH.
3452 (glob): Use size_t instead of int as type of variables NEWCOUNT
3453 and OLD_PATHC.
3454
6d3bf199
LD
34552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3456
22bf5c17
LD
3457 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3458 Add s_sincosf-sse2.
3459 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3460 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3461 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3462 macros for using routine as __sincosf_ia32.
3463 Use macro for function declaration and weak_alias.
3464 * sysdeps/i386/fpu/libm-test-ulps: Update.
3465
3466 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3468
3469 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3470 subnormal argument.
3471 * math/s_cexpf.c (__cexpf): Likewise.
3472 * math/s_csinf.c (__csinf): Likewise.
3473 * math/s_csinhf.c (__csinhf): Likewise.
3474 * math/s_ctanf.c (__ctanf): Likewise.
3475 * math/s_ctanhf.c (__ctanhf): Likewise.
3476 * math/s_ccosh.c (__ccoshf): Likewise.
3477 * math/s_cexp.c (__cexpl): Likewise.
3478 * math/s_csin.c (__csin): Likewise.
3479 * math/s_csinh.c (__csinh): Likewise.
3480 * math/s_ctan.c (__ctan): Likewise.
3481 * math/s_ctanh.c (ctanh): Likewise.
3482 * math/s_ccoshl.c (__ccoshl): Likewise.
3483 * math/s_cexpl.c (__cexpl): Likewise.
3484 * math/s_csinl.c (__csinl): Likewise.
3485 * math/s_csinhl.c (__csinhl): Likewise.
3486 * math/s_ctanl.c (__ctanl): Likewise.
3487 * math/s_ctanhl.c (__ctanhl): Likewise.
3488
203e5603
JM
34892012-09-25 Joseph Myers <joseph@codesourcery.com>
3490
3491 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3492 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3493 (_IO_off_t): Define to __off_t, not _G_off_t.
3494 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3495 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3496 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3497 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3498 type of __dummy and __dummy2 fields.
3499 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3500 (_G_ssize_t): Likewise.
3501 (_G_off_t): Likewise.
3502 (_G_pid_t): Likewise.
3503 (_G_uid_t): Likewise.
3504 (_G_wchar_t): Likewise.
3505 (_G_wint_t): Likewise.
3506 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3507 (_G_ssize_t): Likewise.
3508 (_G_off_t): Likewise.
3509 (_G_pid_t): Likewise.
3510 (_G_uid_t): Likewise.
3511 (_G_wchar_t): Likewise.
3512 (_G_wint_t): Likewise.
3513 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3514 (_G_ssize_t): Likewise.
3515 (_G_off_t): Likewise.
3516 (_G_pid_t): Likewise.
3517 (_G_uid_t): Likewise.
3518 (_G_wchar_t): Likewise.
3519 (_G_wint_t): Likewise.
3520
9fab36eb
SP
35212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3522
3523 * malloc/arena.c: Include malloc-sysdep.h.
3524 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3525 is sufficient to shrink the heap or an unmap is needed.
3526 * sysdeps/generic/malloc-sysdep.h: New file. Define
3527 new function check_may_shrink_heap.
3528 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3529 new function check_may_shrink_heap.
3530
2b4f00d1
SP
35312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3532
3533 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3534 comments.
3535
9a9028b1
DL
35362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3537
57c69bef
DL
3538 * catgets/test-gencat.sh: Add "set -e".
3539 * elf/tst-pathopt.sh: Likewise.
3540 * grp/tst_fgetgrent.sh: Likewise.
3541 * iconvdata/run-iconv-test.sh: Likewise.
3542 * intl/tst-gettext.sh: Likewise.
3543 * intl/tst-gettext2.sh: Likewise.
3544 * intl/tst-gettext4.sh: Likewise.
3545 * intl/tst-gettext6.sh: Likewise.
3546 * intl/tst-translit.sh: Likewise.
3547 * io/ftwtest-sh: Likewise.
3548 * libio/test-freopen.sh: Likewise.
3549 * malloc/tst-mtrace.sh: Likewise.
3550 * posix/globtest.sh: Likewise.
3551 * posix/tst-getconf.sh: Likewise.
3552 * posix/wordexp-tst.sh: Likewise.
3553 * stdio-common/tst-printf.sh: Likewise.
3554 * stdio-common/tst-unbputc.sh: Likewise.
3555 * stdlib/tst-fmtmsg.sh: Likewise.
3556 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3557 * catgets/Makefile: Do not specify -e option when running
3558 testsuite shell scripts.
3559 * elf/Makefile: Likewise.
3560 * grp/Makefile: Likewise.
3561 * iconvdata/Makefile: Likewise.
3562 * intl/Makefile: Likewise.
3563 * io/Makefile: Likewise.
3564 * libio/Makefile: Likewise.
3565 * malloc/Makefile: Likewise.
3566 * posix/Makefile: Likewise.
3567 * stdio-common/Makefile: Likewise.
3568 * stdlib/Makefile: Likewise.
3569 * sysdeps/x86_64/Makefile: Likewise.
3570
9a9028b1
DL
3571 * io/ftwtest-sh: Add copyright header.
3572 * posix/globtest.sh: Likewise.
3573 * posix/tst-getconf.sh: Likewise.
3574 * posix/wordexp-tst.sh: Likewise.
3575 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3576
ced6f16e
L
35772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3578
94b32c39
L
3579 [BZ #13679]
3580 * Makeconfig (+link): Defined as $(+link-static) if
3581 $(build-shared) isn't yes.
3582 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3583 isn't yes.
3584 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3585
189e935b
L
3586 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3587
ced6f16e
L
3588 [BZ #14562]
3589 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3590 new chunk size with MALLOC_ALIGN_MASK.
3591
a9f8e53a
JM
35922012-09-24 Joseph Myers <joseph@codesourcery.com>
3593
3594 [BZ #5044]
3595 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3596 <rounding-mode.h>.
3597 (__printf_fphex): Determine rounding using get_rounding_mode and
3598 round_away.
3599 * stdio-common/tst-printf-round.c (struct hex_test): New
3600 structure.
3601 (hex_tests): New variable.
3602 (test_hex_in_one_mode): New function.
3603 (do_test): Also run tests for hex float output.
3604
43153109
JM
36052012-09-21 Joseph Myers <joseph@codesourcery.com>
3606
3607 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3608 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3609 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3610 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3611 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3612 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3613 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3614 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3615
8a26625d
JM
36162012-09-20 Joseph Myers <joseph@codesourcery.com>
3617
3618 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3619 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3620 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3621 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3622
f3fd569c
DL
36232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3624
3625 [BZ #14579]
3626 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3627 mode only.
3628 * elf/tst-rtld-load-self.sh: New test.
3629 * elf/Makefile: Run it.
3630
63bbedd4
JM
36312012-09-18 Joseph Myers <joseph@codesourcery.com>
3632
3633 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3634 (tst-writev-ENV): Remove.
3635 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3636
626f8b6a
CM
36372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3638
3639 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3640
b7aaa4d6
JM
36412012-09-17 Joseph Myers <joseph@codesourcery.com>
3642
3643 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3644 unconditional.
3645 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3646 Likewise.
3647 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3648 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3649 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3650 Likewise.
3651
65513990
L
36522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3653
3654 [BZ #14587]
3655 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3656 * config.make.in (have-cpp-asm-debuginfo): Removed.
3657 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3658 * configure: Regenerated.
3659
784761be
JM
36602012-09-14 Joseph Myers <joseph@codesourcery.com>
3661
3662 [BZ #5044]
3663 * stdio-common/printf_fp.c: Include <stdbool.h> and
3664 <rounding-mode.h>.
3665 (___printf_fp): Determine rounding using get_rounding_mode and
3666 round_away.
3667 * stdio-common/tst-printf-round.c: New file.
3668 * stdio-common/Makefile (tests): Add tst-printf-round.
3669 (link-libm): New variable.
3670 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3671
9503345f
L
36722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3673
3674 [BZ #14576]
3675 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3676 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3677 Likewise.
3678 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3679 Likewise.
3680
ad35fc00
JM
36812012-09-13 Joseph Myers <joseph@codesourcery.com>
3682
3683 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3684 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3685 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3686 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3687
6c9b0f68
JM
36882012-09-12 Joseph Myers <joseph@codesourcery.com>
3689
3690 [BZ #14518]
3691 * include/rounding-mode.h: New file.
3692 * sysdeps/generic/get-rounding-mode.h: Likewise.
3693 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3694 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3695 (MAX_VALUE): New macro.
3696 (MIN_VALUE): Likewise.
3697 (overflow_value): New function.
3698 (underflow_value): Likewise.
3699 (round_and_return): Use overflow_value and underflow_value to
3700 determine return values in overflow and underflow cases. Use
3701 round_away to determine rounding depending on rounding mode.
3702 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3703 determine return values in overflow and underflow cases.
3704 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3705 (struct test_results): New structure.
3706 (struct test): Use struct test_results to store expected results
3707 for all rounding modes.
3708 (TEST): Include expected results for all rounding modes.
3709 (test_in_one_mode): New function.
3710 (do_test): Use test_in_one_mode to compute and check results.
3711 Check results for all rounding modes.
3712 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3713 $(link-libm).
3714
19fcedd5
AM
37152012-12-09 Allan McRae <allan@archlinux.org>
3716
1e9d84cd 3717 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3718
8bbfd2f1
JM
37192012-09-11 Joseph Myers <joseph@codesourcery.com>
3720
3721 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3722 (_G_int32_t): Likewise.
3723 (_G_uint16_t): Likewise.
3724 (_G_uint32_t): Likewise.
3725 (_G_HAVE_BOOL): Likewise.
3726 (_G_HAVE_ATEXIT): Likewise.
3727 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3728 (_G_HAVE_IO_FILE_OPEN): Likewise.
3729 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3730 (_G_int32_t): Likewise.
3731 (_G_uint16_t): Likewise.
3732 (_G_uint32_t): Likewise.
3733 (_G_HAVE_BOOL): Likewise.
3734 (_G_HAVE_ATEXIT): Likewise.
3735 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3736 (_G_HAVE_IO_FILE_OPEN): Likewise.
3737 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3738 (_G_int32_t): Likewise.
3739 (_G_uint16_t): Likewise.
3740 (_G_uint32_t): Likewise.
3741 (_G_HAVE_BOOL): Likewise.
3742 (_G_HAVE_ATEXIT): Likewise.
3743 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3744 (_G_HAVE_IO_FILE_OPEN): Likewise.
3745
b1dc5912
L
37462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3747
3748 * csu/libc-tls.c: Update copyright years.
3749
0e886ef9
JM
37502012-09-10 Joseph Myers <joseph@codesourcery.com>
3751
28361c5e
JM
3752 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3753 [!_G_USING_THUNKS]: Remove conditional code.
3754 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3755 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3756
0e886ef9
JM
3757 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3758 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3759 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3760 (_G_VTABLE_LABEL_PREFIX): Likewise.
3761 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3762 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3763 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3764 (_G_VTABLE_LABEL_PREFIX): Likewise.
3765 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3766 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3767 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3768 (_G_VTABLE_LABEL_PREFIX): Likewise.
3769 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3770
bcba7aa2
L
37712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3772
3773 * libio/Makefile: Include ../Makeconfig before tests.
3774 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3775 only if $(build-shared) is yes.
3776
06585ee8
L
3777 * iconv/gconv_db.c: Update copyright years.
3778
80ccd52c
LD
37792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3780
3781 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3782 unwind info if defined PIC. Fix special cases description.
3783 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3784
3785 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3786 DP_HI_MASK entry.
3787 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3788
691bc9c1
L
37892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3790
3d9b46b3
L
3791 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3792
de2139a9
L
3793 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3794 is NULL.
3795
5ca78dd0
L
3796 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3797 (LDLIBS-tst-chk4): This.
3798 (LDFLAGS-tst-chk5): Renamed to ...
3799 (LDLIBS-tst-chk5): This.
3800 (LDFLAGS-tst-chk6): Renamed to ...
3801 (LDLIBS-tst-chk6): This.
3802 (LDFLAGS-tst-lfschk4): Renamed to ...
3803 (LDLIBS-tst-lfschk4): This.
3804 (LDFLAGS-tst-lfschk5): Renamed to ...
3805 (LDLIBS-tst-lfschk5): This.
3806 (LDFLAGS-tst-lfschk6): Renamed to ...
3807 (LDLIBS-tst-lfschk6): This.
3808
691bc9c1
L
3809 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3810 on $(common-objpfx)soversions.mk.
3811
65cafb1c
JM
38122012-09-07 Joseph Myers <joseph@codesourcery.com>
3813
3814 [BZ #10014]
3815 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3816 example host name.
3817
c78ab094
SP
38182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3819
3820 * malloc/arena.c (arena_get_retry): New function that gets
3821 another arena for the caller to try its request on.
3822 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3823 current arena cannot fulfill the request.
3824 (__libc_memalign): Likewise.
3825 (__libc_memalign): Likewise.
3826 (__libc_pvalloc): Likewise.
3827 (__libc_calloc): Likewise.
3828
01f49f59
JT
38292012-09-05 John Tobey <john.tobey@gmail.com>
3830
3831 [BZ #13542]
3832 * manual/arith.texi (Operations on Complex): Fix description
3833 of carg branch cut.
3834
4c23fed5
JM
38352012-09-06 Joseph Myers <joseph@codesourcery.com>
3836
1d3c8572
JM
3837 [BZ #10014]
3838 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3839 host name.
3840
4c23fed5
JM
3841 [BZ #10038]
3842 * manual/memory.texi (Memory): Make order of menu items match
3843 order of sections.
3844
04570aaa
L
38452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3848 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3849 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3850
b80af2f4
L
38512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * csu/libc-tls.c (static_dtv): Renamed to ...
3854 (_dl_static_dtv): This. Make it global.
3855 (_dl_initial_dtv): Removed.
3856 (__libc_setup_tls): Updated.
3857 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3858 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3859 DL_INITIAL_DTV.
3860
2abe9f15
PM
38612012-09-06 Petr Machata <pmachata@redhat.com>
3862
3863 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3864 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3865 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3866 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3867
0948c3af
L
38682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3869
3870 [BZ #14545]
3871 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3872 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3873 freeing dtv[-1].
3874
a5055ad1
L
38752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 [BZ #14544]
3878 * Makeconfig (link-static-before-libc): Replace $(+prector)
3879 with $(+prectorT).
3880 (link-static-after-libc): Replace $(+postctor) with
3881 $(+postctorT).
3882 (link-bounded): Replace $(+prector)/$(+postctor) with
3883 $(+prectorT)/$(+postctorT).
3884 (+prectorT): New macro.
3885 (+postctorT): Likewise.
3886
ed8c2ecd
JM
38872012-09-06 Joseph Myers <joseph@codesourcery.com>
3888
3889 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3890 (round_str): Handle values above the maximum for IBM long double
3891 as inexact.
3892 * stdlib/tst-strtod-round.c (tests): Regenerated.
3893
14c996c8
AK
38942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3895
3896 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3897 assembler flag.
3898 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3899 zarch_nohighgprs around the zarch optimized routines.
3900 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3901 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3902 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3903 for zarch.
3904
430d6ce6
DM
39052012-09-05 David S. Miller <davem@davemloft.net>
3906
3907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3908
ff04dda4
DM
3909 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3910 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3911 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3912 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3913 entries.
3914
24d4e01b
AO
39152012-09-05 Alexandre Oliva <aoliva@redhat.com>
3916
3917 * malloc/arena.c: Fold copyright years.
3918 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3919
61d58174
AO
39202012-09-05 Alexandre Oliva <aoliva@redhat.com>
3921
3922 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3923
20196a5e
AO
39242012-09-05 Alexandre Oliva <aoliva@redhat.com>
3925
3926 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3927
5c447383
AO
39282012-09-05 Alexandre Oliva <aoliva@redhat.com>
3929
3930 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3931 change internal state upon failure.
3932
fad64255
AO
39332012-09-05 Alexandre Oliva <aoliva@redhat.com>
3934
3935 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3936 * malloc/memusage.c (mmap): Likewise.
3937 (mmap64, mremap): Likewise. Adjust name in comment.
3938
1ffb8c90
SP
39392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3940
3941 * libio/fileops.c: Fix typos in comments.
3942 * libio/oldfileops.c: Likewise.
3943 * libio/wfileops.c: Likewise.
3944
6ef9cc37
SP
39452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3946
3947 [BZ #1349]
3948 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3949 (tst-malloc-usable-ENV): Set environment for test case.
3950 * malloc/hooks.c (malloc_check_get_size): New function to get
3951 requested size.
3952 * malloc/malloc.c (musable): Use malloc_check_get_size.
3953 * malloc/tst-malloc-usable.c: New test case.
3954
4d038ae3
AS
39552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3956
3957 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3958
c4e85184
AM
39592012-09-05 Allan McRae <allan@archlinux.org>
3960
b9dafc56 3961 [BZ #13966]
c4e85184
AM
3962 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3963 determine header location.
3964 * configure: Regenerated.
3965
e1343020
AS
39662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3967
3968 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3969 float format.
3970 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3971 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3972 format.
e1343020
AS
3973 (test): Regenerate.
3974
0a9f1987
DM
39752012-09-04 David S. Miller <davem@davemloft.net>
3976
3977 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3978 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3979 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3980
29237804
FW
39812012-09-04 Florian Weimer <fweimer@redhat.com>
3982
3983 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3984 failures.
3985
edb3cb88
FW
3986 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3987
60160d83
JM
39882012-09-04 Joseph Myers <joseph@codesourcery.com>
3989
3990 [BZ #9914]
3991 * libio/iogetdelim.c: Include <limits.h>.
3992 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3993 + len + 1 would overflow.
3994
bcd6c8dc
AJ
39952012-09-03 Andreas Jaeger <aj@suse.de>
3996
3997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3998 * sysdeps/i386/fpu/libm-test-ulps: Update.
3999
4ffffbd2
LD
40002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4001
4002 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4003 Add s_sinf-sse2, s_conf-sse2.
4004
4005 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4006 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4007 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4008 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4009
4010 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4011 for using routine as __sinf_ia32.
4012 Use macro for function declaration and weak_alias.
4013 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4014 for using routine as __cosf_ia32.
4015 Use macro for function declaration and weak_alias.
4016
4017 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4018 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4019
4020 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4021 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4023
4024 * math/libm-test.inc (cos_test): Add more test cases.
4025 (sin_test): Likewise.
4026 (sincos_test): Likewise.
4027
511fa286
AK
40282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4029
4030 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4031 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4032 hidden.
4033 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4034
5f30cfec
L
40352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 [BZ #14538]
4038 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4039 first element of the GOT.
4040 (elf_machine_load_address): Return the difference between
4041 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4042
0786794f
AM
40432012-09-01 Allan McRae <allan@archlinux.org>
4044
5f30cfec
L
4045 [BZ #13412]
4046 * configure.in (AWK): Require gawk version 3.0 or later.
4047 * configure: Regenerated.
0786794f 4048
26889eac
JM
40492012-09-01 Joseph Myers <joseph@codesourcery.com>
4050
4051 * sysdeps/unix/sysv/linux/kernel-features.h
4052 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4054 [__NR_clock_getres]: Make code unconditional.
4055 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4056 (clock_getcpuclockid): Remove code left unreachable by removal of
4057 conditionals.
4058 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4059 code unconditional.
4060 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4061 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4062 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4063 Make code unconditional.
4064 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4065 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4066 * sysdeps/unix/sysv/linux/clock_settime.c
4067 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4068 conditional code.
4069 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4070 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4071
d22e28b0
L
40722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4073
4074 [BZ #14476]
4075 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4076 scripts/test-installation.pl.
4077
4078 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4079 and $ld_so_version if it is set.
4080
050af9c4
SP
40812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4082
4083 [BZ #14516]
4084 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4085 failure if reading from procfs failed.
4086 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4087
ad845c0b
JM
40882012-08-27 Joseph Myers <joseph@codesourcery.com>
4089
4090 * sysdeps/unix/sysv/linux/kernel-features.h
4091 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4092 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4093 Remove conditional code.
4094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4095 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4096 Remove conditional code.
4097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4098 * sysdeps/unix/sysv/linux/i386/fxstat.c
4099 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4101 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4102 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4104 * sysdeps/unix/sysv/linux/i386/lxstat.c
4105 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4107 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4108 Remove conditional code.
4109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4110 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4111 Remove conditional code.
4112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4114 <kernel-features.h>.
4115 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4116 Remove.
4117 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4118 Remove conditional code.
4119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4120 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4121 Remove conditional.
4122
5dbf56af
MF
41232012-08-27 Mike Frysinger <vapier@gentoo.org>
4124
4125 [BZ #5400]
4126 * NEWS: Add fixed bug number.
4127
d6e70f43
JM
41282012-08-27 Joseph Myers <joseph@codesourcery.com>
4129
7efb4737
JM
4130 [BZ #14519]
4131 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4132 underflowing exponent in case of negative sign.
4133 * stdlib/tst-strtod-round-data: Add more tests.
4134 * stdlib/tst-strtod-round.c (tests): Regenerated.
4135
af92131a
JM
4136 [BZ #3479]
4137 * stdlib/strtod_l.c (NDIG): Remove.
4138 (HEXNDIG): Likewise.
4139 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4140 smallest representable value.
4141 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4142 lie within an exact representation of 1/2 ulp of the result.
4143 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4144 unconditionally.
4145 (TENS_P9_IDX): Define unconditionally.
4146 (TENS_P9_SIZE): Likewise.
4147 (TENS_P10_IDX): Likewise.
4148 (TENS_P10_SIZE): Likewise.
4149 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4150 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4151 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4152 entries for 10^2^13 and 10^2^14.
4153 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4154 (TENS_P13_IDX): Define.
4155 (TENS_P13_SIZE): Likewise.
4156 (TENS_P14_IDX): Likewise.
4157 (TENS_P14_SIZE): Likewise.
4158 (_fpioconst_pow10): Change array size to
4159 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4160 unconditional.
4161 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4162 1024]: Add entries for 10^2^13 and 10^2^14.
4163 [LAST_POW10 > _LAST_POW10]: Remove #error.
4164 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4165 (_fpioconst_pow10): Change array size to
4166 FPIOCONST_POW10_ARRAY_SIZE.
4167 * stdlib/gen-fpioconst.c: New file.
4168 * stdlib/gen-tst-strtod-round.c: Likewise.
4169 * stdlib/tst-strtod-round-data: Likewise.
4170 * stdlib/tst-strtod-round.c: Likewise.
4171 * stdlib/Makefile (tests): Add tst-strtod-round.
4172
d6e70f43
JM
4173 [BZ #14459]
4174 * stdlib/strtod_l.c: Include <stdint.h>.
4175 (NDEBUG): Do not define.
4176 (round_and_return): Change EXPONENT parameter to type intmax_t.
4177 Rearrange calculations to avoid internal overflow possibilities.
4178 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4179 Rearrange calculations to avoid internal overflow possibilities.
4180 Assert that number fits inside MPNSIZE limbs.
4181 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4182 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4183 calculations and add assertions to avoid internal overflow
4184 possibilities. Add casts to avoid signed/unsigned operations.
4185 * stdlib/tst-strtod-overflow.c: New file.
4186 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4187
1f529f7d
MP
41882012-08-25 Marek Polacek <polacek@redhat.com>
4189
4190 * time/time.h: Fix some typos in comments.
4191
59a629f1
RM
41922012-08-23 Roland McGrath <roland@hack.frob.com>
4193
4194 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4195 * posix/tst-rfc3484-2.c: Likewise.
4196 * posix/tst-rfc3484-3.c: Likewise.
4197
d3bafbc9
SM
41982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4199
4200 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4201 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4202
4efcc022
JM
42032012-08-23 Joseph Myers <joseph@codesourcery.com>
4204
4205 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4206 #include of fxstatat64.c.
4207
3cc3ef96
RM
42082012-08-22 Roland McGrath <roland@hack.frob.com>
4209
f04e2132
RM
4210 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4211 * shadow/getspent_r.c: Likewise.
4212 * shadow/getspnam.c: Likewise.
4213 * shadow/getspnam_r.c: Likewise.
4214 * gshadow/getsgent.c: Likewise.
4215 * gshadow/getsgent_r.c: Likewise.
4216 * gshadow/getsgnam.c: Likewise.
4217 * gshadow/getsgnam_r.c: Likewise.
4218 * inet/getnetbyad.c: Likewise.
4219 * inet/getnetbyad_r.c: Likewise.
4220 * inet/getnetbynm.c: Likewise.
4221 * inet/getnetbynm_r.c: Likewise.
4222 * inet/getnetent.c: Likewise.
4223 * inet/getnetent_r.c: Likewise.
4224 * inet/getproto.c: Likewise.
4225 * inet/getproto_r.c: Likewise.
4226 * inet/getprtent.c: Likewise.
4227 * inet/getprtent_r.c: Likewise.
4228 * inet/getprtname.c: Likewise.
4229 * inet/getprtname_r.c: Likewise.
4230 * inet/getrpcbyname.c: Likewise.
4231 * inet/getrpcbyname_r.c: Likewise.
4232 * inet/getrpcbynumber.c: Likewise.
4233 * inet/getrpcbynumber_r.c: Likewise.
4234 * inet/getrpcent.c: Likewise.
4235 * inet/getrpcent_r.c: Likewise.
4236 * inet/getaliasent.c: Likewise.
4237 * inet/getaliasent_r.c: Likewise.
4238 * inet/getaliasname.c: Likewise.
4239 * inet/getaliasname_r.c: Likewise.
4240 * nscd/getgrgid_r.c: Likewise.
4241 * nscd/getgrnam_r.c: Likewise.
4242 * nscd/gethstbyad_r.c: Likewise.
4243 * nscd/gethstbynm3_r.c: Likewise.
4244 * nscd/getpwnam_r.c: Likewise.
4245 * nscd/getpwuid_r.c: Likewise.
4246 * nscd/getsrvbynm_r.c: Likewise.
4247 * nscd/getsrvbypt_r.c: Likewise.
4248 * nscd/gai.c: Likewise.
4249
c53d909c
RM
4250 * configure.in (build_nscd): New substituted variable, set
4251 by --disable-build-nscd and defaults to $use_nscd.
4252 * configure: Regenerated.
4253 * config.make.in (build-nscd): New substituted variable.
4254 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4255 Change conditional to require [$(build-nscd) = yes] as well.
4256 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4257
3cc3ef96
RM
4258 [BZ# 13696]
4259 * configure.in (use_nscd): New substituted variable, set by
4260 --disable-nscd. If enabled, define USE_NSCD.
4261 * configure: Regenerated.
4262 * config.h.in: Add USE_NSCD.
4263 * config.make.in (use-nscd): New substituted variable.
4264 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4265 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4266 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4267 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4268 (CFLAGS-getgrnam_r.c): Likewise.
4269 (CFLAGS-initgroups.c): Likewise.
4270 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4271 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4272 Variables removed.
4273 * inet/getnetgrent_r.c
4274 (nscd_setnetgrent): New function, broken out of ...
4275 (setnetgrent): ... here. Call it.
4276 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4277 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4278 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4279 * nscd/Makefile (routines, aux): Move definitions after include of
4280 Makeconfig. Conditionalize on [$(use-nscd) != no].
4281 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4282 Conditionalize on [USE_NSCD].
4283 (is_nscd, nscd_init_cb): Likewise.
4284 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4285 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4286 * nss/nss_db/db-init.c: Likewise.
4287 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4288 [USE_NSCD].
4289 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4290 (make_request): Use it.
4291 (cache_valid_p): New function.
4292 (__check_pf): Use it.
4293 * NEWS: Add item for --disable-nscd.
4294
07e51550
DL
42952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4296
4297 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4298 to support sed >= 4.2.1-20-ga9bf076.
4299 * configure: Regenerated.
4300
35a5b08b
RM
43012012-08-22 Roland McGrath <roland@hack.frob.com>
4302
4303 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4304 Conditionalize whole body on [IREL].
4305
8479f23a
JL
43062012-08-22 Jeff Law <law@redhat.com>
4307
4308 [BZ #14505]
4309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4310 if the family is PF_UNSPEC.
4311
48da0b21
MF
43122012-08-22 Mike Frysinger <vapier@gentoo.org>
4313
4314 * Makerules (lib-version): Rename from V.
4315 (install-lib-nosubdir): Change V to lib-version.
4316
15d0da8c
WS
43172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4318
4319 [BZ #14252]
4320 * powerpc32/power6/wcschr.c: New file.
4321 * powerpc32/power6/wcscpy.c: New file.
4322 * powerpc32/power6/wcsrchr.c: New file.
4323 * powerpc64/power6/wcschr.c: New file.
4324 * powerpc64/power6/wcscpy.c: New file.
4325 * powerpc64/power6/wcsrchr.c: New file.
4326
bcca0895
MK
43272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4328
4329 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4330 (two_way_short_needle): Use it.
5a4aaa33
RM
4331 * string/strstr.c (AVAILABLE1_USES_J): Define.
4332 * string/strcasestr.c: Likewise.
99677e57
MK
4333
4334 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4335 array references.
4336 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4337
400726de
MK
4338 [BZ #11607]
4339 * NEWS: Add an entry.
4340 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4341 define their defaults.
4342 (two_way_short_needle): Detect end-of-string on-the-fly.
4343 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4344 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4345 * string/bug-strcasestr1.c: New test.
4346 * string/Makefile: Run it.
4347
20a71f2c
MK
43482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4349
4350 [BZ #11607]
4351 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4352 the first character.
4353
21ad0558
RM
43542012-08-21 Roland McGrath <roland@hack.frob.com>
4355
4356 * csu/elf-init.c (__libc_csu_irel): Function removed.
4357 * csu/libc-start.c (apply_irel): New function.
4358 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4359
0e1d9911
JM
43602012-08-21 Joseph Myers <joseph@codesourcery.com>
4361
4362 * sysdeps/unix/sysv/linux/kernel-features.h
4363 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4364 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4365 <kernel-features.h>.
4366 [__NR_fadvise64_64]: Make code unconditional.
4367 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4368 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4369 !__NR_fadvise64_64)]: Likewise.
4370 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4371 !__NR_fadvise64_64))]: Likewise.
4372 [__NR_fadvise64]: Make code unconditional.
4373 [!__NR_fadvise64]: Remove conditional code.
4374 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4375 <kernel-features.h>.
4376 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4377 unconditional.
4378 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4379 conditional code.
4380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4381 not include <kernel-features.h>.
4382 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4383 unconditional.
4384 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4385 conditional code.
4386 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4387 include <kernel-features.h>.
4388 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4389 unconditional.
4390 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4391 conditional code.
4392
14a50c9d
WS
43932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4394
4395 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4396 slight instruction rearrangements per scrollpipe analysis.
4397 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4398
c0f4faf0
RM
43992012-08-20 Roland McGrath <roland@hack.frob.com>
4400
696da859
RM
4401 * manual/syslog.texi (syslog; vsyslog, closelog):
4402 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4403 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4404
c0f4faf0
RM
4405 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4406 DSOCAPS to match condition on defining it.
4407
348363b2
JM
44082012-08-20 Joseph Myers <joseph@codesourcery.com>
4409
a35cbf28
JM
4410 * sysdeps/unix/sysv/linux/kernel-features.h
4411 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4413 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4414 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4416 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4417 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4419 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4420 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4421
445f7ecd
JM
4422 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4423 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4424
348363b2
JM
4425 * sysdeps/unix/sysv/linux/kernel-features.h
4426 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4427 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4428 unconditional.
4429 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4430 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4431 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4432 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4433 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4434 Make code unconditional.
4435 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4436 (__mmap64) [!__NR_mmap2]: Likewise.
4437 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4438 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4439 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4440 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4441 [__NR_mmap2]: Make code unconditional.
4442 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4443 (__mmap64) [!__NR_mmap2]: Likewise.
4444
bc5bc0e5
AK
44452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4446
4447 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4448
88d506de
AJ
44492012-08-18 Andreas Jaeger <aj@suse.de>
4450
4451 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4452
493387d2
MF
44532012-08-18 Mike Frysinger <vapier@gentoo.org>
4454
4455 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4456 * include/unistd.h (__have_sock_cloexec): Likewise.
4457 (__have_pipe2): Likewise.
4458 (__have_dup3): Likewise.
4459
a277af22
MF
44602012-08-18 Mike Frysinger <vapier@gentoo.org>
4461
4462 [BZ #9685]
4463 * include/unistd.h (__have_pipe2): Change define into an extern int.
4464 (__have_dup3): Likewise.
4465 * socket/have_sock_cloexec.c: Include fcntl.h.
4466 (__have_pipe2): New variable.
4467 (__have_dup3): Likewise.
4468
fdab8fd3
MF
44692012-08-17 Mike Frysinger <vapier@gentoo.org>
4470
4471 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4472
31035e80
MP
44732012-08-17 Marek Polacek <polacek@redhat.com>
4474
4475 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4476 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4477
3bd9e993
RM
44782012-08-17 Roland McGrath <roland@hack.frob.com>
4479
c91c505f
RM
4480 * configure.in: Add AC_SUBST for sysheaders.
4481 * configure: Regenerated.
4482 * config.make.in (sysheaders): New substituted variable.
4483
7c6f9d53
RM
4484 * sysdeps/unix/mkfifo.c: Moved ...
4485 * sysdeps/posix/mkfifo.c: ... here.
4486 * sysdeps/unix/mkfifoat.c: Moved ...
4487 * sysdeps/posix/mkfifoat.c: ... here.
4488
4489 * sysdeps/unix/utime.c: Moved ...
4490 * sysdeps/posix/utime.c: ... here.
4491
4492 * sysdeps/unix/time.c: Moved ...
4493 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4494 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4495 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4496
4497 * sysdeps/unix/nice.c: Moved ...
4498 * sysdeps/posix/nice.c: ... here.
4499
4500 * sysdeps/unix/alarm.c: Moved ...
4501 * sysdeps/posix/alarm.c: ... here.
4502
3bd9e993
RM
4503 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4504
d1f09384
JL
45052012-08-17 Jeff Law <law@redhat.com>
4506
4507 * intl/Makefile (codeset_mo): New variable.
4508 ($(codeset_mo)): New target.
4509 (tst-codeset.out): Depend on that. Remove explicit rule.
4510 (tst-gettext3.out, tst-gettext5.out): Likewise.
4511 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4512 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4513 * intl/tst-codeset.sh: Remove.
4514 * intl/tst-gettext3.sh: Likewise.
4515 * intl/tst-gettext5.sh: Likewise.
4516
2ae1ae5c
RM
45172012-08-17 Roland McGrath <roland@hack.frob.com>
4518
c31fdb83
RM
4519 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4520 * sysdeps/unix/syscalls.list: ... here.
4521
a0844057
RM
4522 * sysdeps/posix/getaddrinfo.c
4523 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4524 (gaiconf_init, gaiconf_reload): Use them.
4525 [!_STATBUF_ST_NSEC]
4526 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4527 Define using time_t rather than struct timespec.
4528
750c1f2a
RM
4529 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4530 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4531 Macros removed.
4532 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4533 [!NO_THREADS].
4534 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4535 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4536 Likewise.
4537
2ae1ae5c
RM
4538 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4539 __libc_cleanup_push argument.
4540
e66a42f5
RM
4541 * bits/param.h: New file.
4542 * misc/sys/param.h: New file.
4543 * include/sys/param.h: New file.
4544 * misc/Makefile (headers): Add bits/param.h.
4545 * sysdeps/generic/sys/param.h: File removed.
4546 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4547 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4548 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4549 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4550
b7c08a66
RM
4551 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4552 last change.
4553
b2e1c562
RM
4554 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4555 [_IO_MTSAFE_IO].
4556 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4557 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4558 New macros.
4559
c75ccd4c
RM
4560 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4561 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4562 rather than -D_IO_MTSAFE_IO conditionally.
4563 * stdio-common/Makefile (CPPFLAGS): Likewise.
4564 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4565 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4566 Use $(libio-mtsafe).
4567 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4568 of -D_IO_MTSAFE_IO.
4569 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4570 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4571 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4572 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4573 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4574 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4575 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4576 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4577 (CFLAGS-fread_u_chk.c): Likewise.
4578 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4579 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4580 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4581 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4582 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4583 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4584 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4585 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4586 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4587
4588 * libio/Makefile: Test [$(libc-reentrant) = yes]
4589 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4590
4591 * Makeconfig
4592 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4593 * sysdeps/pthread/configure: File removed.
4594 * sysdeps/pthread/Makeconfig: New file.
4595 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4596 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4597
d9195db8
GB
45982012-08-16 Gary Benson <gbenson@redhat.com>
4599
4600 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4601 unmapping the first object in a namespace.
4602
86466cd9
RM
46032012-08-16 Roland McGrath <roland@hack.frob.com>
4604
4605 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4606 (__internal_setnetgrent): ... this. Add internal_function to
4607 definition. Add libc_hidden_def.
4608 (setnetgrent): Update caller.
4609 (internal_endnetgrent): Renamed to ...
4610 (__internal_endnetgrent): ... this. Add internal_function to
4611 definition. Add libc_hidden_def.
4612 (endnetgrent): Update caller.
4613 (internal_getnetgrent_r): Renamed to ...
4614 (__internal_getnetgrent_r): ... this. Add internal_function to
4615 definition. Add libc_hidden_def.
4616 (__getnetgrent_r): Update caller.
4617 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4618
c3c8283c
JM
46192012-08-16 Joseph Myers <joseph@codesourcery.com>
4620
4621 * stdlib/longlong.h: Update from GCC.
4622
db1ee0a8
RM
46232012-08-16 Roland McGrath <roland@hack.frob.com>
4624
4625 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4626 on _QL, which is set by umul_ppmm but never used.
4627 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4628 variables, which are set by GMP macros but never used.
4629 * stdio-common/_itowa.c (_itowa): Likewise.
4630 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4631 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4632
30f69637
CD
46332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4634
4635 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4636 struct La_sh_regs is not constant.
4637 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4638 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4639 and struct La_sparc64_regs are not constant.
4640
93a78ac4
JM
46412012-08-16 Joseph Myers <joseph@codesourcery.com>
4642
4643 * sysdeps/unix/sysv/linux/kernel-features.h
4644 (__ASSUME_POSIX_TIMERS): Remove.
4645 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4647 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4648 Make code unconditional.
4649 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4650 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4651 Make code unconditional.
4652 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4653 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4654 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4656 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4657 Make code unconditional.
4658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4659 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4660 (__libc_missing_posix_timers): Remove.
4661
dd924cd7
RM
46622012-08-15 Roland McGrath <roland@hack.frob.com>
4663
4b4f2771
RM
4664 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4665 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4666
601c888b
RM
4667 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4668
176790a7
RM
4669 * elf/dl-sym.c: Include <stdlib.h>.
4670
329bc018
RM
4671 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4672 constants, which avoids warnings in 32-bit builds.
4673
e04e272d
RM
4674 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4675 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4676
952bf94a
RM
4677 * misc/lseek.c: File moved to ...
4678 * io/lseek.c: ... here.
4679
7c99b50a
RM
4680 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4681
dd924cd7
RM
4682 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4683 shifting LEN more than 31 bits at once.
4684
b3f479a8
LD
46852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4686
4687 [BZ #14195]
8c4ae0d4
RM
4688 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4689 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4690 * string/test-strncasecmp.c (check1): Renamed to...
4691 (bz12205): ...this.
4692 (bz14195): Add new testcase for two empty input strings and N > 0.
4693 (test_main): Call new testcase, adapt for renamed function.
4694
9c55864e
AJ
46952012-08-15 Andreas Jaeger <aj@suse.de>
4696
4697 [BZ #14090]
4698 * crypt/md5test2.c: New test, based on test supplied by Serge
4699 Belyshev <belyshev@depni.sinp.msu.ru>.
4700 * crypt/Makefile (xtests): Add md5test-giant..
4701 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4702
02dcb6c5
PE
47032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4704
4705 [BZ #14090]
4706 * crypt/md5.c (md5_process_block): Don't assume the buffer
4707 length is less than 2**32.
4708 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4709 length is less than 2**64.
4710
a3f95dcc
RM
47112012-08-15 Roland McGrath <roland@hack.frob.com>
4712
be75d758
RM
4713 * string/str-two-way.h: Include <sys/param.h>.
4714 (MAX): Macro removed.
4715
7312ca90
RM
4716 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4717 Move #define and #undef of memmove to just before and after
4718 including <string.h>.
4719
9a0a5486
RM
4720 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4721 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4722 and after including <string.h>. Move declarations of
4723 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4724 to before #include "string/memmove.c".
4725
67cc348d
RM
4726 * include/dirent.h: Declare __getdirentries.
4727
a3f95dcc
RM
4728 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4729 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4730
ca98e171
MF
47312012-08-14 Mike Frysinger <vapier@gentoo.org>
4732
4733 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4734 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4735 * sysdeps/i386/configure: Regenerated.
4736 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4737 STABS_CURRENT_FILE, and STABS_FUN.
4738 (END): Remove call to STABS_FUN_END.
4739 (STABS_CURRENT_FILE1): Delete.
4740 (STABS_CURRENT_FILE): Likewise.
4741 (STABS_FUN): Likewise.
4742 (STABS_FUN_END): Likewise.
4743 (STABS_FUN2): Likewise.
4744 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4745 * sysdeps/x86_64/configure: Regenerated.
4746
5908bf46
RM
47472012-08-14 Roland McGrath <roland@hack.frob.com>
4748
4749 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4750 * elf/dl-lookup.c: Likewise.
5908bf46 4751
f2c05b9e
JM
47522012-08-14 Joseph Myers <joseph@codesourcery.com>
4753
4754 * sysdeps/unix/sysv/linux/kernel-features.h
4755 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4756 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4757 unconditionally.
4758 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4759 unconditionally.
4760 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4761 condition on __ASSUME_CLONE_THREAD_FLAGS.
4762
e11f5155
AJ
47632012-08-14 Andreas Jaeger <aj@suse.de>
4764
4765 * sysdeps/i386/fpu/libm-test-ulps: Update.
4766
51a9ba86
MK
47672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4768
2fdd4f78
AJ
4769 * include/atomic.h (atomic_exchange_and_add): Split into ...
4770 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4771 New atomic macros.
51a9ba86 4772
ba6cba9e
MT
47732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4774
4775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4776
42443a47
JL
47772012-08-13 Jeff Law <law@redhat.com>
4778
4779 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4780 null byte in the output string.
4781
121dce05
JM
47822012-08-10 Joseph Myers <joseph@codesourcery.com>
4783
4784 * sysdeps/unix/sysv/linux/kernel-features.h
4785 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4786 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4787 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4788 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4789 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4790 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4791 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4792
bf51f568
JL
47932012-08-09 Jeff Law <law@redhat.com>
4794
4795 [BZ #13939]
4796 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4797 When avoid_arena is set, don't retry in the that arena. Pick the
4798 next one, whatever it might be.
4799 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4800 (arena_lock): Pass in new parameter to arena_get2.
4801 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4802 arena_get2.
4803 (__libc_malloc): Unify retrying after main arena failure with
4804 __libc_memalign version.
4805 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4806
f85fa270
L
48072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4808
4809 [BZ #14166]
4810 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4811 to __redirect_strstr.
4812 (__strstr_sse42): Use typeof __redirect_strstr.
4813 (__strstr_ia32): Likewise.
4814 (__libc_strstr): New prototype.
4815 (strstr): Renamed to ...
4816 (__libc_strstr): This.
4817 (strstr): New strong alias of __libc_strstr.
4818 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4819 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4820 __redirect_time.
4821 Include <time.h>.
4822 (__libc_time): New prototype.
4823 (time_ifunc): Replace time with __libc_time.
4824 (time): New strong alias and hidden definition of __libc_time.
4825 (__GI_time): Remove strong alias.
4826 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4827 Include <stddef.h>.
4828 (memmove): Redefined to __redirect_memmove.
4829 (__memmove_sse2): Use typeof __redirect_memmove.
4830 (__memmove_ssse3): Likewise.
4831 (__memmove_ssse3_back): Likewise.
4832 (__libc_memmove): New prototype.
4833 (memmove): Renamed to ...
4834 (__libc_memmove): This.
4835 (memmove): New strong alias of __libc_memmove.
4836
33b4a91e
MS
48372012-08-08 Mark Salter <msalter@redhat.com>
4838
4839 * elf/elf.h
4840 (R_MN10300_TLS_GD): Define.
4841 (R_MN10300_TLS_LD): Likewise.
4842 (R_MN10300_TLS_LDO): Likewise.
4843 (R_MN10300_TLS_GOTIE): Likewise.
4844 (R_MN10300_TLS_IE): Likewise.
4845 (R_MN10300_TLS_LE): Likewise.
4846 (R_MN10300_TLS_DTPMOD): Likewise.
4847 (R_MN10300_TLS_DTPOFF): Likewise.
4848 (R_MN10300_TLS_TPOFF): Likewise.
4849 (R_MN10300_SYM_DIFF): Likewise.
4850 (R_MN10300_ALIGN): Likewise.
4851 (R_MN10300_NUM): Update.
4852
b36137f1
JM
48532012-08-08 Joseph Myers <joseph@codesourcery.com>
4854
4855 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4856 Remove.
4857
cdd915fd
RM
48582012-08-08 Roland McGrath <roland@hack.frob.com>
4859
a2433aac
RM
4860 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4861
cdd915fd
RM
4862 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4863 sysdeps/unix -> sysdeps/posix move.
4864 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4865
bf9b740a
AM
48662012-08-07 Allan McRae <allan@archlinux.org>
4867
4868 [BZ #14303]
4869 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4870 (SUNOS_CPP): Likewise.
4871 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4872 not found.
4873 (open_input): Call CPP using execvp.
4874
93df14ee
JM
48752012-08-07 Joseph Myers <joseph@codesourcery.com>
4876
4877 * sysdeps/unix/sysv/linux/kernel-features.h
4878 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4879 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4880 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4881 (__ASSUME_WAITID_SYSCALL): Likewise.
4882 * sysdeps/unix/sysv/linux/dl-execstack.c
4883 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4884 code unconditional.
4885 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4886 conditional code.
4887 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4888 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4889 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4890 code.
4891 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4892 unconditional.
4893 [__ASSUME_WAITID_SYSCALL]: Likewise.
4894 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4895
d34689de
RM
48962012-08-07 Roland McGrath <roland@hack.frob.com>
4897
a281decc
RM
4898 * sysdeps/unix/closedir.c: Renamed to ...
4899 * sysdeps/posix/closedir.c: ... here.
4900 * sysdeps/unix/dirfd.c: Renamed to ...
4901 * sysdeps/posix/dirfd.c: ... here.
4902 * sysdeps/unix/dirstream.h: Renamed to ...
4903 * sysdeps/posix/dirstream.h: ... here.
4904 * sysdeps/unix/fdopendir.c: Renamed to ...
4905 * sysdeps/posix/fdopendir.c: ... here.
4906 * sysdeps/unix/opendir.c: Renamed to ...
4907 * sysdeps/posix/opendir.c: ... here.
4908 * sysdeps/unix/readdir.c: Renamed to ...
4909 * sysdeps/posix/readdir.c: ... here.
4910 * sysdeps/unix/readdir_r.c: Renamed to ...
4911 * sysdeps/posix/readdir_r.c: ... here.
4912 * sysdeps/unix/rewinddir.c: Renamed to ...
4913 * sysdeps/posix/rewinddir.c: ... here.
4914 * sysdeps/unix/seekdir.c: Renamed to ...
4915 * sysdeps/posix/seekdir.c: ... here.
4916 * sysdeps/unix/telldir.c: Renamed to ...
4917 * sysdeps/posix/telldir.c: ... here.
4918 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4919 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4920 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4921 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4922
22895b47
RM
4923 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4924 * bits/fcntl.h: ... here.
4925
707a53b6
RM
4926 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4927 not 0.
4928 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4929 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4930 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4931 (struct flock): Move l_start, l_len to the beginning.
4932 Use __pid_t for l_pid.
4933 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4934 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4935 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4936 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4937 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4938 [__USE_LARGEFILE64] (struct flock64): New type.
4939 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4940
f0bd3e25
RM
4941 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4942 * bits/dirent.h: ... here.
4943
d34689de
RM
4944 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4945 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4946
6dad2c06
JM
49472012-08-07 Joseph Myers <joseph@codesourcery.com>
4948
4949 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4950 Change from 2.6.0 to 2.6.16.
4951 * sysdeps/unix/sysv/linux/configure: Regenerated.
4952 * sysdeps/unix/sysv/linux/kernel-features.h
4953 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4954 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4955 version.
4956 (__ASSUME_UTIMES): Likewise.
4957 (__ASSUME_CLONE_STOPPED): Remove.
4958 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4959 architectures, not kernel version.
4960 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4961 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4962 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4963 (__ASSUME_WAITID_SYSCALL): Likewise.
4964 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4965 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4966 * README: State 2.6.16 as minimum Linux kernel version. Do not
4967 refer to older versions.
4968
03af9520
RM
49692012-08-06 Roland McGrath <roland@hack.frob.com>
4970
8e49df1d
RM
4971 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4972 Define alphasort64 as an alias.
4973 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4974 Define versionsort64 as an alias.
4975 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4976 Define scandir64 as an alias.
4977 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4978 Define scandirat64 as an alias.
4979 * dirent/alphasort64.c (alphasort64):
4980 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4981 * dirent/versionsort64.c: Likewise.
4982 * dirent/scandir64.c: Likewise.
4983 * dirent/scandirat64.c: Likewise.
4984 * sysdeps/wordsize-64/alphasort.c: File removed.
4985 * sysdeps/wordsize-64/alphasort64.c: File removed.
4986 * sysdeps/wordsize-64/scandir.c: File removed.
4987 * sysdeps/wordsize-64/scandir64.c: File removed.
4988 * sysdeps/wordsize-64/scandirat.c: File removed.
4989 * sysdeps/wordsize-64/scandirat64.c: File removed.
4990 * sysdeps/wordsize-64/versionsort.c: File removed.
4991 * sysdeps/wordsize-64/versionsort64.c: File removed.
4992 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4993 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4994 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4996 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4997 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4999 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5000
5001 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5002 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5003 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5004 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5005 [defined __arch64__ || defined __sparcv9]
5006 (__INO_T_MATCHES_INO64_T): New macro.
5007 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5008 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5009 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5010 * sysdeps/unix/sysv/linux/bits/dirent.h
5011 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5012 (_DIRENT_MATCHES_DIRENT64): New macro.
5013
03af9520
RM
5014 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5015 Define lockf64 as an alias.
5016 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5017 Define fseeko64 as an alias.
5018 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5019 Define ftello64 as an alias.
5020 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5021 Define _IO_fgetpos64 and fgetpos64 as aliases.
5022 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5023 Define _IO_fsetpos64 and fsetpos64 as aliases.
5024 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5025 Conditionalize body on this.
5026 * libio/fseeko64.c: Likewise.
5027 * libio/ftello64.c: Likewise.
5028 * libio/iofgetpos64.c: Likewise.
5029 * libio/iofsetpos64.c: Likewise.
5030 * sysdeps/wordsize-64/lockf.c: File removed.
5031 * sysdeps/wordsize-64/lockf64.c: File removed.
5032 * sysdeps/wordsize-64/fseeko.c: File removed.
5033 * sysdeps/wordsize-64/fseeko64.c: File removed.
5034 * sysdeps/wordsize-64/ftello.c: File removed.
5035 * sysdeps/wordsize-64/ftello64.c: File removed.
5036 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5037 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5038 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5039 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5040 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5043 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5045 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5046 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5048 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5049 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5050
5051 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5053 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5054 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5055 [defined __arch64__ || defined __sparcv9]
5056 (__OFF_T_MATCHES_OFF64_T): New macro.
5057 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5058 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5060 (__OFF_T_MATCHES_OFF64_T): New macro.
5061
c5757acd
L
50622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 * stdlib/secure-getenv.c (__secure_getenv): Replace
5065 GLIBC_2_16 with GLIBC_2_17.
5066
3a31811e
L
50672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5068
5069 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5070 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5071
faa2bccb
DM
50722012-08-03 David S. Miller <davem@davemloft.net>
5073
5074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5075
85fe1997
JM
50762012-08-03 Joseph Myers <joseph@codesourcery.com>
5077
5078 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5079 Remove.
5080 (__ASSUME_CORRECT_SI_PID): Likewise.
5081 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5082 (__ASSUME_TMPFS_NAME): Likewise.
5083 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5084 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5085 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5086 (HAVE_AUX_SECURE): Make definition unconditional.
5087 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5088 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5089
4f75b7a0
RM
50902012-08-03 Roland McGrath <roland@hack.frob.com>
5091
5092 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5093 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5094 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5095 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5096 __eloop_threshold instead of SYMLOOP_MAX.
5097
5098 * sysdeps/generic/eloop-threshold.h: New file.
5099 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5100 of MAXSYMLINKS.
5101 * elf/chroot_canon.c (chroot_canon): Likewise.
5102
7aab07e4
JM
51032012-08-03 Joseph Myers <joseph@codesourcery.com>
5104
5105 [BZ #13717]
5106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5107 Change to 2.6.0 everywhere.
5108 * sysdeps/unix/sysv/linux/configure: Regenerated.
5109 * sysdeps/unix/sysv/linux/kernel-features.h
5110 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5111 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5112 kernel versions.
5113 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5114 (__ASSUME_FUTEX_REQUEUE): Remove.
5115 (__ASSUME_STATFS64): Define unconditionally.
5116 (__ASSUME_AT_SECURE): Likewise.
5117 (__ASSUME_CORRECT_SI_PID): Likewise.
5118 (__ASSUME_TGKILL): Define without depending on kernel version for
5119 i386.
5120 (__ASSUME_UTIMES): Likewise.
5121 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5122 kernel version.
5123 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5124 (__ASSUME_TMPFS_NAME): Likewise.
5125 * README: Update reference to Linux kernel versions.
5126
b67e9372
MP
51272012-08-02 Marek Polacek <polacek@redhat.com>
5128
1f529f7d 5129 [BZ# 14150]
b67e9372
MP
5130 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5131 libc_cv_asm_type_prefix with %.
5132 * configure: Regenerated.
d2441631
RM
5133 * include/libc-symbols.h: Remove comment about
5134 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5135 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5136 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5137 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5138 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5139 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5140 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5141 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5142 * elf/tst-unique2mod1.c: Likewise.
5143 * elf/tst-unique1mod2.c: Likewise.
5144 * elf/tst-unique1mod1.c: Likewise.
5145 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5146 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5147 Replace ASM_TYPE_DIRECTIVE with .type.
5148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5149 * sysdeps/i386/sysdep.h: Likewise.
5150 * sysdeps/x86_64/sysdep.h: Likewise.
5151 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5153 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5154 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5155 * sysdeps/powerpc/powerpc32/sysdep.h:
5156 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5157 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5158 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5159 * sysdeps/i386/fpu/e_powf.S: Likewise.
5160 * sysdeps/i386/fpu/e_expl.S: Likewise.
5161 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5162 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5163 * sysdeps/i386/fpu/e_pow.S: Likewise.
5164 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5165 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5166 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5167 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5168 * sysdeps/i386/fpu/e_log2.S: Likewise.
5169 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5170 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5171 * sysdeps/i386/fpu/e_powl.S: Likewise.
5172 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5173 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5174 * sysdeps/i386/fpu/e_logl.S: Likewise.
5175 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5176 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5177 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5178 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5179 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5180 * sysdeps/i386/fpu/e_log.S: Likewise.
5181 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5182 * sysdeps/i386/fpu/e_logf.S: Likewise.
5183 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5184 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5185 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5186 * sysdeps/i386/fpu/e_log10.S: Likewise.
5187 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5188 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5189 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5190 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5191 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5192 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5193 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5194 * sysdeps/i386/i686/strtok.S: Likewise.
5195 * sysdeps/i386/i386-mcount.S: Likewise.
5196 * sysdeps/i386/strtok.S: Likewise.
5197 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5198 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5199 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5200 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5201 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5202 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5203 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5204 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5206 * sysdeps/x86_64/_mcount.S: Likewise.
5207 * sysdeps/x86_64/strtok.S: Likewise.
5208 * sysdeps/sh/_mcount.S: Likewise.
5209
2747bf9a
RM
52102012-08-01 Roland McGrath <roland@hack.frob.com>
5211
5212 * libio/iofopen.c: Include <fcntl.h>.
5213 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5214 (_IO_fopen64, fopen64): Define as aliases.
5215 * libio/iofopen64.c: Include <fcntl.h>.
5216 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5217 Conditionalize body on this.
5218 * sysdeps/wordsize-64/iofopen.c: File removed.
5219 * sysdeps/wordsize-64/iofopen64.c: File removed.
5220
3fb791b8
MP
52212012-08-01 Marek Polacek <polacek@redhat.com>
5222
5223 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5224 Use dlfcn directly instead of a variable.
5225 (binfmt-subdir): Do not define.
5226 (dlfcn): Likewise.
5227
a9f1039f
JM
52282012-08-01 Joseph Myers <joseph@codesourcery.com>
5229
23bddc06
JM
5230 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5231 Remove all definitions.
5232 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5233 <kernel-features.h>.
5234 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5235 (miss_F_GETOWN_EX): Remove all definitions.
5236 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5237 macro definition.
5238 [!__ASSUME_FCNTL64]: Remove conditional code.
5239 [__ASSUME_FCNTL64]: Make code unconditional.
5240 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5241 <kernel-features.h>.
5242 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5243 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5244 (lockf64) [__NR_fcntl64]: Make code unconditional.
5245 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5246
a9f1039f
JM
5247 * sysdeps/unix/sysv/linux/kernel-features.h
5248 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5249 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5250 Make code unconditional.
5251 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5252 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5254 [__NR_vfork]: Make code unconditional.
5255 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5256 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5258 [__NR_vfork]: Make code unconditional.
5259 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5260 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5261
09c0ee5f
RM
52622012-08-01 Roland McGrath <roland@hack.frob.com>
5263
48aec5b9
RM
5264 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5265 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5266
cd97c966
RM
5267 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5268 Define mkstemp64 as an alias.
3f55550c
RM
5269 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5270 Define mkstemps64 as an alias.
cd97c966
RM
5271 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5272 Define mkostemp64 as an alias.
b8625cfc
RM
5273 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5274 Define mkostemps64 as an alias.
cd97c966
RM
5275 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5276 Conditionalize body on this.
5277 * misc/mkostemp64.c: Likewise.
b8625cfc 5278 * misc/mkostemps64.c: Likewise.
3f55550c 5279 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5280 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5281 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5282 * sysdeps/wordsize-64/mkostemp.c: File removed.
5283 * sysdeps/wordsize-64/mkstemp.c: File removed.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5287 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5288
09c0ee5f
RM
5289 [BZ #14138]
5290 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5291 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5292 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5293 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5294
5295 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5296 compat_symbol macros from <shlib-compat.h> rather than the underlying
5297 default_symbol_version and symbol_version macros, so that DEFAULT
5298 lines in shlib-versions are respected.
5299 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5300
7e66ee51
FW
53012012-08-01 Florian Weimer <fweimer@redhat.com>
5302
5303 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5304 Declare with warn_unused_result.
5305 (setgid, setregid, setegid, setresgid): Likewise.
5306 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5307 Likewise.
5308 * WUR-REPORT: Remove set*id functions.
5309
d2a54255
PT
53102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5311
5312 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5313
7ecdb005
RM
53142012-07-31 Roland McGrath <roland@hack.frob.com>
5315
789bd351
RM
5316 * include/sys/socket.h (__libc_accept, __libc_accept4):
5317 Add attribute_hidden.
5318 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5319
40ce302d
RM
5320 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5321 use of PTR_MANGLE.
5322 * inet/getnetgrent_r.c (setup): Likewise.
5323
7ecdb005
RM
5324 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5325
e2eabb2c
DM
53262012-07-31 David S. Miller <davem@davemloft.net>
5327
5328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5329
d0419dbf
JM
53302012-07-31 Joseph Myers <joseph@codesourcery.com>
5331
5332 [BZ #13629]
5333 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5334 value between 1.0 and 2.0 and smaller part has absolute value less
5335 than 1.0.
5336 * math/s_clog10.c (__clog10): Likewise.
5337 * math/s_clog10f.c (__clog10f): Likewise.
5338 * math/s_clog10l.c (__clog10l): Likewise.
5339 * math/s_clogf.c (__clogf): Likewise.
5340 * math/s_clogl.c (__clogl): Likewise.
5341 * math/libm-test.inc (clog_test): Add more tests.
5342 (clog10_test): Likewise.
5343 * sysdeps/i386/fpu/libm-test-ulps: Update.
5344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5345
2bc13872
FW
53462012-07-31 Florian Weimer <fweimer@redhat.com>
5347
5348 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5349 Exit with zero in case no suitable GID is found, and write a
5350 message to standard error.
5351
bea9b193
RM
53522012-07-30 Roland McGrath <roland@hack.frob.com>
5353
5354 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5355 rather than to 1.
5356 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5357 (MAXPATHLEN): Removed.
5358 (NOGROUP, NODEV): New macros.
5359 (setbit, clrbit, isset, isclr): New macros.
5360 (howmany, roundup, powerof2): New macros.
5361 (DEV_BSIZE): New macro.
5362
5363 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5364 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5365
5366 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5367 definition on [!__NO_LONG_DOUBLE_MATH].
5368
5369 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5370 PTR_MANGLE and PTR_DEMANGLE.
5371
5372 * socket/accept4.c (accept4): Rename to __libc_accept4.
5373 Define accept4 as a weak alias.
5374
5375 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5376 on [_DIRENT_HAVE_D_TYPE].
5377 * io/ftw.c (ftw_dir): Likewise.
5378
5379 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5380
5381 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5382
5383 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5384 Use the BSD numbers rather than the arbitrary ones we had.
5385 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5386 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5387 (SIGXCPU, SIGXFSZ): New macros.
5388 (_NSIG): Now 32.
5389
5390 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5391 initializer on [_LIBC_REENTRANT].
5392
5393 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5394 definitions inside [_POSIX_MAPPED_FILES].
5395
5396 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5397
5398 * dirent/opendir.c: Include <fcntl.h>.
5399
5400 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5401 (__libc_getspecific): Likewise.
5402 (__libc_key_create): Likewise.
5403
5404 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5405 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5406 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5407 (tmpfile64): Define as alias.
5408 * sysdeps/wordsize-64/tmpfile.c: File removed.
5409 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5410 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5411 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5412
5413 * stdio-common/vfscanf.c: Include <stdbool.h>.
5414 * nss/makedb.c: Likewise.
5415 * stdio-common/_i18n_number.h: Likewise.
5416 * argp/argp-help.c: Likewise.
5417 * posix/wordexp.c: Likewise.
5418 * sysdeps/posix/spawni.c: Likewise.
5419 * nss/nss_files/files-initgroups.c: Likewise.
5420 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5421 * nss/nss_files/files-initgroups.c: Likewise.
5422 * nss/nss_db/db-netgrp.c: Likewise.
5423 * nss/nss_db/db-initgroups.c: Likewise.
5424 * io/fchmodat.c: Include <sys/stat.h>.
5425
5426 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5427 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5428
5429 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5430 [HAVE_MMAP].
5431
5432 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5433 Add multiple inclusion protection.
5434
e5abc686
DM
54352012-07-27 David S. Miller <davem@davemloft.net>
5436
5437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5438
815e6fa3
GB
54392012-07-27 Gary Benson <gbenson@redhat.com>
5440
5441 [BZ #14298]
5442 * elf/rtld.c: Include <stap-probe.h>.
5443 (dl_main): Added static probes "init_start" and "init_complete".
5444 * elf/dl-load.c: Include <stap-probe.h>.
5445 (lose): Take new parameter "nsid".
5446 Added static probe "map_failed".
5447 (_dl_map_object_from_fd): Pass namespace id to lose.
5448 Added static probe "map_start".
5449 (open_verify): Pass namespace id to lose.
5450 * elf/dl-open.c: Include <stap-probe.h>.
5451 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5452 and "reloc_complete".
5453 * elf/dl-close.c: Include <stap-probe.h>.
5454 (_dl_close_worker): Added static probes "unmap_start" and
5455 "unmap_complete".
5456 * elf/rtld-debugger-interface.txt: New file documenting the above.
5457
9f98c16c
RM
54582012-07-26 Roland McGrath <roland@hack.frob.com>
5459
5460 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5461 rather than a string variable.
5462 * sunrpc/rpc_main.c (h_output): Likewise.
5463 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5464
f3c22df3
PT
54652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5466
5467 * inet/check_native.c: New file.
5468
3129cfc6
JM
54692012-07-26 Joseph Myers <joseph@codesourcery.com>
5470
da865e95
JM
5471 [BZ #13629]
5472 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5473 if larger part has absolute value 1.0.
5474 * math/s_clog10.c (__clog10): Likewise.
5475 * math/s_clog10f.c (__clog10f): Likewise.
5476 * math/s_clog10l.c (__clog10l): Likewise.
5477 * math/s_clogf.c (__clogf): Likewise.
5478 * math/s_clogl.c (__clogl): Likewise.
5479 * math/libm-test.inc (clog_test): Add more tests.
5480 (clog10_test): Likewise.
5481 * sysdeps/i386/fpu/libm-test-ulps: Update.
5482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5483
3129cfc6
JM
5484 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5485 (pltexit): Likewise.
5486 (La_regs): Likewise.
5487 (La_retval): Likewise.
5488 (int_retval): Likewise.
5489 Update #error for removed macros to refer only to definitions in
5490 tst-audit.h.
5491 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5492 macro.
5493 (pltexit): Likewise.
5494 (La_regs): Likewise.
5495 (La_retval): Likewise.
5496 (int_retval): Likewise.
5497 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5498 macro.
5499 (pltexit): Likewise.
5500 (La_regs): Likewise.
5501 (La_retval): Likewise.
5502 (int_retval): Likewise.
5503 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5504 macro.
5505 (pltexit): Likewise.
5506 (La_regs): Likewise.
5507 (La_retval): Likewise.
5508 (int_retval): Likewise.
5509 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5510 macro.
5511 (pltexit): Likewise.
5512 (La_regs): Likewise.
5513 (La_retval): Likewise.
5514 (int_retval): Likewise.
5515 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5516 macro.
5517 (pltexit): Likewise.
5518 (La_regs): Likewise.
5519 (La_retval): Likewise.
5520 (int_retval): Likewise.
5521 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5522 macro.
5523 (pltexit): Likewise.
5524 (La_regs): Likewise.
5525 (La_retval): Likewise.
5526 (int_retval): Likewise.
5527 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5528 macro definitions in tst-audit.h.
5529 * sysdeps/i386/tst-audit.h: New file.
5530 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5531 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5532 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5533 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5534 * sysdeps/sh/tst-audit.h: Likewise.
5535 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5536 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5537 * sysdeps/x86_64/tst-audit.h: Likewise.
5538
bfc07087
AJ
55392012-07-26 Andreas Jaeger <aj@suse.de>
5540
b1b2aaf8
AJ
5541 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5542 ptrace.
5543
5544 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5545 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5546 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5547 PTRACE_O_MASK.
5548 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5549 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5550 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5551
bfc07087
AJ
5552 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5553 value.
5554
5555 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5556 _sigsys.
5557 (si_call_addr, si_syscall, si_arch): Define new macro.
5558 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5559 _sigsys.
5560 (si_call_addr, si_syscall, si_arch): Define new marcro.
5561 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5562 _sigsys.
5563 (si_call_addr, si_syscall, si_arch): Define new macro.
5564 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5565 _sigsys.
5566 (si_call_addr, si_syscall, si_arch): Define new macro.
5567
89b4b02f
JM
55682012-07-25 Joseph Myers <joseph@codesourcery.com>
5569
5570 [BZ #13717]
5571 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5572 Change to 2.4.21 where previously 2.4.1.
5573 * sysdeps/unix/sysv/linux/configure: Regenerated.
5574 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5575 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5576 Linux kernel version.
5577 (__ASSUME_STD_AUXV): Remove.
5578 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5579 kernel version.
5580 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5581 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5582 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5583 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5584 (__ASSUME_NETLINK_SUPPORT): Likewise.
5585 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5586 (__no_netlink_support): Remove conditional definition.
5587 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5588 Remove.
5589 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5590 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5591 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5592 (if_nameindex_ioctl): Remove.
5593 (if_nameindex_netlink): Do not handle __no_netlink_support.
5594 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5595 code.
5596 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5597 Remove conditional code.
5598 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5599 code.
5600 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5601 unconditional.
5602 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5603 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5604 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5605 Remove.
5606 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5607 [!__ASSUME_STD_AUXV]: Remove conditional code.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5609 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5610 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5612 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5613 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5614 code.
5615 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5617 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5618 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5619 conditional code.
5620 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5622 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5623 code.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5625 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5626 conditional code.
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5628 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5629 code unconditional.
5630 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5631 conditional code.
5632 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5633 unconditional.
5634 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5635 conditional code.
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5637 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5638 unconditional.
5639 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5640 conditional code.
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5642 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5643 code unconditional.
5644 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5645 conditional code.
5646 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5647 unconditional.
5648 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5649 conditional code.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5651 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5652 code unconditional.
5653 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5654 conditional code.
5655 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5656 unconditional.
5657 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5658 conditional code.
5659
842a39cd
AS
56602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5661
5662 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5663 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5664 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5665 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5666 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5667 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5668 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5669 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5670 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5671 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5672 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5673 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5674 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5675 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5676 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5677 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5678 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5682 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5683 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5684 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5685
84b3fd84
FW
56862012-07-25 Florian Weimer <fweimer@redhat.com>
5687
5688 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5689 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5690 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5691 Introduce __libc_secure_getenv.
0c7936d5
FW
5692 * stdlib/Versions (2.17): Add secure_getenv
5693 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5694 * stdlib/secure-getenv.c: Rename __secure_getenv to
5695 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5696 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5697 * stdlib/tst-secure-getenv.c: New.
5698 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5699 * manual/startup.texi (Environment Access): Document
5700 secure_getenv.
84b3fd84
FW
5701 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5702 __libc_secure_getenv.
5703 * inet/ruserpass.c (ruserpass): Likewise.
5704 * malloc/mtrace.c (mtrace): Likewise.
5705 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5706 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5707 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5708 * sysdeps/posix/tempname.c: Likewise. Evaluate
5709 HAVE_SECURE_GETENV.
5710 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5711 __secure_getenv to __libc_secure_getenv.
84b3fd84 5712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5714 Likewise.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5716 Likewise.
5717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5719 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5724
56e49b71
JM
57252012-07-25 Joseph Myers <joseph@codesourcery.com>
5726
5727 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5728 (struct La_i86_retval): Likewise.
5729 (struct La_x86_64_regs): Likewise.
5730 (struct La_x86_64_retval): Likewise.
5731 (struct La_x32_regs): Likewise.
5732 (struct La_x32_retval): Likewise.
5733 (struct La_ppc32_regs): Likewise.
5734 (struct La_ppc32_retval): Likewise.
5735 (struct La_ppc64_regs): Likewise.
5736 (struct La_ppc64_retval): Likewise.
5737 (struct La_sh_regs): Likewise.
5738 (struct La_sh_retval): Likewise.
5739 (struct La_s390_32_regs): Likewise.
5740 (struct La_s390_32_retval): Likewise.
5741 (struct La_s390_64_regs): Likewise.
5742 (struct La_s390_64_retval): Likewise.
5743 (struct La_sparc32_regs): Likewise.
5744 (struct La_sparc32_retval): Likewise.
5745 (struct La_sparc64_regs): Likewise.
5746 (struct La_sparc64_retval): Likewise.
5747 (struct audit_ifaces): Remove architecture-specific pltenter and
5748 pltexit members.
5749 * sysdeps/i386/ldsodefs.h: New file.
5750 * sysdeps/powerpc/ldsodefs.h: Likewise.
5751 * sysdeps/s390/ldsodefs.h: Likewise.
5752 * sysdeps/sh/ldsodefs.h: Likewise.
5753 * sysdeps/sparc/ldsodefs.h: Likewise.
5754 * sysdeps/x86_64/ldsodefs.h: Likewise.
5755
354691b7
MP
57562012-07-25 Marek Polacek <polacek@redhat.com>
5757
5758 [BZ #6808]
5759 * math/libm-test.inc (yn_test): Add another test.
5760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5761 to ERANGE when the result is +-Inf.
5762 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5763 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5764 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5765 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5766
bf9e2071
JM
57672012-07-24 Joseph Myers <joseph@codesourcery.com>
5768
5769 * conform/data/time.h-data (NULL): Use macro-constant. Require
5770 equal to 0.
5771 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5772 clock_t.
5773 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5774
57633811
TS
57752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5776
5777 * configure.in <sysdeps resolving>: Correct printing
5778 Implies_before.
5779 * configure: Regenerate.
5780
c23c33b0
TS
57812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5782
5783 * math/w_ilogb.c: Include <limits.h>.
5784 * math/w_ilogbl.c: Likewise.
5785
b5982523
JM
57862012-07-20 Joseph Myers <joseph@codesourcery.com>
5787
5788 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5789 va_copy. Document allowing for unavailable va_copy only as
5790 pre-C99 compatibility.
5791 * manual/string.texi (Copying and Concatenation): Use va_copy
5792 instead of __va_copy in concat example.
5793
ac4ea442
PT
57942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5795
5796 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5797 (__sendto): Use create_address_port. Initialize APORT and deallocate
5798 it if not null.
5799
f98eafbd
PT
5800 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5801 with O_NOLINK passed to __file_name_lookup.
5802
898c7aab
PT
5803 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5804 with O_NOLINK passed to __file_name_lookup.
5805
0ced335a
PT
5806 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5807 negative N or less than NGIDS.
5808
b3404dbd
PT
5809 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5810 type to string_t. Set ERANGE as errno and return it if NAME is not big
5811 enough. Use memcpy instead of strncpy.
5812
0f48659e
JM
58132012-07-20 Joseph Myers <joseph@codesourcery.com>
5814
5815 * elf/Makefile (check-data): Remove.
5816 (localplt.data): New vpath directive.
5817 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5818 instead of $(check-data).
5819 * scripts/data/localplt-generic.data: Move to ...
5820 * sysdeps/generic/localplt.data: ... here.
5821 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5822 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5823 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5825 ... here.
5826 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5828 ... here.
5829 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5831 ... here.
5832 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5834 ... here.
5835 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5837 ... here.
5838 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5840 ... here.
5841
d37cbdaa
AZ
58422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5845 PPC32 and PPC64 files.
5846 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5847 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5848
46f85fc2
AK
58492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5850
5851 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5852 __makecontext_ret to ...
5853 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5854 ... here and call exit if uc_link is NULL. New file.
5855 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5856 __makecontext_ret.S.
5857 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5858 __makecontext_ret to ...
5859 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5860 ... here and call exit if uc_link is NULL. New file.
5861 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5862 __makecontext_ret.S.
5863
08f43f9b
AK
58642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5865
5866 * elf/elf.h (R_390_IRELATIVE): New definition.
5867 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5868 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5869 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5870 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5871 (elf_machine_lazy_rel): Likewise.
5872 * sysdeps/s390/dl-irel.h: New file.
5873 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5874 * sysdeps/s390/s390-64/memset.S: New asm code.
5875 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5876 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5877 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5878 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5879 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5880 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5881 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5882 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5883 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5884 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5885 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5886 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5887 * sysdeps/s390/s390-32/memset.S: New asm code.
5888 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5889
3b05db33
MP
58902012-07-17 Marek Polacek <polacek@redhat.com>
5891
5892 [BZ #14349]
5893 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5894 * sysdeps/s390/s390-64/configure.in: Likewise.
5895 * sysdeps/sparc/configure.in: Likewise.
5896 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5897 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5898 * sysdeps/i386/configure.in: Likewise.
5899 * sysdeps/x86_64/configure.in: Likewise.
5900 * sysdeps/sh/configure.in: Likewise.
5901 * sysdeps/s390/s390-32/configure: Regenerated.
5902 * sysdeps/s390/s390-64/configure: Likewise.
5903 * sysdeps/x86_64/configure: Likewise.
5904 * sysdeps/sh/configure: Likewise.
5905 * sysdeps/powerpc/powerpc64/configure: Likewise.
5906 * sysdeps/powerpc/powerpc32/configure: Likewise.
5907 * sysdeps/sparc/configure: Likwise.
5908 * sysdeps/i386/configure: Likewise.
5909
a66877c6
MP
5910 * elf/dl-open.c: Comment fixes.
5911
cfc82fd8
JM
59122012-07-17 Joseph Myers <joseph@codesourcery.com>
5913
bd29910a
JM
5914 * Makefile [CXX] (check-data): Remove.
5915 [CXX] (c++-types.data): New vpath directive.
5916 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5917 vpath. Do not allow for C++ type data being missing.
5918 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5919 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5920 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5921 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5922 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5923 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5924 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5926 ... here.
5927 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5929 ... here.
5930 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5932 ... here.
5933 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5935 ... here.
5936 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5938 ... here.
5939 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5941 ... here.
5942 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5944 ... here.
5945 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5947
cfc82fd8
JM
5948 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5949 definitions to architecture-specific files.
5950 (TLS_IE): Likewise.
5951 (TLS_LD): Likewise.
5952 (TLS_GD): Likewise.
5953 * sysdeps/i386/tls-macros.h: New file.
5954 * sysdeps/powerpc/tls-macros.h: Likewise.
5955 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5956 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5957 * sysdeps/sh/tls-macros.h: Likewise.
5958 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5959 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5960 * sysdeps/x86_64/tls-macros.h: Likewise.
5961
f7db3170
TS
59622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5963
07cbfc23
TS
5964 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5965 zero value for regular exit case.
5966
f7db3170
TS
5967 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5968 (__start_context): Preserve zero value for regular exit case.
5969
dc97c227
TS
59702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5971 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5972
5973 * manual/setjmp.texi (setcontext): Clarify normal process
5974 termination when uc_link is the null pointer.
5975 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5976 exit call.
5977
d0cd7d02
AS
59782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5981 preprocessor. Test for each exception mask separately.
5982
dd318934
AJ
59832012-07-16 Andreas Jaeger <aj@suse.de>
5984
5985 * po/ru.po: Update from translation team.
5986
8048311a
JM
59872012-07-15 Joseph Myers <joseph@codesourcery.com>
5988
5989 * conform/data/string.h-data (NULL): Use macro-constant. Require
5990 equal to 0.
5991 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5992 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5993 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5994 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5996
b637d46e
AJ
59972012-07-13 Andreas Jaeger <aj@suse.de>
5998
5999 * po/fr.po: Update from translation team.
6000
541428fe
MP
60012012-07-12 Marek Polacek <polacek@redhat.com>
6002
6003 [BZ #14173]
6004 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6005 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6006 loop condition.
6007
ec332e94
JM
60082012-07-12 Joseph Myers <joseph@codesourcery.com>
6009
6010 [BZ #13717]
6011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6012 Change to 2.4.1 where previously 2.4.0.
6013 * sysdeps/unix/sysv/linux/configure: Regenerated.
6014 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6015 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6016 version.
6017 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6018 (__ASSUME_AT_CLKTCK): Remove.
6019 (__ASSUME_AT_PAGESIZE): Likewise.
6020 (__ASSUME_AT_XID): Likewise.
6021 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6022 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6023 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6024 unconditionally.
6025 (HAVE_AUX_PAGESIZE): Likewise.
6026 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6027 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6028 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6029
7b6e99be
JB
60302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6031
6032 [BZ #14307]
6033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6034 the temporary buffer used to invoke __gethostbyname2_r,
6035 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6036 host_data / struct gaih_addrtuple.
6037 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6038 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6039 header file nss/nsswitch.h.
6040 * nss/nsswitch.h (global scope): Add definition of implementation
6041 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6042 resolv/nss_dns/dns-host.c).
6043
608404eb
AJ
60442012-07-11 Andreas Jaeger <aj@suse.de>
6045
6046 * po/fr.po: Update from translation team.
6047
71220aca
AJ
6048 * po/sv.po: Update from translation team
6049 * po/fr.po: Another update from translation team.
6050
28cfe843
AZ
60512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6052
6053 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6054 for subnormals or multiply small sinh result by itself.
6055 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6057
6b90f981
DM
60582012-07-11 David S. Miller <davem@davemloft.net>
6059
6060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6061
c6825772
AS
60622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6063
6064 [BZ #14347]
6065 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6066 (INTERNAL_MARK): Shift it here.
6067
7b8e0d49
MP
60682012-07-10 Marek Polacek <polacek@redhat.com>
6069
6070 [BZ #14151]
6071 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6072 libc_cv_asm_global_directive with .globl.
6073 * configure: Regenerated.
6074 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6075 with .globl.
6076 * sysdeps/i386/configure: Regenerated.
6077 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6078 with .globl.
6079 * sysdeps/x86_64/configure: Regenerated.
6080 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6081 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6082 * elf/tst-unique2mod2.c: Likewise.
6083 * elf/tst-unique2mod1.c: Likewise.
6084 * elf/tst-unique1mod2.c: Likewise.
6085 * elf/tst-unique1mod1.c: Likewise.
6086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6087 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6088 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6089 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6090 * sysdeps/mach/sysdep.h: Likewise.
6091 * sysdeps/i386/sysdep.h: Likewise.
6092 * sysdeps/i386/i386-mcount.S: Likewise.
6093 * sysdeps/x86_64/_mcount.S: Likewise.
6094 * sysdeps/x86_64/sysdep.h: Likewise.
6095 * sysdeps/sh/_mcount.S: Likewise.
6096 * sysdeps/sh/sysdep.h: Likewise.
6097 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6098 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6099 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6100 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6101 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6102 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6103 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6104 * locale/localeinfo.h: Likewise.
6105 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6106 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6107
6c55cda3
RM
61082012-07-09 Roland McGrath <roland@hack.frob.com>
6109
6110 [BZ #14336]
6111 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6112 system".
6113 * manual/message.texi (The Uniforum approach): Likewise.
6114 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6115 (glibc iconv Implementation): Likewise.
6116
638a572e
JM
61172012-07-09 Joseph Myers <joseph@codesourcery.com>
6118
6119 [BZ #14337]
6120 * math/s_clog.c (__clog): Avoid scaling a value down where that
6121 could result in underflow.
6122 * math/s_clog10.c (__clog10): Likewise.
6123 * math/s_clog10f.c (__clog10f): Likewise.
6124 * math/s_clog10l.c (__clog10l): Likewise.
6125 * math/s_clogf.c (__clogf): Likewise.
6126 * math/s_clogl.c (__clogl): Likewise.
6127 * math/libm-test.inc (clog_test): Add more tests.
6128 (clog10_test): Likewise.
6129 * sysdeps/i386/fpu/libm-test-ulps: Update.
6130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131
261f4859
AS
61322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6133
0abaf3e4
AS
6134 [BZ #14283]
6135 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6136 by 7 not 8 to examine high bit of fractional part.
6137
261f4859
AS
6138 [BZ #14042]
6139 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6140 for call to __mcount_internal.
6141 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6142 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6143 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6144
f17ac40d
JM
61452012-07-06 Joseph Myers <joseph@codesourcery.com>
6146
9ad63c23
JM
6147 [BZ #14154]
6148 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6149 approximation for values within 0x1p-13f of an odd multiple of
6150 pi/4.
6151 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6152 exception. Add more tests.
6153 * sysdeps/i386/fpu/libm-test-ulps: Update.
6154
f17ac40d
JM
6155 [BZ #6778]
6156 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6157 inputs and return -1 for them. Do not check for +Inf in case not
6158 reachable for +Inf.
6159 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6160 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6161 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6162 and return -1 for them. Do not check for +Inf in case not
6163 reachable for +Inf.
6164 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6165 define.
6166 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6167 and return -1 for them. Do not check for +Inf in case not
6168 reachable for +Inf.
6169 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6170 spurious underflow.
6171 * sysdeps/i386/fpu/libm-test-ulps: Update.
6172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6173
fb21f89b
MF
61742012-07-06 Mike Frysinger <vapier@gentoo.org>
6175
6176 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6177
cdfe2c5e
JM
61782012-07-05 Joseph Myers <joseph@codesourcery.com>
6179
6180 [BZ #14157]
6181 [BZ #14331]
6182 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6183 could result in spurious underflow. Scale down values above
6184 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6185 * math/s_csqrtf.c (__csqrtf): Likewise.
6186 * math/s_csqrtl.c (__csqrtl): Likewise.
6187 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6188 spurious underflow.
6189 * sysdeps/i386/fpu/libm-test-ulps: Update.
6190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191
70d35b67
AS
61922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6193
704bc459
AS
6194 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6195 xopen-msg.sed.
6196 * catgets/xopen-msg.awk: New file.
6197 * catgets/xopen-msg.sed: Removed.
6198
70d35b67
AS
6199 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6200 po2text.sed.
6201 * intl/po2test.awk: New file.
6202 * intl/po2test.sed: Removed.
6203
ca61cf32
JM
62042012-07-04 Joseph Myers <joseph@codesourcery.com>
6205
6206 [BZ #14328]
6207 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6208 or multiply small sinh result by itself.
6209 * math/s_ctanf.c (__ctanf): Likewise.
6210 * math/s_ctanh.c (__ctanh): Likewise.
6211 * math/s_ctanhf.c (__ctanhf): Likewise.
6212 * math/s_ctanhl.c (__ctanhl): Likewise.
6213 * math/s_ctanl.c (__ctanl): Likewise.
6214 * math/libm-test.inc (ctan_test_tonearest): New function.
6215 (ctan_test_towardzero): Likewise.
6216 (ctan_test_downward): Likewise.
6217 (ctan_test_upward): Likewise.
6218 (ctanh_test_tonearest): Likewise.
6219 (ctanh_test_towardzero): Likewise.
6220 (ctanh_test_downward): Likewise.
6221 (ctanh_test_upward): Likewise.
6222 (main): Call these new functions.
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6225
ca48a46a
MF
62262012-07-03 Mike Frysinger <vapier@gentoo.org>
6227
6228 * .gitignore: Delete /ports entry.
6229
9d63d37d
AJ
62302012-07-03 Andreas Jaeger <aj@suse.de>
6231
6232 * po/bg.po: Update from translation team.
6233 * po/cs.po: Likewise.
6234 * po/de.po: Likewise.
6235 * po/hr.po: Likewise.
6236 * po/nl.pl: Likewise.
6237 * po/pl.po: Likewise.
6238 * po/vi.po: Likewise.
6239
370ca3d2
JM
62402012-07-03 Joseph Myers <joseph@codesourcery.com>
6241
95f5a9a8
JM
6242 * Makeconfig [!+link] (+link-before-libc): New variable.
6243 [!+link] (+link-after-libc): Likewise.
6244 [!+link] (+link-tests): Likewise.
6245 [!+link] (+link): Define in terms of $(+link-before-libc) and
6246 $(+link-after-libc).
6247 [!+link-static] (+link-static-before-libc): New variable.
6248 [!+link-static] (+link-static-after-libc): Likewise.
6249 [!+link-static] (+link-static-tests): Likewise.
6250 [!+link-static] (+link-static): Define in terms of
6251 $(+link-static-before-libc) and $(+link-static-after-libc).
6252 [build-shared] (link-libc-before-gnulib): New variable.
6253 [build-shared] (link-libc-tests): Likewise.
6254 [build-shared] (link-libc): Define in terms of
6255 $(link-libc-before-gnulib).
6256 [!build-shared] (link-libc-tests): New variable.
6257 (link-libc-static-tests): New variable.
6258 [!gnulib] (gnulib-arch): New variable.
6259 [!gnulib] (gnulib-tests): Likewise.
6260 [!gnulib] (static-gnulib-arch): Likewise.
6261 [!gnulib] (static-gnulib-tests): Likewise.
6262 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6263 Define with "=" instead of ":=".
6264 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6265 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6266 * Rules (binaries-all-notests): New variable.
6267 (binaries-all-tests): Likewise.
6268 (binaries-static-notests): Likewise.
6269 (binaries-static-tests): Likewise.
6270 (binaries-all): Define using $(binaries-all-notests) and
6271 $(binaries-all-tests).
6272 (binaries-static): Define using $(binaries-static-notests) and
6273 $(binaries-static-tests).
6274 (binaries-shared-tests): New variable.
6275 (binaries-shared-notests): Likewise.
6276 (binaries-shared): Remove variable.
6277 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6278 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6279 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6280 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6281 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6282 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6283 * elf/Makefile (sln-modules): New variable.
6284 (extra-objs): Add $(sln-modules:=.o).
6285 (ldconfig-modules): Add static-stubs.
6286 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6287 * elf/static-stubs.c: New file.
6288
7a845b2c
JM
6289 [BZ #14283]
6290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6291 by 7 not 8 to examine high bit of fractional part. Use volatile
6292 variables when splitting into final array of floats if
6293 __FLT_EVAL_METHOD__ != 0.
6294 * math/libm-test.inc (cos_test): Add another test.
6295 (sin_test): Likewise.
6296 * sysdeps/i386/fpu/libm-test-ulps: Update.
6297
e2283f38
JM
6298 [BZ #14273]
6299 * math/libm-test.inc (cosh_test): Add more tests.
6300
370ca3d2
JM
6301 * version.h (RELEASE): Set to "development".
6302 (VERSION): Set to "2.16.90".
6303
ee9247c3
CD
63042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6305
6306 * NEWS: Update copyright. Remove last-updated date.
6307 Mention math library bug fixes and timezone data changes.
6308 * README: Mention GNU/Hurd, x32, and HPPA support status.
6309
4648c381
TS
63102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6311
6312 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6313
aac78a43
AJ
63142012-06-27 Andreas Jaeger <aj@suse.de>
6315
6316 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6317
ed3dbfad
AJ
63182012-06-25 Andreas Jaeger <aj@suse.de>
6319
6320 * sysdeps/s390/fpu/libm-test-ulps: Update.
6321
4d0ee855
AS
63222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6323 Thomas Schwinge <thomas@codesourcery.com>
6324
6325 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6326 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6328 fanotify_mark.
6329
af1bce34
TS
63302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6331
a9fa33ba
TS
6332 * sysdeps/mach/start.c: Remove file.
6333 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6334 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6335 * sysdeps/sh/init-first.c: Likewise.
6336
58f902b8
TS
6337 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6338 registers for frame unwinding purposes, add CFI directives.
6339 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6340 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6341 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6342 Likewise.
6343
1518f58b
TS
6344 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6345 __fortify_fail returning.
6346 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6347
db9b5059
TS
6348 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6349 sysdeps/sh/____longjmp_chk.S.
6350 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6351 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6352 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6353 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6354
967705fe
TS
6355 * sysdeps/sh/abort-instr.h: New file.
6356 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6357 process in case exit returns.
6358
a9def8c4
TS
6359 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6360 initialize the GOT register before use.
6361
2a649725
TS
6362 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6363 calculation of ARGC > 4.
6364
af1bce34
TS
6365 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6366 meaningful names to some local labels.
6367
d230f50a
KK
63682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6369 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6370
6371 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6372 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6373 (__arch_compare_and_exchange_val_16_acq): Likewise.
6374 (__arch_compare_and_exchange_val_32_acq): Likewise.
6375 (atomic_exchange_and_add): Fix gUSA sequence.
6376 (atomic_add): Likewise.
6377 (atomic_add_negative): Likewise.
6378 (atomic_add_zero): Likewise.
6379 (atomic_bit_test_set): Likewise.
6380
0479b305
AS
63812012-06-22 Andreas Schwab <schwab@redhat.com>
6382
6383 [BZ #13579]
6384 * include/link.h (struct link_map): Add l_free_initfini.
6385 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6386 l_initfini.
6387 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6388 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6389 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6390 set.
6391
0e3933b9
CD
63922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6393
6394 * configure.in: Use AC_LANG_SOURCE.
6395 * configure: Regenerate.
6396
4248b1b1
RM
63972012-06-22 Roland McGrath <roland@hack.frob.com>
6398
6399 * configure.in (libc_cv_localstatedir): New substituted variable.
6400 * configure: Regenerated.
6401 * config.make.in (localstatedir): New variable, substituted from
6402 libc_cv_localstatedir.
6403 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6404 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6405 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6406 * sysdeps/gnu/configure: Regenerated.
6407
006dd861
JL
64082012-06-21 Jeff Law <law@redhat.com>
6409
6410 [BZ #14277]
6411 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6412 free. Simplify list management for _LIBC case.
6413
79662d42
JM
64142012-06-21 Joseph Myers <joseph@codesourcery.com>
6415
b7abb4bf
JM
6416 [BZ #14273]
6417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6418 Clear sign bit of 64-bit integer value before comparing against
6419 overflow value.
6420
79662d42
JM
6421 * sysdeps/mach/configure: Regenerated.
6422
1f150908
L
64232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6424
6425 [BZ #14278]
6426 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6427
28363bbf
JL
64282012-06-21 Jeff Law <law@redhat.com>
6429
6430 [BZ #13882]
6431 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6432 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6433 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6434 * elf/dl-open.c (dl_open_worker): Likewise.
6435
09615db4
CD
64362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6437
6438 * scripts/list-sources.sh: Scan PORTS for translations.
6439 * po/libc.pot: Regenerated.
6440
2174c6dd
AJ
64412012-06-21 Andreas Jaeger <aj@suse.de>
6442
6443 [BZ #12194]
6444 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6445 warning.
6446 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6447 * bits/byteswap-16.h (__bswap_16): Likewise.
6448 * bits/byteswap.h (__bswap_constant_16): Likewise.
6449
3ee947b1
L
64502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6451
6452 [BZ #14117]
a2f34833
L
6453 * sysdeps/i386/fpu_control.h: Removed.
6454 * sysdeps/x86_64/fpu_control.h: Moved to ...
6455 * sysdeps/x86/fpu_control.h: Here.
6456
3ee947b1
L
6457 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6458 (_FPU_SETCW): Likewise.
6459
ed1825f8
L
64602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6461
25f1282a
L
6462 [BZ #14117]
6463 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6464 * sysdeps/x86/fpu/bits/mathinline.h: This.
6465 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6466
ed1825f8
L
6467 [BZ #14050]
6468 [BZ #14117]
6469 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6470 functions if __x86_64__ is defined.
6471
36d54b74
CLT
64722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6473
6474 * string/endian.h: Add !__ASSEMBLER__ condition for including
6475 conversion interfaces.
6476
10285c21
JM
64772012-06-15 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #14241]
6480 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6481 of ABS(x) in calculating zero to negative powers other than odd
6482 integers.
6483 * math/libm-test.inc (pow_test): Add more tests.
6484
06c5abbd
AJ
64852012-06-15 Andreas Jaeger <aj@suse.de>
6486
6487 * manual/contrib.texi (Contributors): Update entry of Liubov
6488 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6489 Machado Filho.
6490
a3aeac40
CH
64912012-06-15 Cyril Hrubis <metan@ucw.cz>
6492
6493 * string/string.h: Add __wur to GNU version of strerror_r.
6494
49bdf4c1
L
64952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 [BZ #14229]
6498 * string/Makefile (tests): Add tst-strtok_r.
6499 * string/tst-strtok_r.c: New file.
6500 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6501 RAX_LP/RDX_LP on SAVE_PTR.
6502
834f9b8d
RM
65032012-06-14 Roland McGrath <roland@hack.frob.com>
6504
6505 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6506
75fa1921
JM
65072012-06-14 Joseph Myers <joseph@codesourcery.com>
6508
6509 * libm_test.inc (csqrt_test): Allow more spurious underflow
6510 exceptions.
6511 (j0_test): Likewise.
6512 (j1_test): Likewise.
6513 (y0_test): Likewise.
6514 (y1_test): Likewise.
6515
771766df
CD
65162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6517
6518 * po/Makefile (libc.pot): Use UTF-8 charset.
6519
ceb9e56b
PP
65202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6521
6522 [BZ #14210]
6523 Suppress sign-conversion warning from FD_SET.
6524 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6525 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6526 not unsigned long int.
6527 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6528
ddb28975
L
65292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6530
6531 [BZ #14050]
6532 [BZ #14117]
6533 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6534 __extern_always_inline instead of __extern_inline.
6535 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6536 (__signbit): Likewise.
6537 (__signbitl): Support C++ namespace.
6538 (lrintf): New inline function.
6539 (lrint): Likewise.
6540 (llrintf): Likewise.
6541 (llrint): Likewise.
6542 (fmaxf): Likewise.
6543 (fmax): Likewise.
6544 (fminf): Likewise.
6545 (fmin): Likewise.
6546 (rint): Likewise.
6547 (rintf): Likewise.
6548 (ceil): Likewise.
6549 (ceilf): Likewise.
6550 (floor): Likewise.
6551 (floorf): Likewise.
6552 (nearbyint): Likewise.
6553 (nearbyintf): Likewise.
6554
d7b4fb26
TS
65552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6556
6557 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6558 non-default versions.
6559
eb55f5c2
RM
65602012-06-11 Roland McGrath <roland@hack.frob.com>
6561
6562 [BZ #14218]
6563 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6564
366af02c
TS
65652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6566
99ff6e5c
TS
6567 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6568 (FE_UPWARD, FE_DOWNWARD): Don't define.
6569 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6570 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6571
366af02c
TS
6572 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6573 reading it.
6574 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6575 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6576
793ea851
KK
65772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6578
6579 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6581 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6582 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6583
a728a38f
L
65842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6585
6586 [BZ #14117]
c08010c7
L
6587 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6588 * sysdeps/i386/fpu/Implies: New file.
6589 * sysdeps/x86_64/fpu/Implies: Likewise.
6590 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6591 * sysdeps/x86/fpu/bits/fenv.h: This.
6592
a728a38f
L
6593 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6594 __SSE_MATH__.
6595
6e230d11
SP
65962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6597
6598 [BZ #14134]
6599 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6600 character 0xffff that matches the last element of the
6601 conversion table.
6602
1b671feb
AZ
66032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604
6605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6606 fmodl commit.
6607
6043738b
AZ
66082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6609
6610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6611 values higher than 25.6283.
6612
34ae0b32
AZ
66132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6614
6615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6616 subnormal exponent extraction and add some __builtin_expect.
6617 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6618 Fix for subnormal mantissa calculation.
6619
1214ec8f
MF
66202012-06-04 Mike Frysinger <vapier@gentoo.org>
6621
6622 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6623 cpu2 is -1 and errno is not ENOSYS.
6624
f3d1f93c
L
66252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6626
6627 [BZ #14117]
0e4a3cd7
L
6628 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6629 * sysdeps/x86/bits/string.h: This.
6630 * sysdeps/x86_64/bits/string.h: Removed.
6631
6704c645
L
6632 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6633 if not compiling for x86-64, but compiling for >= i486.
6634
48495318
L
6635 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6636 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6637
14adcbfc
L
6638 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6639 New macro from Linux kernel 3.4.0.
6640 (FP_XSTATE_MAGIC2): Likewise.
6641 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6642 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6643 (struct _fpx_sw_bytes): New struct.
6644 (struct _xsave_hdr): Likewise.
6645 (struct _ymmh_state): Likewise.
6646 (struct _xstate): Likewise.
6647
68e408ab
L
6648 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6649 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6650 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6651 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6652 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6653 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6654
f3d1f93c
L
6655 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6656 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6657 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6658 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6659 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6660 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6661
d9dc34cd
TMQMF
66622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6663
6664 [BZ #13743]
6665 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6666 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6667 (sysdep_headers): Include sys/platform/ppc.h.
6668 * sysdeps/powerpc/test-gettimebase.c: Test for
6669 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6670 * manual/Makefile (appendices): Include platform.texi.
6671 * manual/contrib.texi (Contributors): Update @node pointers.
6672 * manual/maint.texi (Maintenance): Likewise.
6673 (Platform): New node.
6674 * manual/platform.texi: New file. Document the new features.
6675
4af3879c
SP
66762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6677 Jakub Jelinek <jakub@redhat.com>
6678
6679 [BZ #14188]
6680 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6681 where __builtin_expect is unavailable.
6682
2fd6ff13
DM
66832012-06-03 David S. Miller <davem@davemloft.net>
6684
6685 * stdlib/longlong.h: Updated from GCC.
6686
173f7220
AS
66872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6688
6689 [BZ #14042]
6690 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6691 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6692 __mcount_internal.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6694 (GLIBC_2.16): Likewise.
6695
f34a1c6f
L
66962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6697
6698 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6699
88a4576f
JM
67002012-06-01 Joseph Myers <joseph@codesourcery.com>
6701
ea32bcdd
JM
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6703 (default-abi): New variable.
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6705 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6706 variable.
6707 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6708 Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6710 Likewise.
6711 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6712 Likewise.
6713
88a4576f
JM
6714 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6715 definition. Document in comment.
6716
402fe938
DM
67172012-06-01 David S. Miller <davem@davemloft.net>
6718
6719 * stdlib/longlong.h: Updated from GCC.
6720
3553723f
L
67212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6722
6723 [BZ #14117]
3bd872c4
L
6724 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6725 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6726 sys/debugreg.h sys/io.h here.
6727 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6728 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6729 sys/io.h.
6730 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6731 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6732 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6733 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6734 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6735 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6736
3553723f
L
6737 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6738 Define only if __x86_64__ is defined.
6739
4842e4fe
JM
67402012-06-01 Joseph Myers <joseph@codesourcery.com>
6741
c5bfe3d5
JM
6742 [BZ #14048]
6743 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6744 Use int64_t for variable i.
6745 * math/libm-test.inc (fmod_test): Add more tests.
6746
4842e4fe
JM
6747 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6748 z computation is not scheduled after fetestexcept.
6749 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6750 Use math_force_eval instead of asm to ensure calculation scheduled
6751 before exception test.
6752 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6753 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6754
efb73488
AJ
67552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6756
6757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6758 computation is not scheduled after fetestexcept.
6759
29bcce7c
L
67602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6761
6762 [BZ #14117]
6763 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6764 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6765
73a68f94
AZ
67662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6767
6768 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6769 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6770
67b6df78
L
67712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6772
edf2933a 6773 [BZ #14117]
ebc64a18
L
6774 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6775 <bits/wordsize.h>.
6776 (__WCHAR_MIN): Support __WORDSIZE == 64.
6777 (__WCHAR_MAX): Likewise.
6778
edf2933a
L
6779 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6780 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6781
57c6cf40
L
6782 [BZ #14183]
6783 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6784 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6785
67b6df78 6786 [BZ #14117]
8eb6281e
L
6787 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6788 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6789
aac639f4
L
6790 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6791 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6792
67b6df78
L
6793 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6794 Defined to 1 if __x86_64__ isn't defined.
6795 (_STAT_VER_LINUX_OLD): New.
6796 (st_atime): Remove duplicate.
6797 (st_mtime): Likewise.
6798 (st_ctime): Likewise.
6799
1c2cfe81
DM
68002012-05-31 David S. Miller <davem@davemloft.net>
6801
6802 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6803 entries.
6804
5be8418c
AS
68052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6806
e7725326
AS
6807 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6808 gen-libm-test.pl.
6809
5be8418c
AS
6810 [BZ #14132]
6811 * elf/dl-reloc.c: Include <_itoa.h>.
6812 (_dl_reloc_bad_type): Remove use of INTUSE.
6813 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6814 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6815 * stdio-common/psiginfo.c (psiginfo): Likewise.
6816 * stdio-common/psignal.c (psignal): Likewise.
6817 * string/strsignal.c (strsignal): Likewise.
6818 * include/signal.h (_sys_siglist): Declare hidden proto.
6819 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6820 INTVARDEF with libc_hidden_data_def.
6821 * stdio-common/itoa-udigits.c: Likewise.
6822 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6823 (_itoa_lower_digits_internal): Remove declaration.
6824 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6825 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6826 (_sys_sigabbrev_internal): Remove aliases.
6827 (_sys_siglist): Define hidden alias.
6828
507352f1
MT
68292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6830
6831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6832 bits/sysctl.h.
6833
42bbb1c3
L
68342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 [BZ #14117]
6bd784b6
L
6837 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6838 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6839
8bca20f0
L
6840 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6841 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6842 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6843 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6845 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6846
f9e890a9
L
6847 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6848 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6849 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6850
471101a1
L
6851 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6852 with __addr.
6853 (insw): Likewise.
6854 (insl): Likewise.
6855 (outsb): Likewise.
6856 (outsw): Likewise.
6857 (outsl): Likewise.
6858
6451c862
L
6859 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6860 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6861 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6862
a254b8c9
L
6863 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6864 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6865 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6866 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6867 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6868 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6869
b8dfdd92
L
6870 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6871 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6872
578cd270
L
6873 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6874 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6875
de662f5f
L
6876 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6877 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6878 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6879
25653439
L
6880 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6881 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6882 to ...
6883 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6884
6bad24a0
L
6885 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6886 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6887 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6888
42bbb1c3
L
6889 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6890 for x86-64.
6891 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6892
2d10d547
JM
68932012-05-31 Joseph Myers <joseph@codesourcery.com>
6894
6895 * math/math.h (M_El): Use two more decimal places.
6896 (M_LOG2El): Likewise.
6897 (M_LOG10El): Likewise.
6898 (M_LN2l): Likewise.
6899 (M_LN10l): Likewise.
6900 (M_PIl): Likewise.
6901 (M_PI_2l): Likewise.
6902 (M_PI_4l): Likewise.
6903 (M_1_PIl): Likewise.
6904 (M_2_PIl): Likewise.
6905 (M_2_SQRTPIl): Likewise.
6906 (M_SQRT2l): Likewise.
6907 (M_SQRT1_2l): Likewise.
6908
f230c29b
DM
69092012-05-31 David S. Miller <davem@davemloft.net>
6910
6911 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6912 values between float registers.
6913 * sysdeps/sparc/sparc64/memset.S: Likewise.
6914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6915
fed806c3
MF
69162012-05-31 Mike Frysinger <vapier@gentoo.org>
6917
6918 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6919 -D_FORTIFY_SOURCE=1.
6920 (CPPFLAGS-tst-longjmp_chk.c): Define.
6921 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6922 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6923 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6924 CFLAGS-tst-wchar-h.c.
6925
30917259
MP
69262012-05-31 Marek Polacek <polacek@redhat.com>
6927
6928 [BZ #14132]
6929 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6930 __endmntent_internal): Remove declaration.
6931 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6932 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6933 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6934
1c58d5dc
DM
69352012-05-30 David S. Miller <davem@davemloft.net>
6936
6937 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6938 (___Q_simulate_exceptions): Use real FP ops rather than writing
6939 into the %fsr.
6940 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6941 Likewise.
6942
7dc00e0d
L
69432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6944
6945 [BZ #14117]
0bd53985
L
6946 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6947 * sysdeps/x86/bits/xtitypes.h: This.
6948
3a257e66
L
6949 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6950 * sysdeps/x86/bits/wordsize.h: This.
6951
62f62904
L
6952 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6953 * sysdeps/x86/bits/huge_vall.h: This.
6954
404fe9d9
L
6955 * sysdeps/i386/bits/select.h: Removed.
6956 * sysdeps/x86_64/bits/select.h: Renamed to ...
6957 * sysdeps/x86/bits/select.h: This.
6958
d48d0446
L
6959 * sysdeps/i386/bits/setjmp.h: Removed.
6960 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6961 * sysdeps/x86/bits/setjmp.h: This.
6962
7dc00e0d
L
6963 * sysdeps/i386/bits/mathdef.h: Removed.
6964 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6965 * sysdeps/x86/bits/mathdef.h: This.
6966
03277f8f
AS
69672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6968
6969 [BZ #14132]
6970 * include/sys/socket.h (__connect_internal)
6971 (__libc_sa_len_internal): Remove declaration.
6972 (__connect, __libc_sa_len): Declare hidden_proto.
6973 (SA_LEN): Remove use of INTUSE.
6974 * socket/connect.c: Add libc_hidden_def.
6975 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6976 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6977 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6978 alias.
6979 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6980 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6981 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6982 of adding _internal alias.
6983
13764867
L
69842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6985
6986 [BZ #14117]
6bd97696
L
6987 * sysdeps/i386/bits/link.h: Removed.
6988 * sysdeps/i386/bits/linkmap.h: Likewise.
6989 * sysdeps/x86_64/bits/link.h: Renamed to ...
6990 * sysdeps/x86/bits/link.h: This.
6991 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6992 * sysdeps/x86/bits/linkmap.h: This.
6993
f726f0bb
L
6994 * sysdeps/i386/bits/endian.h: Removed.
6995 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6996 * sysdeps/x86/bits/endian.h: This.
6997
13764867
L
6998 * sysdeps/i386/bits/byteswap.h: Removed.
6999 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7000 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7001 * sysdeps/x86/bits/byteswap.h: This.
7002 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7003 * sysdeps/x86/bits/byteswap-16.h: This.
7004 * sysdeps/i386/Implies: Add x86.
7005 * sysdeps/x86_64/Implies: Likewise.
7006
ae251b0b
DM
70072012-05-30 David S. Miller <davem@davemloft.net>
7008
7009 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7010 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7011 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7012 (FP_TRAPPING_EXCEPTIONS): Define.
7013 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7014 (FP_TRAPPING_EXCEPTIONS): Define.
7015 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7016 subnormals only when inexact has been signalled or underflow
7017 exceptions are enabled.
7018 (_FP_PACK_CANONICAL): Likewise.
7019
d5c90867
L
70202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7021
7022 [BZ #14183]
7023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7024 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7025
63f1549e
RH
70262012-05-30 Richard Henderson <rth@twiddle.net>
7027
8d8f2279
RH
7028 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7029 with #ifndef NOT_IN_libc.
7030
63f1549e
RH
7031 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7032 marked to avoid plt entry.
7033
0ab0291b
L
70342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7035
7036 [BZ #14112]
7037 * Makeconfig (default-abi): New macro.
7038 (abi-includes): Likewise.
7039 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7040 $(abi-$(default-abi)-lib-soname) for soname if defined.
7041 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7042 abi-variants.
7043 * Makefile (installed-stubs): Likewise.
7044 * include/stubs-biarch.h: Removed.
7045 * scripts/lib-names.awk: Only handle one library at a time.
7046 * scripts/soversions.awk: Remove WORDSIZE support.
7047 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7048 entries.
7049 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7050 Removed.
7051 (syscall-list-default-condition): Likewise.
7052 (syscall-list-default-condition): Likewise.
7053 (syscall-list-includes): Likewise.
7054 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7055 syscall-list-* with abi-*. Handle undefined abi-variants.
7056 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7057 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7058 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7059 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7060 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7061 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7062 Removed.
7063 (syscall-list-32-options): Likewise.
7064 (syscall-list-32-condition): Likewise.
7065 (syscall-list-64-options): Likewise.
7066 (syscall-list-64-condition): Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7068 macro.
7069 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7070 Renamed to ...
7071 (abi-*): This.
7072 (abi-64-ld-soname): New macro.
7073 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7074 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7075 Renamed to ...
7076 (abi-*): This.
7077 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7078 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7079
4da0431d
JM
70802012-05-30 Joseph Myers <joseph@codesourcery.com>
7081
3a85279c
JM
7082 * sysdeps/unix/sysv/linux/kernel-features.h
7083 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7084 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7085 include <kernel-features.h>.
7086 [!__NR_ftruncate64]: Remove conditional code.
7087 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7088 [__NR_ftruncate64]: Make code unconditional.
7089 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7090 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7091 include <kernel-features.h>.
7092 [!__NR_ftruncate64]: Remove conditional code.
7093 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7094 [__NR_ftruncate64]: Make code unconditional.
7095 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7097 include <kernel-features.h>.
7098 [!__NR_ftruncate64]: Remove conditional code.
7099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7100 [__NR_ftruncate64]: Make code unconditional.
7101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7103 include <kernel-features.h>.
7104 [!__NR_ftruncate64]: Remove conditional code.
7105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7106 [__NR_ftruncate64]: Make code unconditional.
7107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7108
4da0431d
JM
7109 * configure.in (libc_cv_fpie): Weaken to a compile test using
7110 LIBC_TRY_CC_OPTION.
7111 * configure: Regenerated.
7112
11ef492c
AK
71132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7114
7115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7119 Refreshed.
7120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7126 Refreshed.
7127
d66ef399
DM
71282012-05-27 David S. Miller <davem@davemloft.net>
7129
7130 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7131 (___Q_zero): New.
7132 (__Q_simulate_exceptions): Return void. Change to simulate
7133 exceptions by writing into the %fsr.
7134 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7135 (__Qp_handle_exceptions): Likewise.
7136 (numbers): Delete.
7137 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7138 __Qp_handle_exceptions.
7139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7140 __Qp_handle_exceptions.
7141 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7142 as unused and give dummy FP_RND_NEAREST initializer.
7143 (FP_INHIBIT_RESULTS): Define.
7144 (___Q_simulate_exceptions): Update declaration.
7145 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7146 formatting.
7147 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7148 as unused and give dummy FP_RND_NEAREST initializer.
7149 (__Qp_handle_exceptions): Update declaration.
7150 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7151 formatting.
7152
04fb54b5
TS
71532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7154
7155 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7156 the temporary FPU control word.
7157 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7158 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7159 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7160 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7161 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7162 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7163 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7164 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7165 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7166 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7167 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7168
3f99608f
KK
71692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7170
7171 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7172 fields.
7173
65a4de4e
CLT
71742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7175
7176 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7177 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7178 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7179 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7180 Likewise.
7181 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7182 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7183 Likewise.
7184
15749d40
UD
71852012-05-27 Ulrich Drepper <drepper@gmail.com>
7186
7187 * po/h.po: Update from translation team.
7188
25dbcb27
AS
71892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7190
3d3f8e55
AS
7191 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7192
25dbcb27
AS
7193 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7194 handling of denormals.
7195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7196 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7197 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7198 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7202 Likewise.
7203
7ad47a80 72042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7205
7206 [BZ #14152]
7207 * math/libm-test.inc (fma_test): Don't always expect underflow
7208 exception.
7209
9c6ea9fa
SP
72102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7211
7212 [BZ #12416]
7213 * elf/tst-execstack.c: Include stackinfo.h.
7214 (do_test): Adjust test case to ensure that pthread_getattr_np
7215 behaviour remains the same after marking stack executable.
7216
a8239222
JM
72172012-05-25 Joseph Myers <joseph@codesourcery.com>
7218
7219 * sysdeps/unix/sysv/linux/kernel-features.h
7220 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7221 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7222 kernel-features.h.
7223 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7224 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7225 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7226 kernel-features.h.
7227 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7228 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7229
918b5606
L
72302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7231
7232 * configure.in: Define the default includes to being none.
7233 * configure: Regenerated.
7234
3a097cc7
RM
72352012-05-25 Roland McGrath <roland@hack.frob.com>
7236
8422c9a5
RM
7237 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7238 * sysdeps/x86_64/setjmp.S: Likewise.
7239 * sysdeps/i386/bsd-setjmp.S: Likewise.
7240 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7241 * sysdeps/i386/setjmp.S: Likewise.
7242 * sysdeps/i386/__longjmp.S: Likewise.
7243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7244 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7245
3a097cc7
RM
7246 * include/stap-probe.h: New file.
7247 * configure.in: Handle --enable-systemtap.
7248 * configure: Regenerated.
7249 * config.h.in (USE_STAP_PROBE): New #undef.
7250 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7251 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7252 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7253
21708942
JM
72542012-05-25 Joseph Myers <joseph@codesourcery.com>
7255
7256 [BZ #13717]
7257 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7258 to 2.4.0 where earlier.
7259 * sysdeps/unix/sysv/linux/configure: Regenerated.
7260 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7261 <kernel-features.h>.
7262 [__ASSUME_32BITUIDS]: Make code unconditional.
7263 [!__ASSUME_32BITUIDS]: Remove conditional code.
7264 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7265 <kernel-features.h>.
7266 [__ASSUME_32BITUIDS]: Make code unconditional.
7267 [!__ASSUME_32BITUIDS]: Remove conditional code.
7268 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7269 [__ASSUME_32BITUIDS]: Make code unconditional.
7270 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7271 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7272 <kernel-features.h>.
7273 [__ASSUME_32BITUIDS]: Make code unconditional.
7274 [!__ASSUME_32BITUIDS]: Remove conditional code.
7275 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7276 <kernel-features.h>.
7277 [__ASSUME_32BITUIDS]: Make code unconditional.
7278 [!__ASSUME_32BITUIDS]: Remove conditional code.
7279 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7280 <kernel-features.h>.
7281 [__ASSUME_32BITUIDS]: Make code unconditional.
7282 [!__ASSUME_32BITUIDS]: Remove conditional code.
7283 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7284 <kernel-features.h>.
7285 [__ASSUME_32BITUIDS]: Make code unconditional.
7286 [!__ASSUME_32BITUIDS]: Remove conditional code.
7287 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7288 <kernel-features.h>.
7289 [__ASSUME_32BITUIDS]: Make code unconditional.
7290 [!__ASSUME_32BITUIDS]: Remove conditional code.
7291 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7292 <kernel-features.h>.
7293 [__ASSUME_32BITUIDS]: Make code unconditional.
7294 [!__ASSUME_32BITUIDS]: Remove conditional code.
7295 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7296 <kernel-features.h>.
7297 [__ASSUME_32BITUIDS]: Make code unconditional.
7298 [!__ASSUME_32BITUIDS]: Remove conditional code.
7299 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7300 <kernel-features.h>.
7301 [__ASSUME_32BITUIDS]: Make code unconditional.
7302 [!__ASSUME_32BITUIDS]: Remove conditional code.
7303 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
7312 <kernel-features.h>.
7313 [__NR_setresgid] (__setresgid): Do not declare.
7314 [__ASSUME_32BITUIDS]: Make code unconditional.
7315 [!__ASSUME_32BITUIDS]: Remove conditional code.
7316 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7317 <kernel-features.h>.
7318 [__NR_setresuid] (__setresuid): Do not declare.
7319 [__ASSUME_32BITUIDS]: Make code unconditional.
7320 [!__ASSUME_32BITUIDS]: Remove conditional code.
7321 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7322 <kernel-features.h>.
7323 [__ASSUME_32BITUIDS]: Make code unconditional.
7324 [!__ASSUME_32BITUIDS]: Remove conditional code.
7325 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7326 <kernel-features.h>.
7327 [__ASSUME_32BITUIDS]: Make code unconditional.
7328 [!__ASSUME_32BITUIDS]: Remove conditional code.
7329 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7330 <kernel-features.h>.
7331 [__ASSUME_32BITUIDS]: Make code unconditional.
7332 [!__ASSUME_32BITUIDS]: Remove conditional code.
7333 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7334 <kernel-features.h>.
7335 [__ASSUME_32BITUIDS]: Make code unconditional.
7336 [!__ASSUME_32BITUIDS]: Remove conditional code.
7337 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7338 <kernel-features.h>.
7339 [__ASSUME_32BITUIDS]: Make code unconditional.
7340 [!__ASSUME_32BITUIDS]: Remove conditional code.
7341 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7342 <kernel-features.h>.
7343 [__ASSUME_32BITUIDS]: Make code unconditional.
7344 [!__ASSUME_32BITUIDS]: Remove conditional code.
7345 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7346 <kernel-features.h>.
7347 [__ASSUME_32BITUIDS]: Make code unconditional.
7348 [!__ASSUME_32BITUIDS]: Remove conditional code.
7349 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7350 <kernel-features.h>.
7351 [__ASSUME_32BITUIDS]: Make code unconditional.
7352 [!__ASSUME_32BITUIDS]: Remove conditional code.
7353 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
7362 (__ASSUME_SETRESUID_SYSCALL): Remove.
7363 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7364 (__ASSUME_32BITUIDS): Likewise.
7365 (__ASSUME_LDT_WORKS): Likewise.
7366 (__ASSUME_O_DIRECTORY): Likewise.
7367 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7368 architecture but not kernel version.
7369 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7370 (__ASSUME_MMAP2_SYSCALL): Likewise.
7371 (__ASSUME_STAT64_SYSCALL): Likewise.
7372 (__ASSUME_IPC64): Likewise.
7373 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7374 <kernel-features.h>.
7375 [__ASSUME_32BITUIDS]: Make code unconditional.
7376 [!__ASSUME_32BITUIDS]: Remove conditional code.
7377 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7378 <kernel-features.h>.
7379 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7380 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7381 132096]: Remove conditional code.
7382 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7383 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7384 <kernel-features.h>.
7385 [__ASSUME_32BITUIDS]: Make code unconditional.
7386 [!__ASSUME_32BITUIDS]: Remove conditional code.
7387 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7388 <kernel-features.h>.
7389 [__ASSUME_32BITUIDS]: Make code unconditional.
7390 [!__ASSUME_32BITUIDS]: Remove conditional code.
7391 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7392 <kernel-features.h>.
7393 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7394 unconditional.
7395 (__setresgid): Do not declare.
7396 [__ASSUME_32BITUIDS]: Make code unconditional.
7397 [!__ASSUME_32BITUIDS]: Remove conditional code.
7398 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7399 <kernel-features.h>.
7400 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7401 unconditional.
7402 (__setresuid): Do not declare.
7403 [__ASSUME_32BITUIDS]: Make code unconditional.
7404 [!__ASSUME_32BITUIDS]: Remove conditional code.
7405 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7406 <kernel-features.h>.
7407 [__ASSUME_32BITUIDS]: Make code unconditional.
7408 [!__ASSUME_32BITUIDS]: Remove conditional code.
7409 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7410 <kernel-features.h>.
7411 [__ASSUME_32BITUIDS]: Make code unconditional.
7412 [!__ASSUME_32BITUIDS]: Remove conditional code.
7413
a386f1cc
RH
74142012-05-25 Richard Henderson <rth@twiddle.net>
7415
7416 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7417 dl_hwcap to ifunc resolver.
7418 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7419 elf_ifunc_invoke.
7420 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7421 dl_hwcap to ifunc resolver.
7422 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7423
b6550497
JM
74242012-05-24 Joseph Myers <joseph@codesourcery.com>
7425
7426 [BZ #14153]
7427 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7428 for |x| <= 2**-26, not 2**-57.
7429 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7430 exception.
7431
b0bc23a1
JL
74322012-05-24 Jeff Law <law@redhat.com>
7433
7434 * stdio-common/Makefile (tests): Add bug25.
7435 * stdio-common/bug25.c: New test.
7436
347c92e9
L
74372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 [BZ #13576]
7440 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7441 multiple of MALLOC_ALIGNMENT in size.
7442 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7443
6bcc8b3f
JM
74442012-05-24 Joseph Myers <joseph@codesourcery.com>
7445
7446 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7447 Require >= 256.
7448 (FILENAME_MAX): Use macro-int-constant.
7449 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7450 (_IOFBF): Use macro-int-constant.
7451 (_IOLBF): Likewise.
7452 (_IONBF): Likewise.
7453 (SEEK_CUR): Likewise.
7454 (SEEK_END): Likewise.
7455 (SEEK_SET): Likewise.
7456 (TMP_MAX): Likewise.
7457 (EOF): Use macro-int-constant. Require < 0.
7458 (NULL): Use macro-constant. Require == 0.
7459 (stdin): Require type to be FILE *.
7460 (stdout): Likewise.
7461 (stderr): Likewise.
7462 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7463 macro-int-constant.
7464 (EXIT_SUCCESS): Likewise.
7465 (NULL): Use macro-constant. Require == 0.
7466 (RAND_MAX): Use macro-int-constant.
7467 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7468 [C99-based standards] (strtof): Require function.
7469 [C99-based standards] (strtold): Likewise.
7470 [C99-based standards] (strtoll): Likewise.
7471 [C99-based standards] (strtoull): Likewise.
7472 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7473 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7474 [ISO || ISO99 || ISO11] (math.h): Likewise.
7475 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7476 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7478
d18ea0c5
AS
74792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7480
7481 [BZ #14132]
56d25bb8
AS
7482 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7483 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7484 * intl/dgettext.c (DCGETTEXT): Likewise.
7485 * intl/gettext.c (DCGETTEXT): Likewise.
7486 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7487 * posix/regex_internal.h (gettext): Likewise.
7488 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7489 Remove declaration.
7490 * include/argz.h (__argz_count_internal)
7491 (__argz_stringify_internal): Remove declaration.
7492 (__argz_count, __argz_stringify): Declare hidden proto.
7493 * intl/dcgettext.c: Remove use of INTDEF.
7494 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7495 * string/argz-stringify.c: Likewise.
7496 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7497 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7498 Declare hidden proto.
d18ea0c5
AS
7499 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7500 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7501 Declare hidden proto.
7502 * include/stdio.h (__asprintf_internal): Don't declare.
7503 (__asprintf): Don't define as macro. Declare hidden proto.
7504 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7505 (__fsetlocking): Declare hidden proto.
7506 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7507 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7508 hidden proto.
7509 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7510 (_IO_setlinebuf): Remove use of INTUSE.
7511 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7512 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7513 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7514 Remove declaration.
7515 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7516 (_IO_do_flush): Remove use of INTUSE.
7517 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7518 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7519 (_IO_adjust_column, _IO_least_wmarker)
7520 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7521 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7522 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7523 (_IO_default_doallocate, _IO_wdefault_doallocate)
7524 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7525 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7526 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7527 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7528 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7529 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7530 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7531 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7532 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7533 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7534 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7535 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7536 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7537 proto.
7538 (_IO_flush_all_internal, _IO_adjust_column_internal)
7539 (_IO_default_uflow_internal, _IO_default_finish_internal)
7540 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7541 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7542 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7543 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7544 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7545 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7546 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7547 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7548 (_IO_file_close_internal, _IO_file_close_it_internal)
7549 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7550 (_IO_file_init_internal, _IO_file_attach_internal)
7551 (_IO_file_fopen_internal, _IO_file_read_internal)
7552 (_IO_file_sync_internal, _IO_file_seek_internal)
7553 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7554 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7555 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7556 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7557 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7558 (_IO_list_all_internal, _IO_link_in_internal)
7559 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7560 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7561 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7562 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7563 (_IO_do_write_internal, _IO_padn_internal)
7564 (_IO_getline_info_internal, _IO_getline_internal)
7565 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7566 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7567 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7568 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7569 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7570 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7571 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7572 with libc_hidden_ver, remove use of INTUSE.
7573 * libio/genops.c: Likewise.
7574 * libio/freopen.c: Likewise.
7575 * libio/freopen64.c: Likewise.
7576 * libio/iofclose.c: Likewise.
7577 * libio/iofdopen.c: Likewise.
7578 * libio/iofflush.c: Likewise.
7579 * libio/iofflush_u.c: Likewise.
7580 * libio/iofgets.c: Likewise.
7581 * libio/iofgets_u.c: Likewise.
7582 * libio/iofopen.c: Likewise.
7583 * libio/iofopncook.c: Likewise.
7584 * libio/iofread.c: Likewise.
7585 * libio/iofread_u.c: Likewise.
7586 * libio/ioftell.c: Likewise.
7587 * libio/iofwrite.c: Likewise.
7588 * libio/iogetline.c: Likewise.
7589 * libio/iogets.c: Likewise.
7590 * libio/iogetwline.c: Likewise.
7591 * libio/iopadn.c: Likewise.
7592 * libio/iopopen.c: Likewise.
7593 * libio/ioseekoff.c: Likewise.
7594 * libio/ioseekpos.c: Likewise.
7595 * libio/iosetbuffer.c: Likewise.
7596 * libio/iosetvbuf.c: Likewise.
7597 * libio/ioungetc.c: Likewise.
7598 * libio/ioungetwc.c: Likewise.
7599 * libio/iovdprintf.c: Likewise.
7600 * libio/iovsprintf.c: Likewise.
7601 * libio/iovsscanf.c: Likewise.
7602 * libio/memstream.c: Likewise.
7603 * libio/obprintf.c: Likewise.
7604 * libio/oldfileops.c: Likewise.
7605 * libio/oldiofclose.c: Likewise.
7606 * libio/oldiofdopen.c: Likewise.
7607 * libio/oldiofopen.c: Likewise.
7608 * libio/oldiopopen.c: Likewise.
7609 * libio/oldstdfiles.c: Likewise.
7610 * libio/putc.c: Likewise.
7611 * libio/setbuf.c: Likewise.
7612 * libio/setlinebuf.c: Likewise.
7613 * libio/stdfiles.c: Likewise.
7614 * libio/strops.c: Likewise.
7615 * libio/vasprintf.c: Likewise.
7616 * libio/vscanf.c: Likewise.
7617 * libio/vsnprintf.c: Likewise.
7618 * libio/vswprintf.c: Likewise.
7619 * libio/wfiledoalloc.c: Likewise.
7620 * libio/wfileops.c: Likewise.
7621 * libio/wgenops.c: Likewise.
7622 * libio/wmemstream.c: Likewise.
7623 * libio/wstrops.c: Likewise.
7624 * libio/__fpurge.c: Likewise.
7625 * libio/__fsetlocking.c: Likewise.
7626 * assert/assert.c: Likewise.
7627 * debug/fgets_chk.c: Likewise.
7628 * debug/fgets_u_chk.c: Likewise.
7629 * debug/fread_chk.c: Likewise.
7630 * debug/fread_u_chk.c: Likewise.
7631 * debug/gets_chk.c: Likewise.
7632 * debug/obprintf_chk.c: Likewise.
7633 * debug/vasprintf_chk.c: Likewise.
7634 * debug/vdprintf_chk.c: Likewise.
7635 * debug/vsnprintf_chk.c: Likewise.
7636 * debug/vsprintf_chk.c: Likewise.
7637 * malloc/mtrace.c: Likewise.
7638 * misc/error.c: Likewise.
7639 * misc/syslog.c: Likewise.
7640 * stdio-common/asprintf.c: Likewise.
7641 * stdio-common/fxprintf.c: Likewise.
7642 * stdio-common/getw.c: Likewise.
7643 * stdio-common/isoc99_fscanf.c: Likewise.
7644 * stdio-common/isoc99_scanf.c: Likewise.
7645 * stdio-common/isoc99_vfscanf.c: Likewise.
7646 * stdio-common/isoc99_vscanf.c: Likewise.
7647 * stdio-common/isoc99_vsscanf.c: Likewise.
7648 * stdio-common/printf-prs.c: Likewise.
7649 * stdio-common/printf_fp.c: Likewise.
7650 * stdio-common/printf_fphex.c: Likewise.
7651 * stdio-common/printf_size.c: Likewise.
7652 * stdio-common/putw.c: Likewise.
7653 * stdio-common/scanf.c: Likewise.
7654 * stdio-common/sprintf.c: Likewise.
7655 * stdio-common/tmpfile.c: Likewise.
7656 * stdio-common/vfprintf.c: Likewise.
7657 * stdio-common/vfscanf.c: Likewise.
7658 * stdlib/strfmon_l.c: Likewise.
7659 * sunrpc/openchild.c: Likewise.
7660 * sunrpc/xdr_stdio.c: Likewise.
7661 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7662 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7663
d6c33fda
RM
76642012-05-24 Roland McGrath <roland@hack.frob.com>
7665
c1487492
RM
7666 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7667
7668 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7669 in the third column, to generate for the shared library an IFUNC
7670 that uses _dl_vdso_vsym.
7671 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7672 * Makeconfig (object-suffixes-noshared): New variable.
7673
7674 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7675 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7676 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7677 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7678
d6c33fda
RM
7679 [BZ #14132]
7680 * include/sys/time.h (__gettimeofday): Remove macro.
7681 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7682 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7683 Remove INTDEF.
7684 (__gettimeofday): Add libc_hidden_def.
7685 (gettimeofday): Add libc_hidden_weak.
7686 * sysdeps/mach/gettimeofday.c: Likewise.
7687 * sysdeps/posix/gettimeofday.c: Likewise.
7688 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7689 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7691 (__gettimeofday_internal): Remove strong_alias.
7692 (__gettimeofday): Add libc_hidden_def.
7693 (gettimeofday): Add libc_hidden_weak.
7694 * sysdeps/unix/syscalls.list (gettimeofday):
7695 Remove __gettimeofday_internal alias.
7696
b5a2bbe6
L
76972012-05-24 Daniel Jacobowitz <drow@false.org>
7698 H.J. Lu <hongjiu.lu@intel.com>
7699
7700 [BZ #12495]
7701 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7702 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7703 (largebin_index_32_big): New.
7704 (largebin_index): Use it for 16-byte alignment.
7705 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7706 correction with front_misalign.
7707
cfba4fda
L
77082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7709
7f907421
L
7710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7712 Likewise.
7713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7714 Likewise.
7715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7716 Likewise.
7717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7718 Likewise.
7719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7720 Likewise.
7721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7722 Likewise.
7723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7724 Likewise.
7725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7726 Likewise.
7727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7728 Likewise.
7729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7730 Likewise.
7731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7732 Likewise.
7733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7734 Likewise.
7735
cfba4fda
L
7736 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7737 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7738
80bad0cc
JM
77392012-05-24 Joseph Myers <joseph@codesourcery.com>
7740
7a25eb06
JM
7741 [BZ #10846]
7742 [BZ #14036]
7743 * math/libm-test.inc (exp_test): Add test from bug 14036.
7744 (pow_test): Add test from bug 10846.
7745
795405f9
JM
7746 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7747 and other flags.
7748 (special_function): Do not include flags in test name.
7749 (parse_args): Likewise.
7750 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7752 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7753 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7755
80bad0cc
JM
7756 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7757 exceptions.
7758 * math/libm-test.inc ("Philosophy"): Update comment about
7759 exception testing.
7760 (UNDERFLOW_EXCEPTION): New macro.
7761 (UNDERFLOW_EXCEPTION_OK): Likewise.
7762 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7763 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7764 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7765 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7766 (INVALID_EXCEPTION_OK): Update value.
7767 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7768 (OVERFLOW_EXCEPTION_OK): Likewise.
7769 (IGNORE_ZERO_INF_SIGN): Likewise.
7770 (test_exceptions): Handle underflow exceptions.
7771 (acos_test): Update for underflow exception expectations.
7772 (cexp_test): Likewise.
7773 (clog_test): Likewise.
7774 (clog10_test): Likewise.
7775 (csqrt_test): Likewise.
7776 (ctan_test): Likewise.
7777 (ctanh_test): Likewise.
7778 (exp_test): Likewise.
7779 (exp10_test): Likewise.
7780 (exp2_test): Likewise.
7781 (expm1_test): Likewise.
7782 (fma_test): Likewise.
7783 (j0_test): Likewise.
7784 (jn_test): Likewise.
7785 (nexttoward_test): Likewise.
7786 (pow_test): Likewise.
7787 (scalbn_test): Likewise.
7788 (scalbln_test): Likewise.
7789 (tan_test): Likewise.
7790 (y1_test): Likewise.
7791 * sysdeps/i386/fpu/libm-test-ulps: Update.
7792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7793
9e0e3d0b
DM
77942012-05-23 David S. Miller <davem@davemloft.net>
7795
7796 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7797 (__libc_sigaction): Remove unused local variables.
7798
ccd0a08f
L
77992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7802
62bdf9a6
PE
78032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7804
f8591f80
PE
7805 mktime: avoid signed integer overflow
7806 * time/mktime.c (__mktime_internal): Do not mishandle the case
7807 where diff == INT_MIN.
7808
94c7d826
PE
7809 mktime: simplify computation of average
7810 * time/mktime.c (ranged_convert): Use new time_t_avg function
7811 instead of rolling our own (probably-slower) code.
7812
ce73d683
PE
7813 mktime: do not assume signed right shift propagates sign bit
7814 * time/mktime.c (isdst_differ): New static function.
7815 (__mktime_internal): No need to normalize tm_isdst now.
7816 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7817 tm_isdst values.
7818
72a22e59
PE
7819 mktime: merge another wrapv change from gnulib
7820 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7821 from some compilers.
7822
68605433
PE
7823 mktime: remove incorrect attempt at unusual arithmetics
7824 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7825 The code didn't really work on such machines anyway.
7826 (TYPE_MINIMUM): Assume two's complement.
7827 (twos_complement_arithmetic): Verify that long_int and time_t
7828 are two's complement (or unsigned, in the latter case).
7829
03cf7fe3
PE
7830 mktime: check signed shifts on long_int and time_t, too
7831 * time/mktime.c (SHR): Check that shifts work as desired
7832 on the types long_int and time_t too, as SHR is used on
7833 such types.
7834
f04dfbc2
PE
7835 mktime: do not assume 'long' is wide enough
7836 * time/mktime.c (verify): Move decl up.
7837 (long_int): New type.
7838 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7839 to remove assumption in the code that 'long' is wide enough to
7840 store year values. This assumption is not true on x32 and on
7841 some non-glibc platforms.
7842
62bdf9a6
PE
7843 mktime: merge wrapv change from gnulib
7844 * time/mktime.c (WRAPV): New macro.
7845 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7846 (guess_time_tm, __mktime_internal): Do not assume that signed
7847 integer overflow wraps around; modern compilers generate code
7848 where this assumption is no longer valid.
7849
5e292e4f
L
78502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7851
7852 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7853 Replace "jmp L(pseudo_end)" with "ret".
7854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7855 Likewise.
7856
8caf8c87
AJ
78572012-05-23 Andreas Jaeger <aj@suse.de>
7858
7859 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7860 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7861
1a09dc56
AJ
78622012-05-23 Andreas Jaeger <aj@suse.de>
7863 Maximilian Attems <max@stro.at>
7864
7865 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7866 New macros.
7867
1c87aba0
L
78682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7869
7870 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7871 code so that pseudo_end is just ret and the stack pointer is
7872 correct also for static library in error case.
7873
40e45bd5
JM
78742012-05-23 Joseph Myers <joseph@codesourcery.com>
7875
c2670533
JM
7876 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7877 move to syscalls.list.
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7882
40e45bd5
JM
7883 * manual/install.texi (Running make install): Do not mention Linux
7884 kernel version for which pt_chown is not needed.
7885 (Linux): Do not mention problems with nscd with 2.0 kernels.
7886 * INSTALL: Regenerated.
7887
be08eda5
AJ
78882012-05-23 Andreas Jaeger <aj@suse.de>
7889
7890 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7891 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7892 macro.
7893 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7894 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7895 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7896 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7897 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7898 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7899 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7900 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7901 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7903 * sysdeps/unix/sysv/linux/bits/in.h
7904 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7905
a6a056bb
RM
79062012-05-22 Roland McGrath <roland@hack.frob.com>
7907
7908 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7909 (PREPARE_VERSION): Just use assert instead, it will be elided
7910 under [NDEBUG] anyway.
7911
c9009328
L
79122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7913
7914 * sysdeps/unix/sysv/linux/Makefile: Include
7915 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7916 (sysdep_routines): Remove sysctl.
c9009328
L
7917 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7918 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7919 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7920 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7921 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7922
73338355
AJ
79232012-05-22 Andreas Jaeger <aj@suse.de>
7924
7925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7926 that pseudo_end is just ret and the stack pointer is correct also
7927 for static library in error case.
7928
d44638b0
PP
79292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7930
7931 [BZ #14122]
7932 * nss/nsswitch.c (defconfig_entries): New variable.
7933 (__nss_database_lookup): Don't leak defconfig entries.
7934 (nss_parse_service_list): Don't leak on error paths.
7935 (free_database_entries): New function.
7936 (free_defconfig): New function.
7937 (free_mem): Move common code to free_database_entries.
7938
31a39bd8
L
79392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7940
da0331a8
L
7941 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7942 Add arch_prctl.
7943 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7944
31a39bd8
L
7945 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7946 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7948 New macro.
7949 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7950 (INTERNAL_SYSCALL_TYPES): Likewise.
7951 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7952 (LOAD_REGS_TYPES_[1-6]): Likewise.
7953 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7954 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7955
45470df3
AZ
79562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7957
7958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7959 copysignl for GLIBC_2_0.
7960 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7961 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7962 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7963 logbl for GLIBC_2_0.
7964 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7966
98a61bcb
L
79672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7968
a4f6e481
L
7969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7970 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7971
f63d5db6
L
7972 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7973 Use "neg %eax".
7974
98a61bcb
L
7975 * time/mktime.c: Update copyright years.
7976
95770f14
PE
79772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7978
6226efbd
PE
7979 mktime: merge comment-quoting-style change from gnulib
7980 * time/mktime.c: Quote 'like this' in comments.
7981 The GNU coding standards suggest that we no longer quote `like this',
7982 as "`" and "'" are typically rendered asymmetrically nowadays.
7983 The typical gnulib style is to quote 'like this' when quoting
7984 code, and "like this" when quoting English.
7985
b99e4f78
PE
7986 * time/mktime.c (compile-command): Add "-I.".
7987
643e01e6
PE
7988 mktime: merge mktime-internal.h change from gnulib
7989 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7990
2554247d
PE
7991 mktime: merge time_r change from gnulib
7992 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7993
826dd0ab
PE
7994 mktime: merge DEBUG change from gnulib
7995 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7996 case system <time.h> has a #define.
7997
bd83aabe
PE
7998 mktime: merge <sys/types.h> change from gnulib
7999 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8000 since <time.t> is now guaranteed to define time_t.
8001
95770f14
PE
8002 mktime: merge HAVE_CONFIG_H change from gnulib
8003 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8004
5e1a27a9
L
80052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8006
0e44a77e
L
8007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8008 Use "neg %eax".
8009
5e1a27a9
L
8010 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8011 __rlim_t cast.
8012 (struct rusage): Use anonymous union to pad each field to
8013 __syscall_slong_t.
8014
46259bec
DM
80152012-05-21 David S. Miller <davem@davemloft.net>
8016
8017 * Makefules (o-iterator): Remove .s cases.
8018 (compile-command.s): Delete.
8019 (COMPILE.s): Delete.
8020 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8021
59f0c22e
JM
80222012-05-21 Joseph Myers <joseph@codesourcery.com>
8023
8024 * configure.in (libc_cv_predef_stack_protector): Only consider
8025 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8026 * configure: Regenerated.
8027
20c07380
L
80282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8029
bbb3154b
L
8030 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8031 New macro. Use R*LP on int and pointer.
8032 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8033 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8034 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8035 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8036
20c07380
L
8037 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8038 [__WORDSIZE_TIME64_COMPAT32] instead of
8039 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8040 (struct utmp): Likewise.
8041 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8042 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8043 Renamed to ...
8044 (__WORDSIZE_TIME64_COMPAT32): This.
8045 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8046 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8047 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8048 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8049 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8050 (__WORDSIZE_TIME64_COMPAT32): New macro.
8051
d8d1017e
AJ
80522012-05-21 Andreas Jaeger <aj@suse.de>
8053
8054 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8055 only if [SHARED]. Add prototype for __wcschr_ia32.
8056
6c7fb145
RM
80572012-05-21 Roland McGrath <roland@hack.frob.com>
8058
8059 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8060 of %rbp unmolested in the jmp_buf while mangling the low bits.
8061 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8062 unmolested high bits of %rbp while demangling the low bits.
8063 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8064
66274218
AJ
80652012-05-21 Andreas Jaeger <aj@suse.de>
8066
07c58f8f
AJ
8067 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8068 * sunrpc/svc_simple.c: Use it for registerrpc.
8069 * sunrpc/xcrypt.c: Use it for passwd2des.
8070
66274218
AJ
8071 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8072
61f65140
L
80732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8076 Don't define if [__SYSCALL_WORDSIZE != 32].
8077 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8078 New macro.
8079
5fefb436
AJ
80802012-05-21 Bruno Haible <bruno@clisp.org>
8081 Andreas Jaeger <aj@suse.de>
8082
8083 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8084 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8085 inptr and inend for must_buffer_ch.
8086 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8087 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8088 * stdio-common/Makefile (tests): Remove bug15.
8089 (bug15-ENV): Remove macro.
8090 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8091 anymore.
8092
d8e272ab
AJ
80932012-05-19 Andreas Jaeger <aj@suse.de>
8094 Roland McGrath <roland@hack.frob.com>
8095
8096 * manual/contrib.texi: Completely rewritten. It contains now an
8097 alphabetical list of contributors and their contributions.
8098
4a56a162
RH
80992012-05-21 Richard Henderson <rth@twiddle.net>
8100
8101 * misc/getauxval.c (__getauxval): Use unsigned long int.
8102 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8103 (getauxval): Use unsigned long int.
8104
d024d23c
L
81052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8106
8107 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8108
cbc00a03
RM
81092012-05-21 Roland McGrath <roland@hack.frob.com>
8110
8111 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8112 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8113 __alignof__ (long double).
8114
478143fa
AZ
81152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8116
8117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8118
c7683a6d
RH
81192012-05-20 Richard Henderson <rth@twiddle.net>
8120
8121 * misc/getauxval.c: New file.
8122 * misc/sys/auxv.h: New file.
8123 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8124 (routines): Add getauxval.
8125 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8126 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8127 * elf/dl-sysdep.c (_dl_auxv): Remove.
8128 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8129 * elf/dl-support.c (_dl_auxv): New variable.
8130 (_dl_aux_init): Initialize it.
8131 * manual/startup.texi (Auxiliary Vector): New node.
8132 * sysdeps/generic/bits/hwcap.h: New file.
8133 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8134 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8135 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8136 * sysdeps/sparc/sysdep.h: ... here. Include it.
8137 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8138 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8140 Update.
c7683a6d
RH
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8149
a6f1845d
AZ
81502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8151
8152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8153
cbcbe830
DM
81542012-05-19 David S. Miller <davem@davemloft.net>
8155
8156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8157
e0b16cc2
JM
81582012-05-19 Joseph Myers <joseph@codesourcery.com>
8159
8160 [BZ #14123]
8161 * math/s_ccosh.c: Include <float.h>
8162 (__ccosh): Avoid internal overflow calculating sinh and cosh
8163 values before multiplying by sin and cos values.
8164 * math/s_ccoshf.c: Likewise.
8165 * math/s_ccoshl.c: Likewise.
8166 * math/s_csin.c: Likewise.
8167 * math/s_csinf.c: Likewise.
8168 * math/s_csinl.c: Likewise.
8169 * math/s_csinh.c: Likewise.
8170 * math/s_csinhf.c: Likewise.
8171 * math/s_csinhl.c: Likewise.
8172 * math/libm-test.inc (ccos_test): Add more tests.
8173 (ccosh_test): Likewise.
8174 (csin_test): Likewise.
8175 (csinh_test): Likewise.
8176 * sysdeps/i386/fpu/libm-test-ulps: Update.
8177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8178
6ad13e08
L
81792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8180
f66f0ce8
L
8181 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8182 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8183
6ad13e08
L
8184 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8185
b1d072a7
JM
81862012-05-19 Joseph Myers <joseph@codesourcery.com>
8187
8188 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8189 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8190 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8191 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8192 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8193 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8194 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8195 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8196 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8197 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8198 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8199 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8200 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8201 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8202 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8203 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8204 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8205 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8206 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8207 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8208 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8209 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8210 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8211 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8212 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8213 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8214 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8215 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8216 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8217 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8218 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8219
9eae47cb
AJ
82202012-05-18 Andreas Jaeger <aj@suse.de>
8221
8222 * csu/.gitignore: Delete.
8223
bb07f69f
L
82242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8227 (timex): Use __syscall_slong_t.
8228
e6bdb741
AJ
82292012-05-18 Andreas Jaeger <aj@suse.de>
8230 Carlos O'Donell <carlos_odonell@mentor.com>
8231
8232 * manual/install.texi (Configuring and compiling): Update
8233 description about files modified in the source directory.
d6c33fda 8234 * INSTALL: Regenerated.
e6bdb741 8235
1b74487e
L
82362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8237
8238 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8239 value. Use "or" to set return value to -1.
8240 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8241 negate return value.
8242
a88b64b9
TMQMF
82432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8244
8245 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8246 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8247 failure if the compiler has Graphite support disabled.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8249 Likewise.
8250 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8251 CFLAGS-memmove.c): Likewise.
8252 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8253 Likewise.
8254
3707636e
L
82552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8256
610b8622
L
8257 * sysdeps/x86_64/x32/_itoa.h: New file.
8258
7cd195df
L
8259 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8260 getdents system call only if kernel and user dirents have the
8261 same d_ino and d_off.
8262
94b07d20
L
8263 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8264 LLONG_MAX != LONG_MAX.
8265 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8266 (_fitoa_word): Likewise.
8267
18298070
L
8268 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8269 years.
8270 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8271 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8272 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8273
553c7ea4
L
8274 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8275 include <bits/wordsize.h>. Check __x86_64__ instead of
8276 __WORDSIZE.
8277 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8278 if __x86_64__ is defined. Use anonymous union on fpstate.
8279
3707636e
L
8280 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8281 anonymous union.
8282
b53ef01a
AS
82832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8284
37fb1dc0
AS
8285 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8286 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8287 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8288 Refer to _rtld_local_ro instead of _rtld_global_ro.
8289 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8290 Likewise.
8291 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8292 Likewise.
8293 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8294 Likewise.
8295 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8296 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8297 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8298
b53ef01a
AS
8299 * sysdeps/powerpc/powerpc32/dl-machine.c
8300 (__elf_machine_runtime_setup) [PROF]: Don't reference
8301 _dl_prof_resolve.
8302
7a185db2
AJ
83032012-05-18 Andreas Jaeger <aj@suse.de>
8304
8305 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8306 function only available for GCCs before 3.4 since GCC 3.4
8307 introduced a builtin.
8308 (lrint): Likewise.
8309 (llrintf): Likewise.
8310 (llrint): Likewise.
8311 (fmaxf): Likewise.
8312 (fmax): Likewise.
8313 (fminf): Likewise.
8314 (fmin): Likewise.
8315 (rint): Likewise.
8316 (rintf): Likewise.
8317 (nearbyint): Likewise.
8318 (nearbyintf): Likewise.
8319 (ceil): Likewise.
8320 (ceilf): Likewise.
8321 (floor): Likewise.
8322 (floorf): Likewise.
8323
3e5aef87
L
83242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8325
428bd707
L
8326 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8327 on both fields and cast pointer to __syscall_ulong_t.
8328
3e5aef87
L
8329 * bits/types.h (__fsword_t): New type.
8330 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8331 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8332 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8333 (__FSWORD_T_TYPE): Likewise.
8334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8335 (__FSWORD_T_TYPE): Likewise.
8336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8337 (__FSWORD_T_TYPE): Likewise.
8338 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8339 (__FSWORD_T_TYPE): Likewise.
8340 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8341 __SWORD_TYPE with __fsword_t.
8342 (statfs64): Likewise.
8343
1ba7c3dc
DM
83442012-05-17 David S. Miller <davem@davemloft.net>
8345
8346 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8347
59910343
AJ
83482012-05-17 Andreas Jaeger <aj@suse.de>
8349
8350 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8351 warning.
8352
2e4c1e9e
L
83532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8354
8355 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8356
de7f5ce7
AJ
83572012-05-17 Andreas Jaeger <aj@suse.de>
8358
8359 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8360 when it is used.
8361
286abc3d
CM
83622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8363
8364 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8365
477cc68e
L
83662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8369 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8370
1a0994f5
CD
83712012-05-17 Andreas Jaeger <aj@suse.de>
8372 Carlos O'Donell <carlos_odonell@mentor.com>
8373
8374 [BZ #14059]
8375 * sysdeps/x86_64/multiarch/init-arch.h
8376 (bit_YMM_Usable): Rename to...
8377 (bit_AVX_Usable): ... this.
8378 (bit_FMA4_Usable): New macro.
8379 (bit_XMM_state): New macro.
8380 (bit_YMM_state): New macro.
8381 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8382 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8383 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8384 (CPUID_OSXSAVE): New macro.
8385 (CPUID_AVX): New macro.
8386 (CPUID_FMA4): New macro.
8387 (index_YMM_Usable): Rename to...
8388 (index_AVX_Usable): ... this.
8389 (HAS_AVX): Use HAS_ARCH_FEATURE.
8390 (HAS_FMA4): Likewise.
8391 (HAS_YMM_USABLE): Remove.
8392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8393 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8394 are present.
8395 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8396 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8397 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8398 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8399 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8400
0af797de
CM
84012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8402
8403 * math/libm-test.c: Support platforms without multiple rounding modes.
8404 * math/bug-nextafter.c: Support platforms without FP exceptions.
8405 * math/bug-nexttoward.c: Likewise.
8406 * math/test-fenv.c: Likewise.
8407 * math/test-misc.c: Likewise.
8408 * stdlib/bug-getcontext.c: Likewise.
8409
e39745ff
AJ
84102012-05-17 Andreas Jaeger <aj@suse.de>
8411
8412 * manual/examples/search.c (critter_cmp): Change signature to
8413 avoid warnings.
8414 * manual/string.texi (Collation Functions): Likewise.
8415
48970aba
L
84162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8417
8418 * bits/types.h: Fold copyright years.
8419 * bits/typesizes.h: Likewise.
8420 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8422 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8424 * time/time.h: Likewise.
8425
bedee953
PP
84262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8427
8428 [BZ #208]
8429 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8430 in instead of returning them. Return void.
8431 (__libc_mallinfo): Accumulate over all arenas.
8432 (__malloc_stats): Adjust for change in int_mallinfo interface.
8433
61653dfb
RM
84342012-05-16 Roland McGrath <roland@hack.frob.com>
8435
30b99d79
RM
8436 [BZ #10375]
8437 * configure.in (NM): Add AC_CHECK_TOOL for it.
8438 (libc_extra_cflags): New substituted variable.
8439 Check for -fstack-protector being used implicitly.
8440 * configure: Regenerated.
8441 * config.make.in (config-extra-cflags): New variable,
8442 gets @libc_extra_cflags@.
8443 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8444
61653dfb
RM
8445 [BZ #10375]
8446 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8447 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8448 * configure: Regenerated.
8449 * config.make.in (CPPUNDEFS): New substituted variable.
8450 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8451 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8452 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8453
661768bb
L
84542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8455
8456 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8457 (mq_attr): Use __syscall_slong_t.
8458
d4261567
L
84592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8460
8461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8462 Check __x86_64__ instead of __WORDSIZE.
8463 (_STAT_VER_LINUX): Likewise.
8464 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8465 __syscall_ulong_t and __syscall_slong_t.
8466 (stat64): Likewise.
8467
cf3ff365
L
84682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8471
76cf3e4d
L
84722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8473
8474 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8475
a637753a
L
84762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8477
8478 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8479 __syscall_ulong_t.
8480
d5e05119
L
8481 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8482 include <bits/wordsize.h>. Check __x86_64__ instead of
8483 __WORDSIZE.
8484 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8485 defined.
8486 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8487
f62ee380
L
8488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8489 include <bits/wordsize.h>. Check __x86_64__ instead of
8490 __WORDSIZE.
8491 (user_regs_struct): Use "__extension__ unsigned long long"
8492 instead of "unsigned long" if __x86_64__ is defined.
8493 (user): Likewise. Pad after pointer field if __ILP32__ is
8494 defined.
8495
4e124ced
JM
84962012-05-16 Joseph Myers <joseph@codesourcery.com>
8497
6a3951a0
JM
8498 * configure.in (makeinfo): Require version 4.5 or later. Allow
8499 versions 5 to 9.
8500 * configure: Regenerated.
8501 * manual/install.texi (texinfo): Increase version requirement to
8502 4.5 or later.
8503 * INSTALL: Regenerated.
8504
4e124ced
JM
8505 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8506
953ca31a
L
85072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8508
8509 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8510
617aca05
L
8511 * sysdeps/x86_64/x32/ffs.c: New file.
8512
5762f7ae
L
8513 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8514 __syscall_ulong_t.
8515 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8516 defined. Use __syscall_ulong_t.
8517 (shminfo): Use __syscall_ulong_t.
8518 (shm_info): Likewise.
8519
a26b6856
L
8520 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8521 __syscall_ulong_t.
8522
cb2b9ef7
L
8523 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8524 <bits/wordsize.h>.
8525 (msgqnum_t): Use __syscall_ulong_t.
8526 (msglen_t): Likewise.
8527 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8528 __syscall_ulong_t.
8529
34683bb0
L
8530 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8531 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8532
84a68786
L
8533 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8534
48baa5f1
L
8535 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8536 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8537
180be88b
L
8538 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8539 __syscall_slong_t.
8540
5e90c8ad
L
8541 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8542 include <bits/wordsize.h>. Check __x86_64__ instead of
8543 __WORDSIZE.
8544
23dfb58b
L
8545 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8546 "unsigned long long int" if __x86_64__ is defined.
8547 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8548
ce5d54b0
L
8549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8550 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8551 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8552
13dc9eac
L
8553 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8554 <stdint.h>.
8555 (GET_PC): Cast to uintptr_t first.
8556 (GET_FRAME): Likewise.
8557 (GET_STACK): Likewise.
8558
a7895d15
L
8559 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8570 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8571 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8575 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8576 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8577 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8578 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8579 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8580 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8581 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8582 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8583 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8584 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8585 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8586 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8587 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8588
656416c9
AS
85892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8590
5bd66283
AS
8591 * Makerules (+depfiles): Also collect depfiles from .oS in
8592 $(extra-objs).
8593 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8594 .oS, $(libnldbl-routines)).
8595
656416c9
AS
8596 * Makerules (native-compile-mkdep-flags): Define.
8597 * sunrpc/Makefile (extra-objs): Add $(addprefix
8598 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8599 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8600 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8601 calling $(make-target-directory).
8602
a46f2169
L
86032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * bits/types.h (__snseconds_t): Removed.
8606 * time/time.h (struct timespec): Replace __snseconds_t with
8607 __syscall_slong_t.
8608 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8609 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8610 Likewise.
8611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8612 (__SNSECONDS_T_TYPE): Likewise.
8613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8614 (__SNSECONDS_T_TYPE): Likewise.
8615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8616 (__SNSECONDS_T_TYPE): Likewise.
8617
6af6528b
L
86182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 * sysdeps/mach/hurd/bits/typesizes.h
8621 (__SYSCALL_SLONG_TYPE): New macro.
8622 (__SYSCALL_ULONG_TYPE): Likewise.
8623
de986b56
L
86242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 * bits/types.h (__syscall_slong_t): New type.
8627 (__syscall_ulong_t): Likewise.
8628
8629 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8630 (__SYSCALL_ULONG_TYPE): Likewise.
8631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8632 (__SYSCALL_SLONG_TYPE): Likewise.
8633 (__SYSCALL_ULONG_TYPE): Likewise.
8634 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8635 (__SYSCALL_SLONG_TYPE): Likewise.
8636 (__SYSCALL_ULONG_TYPE): Likewise.
8637 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8638 (__SYSCALL_SLONG_TYPE): Likewise.
8639 (__SYSCALL_ULONG_TYPE): Likewise.
8640
85736dc7
L
86412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8644 Add sigaltstack-offsets.sym.
8645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8646 <sigaltstack-offsets.h>.
8647 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8648 longjmp_msg pointer.
8649 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8650 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8651 signal stack.
8652 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8653
cc03b296
JM
86542012-05-15 Joseph Myers <joseph@codesourcery.com>
8655
a9538892
JM
8656 * elf/stackguard-macros.h: Remove file.
8657 * sysdeps/generic/stackguard-macros.h: New file.
8658 * sysdeps/i386/stackguard-macros.h: Likewise.
8659 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8660 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8661 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8662 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8663 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8664 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8665 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8666 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8667 <elf/stackguard-macros.h>.
8668
cc03b296
JM
8669 [BZ #14109]
8670 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8671 __aligned__ in attribute.
8672 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8673 (gregset_t): Likewise.
8674
93171016
L
86752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8676
8677 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8678 * sysdeps/x86_64/64/Implies-after: Here. New file.
8679 * sysdeps/x86_64/x32/Implies-after: New file.
8680
d86813a0
L
86812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8682
8683 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8684 and access return value for _dl_profile_fixup. Use R10_LP to
8685 load frame size.
8686
2953ec75
L
86872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8688
8689 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8690
3b550e9e
L
86912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8692
8693 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8694 * sysdeps/x86_64/x32/sysdep.h: New file.
8695
eda41706
L
86962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8697
8698 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8699 * sysdeps/x86_64/setjmp.S: Likewise.
8700
9ea01d93
AZ
87012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8702
8703 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8704 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8705 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8706 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8707 remove unused global constant.
8708
02a91938
CM
87092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8710
8711 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8712 include of <not-cancel.h>.
8713
6540185f
RM
87142012-05-15 Roland McGrath <roland@hack.frob.com>
8715
8716 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8717
509072a0
AJ
87182012-05-15 Jeff Law <law@redhat.com>
8719 Andreas Jaeger <aj@suse.de>
8720
8721 [BZ #13594]
8722 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8723 out from...
8724 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8725 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8726 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8727 code changing __hst_map_handle.map.
8728
ba75122d
RM
87292012-05-15 Roland McGrath <roland@hack.frob.com>
8730
8731 * configure.in (sysnames): Look for Implies-before and Implies-after
8732 files.
8733 * configure: Regenerated.
8734
890d8bd8
L
87352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8736
8737 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8738 8-byte data alignment with LP_SIZE alignment.
8739
f6ee6623
L
87402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8741
8742 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8743 into R10_LP.
8744
ea2626f6
L
87452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8746
8747 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8748
085f715e
L
87492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8752 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8753 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8754 Likewise.
8755 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8756
be8498fc
L
87572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8758
8759 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8760 (stackinfo_sub_sp): Likewise.
8761
70bc83b9
L
87622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8763
8764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8765 RAX_LP.
8766
9bc0b730
L
87672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8768
8769 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8770 into R*_LP.
8771
6d2850e7
L
87722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8775 sizes into R*_LP.
8776
3cb84561
L
87772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8778
8779 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8780
54e2ed81
L
87812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8784 into R11_LP and load __x86_64_shared_cache_size_half into
8785 R8_LP.
8786
8a17f349
L
87872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8788
8789 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8790 R8_LP.
8791
777b1eea
AZ
87922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8793
8794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8795 logb for POWER7.
8796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8797 logbf for POWER7.
8798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8799 logbl for POWER7.
8800 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8801 powerpc32/power7/fpu/s_logb.c via #include.
8802 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8803 powerpc32/power7/fpu/s_logbf.c via #include.
8804 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8805 powerpc32/power7/fpu/s_logbl.c via #include.
8806
d20d4ac2
JM
88072012-05-15 Joseph Myers <joseph@codesourcery.com>
8808
8809 * README.libm: Remove file.
8810
6cdef1ab
L
88112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8812
8813 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8814 count for x32. Use R*_LP and omit operand-size suffix.
8815
0b254d8f
L
88162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8817
8818 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8819 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8820 * sysdeps/x86_64/x32/shlib-versions: New file.
8821
ceb809dc
RM
88222012-05-14 Roland McGrath <roland@hack.frob.com>
8823
8824 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8825 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8826 Use _dl_fatal_printf instead.
8827
37f1abd4
JM
88282012-05-14 Joseph Myers <joseph@codesourcery.com>
8829
8830 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8831 set if not set by the user. Do not allow for being unset.
8832 * sysdeps/unix/sysv/linux/configure: Regenerated.
8833
11de3a33
L
88342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8837 the `q' suffix from lea and replace .quad with ASM_ADDR.
8838
e02f153a
L
88392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8840
8841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8842 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8843 instead of $17.
8844 (PTR_DEMANGLE): Likewise.
8845
520ae0fd
L
88462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8847
8848 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8849 (LP_OP): Likewise.
8850 (ASM_ADDR): Likewise.
8851 (RAX_LP): Likewise.
8852 (RBP_LP): Likewise.
8853 (RBX_LP): Likewise.
8854 (RCX_LP): Likewise.
8855 (RDI_LP): Likewise.
8856 (RSI_LP): Likewise.
8857 (RSP_LP): Likewise.
8858 (R8_LP): Likewise.
8859 (R9_LP): Likewise.
8860 (R10_LP): Likewise.
8861 (R10_LP): Likewise.
8862 (R11_LP): Likewise.
8863 (R12_LP): Likewise.
8864 (R13_LP): Likewise.
8865 (R14_LP): Likewise.
8866 (R15_LP): Likewise.
8867
b985be81
L
88682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/x86_64/x32/dl-machine.h: New file.
8871
6a4888ff
AJ
88722012-05-14 Andreas Jaeger <aj@suse.de>
8873
8874 * manual/Makefile (subdir): Remove export of subdir.
8875 (all): Remove target.
8876 (.PHONY): Remove all from list.
8877 (mkinstalldirs): Remove.
8878 (.PHONY): Remove installdirs from list.
8879 ($(inst_infodir)/libc.info): Use make-target-directory.
8880 (installdirs): Remove.
8881 (subdir_%): Remove.
8882 (glibc-targets): Remove.
8883 (lib): Remove.
8884 (stubs): Remove.
8885 ($(objpfx)stubs ../po/manual.pot): Remove.
8886 ($(objpfx)stamp%): Remove.
8887 (make-target-directory): Remove.
8888 (subdir_install): Remove.
8889 (routines): Remove.
8890 (aux): Remove.
8891 (sources): Remove.
8892 (objects): Remove.
8893 (headers): Remove.
8894
8895 [BZ #13750]
8896 * manual/.gitignore: Remove, it's not needed anymore.
8897 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8898 all files in it.
8899 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8900 directory.
8901 (texis): Renamed to $(objpfx)texis.
8902 (texis-path): New, contains path to generated files.
8903 (chapters.%): Use texis-path for complete path, add extra argument
8904 libc-texinfo.sh.
8905 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8906 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8907 (summary,texi, stamp-summary): Use complete path of
8908 files. Generate files in build dir.
8909 (dir-add.texi): Build in build dir.
8910 (libm-err.texi,stamp-libm-err): Likewise.
8911 (version.texi, stamp-version): Likewise.
8912 (.%c.texi): Likewise.
8913 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8914 (mostlyclean): Remove target.
8915 (realclean): Remove target.
8916 (generated): Add new variable with contents from mostlyclean and
8917 realclean, remove entries duplicated in common-mostlyclean, add
8918 stamp-libm-err and stamp-version.
8919 (generated-dirs): Add libc directory.
8920 ($(inst_infodir)/libc.info): Install files from build dir.
8921
8922 * manual/install.texi (Configuring and compiling): Adjust since
8923 the info files are not part of the tar ball anymore.
8924
7ac77294
AJ
89252012-05-14 Andreas Jaeger <aj@suse.de>
8926
8927 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8928 variable.
8929
ffb7875d
JM
89302012-05-14 Joseph Myers <joseph@codesourcery.com>
8931
8932 [BZ #13717]
8933 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8934 to 2.2.0 where earlier.
8935 * sysdeps/unix/sysv/linux/configure: Regenerated.
8936 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8937 Remove conditional code.
8938 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8939 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8940 Remove conditional code.
8941 [!__NR_lchown]: Likewise.
8942 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8943 [__NR_lchown]: Likewise.
8944 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8945 comment referencing __ASSUME_LCHOWN_SYSCALL.
8946 * sysdeps/unix/sysv/linux/i386/sigaction.c
8947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8949 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8950 Remove conditional code.
8951 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8952 (__protocol_available): Remove #if 0 code.
8953 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8954 conditional code.
8955 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8956 * sysdeps/unix/sysv/linux/kernel-features.h
8957 (__ASSUME_GETCWD_SYSCALL): Don't define.
8958 (__ASSUME_REALTIME_SIGNALS): Likewise.
8959 (__ASSUME_PREAD_SYSCALL): Likewise.
8960 (__ASSUME_PWRITE_SYSCALL): Likewise.
8961 (__ASSUME_POLL_SYSCALL): Likewise.
8962 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8963 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8964 non-SPARC.
8965 (__ASSUME_SIOCGIFNAME): Don't define.
8966 (__ASSUME_MSG_NOSIGNAL): Likewise.
8967 (__ASSUME_SENDFILE): Define unconditionally.
8968 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8969 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8970 conditional code.
8971 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8972 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8973 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8974 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8975 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8976 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8977 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8979 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8980 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8985 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8991 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8994 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8997 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9002 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9003 Remove conditional code.
9004 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9005 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9006 Remove conditional code.
9007 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9008 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9009 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9010 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9011 Remove conditional code.
9012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9013 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9014 Remove conditional code.
9015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9016 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9017 Remove conditional code.
9018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9019 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9020 Remove conditional code.
9021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9022 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9023 Remove conditional code.
9024 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9025 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9026 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9027 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9028 * sysdeps/unix/sysv/linux/sigaction.c
9029 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9030 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9031 * sysdeps/unix/sysv/linux/sigpending.c
9032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9034 * sysdeps/unix/sysv/linux/sigprocmask.c
9035 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9036 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9037 * sysdeps/unix/sysv/linux/sigsuspend.c
9038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9040 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9041 (__libc_missing_rt_sigs): Remove.
9042 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9043 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9044 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9045 Remove conditional code.
9046 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9047 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9048 return 1.
9049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9050 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9052 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9053
1bfb7291
AJ
90542012-05-14 Andreas Jaeger <aj@suse.de>
9055
caae5a81
AJ
9056 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9057 it's not used in glibc.
9058 (__coshm1): Likewise.
9059 (__acosh1p): Likewise.
9060 (__sgn): Likewise.
9061
1bfb7291
AJ
9062 * manual/string.texi (Copying and Concatenation): Add missing
9063 variable in concat example.
9064 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9065
c044d724
L
90662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9067
144c5467 9068 [BZ #14103]
c044d724
L
9069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9070 __builtin_clzl with __builtin_clzll.
9071
2523c62b
L
90722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9073
9074 [BZ #14104]
9075 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9076 libc_freeres_ptr.
9077
d7bb4c42
LD
90782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9079
9080 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9081 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9082 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9083 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9084
9dc4e1fb
MF
90852012-05-14 Mike Frysinger <vapier@gentoo.org>
9086
9087 * NEWS: Update ia64 info.
9088
c7df0112
AS
90892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9090
9091 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9092 used as bcopy.
9093
dc70356c
TS
90942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9095
9096 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9097 * sysdeps/unix/syscalls.list (dup3): Likewise.
9098 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9099 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9100
9fb1a21f
L
91012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9102
9103 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9104 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9105
4822a2a5
L
91062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9107
9108 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9109 thread pointer.
9110 (TLS_IE): Use mov/add instead of movq/addq to load thread
9111 pointer.
9112 (TLS_GD_PREFIX): New.
9113 (TLS_GD): Use it.
9114
842b81d6
DM
91152012-05-11 David S. Miller <davem@davemloft.net>
9116
9117 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9118 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9119 (_FPU_SETCW): Likewise.
9120
1cf463cd
L
91212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9122
9123 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9124 is 32-byte aligned.
9125
60cc4a18
AS
91262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9127
9128 [BZ #11837]
9129 * iconvdata/gb18030.c: Update tables.
9130 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9131 characters specially.
9132 (BODY for TO_LOOP): Add encoding of missing ranges.
9133
febb44a4
TS
91342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9135
9136 [BZ #13673]
9137 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9138 * sysdeps/mach/hurd/dup3.c: Likewise.
9139 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9140 * sysdeps/powerpc/memmove.c:: Likewise.
9141
0a10fb9e
L
91422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9143
9144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9145 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9146
df8a552f
L
91472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * elf/elf.h (R_X86_64_RELATIVE64): New.
9150 (R_X86_64_NUM): Updated.
9151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9152 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9153 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9154 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9155 tst-quad1pie tst-quad2pie
9156 (modules-names): Add tst-quadmod1 tst-quadmod2.
9157 ($(objpfx)tst-quad1): New dependency.
9158 ($(objpfx)tst-quad2): Likewise.
9159 ($(objpfx)tst-quad1pie): Likewise.
9160 ($(objpfx)tst-quad2pie): Likewise.
9161 * sysdeps/x86_64/tst-quad1.c: New file.
9162 * sysdeps/x86_64/tst-quad1pie.c: New file.
9163 * sysdeps/x86_64/tst-quad2.c: Likewise.
9164 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9165 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9166 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9167 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9168 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9169
f34d6f84
ST
91702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9171
f42d41d1
ST
9172 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9173 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9174 * streams/stropts.h (t_scalar_t): Define type.
9175
3c3571fc
ST
9176 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9177 (_PATH_PRESERVE): Set to "/var/lib".
9178 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9179
61f06bd3
ST
9180 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9181 instead of int.
9182
918d4d71
ST
9183 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9184 if __dir_mkfile succeeded.
9185
f34d6f84
ST
9186 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9187 checking for _hurd_dtablesize. Unlock it right after having
9188 finished _hurd_dtable allocation.
9189
10589b4a
TS
91902012-05-10 Thomas Schwinge <thomas@schwinge.name>
9191
674cdbc7
TS
9192 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9193 * sysdeps/mach/hurd/configure: Regenerated.
9194 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9195 special-casing to...
9196 * sysdeps/gnu/configure.in: ... this new file.
9197 * sysdeps/unix/sysv/linux/configure: Regenerated.
9198 * sysdeps/gnu/configure: New generated file.
9199
8e41b99f
TS
9200 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9201 for Linux: use nsec instead of usec, as well as:
9202 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9203 members of type struct timespec.
9204 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9205 New macros.
9206 (struct stat64): Likewise.
9207 (_STATBUF_ST_NSEC): New macro.
9208 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9209
10589b4a
TS
9210 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9211 __strtoul_internal rather than strtoul.
9212
63643c85
PT
92132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9214
9215 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9216 and reject them.
9217
3faebe6a
ST
92182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9219
9220 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9221 which preserves existing values.
9222 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9223
c6474b07
PT
92242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9225
9226 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9227 TIMEOUT values. Return EINVAL for NFDS values either negative or
9228 greater than FD_SETSIZE.
9229
1043890b
ST
92302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9231
9232 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9233 allocated, call __vm_protect to finish enabling the existing space, and
9234 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9235 allocate the remainder.
9236
37ed8b9b
PT
92372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9238
9239 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9240 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9241
db653660
ST
92422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9243
37ed8b9b
PT
9244 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9245 sysdeps/mach/hurd/readlink.c.
b29d4053 9246
db653660
ST
9247 * posix/tst-sysconf.c (posix_options): Only use
9248 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9249 _POSIX_SYNCHRONIZED_IO when they are defined
9250 * sysdeps/mach/hurd/bits/posix_opt.h:
9251 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9252 (_XOPEN_REALTIME): Undefine macro.
9253 (_XOPEN_REALTIME_THREADS): Undefine macro.
9254 (_XOPEN_SHM): Undefine macro.
9255 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9256 macro to -1.
9257 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9258 macro to -1.
9259 (_POSIX_ASYNC_IO): Undefine macro.
9260 (_POSIX_PRIORITIZED_IO): Undefine macro.
9261 (_POSIX_SPIN_LOCKS): Define macro to -1.
9262
ee16e894
ST
9263 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9264 SA_NODEFER, SA_RESETHAND.
9265 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9266 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9267 F_DUPFD_CLOEXEC.
9268
6103ae3b
TS
92692012-05-10 Thomas Schwinge <thomas@schwinge.name>
9270
9271 * elf/Makefile (pldd-modules): Define unconditionally.
9272
80b4e5f3
TS
92732012-05-10 Thomas Schwinge <thomas@schwinge.name>
9274
9275 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9276
edadcbd6
ST
92772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9278
9279 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9280 Return ENOENT when name is empty.
9281 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9282
80694780
TS
92832012-05-10 Thomas Schwinge <thomas@schwinge.name>
9284
1792c087
TS
9285 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9286
80694780
TS
9287 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9288
6b645f0d
ST
92892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9290
80694780
TS
9291 Fix mlock in all cases except non-readable pages.
9292 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9293 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9294
6b645f0d
ST
9295 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9296 (__mkdir): When path is `/', just fail with EEXIST.
9297 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9298
e468f8a3
TS
92992012-05-10 Thomas Schwinge <thomas@schwinge.name>
9300
9301 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9302 <sys/uio.h> (for writev).
9303 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9304 and <sys/param.h> (for MIN).
9305
a4186cff
PT
93062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9307
9308 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9309 REQUESTED_TIME. Properly set the remaining time and return EINTR
9310 if interrupted.
9311
510bbf14
TS
93122012-05-10 Thomas Schwinge <thomas@schwinge.name>
9313
9314 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9315 Depend on against $(link-rpcuserlibs).
9316
5d5722e8
ST
93172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9318
a4186cff
PT
9319 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9320 (__libc_stack_end): Do not use attribute_relro.
9321 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9322 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9323 to libthread-provided value.
a4186cff
PT
9324 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9325 attribute_relro.
5d5722e8 9326
37233df9
TS
93272012-05-10 Thomas Schwinge <thomas@schwinge.name>
9328
be971a2b
TS
9329 [BZ #3748]
9330 * bits/libc-lock.h (__libc_once_get): New macro.
9331 * sysdeps/mach/bits/libc-lock.h: Likewise.
9332 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9334 instead of using implementation details.
9335
37233df9
TS
9336 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9337 * libio/freopen.c: Likewise.
9338 * libio/freopen64.c: Likewise.
9339 * misc/syslog.c: Likewise.
9340 * nscd/connections.c: Likewise.
9341 * nscd/netgroupcache.c: Likewise.
9342 * sysdeps/posix/getcwd.c: Likewise.
9343
38de94a5
RM
93442012-05-10 Roland McGrath <roland@hack.frob.com>
9345
9346 * math/w_ilogbf.c: Add #include <limits.h>.
9347
67530489
ST
93482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9349
a4186cff 9350 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9351 path instead of returning without unlocking.
9352
67530489
ST
9353 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9354 immediate-write ioctls.
9355 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9356
5aa3a74a
TS
93572012-05-10 Thomas Schwinge <thomas@schwinge.name>
9358
18bad2ae
TS
9359 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9360 __builtin_frame_address instead of making assumptions about the
9361 location of the return address relative to DATA. Force early load of
9362 the return address.
9363 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9364 __builtin_frame_address.
9365
5aa3a74a
TS
9366 dup3 for GNU Hurd.
9367 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9368 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9369 implement dup3 and do some further code clean-ups.
9370 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9371 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9372
ecd0de9a
ST
93732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9374
cd9fa985
ST
9375 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9376
a4186cff
PT
9377 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9378 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9379 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9380 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9381 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9382 d->port.lock.
802ca5a5 9383
a4186cff
PT
9384 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9385 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9386 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9387
bcf55240
TS
93882012-05-10 Thomas Schwinge <thomas@schwinge.name>
9389
6960eb42
TS
9390 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9391 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9392 definitions.
9393
eb43375f
TS
9394 accept4 for GNU Hurd.
9395 * include/sys/socket.h (__libc_accept4): New prototype.
9396 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9397 to implement __libc_accept4.
9398 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9399 __libc_accept4.
9400 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9401
bcf55240
TS
9402 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9403 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9404 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9405 signal-defines.sym.
9406
6178c55b
ST
94072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9408
a4186cff 9409 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9410
6f080c2f
TS
94112012-05-10 Thomas Schwinge <thomas@schwinge.name>
9412
9413 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9414 assertion on O_CLOEXEC flag.
9415 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9416 * hurd/intern-fd.c: Likewise.
9417 * hurd/port2fd.c: Likewise.
9418
bcfe3a54
ST
94192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9420
9421 [BZ #3906]
9422 * bits/in.h (IPV6_PKTINFO): Define new macro.
9423 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9424
89c9aa49
AZ
94252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9426
9427 [BZ #13954]
9428 [BZ #13955]
9429 [BZ #13956]
9430 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9431 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9432 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9433 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9436 * math/libm-test.inc (logb_test) : Additional logb tests.
9437
021db4be
AJ
94382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9439 Andreas Jaeger <aj@suse.de>
9440
9441 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9442 * configure: Regenerated.
9443 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9444 * config.make.in (link-obsolete-rpc): New substituted variable.
9445 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9446 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9447 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9448 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9449 so that libc.a contains the symbols.
9450 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9451 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9452 * sunrpc/auth_none.c: Likewise.
9453 * sunrpc/auth_unix.c: Likewise.
9454 * sunrpc/authdes_prot.c: Likewise.
9455 * sunrpc/authuxprot.c: Likewise.
9456 * sunrpc/clnt_gen.c: Likewise.
9457 * sunrpc/clnt_perr.c: Likewise.
9458 * sunrpc/clnt_raw.c: Likewise.
9459 * sunrpc/clnt_simp.c: Likewise.
9460 * sunrpc/clnt_tcp.c: Likewise.
9461 * sunrpc/clnt_udp.c: Likewise.
9462 * sunrpc/clnt_unix.c: Likewise.
9463 * sunrpc/des_crypt.c: Likewise.
9464 * sunrpc/des_soft.c: Likewise.
9465 * sunrpc/get_myaddr.c: Likewise.
9466 * sunrpc/key_call.c: Likewise.
9467 * sunrpc/key_prot.c: Likewise.
9468 * sunrpc/netname.c: Likewise.
9469 * sunrpc/pm_getmaps.c: Likewise.
9470 * sunrpc/pm_getport.c: Likewise.
9471 * sunrpc/pmap_clnt.c: Likewise.
9472 * sunrpc/pmap_prot.c: Likewise.
9473 * sunrpc/pmap_prot2.c: Likewise.
9474 * sunrpc/pmap_rmt.c: Likewise.
9475 * sunrpc/publickey.c: Likewise.
9476 * sunrpc/rpc_cmsg.c: Likewise.
9477 * sunrpc/rpc_common.c: Likewise.
9478 * sunrpc/rpc_dtable.c: Likewise.
9479 * sunrpc/rpc_prot.c: Likewise.
9480 * sunrpc/rpc_thread.c: Likewise.
9481 * sunrpc/rtime.c: Likewise.
9482 * sunrpc/svc.c: Likewise.
9483 * sunrpc/svc_auth.c: Likewise.
9484 * sunrpc/svc_raw.c: Likewise.
9485 * sunrpc/svc_run.c: Likewise.
9486 * sunrpc/svc_tcp.c: Likewise.
9487 * sunrpc/svc_udp.c: Likewise.
9488 * sunrpc/svc_unix.c: Likewise.
9489 * sunrpc/svcauth_des.c: Likewise.
9490 * sunrpc/xcrypt.c: Likewise.
9491 * sunrpc/xdr.c: Likewise.
9492 * sunrpc/xdr_array.c: Likewise.
9493 * sunrpc/xdr_float.c: Likewise.
9494 * sunrpc/xdr_intXX_t.c: Likewise.
9495 * sunrpc/xdr_mem.c: Likewise.
9496 * sunrpc/xdr_rec.c: Likewise.
9497 * sunrpc/xdr_ref.c: Likewise.
9498 * sunrpc/xdr_sizeof.c: Likewise.
9499 * sunrpc/xdr_stdio.c: Likewise.
9500
b5c086a2
RM
95012012-05-10 Roland McGrath <roland@hack.frob.com>
9502
9503 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9504 change. Update copyright years.
9505
6d74dd09
JM
95062012-05-10 Joseph Myers <joseph@codesourcery.com>
9507
9508 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9509
28e72501
MK
95102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9511 Joseph Myers <joseph@codesourcery.com>
9512 Paul Pluzhnikov <ppluzhnikov@google.com>
9513
9514 [BZ #14012]
9515 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9516 requiring rpcgen.
9517 [cross-compiling] (extra-libs): Likewise.
9518 [cross-compiling] (extra-libs-others): Likewise.
9519 [cross-compiling] (librpcsvc-routines): Likewise.
9520 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9521 [cross-compiling] (omit-deps): Likewise.
9522 (sunrpc-CPPFLAGS): New variable.
9523 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9524 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9525 (cross-rpcgen-objs): New variable.
9526 (extra-objs): Append $(cross-rpcgen-objs).
9527 ($(cross-rpcgen-objs)): New rule.
9528 ($(objpfx)cross-rpcgen): Likewise.
9529 (rpcgen-cmd): Define to use $(built-program-file). Expand
9530 comment.
9531 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9532 ($(objpfx)x%.stmp): Likewise.
9533 * sunrpc/proto.h [IS_IN_build] (_): Define.
9534 [IS_IN_build] (_libc_intl_domainname): Likewise.
9535
c8c59454
L
95362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9537
9538 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9539 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9540 and R_X86_64_TPOFF64.
9541
6f27cd16
JM
95422012-05-10 Joseph Myers <joseph@codesourcery.com>
9543
9544 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9545 sysdeps/unix/sysv/syscalls.list.
9546 (stime): Likewise.
9547 (utime): Likewise.
9548 * sysdeps/unix/sysv/syscalls.list: Remove file.
9549
02467e1c
PE
95502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9551
9552 [BZ #3440]
9553 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9554 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9555 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9556 (__LC_IDENTIFICATION): Make these macros useful in #if
9557 expressions, as required by C99.
9558
da392631
AS
95592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9560
9561 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9562 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9563 after this.
9564
8115f29b
L
95652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9566
9567 * stdlib/longlong.h: Updated from GCC.
9568
bdd74070
AJ
95692012-05-09 Andreas Jaeger <aj@suse.de>
9570
edfe0dbe
AJ
9571 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9572 default is first entry.
9573 (run_mode): Set type.
9574 (main): Remove informal message about syslog.
9575 (options): Fix typo.
9576
bcfe3a54
ST
9577 [BZ #14053]
9578 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9579 to asm.
bcfe3a54
ST
9580 (lrint): Likewise.
9581 (llrintf): Likewise.
9582 (llrint): Likewise.
9583 (rint): Likewise.
9584 (rintf): Likewise.
9585 (nearbyint): Likewise.
9586 (nearbyintf): Likewise.
bdd74070 9587
91d8d69e
AJ
95882012-05-09 Andreas Jaeger <aj@suse.de>
9589 Pedro Alves <palves@redhat.com>
9590
9591 * nscd/nscd.c (run_mode): Use enum.
9592 (main): Cleanup coding style issue.
9593
bb90b80b
AJ
95942012-05-09 Alexandre Oliva <aoliva@redhat.com>
9595 Andreas Jaeger <aj@suse.de>
9596
bcfe3a54
ST
9597 * nscd/nscd.c (go_background): Replaced with...
9598 (run_mode): ... this.
bb90b80b 9599 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9600 (options): Add -F --foreground.
9601 (main): Implement it.
9602 (parse_opt): Parse it.
bb90b80b 9603
1a4b75a1
AJ
96042012-05-09 Andreas Jaeger <aj@suse.de>
9605
9606 [BZ #14083]
9607 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9608 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9609 -Wconversion warning.
9610 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9611 Likewise.
9612
b1cc2472
JM
96132012-05-09 Joseph Myers <joseph@codesourcery.com>
9614
9615 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9616 == 0.
9617 (LC_ALL): Use macro-int-constant.
9618 (LC_COLLATE): Likewise.
9619 (LC_CTYPE): Likewise.
9620 (LC_MESSAGES): Likewise.
9621 (LC_MONETARY): Likewise.
9622 (LC_NUMERIC): Likewise.
9623 (LC_TIME): Likewise.
9624 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9625 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9626 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9627 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9628 Specify type.
9629 [C99-based standards] (float_t): Expect type.
9630 [C99-based standards] (double_t): Expect type.
9631 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9632 type.
9633 [C99-based standards] (HUGE_VALL): Likewise.
9634 [C99-based standards] (INFINITY): Likewise.
9635 [C99-based standards] (NAN): Likewise.
9636 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9637 [C99-based standards] (FP_NAN): Likewise.
9638 [C99-based standards] (FP_NORMAL): Likewise.
9639 [C99-based standards] (FP_SUBNORMAL): Likewise.
9640 [C99-based standards] (FP_ZERO): Likewise.
9641 [C99-based standards] (FP_FAST_FMA): Use
9642 optional-macro-int-constant. Specify type. Require == 1.
9643 [C99-based standards] (FP_FAST_FMAF): Likewise.
9644 [C99-based standards] (FP_FAST_FMAL): Likewise.
9645 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9646 [C99-based standards] (FP_ILOGBNAN): Likewise.
9647 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9648 Specify type.
9649 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9650 [C99-based standards] (math_errhandling): Specify type.
9651 [ISO99 || ISO11] (signgam): Do not allow.
9652 [non-C99-based standards] (copysignf): Do not allow.
9653 [non-C99-based standards] (exp2f): Likewise.
9654 [non-C99-based standards] (log2f): Likewise.
9655 [non-C99-based standards] (modff): Allow.
9656 [non-C99-based standards] (erff): Do not allow.
9657 [non-C99-based standards] (erfcf): Likewise.
9658 [non-C99-based standards] (gammaf): Likewise.
9659 [non-C99-based standards] (hypotf): Likewise.
9660 [non-C99-based standards] (j0f): Likewise.
9661 [non-C99-based standards] (j1f): Likewise.
9662 [non-C99-based standards] (jnf): Likewise.
9663 [non-C99-based standards] (lgammaf): Likewise.
9664 [non-C99-based standards] (tgammaf): Likewise.
9665 [non-C99-based standards] (y0f): Likewise.
9666 [non-C99-based standards] (y1f): Likewise.
9667 [non-C99-based standards] (ynf): Likewise.
9668 [non-C99-based standards] (isnanf): Likewise.
9669 [non-C99-based standards] (acoshf): Likewise.
9670 [non-C99-based standards] (asinhf): Likewise.
9671 [non-C99-based standards] (atanhf): Likewise.
9672 [non-C99-based standards] (cbrtf): Likewise.
9673 [non-C99-based standards] (expm1f): Likewise.
9674 [non-C99-based standards] (ilogbf): Likewise.
9675 [non-C99-based standards] (log1pf): Likewise.
9676 [non-C99-based standards] (logbf): Likewise.
9677 [non-C99-based standards] (nextafterf): Likewise.
9678 [non-C99-based standards] (remainderf): Likewise.
9679 [non-C99-based standards] (rintf): Likewise.
9680 [non-C99-based standards] (scalbf): Likewise.
9681 [non-C99-based standards] (copysignl): Likewise.
9682 [non-C99-based standards] (exp2l): Likewise.
9683 [non-C99-based standards] (log2l): Likewise.
9684 [non-C99-based standards] (modfl): Allow.
9685 [non-C99-based standards] (erfl): Do not allow.
9686 [non-C99-based standards] (erfcl): Likewise.
9687 [non-C99-based standards] (gammal): Likewise.
9688 [non-C99-based standards] (hypotl): Likewise.
9689 [non-C99-based standards] (j0l): Likewise.
9690 [non-C99-based standards] (j1l): Likewise.
9691 [non-C99-based standards] (jnl): Likewise.
9692 [non-C99-based standards] (lgammal): Likewise.
9693 [non-C99-based standards] (tgammal): Likewise.
9694 [non-C99-based standards] (y0l): Likewise.
9695 [non-C99-based standards] (y1l): Likewise.
9696 [non-C99-based standards] (ynl): Likewise.
9697 [non-C99-based standards] (isnanl): Likewise.
9698 [non-C99-based standards] (acoshl): Likewise.
9699 [non-C99-based standards] (asinhl): Likewise.
9700 [non-C99-based standards] (atanhl): Likewise.
9701 [non-C99-based standards] (cbrtl): Likewise.
9702 [non-C99-based standards] (expm1l): Likewise.
9703 [non-C99-based standards] (ilogbl): Likewise.
9704 [non-C99-based standards] (log1pl): Likewise.
9705 [non-C99-based standards] (logbl): Likewise.
9706 [non-C99-based standards] (nextafterl): Likewise.
9707 [non-C99-based standards] (remainderl): Likewise.
9708 [non-C99-based standards] (rintl): Likewise.
9709 [non-C99-based standards] (scalbl): Likewise.
9710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9711 [non-C99-based standards] (FP_*): Do not allow.
9712 [C99-based standards] (FP_*): Change to
9713 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9714 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9715 allow.
9716 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9717 (SIG_ERR): Likewise.
9718 [X/Open-based standards] (SIG_HOLD): Likewise.
9719 (SIG_IGN): Likewise.
9720 (SIGABRT): Use macro-int-constant. Specify type. Require
9721 positive value.
9722 (SIGFPE): Likewise.
9723 (SIGILL): Likewise.
9724 (SIGINT): Likewise.
9725 (SIGSEGV): Likewise.
9726 (SIGTER): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9733 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9738 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9739 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9740 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9741 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9742 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9743 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9744 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9745 [X/Open-based standards] (SIGTRAP): Likewise.
9746 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9747 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9748 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9749 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9750 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9751 allow.
9752
b9f1922d
IW
97532012-05-08 Ian Wienand <ianw@vmware.com>
9754
9755 [BZ #14080]
9756 * time/tzset.c (__tzset_parse_tz): Update default rules for
9757 daylight time changes in the Energy Policy Act of 2005.
9758
1db86e88
AJ
97592012-05-09 Andreas Jaeger <aj@suse.de>
9760
9761 [BZ #13983]
9762 * elf/ldconfig.c (parse_conf): Change string to make clear that
9763 ldconfig only issued a warning if ld.so.conf does not exist.
9764
dee4a4e3
DM
97652012-05-08 David S. Miller <davem@davemloft.net>
9766
ee0db190
DM
9767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9768 movxtod instead of popping the value on the stack.
9769
dee4a4e3
DM
9770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9771
6a43ec98
CD
97722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9773
9774 * config.h.in: Add HAVE_ARM_PCS_VFP.
9775
05c2c961
RMG
97762012-05-08 Roland Mc Grath <roland@hack.frob.com>
9777
bcfe3a54
ST
9778 [BZ #13979]
9779 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9780 checking but the checks are disabled for any reason.
05c2c961 9781
4b30f61a
L
97822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9783
9784 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9785 and ELF64_R_TYPE with ELFW(R_TYPE).
9786
eee2bc67
JM
97872012-05-08 Joseph Myers <joseph@codesourcery.com>
9788
7ea5391a
JM
9789 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9790 (ulimit): Likewise.
9791
eee2bc67
JM
9792 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9793 (settimeofday): Likewise.
9794
abb66a67
MF
97952012-05-08 Mike Frysinger <vapier@gentoo.org>
9796
9797 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9798 a struct th_u2 inside the union, and move tu_block/tu_code into
9799 a new th_u3 union of tu_block/tu_code inside of that. Move
9800 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9801 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9802 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9803 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9804 (th_stuff): Change to th_u1.tu_stuff.
9805 (th_data): Define.
9806 (th_msg): Change to th_u1.th_u2.tu_data.
9807
7f18b530
DM
98082012-05-07 David S. Miller <davem@davemloft.net>
9809
05760585
DM
9810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9811
7f18b530
DM
9812 [BZ #14074]
9813 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9814 (SETUP_PIC_REG): Use it.
9815 (SETUP_PIC_REG_LEAF): Use it.
9816
495fd99f
JM
98172012-05-07 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #13885]
9820 [BZ #13923]
9821 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9822 USE_AS_EXPM1L.
9823 (EXPL_FINITE): Likewise.
9824 (FLDLOG): Likewise.
9825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9826 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9827 e_expl.S.
9828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9829 USE_AS_EXPM1L.
9830 (EXPL_FINITE): Likewise.
9831 (FLDLOG): Likewise.
9832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9833 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9834 e_expl.S.
9835 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9836 test of -max_value argument for long double.
9837 * sysdeps/i386/fpu/libm-test-ulps: Update.
9838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9839
6693d694
DM
98402012-05-06 David S. Miller <davem@davemloft.net>
9841
9842 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9843 quad soft-float symbols whose references which are compiler
9844 generated.
9845 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9846
6c23e11c
JM
98472012-05-06 Joseph Myers <joseph@codesourcery.com>
9848
d8b82cad
JM
9849 [BZ #13884]
9850 [BZ #13914]
9851 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9852 USE_AS_EXP10L.
9853 (EXPL_FINITE): Likewise.
9854 (FLDLOG): Likewise.
9855 (c0): Likewise.
9856 (c1): Likewise.
9857 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9858 Adjust comments for base varying.
9859 (__expl_finite): Change alias to EXPL_FINITE.
9860 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9861 e_expl.S.
9862 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9863 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9865 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9866 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9867 USE_AS_EXP10L.
9868 (EXPL_FINITE): Likewise.
9869 (FLDLOG): Likewise.
9870 (c0): Likewise.
9871 (c1): Likewise.
9872 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9873 Adjust comments for base varying.
9874 (__expl_finite): Change alias to EXPL_FINITE.
9875 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9876 tests for bugs.
9877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9878
6c23e11c
JM
9879 [BZ #14064]
9880 * math/libm-test.inc (check_float_internal): Correct ulp
9881 calculation for subnormal expected results.
9882
29ba805c
AJ
98832012-05-06 Andreas Jaeger <aj@suse.de>
9884
9885 * Makeconfig (+math-flags): New, set to -frounding-math.
9886 (+cflags): Add +math-flags so that all of glibc gets compiled with
9887 it.
9888
9889 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9890
7b17aeda
JM
98912012-05-05 Joseph Myers <joseph@codesourcery.com>
9892
5779f134
JM
9893 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9894 Disable one test.
9895
41498f4d
JM
9896 [BZ #13787]
9897 [BZ #13922]
9898 [BZ #14036]
9899 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9900 (__ieee754_expl): Allow for and saturate large arguments.
9901 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9902 (u_threshold): Likewise.
9903 (__exp): Call __ieee754_exp before checking for overflow and
9904 underflow.
9905 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9906 (u_threshold): Likewise.
9907 (__expf): Call __ieee754_expf before checking for overflow and
9908 underflow.
9909 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9910 (u_threshold): Likewise.
9911 (__expl): Call __ieee754_expl before checking for overflow and
9912 underflow.
9913 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9914 (__ieee754_expl): Allow for and saturate large arguments.
9915 * math/libm-test.inc (exp_test): Add another test. Do not allow
9916 missing overflow exception on overflow.
9917 (expm1_test): Do not allow missing overflow exception on overflow.
9918
6698b8bf
JM
9919 * sysdeps/i386/fpu/e_expl.c: Move to ...
9920 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9921 rather than using inline asm.
9922 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9923 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9924 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9925
7b17aeda
JM
9926 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9927 (nice): Likewise.
9928 (poll): Likewise.
9929 (signal): Likewise.
9930 (time): Likewise.
9931 (times): Likewise.
9932
f7c85819
JM
99332012-05-04 Joseph Myers <joseph@codesourcery.com>
9934
9935 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9936 sysdeps/unix/common/syscalls.list.
9937 (fchmod): Likewise.
9938 (fchown): Likewise.
9939 (ftruncate): Likewise.
9940 (getrusage): Likewise.
9941 (gettimeofday): Likewise.
9942 (setpgid): Likewise.
9943 (setregid): Likewise.
9944 (setreuid): Likewise.
9945 (sigaction): Likewise.
9946 (truncate): Likewise.
9947 (vhangup): Likewise.
9948 * sysdeps/unix/common/syscalls.list: Remove file.
9949 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9950 * sysdeps/unix/sysv/linux/Implies: Likewise.
9951
336270d0
L
99522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9953
9954 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9956 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9957 Moved to ...
9958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9959 Here.
9960 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9961 to ...
9962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9963 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9964 to ...
9965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9966 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9967 to ...
9968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9969 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9970 to ...
9971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9972 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9973 to ...
9974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9975 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9976 to ...
9977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9978 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9979 to ...
9980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9981 Here.
9982 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9983 to ...
9984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9985 Here.
9986 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9987 to ...
9988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9989 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9990 Moved to ...
9991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9992 Here.
9993 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9994 to ...
9995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9996
d128e450
JM
99972012-05-04 Joseph Myers <joseph@codesourcery.com>
9998
fa8ee516
JM
9999 * sysdeps/unix/common/bits/dirent.h: Remove file.
10000 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10001
d128e450
JM
10002 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10003 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10004 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10005 * sysdeps/unix/bsd/isatty.c: Likewise.
10006 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10007 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10008 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10009
ff8faaf0 100102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 10011
62881be4 10012 [BZ #13563]
31dc8730
AZ
10013 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10014 long double comparison inaccuracies.
10015 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10017
6fef930c
AS
100182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10019
10020 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10022
8f203e6c
JM
100232012-05-04 Joseph Myers <joseph@codesourcery.com>
10024
10025 [BZ #14049]
10026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10027 nonzero digits before rounding a hex value.
10028 * stdlib/tst-strtod.c (tests): Add another test.
10029
5197d9c2
AK
100302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10031
10032 * sysdeps/s390/fpu/libm-test-ulps: Update.
10033
f0c1dedf
AJ
100342012-05-03 Andreas Jaeger <aj@suse.de>
10035
10036 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10037 does not get optimized out.
10038 (malloc_opt_barrier): New.
10039
a65ef2ae 100402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10041 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10042
2b942cb7 10043 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10044 intermediate file deletion.
2b942cb7 10045 (generated): Add .symlist files.
a65ef2ae 10046
54b71e02
JM
100472012-05-03 Joseph Myers <joseph@codesourcery.com>
10048
10049 [BZ #13775]
10050 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10051 Redirect under this condition.
10052 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10053 [__USE_GNU] (__dprintf_chk): Not under this condition.
10054 [__USE_GNU] (__vdprintf_chk): Likewise.
10055 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10056 under this condition.
10057 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10058 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10059 [__USE_XOPEN2K8] (vdprintf): Likewise.
10060 [__USE_GNU] (__dprintf_chk): Not under this condition.
10061 [__USE_GNU] (__vdprintf_chk): Likewise.
10062 [__USE_GNU] (dprintf): Likewise.
10063 [__USE_GNU] (vdprintf): Likewise.
10064
d3dfcc41
RM
100652012-05-03 Roland McGrath <roland@hack.frob.com>
10066
10067 * elf/Makefile (common-generated): Set this instead of generated for
10068 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10069 $(all-built-dso)-derived lists.
10070
7ac30cc5
AJ
100712012-05-03 Andreas Jaeger <aj@suse.de>
10072
0c51e550
AJ
10073 * sysdeps/i386/fpu/libm-test-ulps: Update.
10074
7ac30cc5
AJ
10075 * FAQ: Removed.
10076 * FAQ.in: Likewise.
10077 * scripts/gen-FAQ.pl: Likewise.
10078 * manual/install.texi (Installation): Point to online location of
10079 FAQ.
10080 * Makefile (files-for-dist): Remove FAQ.
10081 (FAQ): Remove.
10082
d4c2917f
AM
100832012-05-02 Allan McRae <allan@archlinux.org>
10084
10085 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10086 (LDFLAGS-reldepmod5.so): Likewise.
10087 (LDFLAGS-reldep6mod1.so): Likewise.
10088 (LDFLAGS-reldep6mod4.so): Likewise.
10089 (LDFLAGS-reldep8mod3.so): Likewise.
10090 (LDFLAGS-unload4mod1.so): Likewise.
10091 (LDFLAGS-unload4mod2.so): Likewise.
10092 (LDFLAGS-tst-initorder): Likewise.
10093 (LDFLAGS-tst-initordera2.so): Likewise.
10094 (LDFLAGS-tst-initordera3.so): Likewise.
10095 (LDFLAGS-tst-initordera4.so): Likewise.
10096 (LDFLAGS-tst-initorderb2.so): Likewise.
10097 (LDFLAGS-noload): Likewise.
10098 (LDFLAGS-next): Likewise.
10099 (LDFLAGS-order2mod1.so): Likewise.
10100 (LDFLAGS-order2mod2.so): Likewise.
10101 (LDFLAGS-tst-initorder2): Likewise.
10102 (LDFLAGS-tst-initorder2a.so): Likewise.
10103 (LDFLAGS-tst-initorder2b.so): Likewise.
10104 (LDFLAGS-tst-initorder2c.so): Likewise.
10105 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10106
d77f993f
DM
101072012-05-02 David S. Miller <davem@davemloft.net>
10108
10109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10110
171a70b4
PP
101112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10112
10113 [BZ #14055]
10114 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10115
0be196ad
AJ
101162012-05-02 Andreas Jaeger <aj@suse.de>
10117
10118 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10119 since we manipulate rounding mode.
10120 (CPPFLAGS-test-idouble.c): Likewise.
10121 (CPPFLAGS-test-ifloat.c): Likewise.
10122 (CFLAGS-test-ldouble.c): Likewise.
10123 (CFLAGS-test-double.c): Likewise.
10124 (CFLAGS-test-float.c): Likewise.
10125 (CFLAGS-test-misc.c): Likewise.
10126 (CFLAGS-test-test-fenv.c): Likewise.
10127
4f9d04aa
AZ
101282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10129
2b942cb7
RM
10130 [BZ #2550]
10131 [BZ #2570]
10132 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10133 comparisons to determine direction to adjust input.
4f9d04aa 10134
82a79e7d
RM
101352012-05-01 Roland McGrath <roland@hack.frob.com>
10136
f5a01ca9
RM
10137 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10138 output to the target.
10139
90fe4186
RM
10140 * scripts/localplt.awk: New file.
10141 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10142 (check-localplt-CFLAGS): Variable removed.
10143 ($(all-built-dso:=.jmprel)): New static pattern rule.
10144 (generated): Add those targets.
10145 (localplt-built-dso): New variable.
10146 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10147
10148 * elf/check-localplt.c: File removed.
10149
82397ed6
RM
10150 * scripts/check-execstack.awk: New file.
10151 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10152 (check-execstack-CFLAGS): Variable removed.
10153 ($(objpfx)check-execstack.h): Target removed.
10154 ($(objpfx)execstack-default): New target.
10155 (generated): Add that instead of check-execstack.h.
10156 ($(all-built-dso:=.phdr)): New static pattern rule.
10157 (generated): Add those targets.
10158 * elf/check-execstack.c: File removed.
10159
82a79e7d
RM
10160 * scripts/check-textrel.awk: New file.
10161 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10162 (check-textrel-CFLAGS): Variable removed.
10163 (all-built-dso): Use := to define.o
10164 ($(all-built-dso:=.dyn)): New static pattern rule.
10165 (generated): Add those targets.
10166 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10167 * config.make.in (READELF): New substituted variable.
10168 * elf/check-textrel.c: File removed.
10169
62fde54f 101702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10171
615605c9
JM
10172 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10173 allow.
10174 * conform/data/ctype.h-data [C99-based standards] (isblank):
10175 Expect function.
10176 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10177 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10179 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10180 Specify type. Require positive value.
10181 (EILSEQ): Likewise.
10182 (ERANGE): Likewise.
10183 [ISO || POSIX] (EILSEQ): Do not expect.
10184 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10185 Specify type. Require positive value.
10186 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10187 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10188 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10189 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10194 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10195 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10201 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10202 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10203 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10207 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10208 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10209 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10210 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10214 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10216 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10217 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10250 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10251 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10252 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10253 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10254 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10259 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10260 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10261 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10262 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10263 Require >= 2.
10264 (FLT_ROUNDS): Expect as macro, not constant.
10265 (FLT_MANT_DIG): Use macro-int-constant.
10266 (DBL_MANT_DIG): Likewise.
10267 (LDBL_MANT_DIG): Likewise.
10268 (FLT_DIG): Likewise.
10269 (DBL_DIG): Likewise.
10270 (LDBL_DIG): Likewise.
10271 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10272 (DBL_MIN_EXP): Likewise.
10273 (LDBL_MIN_EXP): Likewise.
10274 (FLT_MAX_EXP): Use macro-int-constant.
10275 (DBL_MAX_EXP): Likewise.
10276 (LDBL_MAX_EXP): Likewise.
10277 (FLT_MAX_10_EXP): Likewise.
10278 (DBL_MAX_10_EXP): Likewise.
10279 (LDBL_MAX_10_EXP): Likewise.
10280 (FLT_MAX): Use macro-constant.
10281 (DBL_MAX): Likewise.
10282 (LDBL_MAX): Likewise.
10283 (FLT_EPSILON): Use macro-constant. Give upper bound.
10284 (DBL_EPSILON): Likewise.
10285 (LDBL_EPSILON): Likewise.
10286 (FLT_MIN): Likewise.
10287 (DBL_MIN): Likewise.
10288 (LDBL_MIN): Likewise.
10289 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10290 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10291 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10292 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10293 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10294 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10295 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10296 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10297 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10298 [ISO11] (FLT_TRUE_MIN): Likewise.
10299 [ISO11] (LDBL_TRUE_MIN): Likewise.
10300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10301 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10302 (SCHAR_MIN): Use macro-int-constant. Specify type.
10303 (SCHAR_MAX): Likewise.
10304 (UCHAR_MAX): Likewise.
10305 (CHAR_MIN): Likewise.
10306 (CHAR_MAX): Likewise.
10307 (MB_LEN_MAX): Use macro-int-constant.
10308 (SHRT_MIN): Use macro-int-constant. Specify type.
10309 (SHRT_MAX): Likewise.
10310 (USHRT_MAX): Likewise.
10311 (INT_MAX): Likewise.
10312 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10313 bound negative.
10314 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10315 bound with "U".
10316 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10317 bound with "L".
10318 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10319 bound negative. Suffix upper bound with "L".
10320 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10321 bound with "UL".
10322 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10323 Specify type.
10324 [C99-based standards] (LLONG_MAX): Likewise.
10325 [C99-based standards] (ULLONG_MAX): Likewise.
10326 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10327 == 0.
10328 [ISO11] (max_align_t): Require type.
10329 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10330
c9140a62
JM
10331 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10332 from $CFLAGS, without defining away __attribute__ calls.
10333 (checknamespace): Use $CFLAGS_namespace.
10334
9af0bf29
JM
10335 * conform/conformtest.pl (@keywords): Only include C99 keywords
10336 for standards based on C99 or C11.
10337
343222a2
JM
10338 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10339 Disable tests.
10340 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10341 UNIX98]: Likewise.
10342
661f8cf0
JM
10343 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10344 usability of symbols in #if.
10345
ee74b9cb
JM
10346 * conform/conformtest.pl: If macro or constant types start
10347 "promoted:", expect the symbol to be of the following type
10348 promoted by the integer promotions.
62fde54f 10349
aafc49b3
JM
10350 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10351 in one place. Also handle "macro-constant".
10352
fefdf574
JM
10353 * conform/conformtest.pl: Only accept expected macro values with
10354 "==". Parse all "macro" lines in one place.
10355 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10356
f2d922fe
JM
10357 * conform/conformtest.pl: Handle braced types on "constant" lines
10358 instead of handling "typed-constant".
10359 * conform/data/signal.h-data: Use "constant" instead of
10360 "typed-constant".
10361
d22956c9
JM
10362 * conform/conformtest.pl: Handle "optional-" at start of lines in
10363 one place rather than duplicating several cases. Handle each
10364 format of "macro" line with initial "optional-".
10365
028e2e38
JM
10366 * conform/conformtest.pl: Only accept expected constant or
10367 optional-constant values with "==". Parse all "constant" lines in
10368 one place. Parse all "optional-constant" lines in one place.
10369 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10370 * conform/data/fmtmsg.h-data: Likewise.
10371 * conform/data/netinet/in.h-data: Likewise.
10372 * conform/data/tar.h-data: Likewise.
10373 * conform/data/limits.h-data: Use "==" form on "constant" and
10374 "optional-constant" lines.
10375
1b8f2850
JM
10376 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10377 Use -std=c99 for XOPEN2K.
10378 (@knownproblems): Remove.
10379 (newtoken): Don't check %isknown.
10380
a05a144b
JM
10381 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10382 Do not expect macro.
10383 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10395 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10396 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10413 [XPG3] (acosh): Likewise.
10414 [XPG3] (asinh): Likewise.
10415 [XPG3] (atanh): Likewise.
10416 [XPG3] (cbrt): Likewise.
10417 [XPG3] (expm1): Likewise.
10418 [XPG3] (ilogb): Likewise.
10419 [XPG3] (log1p): Likewise.
10420 [XPG3] (logb): Likewise.
10421 [XPG3] (nextafter): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10424 [XPG3] (remainder): Likewise.
10425 [XPG3] (rint): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10433 [UNIX98 || XOPEN2K] (scalb): Expect.
10434 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10435 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10513 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10514 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10515 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10516 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10517 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10518 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10519 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10520 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10521 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10522 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10523 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10524 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10525 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10526 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10527 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10528 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10529 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10530 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10531 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10532 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10533 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10534 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10557 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10558 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10559 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10560 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10561 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10562 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10563 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10564 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10565 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10566 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10567 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10568 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10569 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10570 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10571
73c5ebe3
JM
10572 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10573 _XOPEN_SOURCE_EXTENDED for XPG4.
10574
39c33b6c
JM
10575 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10576
62fde54f
JM
10577 * Makeconfig (localtime): Remove variable.
10578 (inst_localtime-file): Likewise.
10579
0741d64c
AS
105802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10581
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10583 Update.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10585 Update.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10587 Update.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10589 Update.
10590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10591 Update.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10593 Update.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10595 Update.
10596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10597 Update.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10599 Update.
10600
7cb029ee
JM
106012012-05-01 Joseph Myers <joseph@codesourcery.com>
10602
10603 [BZ #2550]
10604 [BZ #2570]
10605 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10606 comparisons to determine direction to adjust input.
10607 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10608 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10610 Likewise.
10611 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10612 Likewise.
10613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10614 Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10616 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10617 Likewise.
10618 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10619 Likewise.
10620 * math/libm-test.inc (nexttoward_test): Add more tests.
10621
412bd966
AS
106222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10623
10624 [BZ #14040]
10625 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10626 in version GLIBC_2.1, not GLIBC_2.0.
10627 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10628 Likewise.
10629
9568c0c2
JM
106302012-04-30 Joseph Myers <joseph@codesourcery.com>
10631
adfbc8ac
JM
10632 [BZ #13942]
10633 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10634 (1 - x) * (1 + x).
10635 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10636 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10637 * math/libm-test.inc (acos_test): Add more tests.
10638 (asin_test): Likewise.
10639 * sysdeps/i386/fpu/libm-test-ulps: Update.
10640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10641
5ba3cc69
JM
10642 [BZ #14034]
10643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10644 of square root.
10645 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10646 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10647 * math/libm-test.inc (acos_test_tonearest): New function.
10648 (acos_test_towardzero): Likewise.
10649 (acos_test_downward): Likewise.
10650 (acos_test_upward): Likewise.
10651 (asin_test_tonearest): Likewise.
10652 (asin_test_towardzero): Likewise.
10653 (asin_test_downward): Likewise.
10654 (asin_test_upward): Likewise.
10655 (main): Call the new functions.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10658
9568c0c2
JM
10659 [BZ #13884]
10660 [BZ #13924]
10661 * math/e_exp10.c: Include <float.h>.
10662 (__ieee754_exp10): Handle underflow here rather than multiplying
10663 large negative argument by M_LN10.
10664 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10665 of __ieee754_expf.
10666 * math/e_exp10l.c: Include <float.h>.
10667 (__ieee754_exp10l): Handle underflow here rather than multiplying
10668 large negative argument by M_LN10l.
10669 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10670 spurious overflow exception on underflow.
10671
5ac3ea17
MP
106722012-04-29 Marek Polacek <polacek@redhat.com>
10673
10674 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10675 (__fortify_function): New macro.
10676 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10677 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10678 __extern_always_inline.
10679 * libio/bits/stdio2.h: Likewise.
10680 * libio/bits/stdio.h: Likewise.
10681 * string/string.h: Likewise.
10682 * string/bits/string3.h: Likewise.
10683 * include/stdio.h: Likewise.
10684 * stdlib/bits/stdlib.h: Likewise.
10685 * stdlib/stdlib.h: Likewise.
10686 * rt/bits/mqueue2.h: Likewise.
10687 * rt/mqueue.h: Likewise.
10688 * posix/bits/unistd.h: Likewise.
10689 * posix/unistd.h: Likewise.
10690 * io/bits/poll2.h: Likewise.
10691 * io/bits/fcntl2.h: Likewise.
10692 * io/fcntl.h: Likewise.
10693 * io/sys/poll.h: Likewise.
10694 * misc/bits/syslog.h: Likewise.
10695 * misc/bits/syslog-ldbl.h: Likewise.
10696 * misc/sys/syslog.h: Likewise.
10697 * socket/bits/socket2.h: Likewise.
10698 * socket/sys/socket.h: Likewise.
10699 * debug/tst-chk1.c: Likewise.
10700 * wcsmbs/bits/wchar2.h: Likewise.
10701 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10702 * wcsmbs/wchar.h: Likewise.
10703
ecf0ebfb
AJ
107042012-04-29 Andreas Jaeger <aj@suse.de>
10705
10706 * Makerules (tests): Remove enable-check-abi protection.
10707 (check-abi-warn): Remove.
10708 (check-abi-%): Remove check-abi-warn usage.
10709
10710 * configure.in: Remove check-abi configure option.
10711 * configure: Regenerated.
10712 * config.make.in (enable-check-abi): Remove.
10713
6d5c57fa
AS
107142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10715
24c5d07e 10716 [BZ #14033]
ded5180a
AS
10717 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10718 double functions to double *_finite functions.
10719
7e0d315d
AS
10720 [BZ #13941]
10721 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10722 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10723 LDBL_MIN_EXP.
10724 * stdio-common/Makefile (tests): Add tst-sprintf3.
10725 * stdio-common/tst-sprintf3.c: New file.
10726
6d5c57fa
AS
10727 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10728 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10729
0749ff8b
JM
107302012-04-28 Joseph Myers <joseph@codesourcery.com>
10731
10732 * conform/conformtest.pl: Remove duplicate typed-constant
10733 handling.
10734
8dbd5d7b
DM
107352012-04-28 David S. Miller <davem@davemloft.net>
10736
10737 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10738 (check-abi-%): Remove AWK script prerequisite and explicit
10739 abilist directory.
10740 (check-abi): Rewrite to just diff the symlist with the abilist.
10741 (config-tls, config-abi-config): Delete, no longer used.
10742 (update-abi-%): Remove AWK script and explicit abilist directory.
10743 (update-abi): Rewrite to simply compare and conditionally copy the
10744 symlist and the sysdep abilist file. Remove update-abi-config
10745 checks.
10746 * abilist/ld.abilist: Remove.
10747 * abilist/libBrokenLocale.abilist: Remove.
10748 * abilist/libanl.abilist: Remove.
10749 * abilist/libcrypt.abilist: Remove.
10750 * abilist/libdl.abilist: Remove.
10751 * abilist/librt.abilist: Remove.
10752 * abilist/libthread_db.abilist: Remove.
10753 * abilist/libutil.abilist: Remove.
10754 * scripts/extract-abilist.awk: Remove.
10755 * scripts/merge-abilist.awk: Remove.
10756 * sysdeps/generic/libcidn.abilist: New file.
10757 * sysdeps/generic/libnss_compat.abilist: New file.
10758 * sysdeps/generic/libnss_db.abilist: New file.
10759 * sysdeps/generic/libnss_dns.abilist: New file.
10760 * sysdeps/generic/libnss_files.abilist: New file.
10761 * sysdeps/generic/libnss_hesiod.abilist: New file.
10762 * sysdeps/generic/libnss_nis.abilist: New file.
10763 * sysdeps/generic/libnss_nisplus.abilist: New file.
10764 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10765 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10766 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10767 file.
10768 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10769 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10770 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10771 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10772 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10773 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10774 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10775 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10776 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10777 file.
10778 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10779 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10780 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10781 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10782 file.
10783 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10784 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10785 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10786 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10787 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10788 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10789 file.
10790 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10791 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10792 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10793 file.
10794 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10796 New file.
10797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10798 New file.
10799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10800 New file.
10801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10802 New file.
10803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10804 New file.
10805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10806 New file.
10807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10808 New file.
10809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10810 New file.
10811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10812 New file.
10813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10814 New file.
10815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10816 New file.
10817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10818 New file.
10819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10820 New file.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10822 file.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10824 New file.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10826 New file.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10828 file.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10830 New file.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10832 New file.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10834 file.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10836 New file.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10838 New file.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10840 New file.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10842 New file.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10844 New file.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10846 New file.
10847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10849 file.
10850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10851 New file.
10852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10853 file.
10854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10855 file.
10856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10857 file.
10858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10859 file.
10860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10861 file.
10862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10863 New file.
10864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10865 file.
10866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10867 file.
10868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10869 New file.
10870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10871 file.
10872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10874 file.
10875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10876 New file.
10877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10878 file.
10879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10880 file.
10881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10882 file.
10883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10884 file.
10885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10886 file.
10887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10888 New file.
10889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10890 file.
10891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10892 file.
10893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10894 New file.
10895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10896 file.
10897 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10898 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10899 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10900 file.
10901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10902 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10903 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10904 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10905 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10906 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10907 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10908 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10909 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10910 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10913 file.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10915 New file.
10916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10917 file.
10918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10919 file.
10920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10921 file.
10922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10923 file.
10924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10925 file.
10926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10927 New file.
10928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10929 New file.
10930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10931 file.
10932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10933 New file.
10934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10935 file.
10936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10938 file.
10939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10940 New file.
10941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10942 file.
10943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10944 file.
10945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10946 file.
10947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10948 file.
10949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10950 file.
10951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10952 New file.
10953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10954 New file.
10955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10956 file.
10957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10958 New file.
10959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10960 file.
10961
41d73a1b
JM
109622012-04-28 Joseph Myers <joseph@codesourcery.com>
10963
10964 * conform/conformtest.pl: Fix typo in handling typed-constant from
10965 allow-header.
10966
28aeeda4
JM
109672012-04-27 Joseph Myers <joseph@codesourcery.com>
10968
adae8f5e
JM
10969 * README: Cut down references to pre-2.6 Linux kernels and
10970 Linuxthreads. Update lists of configurations in libc and ports
10971 and sort alphabetically. Say "or newer" with Linux kernel version
10972 requirements.
10973
28aeeda4
JM
10974 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10975
a462cb63
RA
109762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10977
10978 [BZ #887]
10979 * math/libm-test.inc (logb_test_downward): New test to expose
10980 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10981 rounding mode.
10982
6ad3493e
JM
109832012-04-27 Joseph Myers <joseph@codesourcery.com>
10984
10985 [BZ #14027]
10986 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10987 to be done.
10988 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10989 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10990
2ce4f015
JM
109912012-04-26 Joseph Myers <joseph@codesourcery.com>
10992
5aeb141a
JM
10993 * sysdeps/unix/i386/brk.S: Remove file.
10994 * sysdeps/unix/i386/dl-brk.S: Likewise.
10995 * sysdeps/unix/i386/pipe.S: Likewise.
10996 * sysdeps/unix/i386/sigreturn.S: Likewise.
10997 * sysdeps/unix/i386/syscall.S: Likewise.
10998 * sysdeps/unix/i386/vfork.S: Likewise.
10999 * sysdeps/unix/i386/wait.S: Likewise.
11000
7143acae
JM
11001 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11002 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11003
2ce4f015
JM
11004 * configure.in (arm*-none*): Do not allow without
11005 --enable-hacker-mode.
11006 (netbsd*): Remove case setting base_os.
11007 (386bsd*): Likewise.
11008 (freebsd*): Likewise.
11009 (bsdi*): Likewise.
11010 (osf*): Likewise.
11011 (sunos*): Likewise.
11012 (ultrix*): Likewise.
11013 (newsos*): Likewise.
11014 (dynix*): Likewise.
11015 (*bsd*): Likewise.
11016 (sysv*): Likewise.
11017 (isc*): Likewise.
11018 (esix*): Likewise.
11019 (sco*): Likewise.
11020 (minix*): Likewise.
11021 (irix4*): Likewise.
11022 (irix6*): Likewise.
11023 (solaris[2-9]*): Likewise.
11024 (none): Likewise.
11025 * configure: Regenerated.
11026
0ac229c8
AZ
110272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11028
11029 [BZ #11521]
11030 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11031 overflow or cancellation in calculating denominator.
11032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11034 down expression to avoid unexpected rounding in newer GCCs.
11035 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11036
33f244f4
DM
110372012-04-26 David S. Miller <davem@davemloft.net>
11038
11039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11040 long-double compat symbols.
11041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11054
cfa1f3e8
DM
110552012-04-25 David S. Miller <davem@davemloft.net>
11056
11057 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11058 HWCAP_* values only after the memory barriers have been defined.
11059 (atomic_full_barrier): Define.
11060 (atomic_read_barrier): Define.
11061 (atomic_write_barrier): Define.
11062
6e236b92
SP
110632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 * shlib-versions: Add libgcc_s version information.
11066 * sysdeps/generic/libgcc_s.h: Remove.
11067 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11068 libgcc_s.h.
11069 * sysdeps/gnu/unwind-resume.c: Likewise.
11070 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11071
aab39a09
DM
110722012-04-25 David S. Miller <davem@davemloft.net>
11073
11074 * sysdeps/unix/sparc/brk.S: Delete.
11075 * sysdeps/unix/sparc/dl-brk.S: Delete.
11076 * sysdeps/unix/sparc/pipe.S: Delete.
11077 * sysdeps/unix/sparc/sysdep.S: Delete.
11078 * sysdeps/unix/sparc/sysdep.h: Delete.
11079 * sysdeps/unix/sparc/vfork.S: Delete.
11080 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11081 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11082 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11083 ret_ERRVAL, r0, r1, MOVE): Define.
11084 (JUMPTARGET): Remove.
11085 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11086 sysdeps/unix/sparc/sysdep.h
11087 (ENTRY, END): Remove.
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11089
a3cc4f48
JM
110902012-04-25 Joseph Myers <joseph@codesourcery.com>
11091
2ed8cda2
JM
11092 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11093 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11094 -DIS_IN_build.
11095
35d76d59
JM
11096 * timezone/README: Update upstream location and email address for
11097 tzcode and tzdata.
11098 * timezone/zdump.c: Update from tzcode 2012b.
11099 * timezone/zic.c: Likewise.
11100
a3cc4f48
JM
11101 * configure.in (libc_cv_as_needed): Remove test.
11102 * configure: Regenerated.
11103 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11104 conditional definition.
11105 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11106 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11107 * config.make.in (have-as-needed): Remove variable.
11108
ceab42c3
SP
111092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11110 Paul Pluzhnikov <ppluzhnikov@google.com>
11111
11112 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11113 strings correctly.
11114
3ce2865f
CLT
111152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11116
11117 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11118 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11119 * sysdeps/sh/strlen.S: Likewise.
11120
f37e0d68
JM
111212012-04-24 Joseph Myers <joseph@codesourcery.com>
11122
ae186e9a
JM
11123 * sysdeps/unix/fork.S: Remove file.
11124 * sysdeps/unix/i386/fork.S: Likewise.
11125 * sysdeps/unix/sparc/fork.S: Likewise.
11126
b96914af
JM
11127 * sysdeps/unix/system.c: Remove file.
11128 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11129
f37e0d68
JM
11130 * sysdeps/unix/getegid.S: Remove file.
11131 * sysdeps/unix/geteuid.S: Likewise.
11132
87ef29ca
RM
111332012-04-24 Roland McGrath <roland@hack.frob.com>
11134
83bcd236
RM
11135 * scripts/check-localplt.awk: New file.
11136 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11137 of diff.
11138 * scripts/data/localplt-generic.data: Add a comment.
11139
87ef29ca
RM
11140 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11141 NODE when __dir_mkfile failed.
11142 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11143 Reported by Ludovic Courtès <ludo@gnu.org>.
11144
e5a6e567
AJ
111452012-04-24 Andreas Jaeger <aj@suse.de>
11146
11147 * Makerules (common-clean): Also remove gen-as-const-headers
11148 files.
11149
c1820385
JM
111502012-04-24 Joseph Myers <joseph@codesourcery.com>
11151
11152 * Makerules (native-compile): Do not change working directory for
11153 build. Use $(OUTPUT_OPTION) in command.
11154 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11155
94e02fc4
AZ
111562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157
11158 [BZ #13886]
11159 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11160 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11161 * math/libm-test.inc (floor_test): Add more tests.
11162 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11163
3a533ca3
JM
111642012-04-24 Joseph Myers <joseph@codesourcery.com>
11165
940ab4b3
JM
11166 * sysdeps/unix/getdents.c: Remove file.
11167 * sysdeps/unix/sysv/getdents.c: Likewise.
11168 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11169
90e037bd
JM
11170 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11171 sysdeps/unix/mman/syscalls.list.
11172 (mmap): Likewise.
11173 (mprotect): Likewise.
11174 (msync): Likewise.
11175 (munmap): Likewise.
11176 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11177 * sysdeps/unix/mman/syscalls.list: Remove.
11178 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11179
3a533ca3
JM
11180 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11181 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11182 * configure: Regenerated.
11183 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11184 $(libgcc_s_suffix).
11185 * config.make.in (libgcc_s_suffix): Remove variable.
11186
1ad743de
JM
111872012-04-23 Joseph Myers <joseph@codesourcery.com>
11188
4ad451e2
JM
11189 * sysdeps/unix/sysv/gethostname.c: Move to ...
11190 * sysdeps/posix/gethostname.c: ... here.
11191
5e37ce39
JM
11192 * sysdeps/unix/execve.S: Remove file.
11193
1ad743de
JM
11194 * sysdeps/unix/_exit.S: Remove file.
11195
4e681b5b
AJ
111962012-04-23 Andreas Jaeger <aj@suse.de>
11197
11198 [BZ #13739]
11199 * manual/Makefile: Remove make dist support, there's no
11200 need for a stand-alone documentation tar ball.
11201 (TEXI2DVI): Define always, it's not in Makeconfig.
11202 (dist): Removed.
11203 (tar-it): Removed.
11204 (edition): Removed.
11205 (glibc-doc-$(edition).tar): Removed
11206 (%.Z): Removed.
11207 (%.gz): Removed.
11208 (%.uu): Removed.
11209 (ETAGS): Remove, it's in Makeconfig.
11210 (move-if-change): Remove, it's in Makeconfig.
11211
c0baea34
PE
112122013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11213
11214 [BZ #13970]
11215 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11216 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11217 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11218 (strtod_l, strtof_l, strtold_l): Remove __wur.
11219 It is not necessarily an error to ignore strtol's return value.
11220 One can reliably look at the stored endptr to decide whether
11221 the number had valid syntax.
11222
7c0616fa
AJ
112232012-04-21 Andreas Jaeger <aj@suse.de>
11224
803cb6b7 11225 [BZ #13739]
7c0616fa
AJ
11226 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11227
b0fe253f
JM
112282012-04-21 Joseph Myers <joseph@codesourcery.com>
11229
11230 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11231 * sysdeps/unix/sysv/Versions: Remove file.
11232
8280f22d
MT
112332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11234
11235 [BZ #13927]
11236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11237
75ce411f 112382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11239
11240 [BZ #7064]
11241 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11242 version from __vm86.
11243
097d59fa
JM
112442012-04-20 Joseph Myers <joseph@codesourcery.com>
11245
a90f3bcb
JM
11246 * sysdeps/unix/common/lxstat.c: Remove file.
11247 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11248
edc7ea78
JM
11249 * sysdeps/unix/sysv/Makefile: Remove file.
11250
cb78c221
JM
11251 * sysdeps/unix/sysv/direct.h: Remove file.
11252
efa6a45f
JM
11253 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11254 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11255 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11256 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11257 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11258 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11259 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11260
9c9f2d0c
JM
11261 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11262
4541c83b
JM
11263 * sysdeps/unix/xmknod.c: Remove file.
11264 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11265
f5d153a0
JM
11266 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11267
aa746595
JM
11268 * sysdeps/unix/sysv/i386/time.S: Remove file.
11269
cce5905e
JM
11270 * sysdeps/unix/fxstat.c: Remove file.
11271 * sysdeps/unix/xstat.c: Likewise.
11272 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11273
37fa3841
JM
11274 * sysdeps/unix/sysv/sigaction.c: Remove file.
11275
ff1962a3
JM
11276 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11277 (sysdep_headers): Remove variable.
11278 [termio.h not in sysdep_headers] (generated): Likewise.
11279 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11280 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11281 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11282 * sysdeps/unix/sysv/tcflow.c: Likewise.
11283 * sysdeps/unix/sysv/tcflush.c: Likewise.
11284 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11285 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11286 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11287 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11288 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11289
e7740d31
JM
11290 * sysdeps/unix/siglist.c: Remove file.
11291
ee06f18b
JM
11292 * sysdeps/unix/getppid.S: Remove file.
11293
097d59fa
JM
11294 * sysdeps/unix/mkdir.c: Remove file.
11295 * sysdeps/unix/rmdir.c: Likewise.
11296
ff3d51ec
AS
112972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11298
11299 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11300 ERR_MAX value.
11301 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11302 errlist-compat value.
11303
50f81fd7
DM
113042012-04-18 David S. Miller <davem@davemloft.net>
11305
11306 * sysdeps/generic/memcopy.h (reg_char): Delete.
11307 * debug/strcat_chk.c: Use char, not reg_char.
11308 * debug/strcpy_chk.c: Likewise.
11309 * debug/strncat_chk.c: Likewise.
11310 * debug/strncpy_chk.c: Likewise.
11311 * string/memchr.c: Likewise.
11312 * string/memrchr.c: Likewise.
11313 * string/rawmemchr.c: Likewise.
11314 * string/strcat.c: Likewise.
11315 * string/strchr.c: Likewise.
11316 * string/strchrnul.c: Likewise.
11317 * string/strcmp.c: Likewise.
11318 * string/strcpy.c: Likewise.
11319 * string/strncat.c: Likewise.
11320 * string/strncmp.c: Likewise.
11321 * string/strncpy.c: Likewise.
11322
8ff41c46
WS
113232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11324
11325 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11326 __builtin_memcopy is called when src and dest ranges are known to not
11327 overlap.
11328
6b652f46
WS
113292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11330
11331 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11332 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11333 fwd_align_merge macro call.
11334 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11335 bwd_align_merge macro call.
11336 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11337
b282631e
WS
113382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11339
11340 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11341 bwd_align_merge macros.
11342 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11343 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11344 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11345
95aa737c
DM
113462012-04-18 David S. Miller <davem@davemloft.net>
11347
11348 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11349
7a99a614
AJ
113502012-04-18 Andreas Jaeger <aj@suse.de>
11351
11352 [BZ# 6794]
11353 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11354 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11355 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11356
11357 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11358 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11359 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11360
11361 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11362 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11363 Adjust for changed ldbl-128 files.
11364
11365 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11366 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11367 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11368
e5270c23
DM
113692012-04-17 David S. Miller <davem@davemloft.net>
11370
11371 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11372
fb5e92c9
AS
113732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11374
11375 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11376 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11377 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11378 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11379 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11380 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11381
76da7265
AZ
113822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11383
11384 [BZ #6794]
11385 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11386 * math/libm-test.inc: Add ilogb errno and exception tests.
11387 * math/w_ilogb.c: New file: ilogb wrapper.
11388 * math/w_ilogbf.c: New file: ilogbf wrapper.
11389 * math/w_ilogbl.c: New file: ilogbl wrapper.
11390 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11391 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11392 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11393 exception being thrown with 0.0 as argument.
11394 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11395 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11396 exception being thrown with 0.0 as argument.
11397 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11398 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11399 exception being thrown with 0.0 as argument.
11400 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11401 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11402 exception being thrown with 0.0 as argument.
11403 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11404 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11405 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11406 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11408 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11409 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11410 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11411 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11412
0396e69d
PB
114132012-04-17 Petr Baudis <pasky@ucw.cz>
11414
11415 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11416 with altivec.
11417
750b5926
MP
114182012-04-16 Marek Polacek <polacek@redhat.com>
11419
11420 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11421
751728a1
MP
114222012-04-16 Marek Polacek <polacek@redhat.com>
11423
11424 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11425 operands of fdivp instruction.
11426
34a27407
L
114272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11428
11429 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11430 * elf/tst-auditmod3b.c: Likewise.
11431 * elf/tst-auditmod4b.c: Likewise.
11432 * elf/tst-auditmod5b.c: Likewise.
11433 * elf/tst-auditmod6b.c: Likewise.
11434 * elf/tst-auditmod6c.c: Likewise.
11435 * elf/tst-auditmod7b.c: Likewise.
11436 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11437 * sysdeps/x86_64/preconfigure.in: Likewise.
11438 * sysdeps/x86_64/preconfigure: Regenerated.
11439
7e73e17d
L
114402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11441
11442 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11443 __ILP32__.
11444
c7a6ab72
AB
114452012-04-13 Antoine Balestrat <merkil33@gmail.com>
11446
11447 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11448 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11449
a9e8e0e0
CL
114502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11451
11452 [BZ #13973]
11453 * locale/iso-639.def: Fix gl language name. Spotted by
11454 Yaron Shahrabani.
11455
ec98af7d
RM
114562012-04-12 Roland McGrath <roland@hack.frob.com>
11457
11458 [BZ #2074]
11459 * libio/libio.h (__io_write_fn): Update comment.
11460
247c3ede
PB
114612012-04-12 Petr Baudis <pasky@ucw.cz>
11462
11463 [BZ #2074]
11464 * stdio.texi (Hook Functions): The user provided writer function
11465 is not allowed to return -1.
11466
55939d6d
DM
114672012-04-11 David S. Miller <davem@davemloft.net>
11468
11469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11470
90020f5a
MF
114712012-04-11 Mike Frysinger <vapier@gentoo.org>
11472
11473 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11474 Add a leading slash to rtkaio.
11475
288f9098
JM
114762012-04-11 Jim Meyering <meyering@redhat.com>
11477
90020f5a
MF
11478 [BZ #11959]
11479 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11480 It is not necessarily an error to ignore fwrite's return
11481 value. One can reliably use ferror to test for errors after
11482 the fact.
288f9098 11483
4be2b570
L
114842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11485
11486 * bits/types.h (__snseconds_t): New type.
11487 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11488
11489 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11491 (__SNSECONDS_T_TYPE): Likewise.
11492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11493 (__SNSECONDS_T_TYPE): Likewise.
11494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11495 (__SNSECONDS_T_TYPE): Likewise.
11496
288f9098 114972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11498
11499 [BZ #2636]
11500 * manual/time.texi (Processor Time): Return type of times is
11501 elapsed real time since an arbitrary point in the past.
11502 (CPU Time): Move CLK_TCK from here...
11503 (Processor Time): ...to here. Correct description.
11504 * manual/conf.texi (Constants for Sysconf): Correct description of
11505 _SC_CLK_TCK.
11506
d7dd4413
DM
115072012-04-10 David S. Miller <davem@davemloft.net>
11508
11509 [BZ #13967]
11510 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11511 where the is a gap between DT_REL(A) and DT_JMPREL.
11512
b46068fc
L
115132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11516 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11517 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11518
73d65cc3
SP
115192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11520
11521 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11522 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11523 (dl_main): Handle --inhibit-cache.
11524 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11525 _dl_inhibit_cache.
11526 * elf/dl-load.c (_dl_map_object): Use it.
11527 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11528
bcc8d661
JM
115292012-04-09 Joseph Myers <joseph@codesourcery.com>
11530
8f9a2fae
JM
11531 [BZ #13872]
11532 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11533 (__ieee754_powl): Saturate large exponents rather than testing for
11534 overflow of y*log2(x).
11535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11536 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11537 exceptions.
11538
bcc8d661
JM
11539 [BZ #11521]
11540 * math/s_ctan.c: Include <float.h>.
11541 (__ctan): Avoid internal overflow or cancellation in calculating
11542 denominator.
11543 * math/s_ctanf.c: Likewise.
11544 * math/s_ctanl.c: Likewise.
11545 * math/s_ctanh.c: Likewise.
11546 * math/s_ctanhf.c: Likewise.
11547 * math/s_ctanhl.c: Likewise.
11548 * math/libm-test.inc (ctan_test): Add more tests.
11549 (ctanh_test): Likewise.
11550 * sysdeps/i386/fpu/libm-test-ulps: Update.
11551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11552
823fbbb4
AJ
115532012-04-09 Andreas Jaeger <aj@suse.de>
11554
03879793
AJ
11555 [BZ #6894]
11556 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11557 is an optional BSD extension.
11558
823fbbb4
AJ
11559 [BZ #10254]
11560 * manual/stdio.texi (Opening Streams): Document additional fopen
11561 parameters.
11562
8de131cb
RM
115632012-04-09 Roland McGrath <roland@hack.frob.com>
11564
11565 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11566 %eax without telling the compiler.
11567
c0ed9d7d
CD
115682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11569
11570 [BZ # 13963]
11571 * manual/install.texi: Use sourceware.org.
11572
c483f6b4
JM
115732012-04-09 Joseph Myers <joseph@codesourcery.com>
11574
d7dd9453
JM
11575 [BZ #13873]
11576 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11577 (__ieee754_pow): Generate overflow and underflow using huge*huge
11578 and tiny*tiny rather than just returning constant infinity or zero
11579 for large exponents.
11580 * math/libm-test.inc (pow_test): Require overflow exceptions for
11581 applicable cases of large exponents.
11582
c483f6b4
JM
11583 [BZ #706]
11584 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11585 (__ieee754_pow): Use iterative multiplication algorithm only for
11586 integer exponents with absolute value below 1024. Check for odd
11587 integer exponents when using algorithm for real exponents.
11588 * math/libm-test.inc (pow_test): Add more tests.
11589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11590
d2de7579
JM
115912012-04-08 Joseph Myers <joseph@codesourcery.com>
11592
11593 [BZ #13705]
11594 * math/libm-test.inc (exp_test): Do not allow overflow exception
11595 on underflow test.
11596
f77f1232
AJ
115972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11598
11599 [BZ #13705]
11600 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11601 instead of __kernel_standard_f.
11602
3884932b
MF
116032012-04-08 Mike Frysinger <vapier@gentoo.org>
11604
11605 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11606 * sysdeps/x86_64/memset_chk.S: Likewise.
11607
54472e9c
AJ
116082012-04-08 Andreas Jaeger <aj@suse.de>
11609
6ab0fbfc
AJ
11610 [BZ #10153]
11611 * manual/startup.texi (Environment Access): Describe return value
11612 for putenv and setenv.
11613
61efba8c
AJ
11614 [BZ #6895]
11615 * manual/filesys.texi (Directory Entries): Add description for
11616 DT_LNK.
11617
95c3f29a
AJ
11618 [BZ #6890]
11619 * manual/filesys.texi (Directory Entries): Clarify that it's file
11620 system not operating system in the description of DT_UNKNOWN.
11621
54472e9c
AJ
11622 [BZ #6578]
11623 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11624
624254b1
SC
116252012-04-08 Stephen Compall <s11@member.fsf.org>
11626
11627 [BZ #6649]
11628 * manual/llio.texi (Opening and Closing Files): Add cross
11629 reference to explain mode argument.
11630
1e4920e0
MF
116312012-04-07 Mike Frysinger <vapier@gentoo.org>
11632
11633 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11634 * sysdeps/x86_64/memset_chk.S: Likewise.
11635
5ed848f3
DM
116362012-04-07 David S. Miller <davem@davemloft.net>
11637
11638 * elf/elf.h (R_SPARC_WDISP10): Define.
11639 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11640 R_SPARC_SIZE32.
11641 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11642 R_SPARC_SIZE64 and R_SPARC_H34.
11643
96154cd8
CD
116442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11645
11646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11647 conditions and remove no longer applicable assertion.
11648
9904dc47
L
116492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11650
11651 * bits/byteswap.h: Include <features.h>.
11652 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11653 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11654
f8887d0a
L
116552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11656
11657 * bits/byteswap.h (__bswap_16): Removed.
11658 Include <bits/byteswap-16.h> to get __bswap_16.
11659 * sysdeps/i386/bits/byteswap.h: Likewise.
11660 * sysdeps/s390/bits/byteswap.h: Likewise.
11661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11662 * bits/byteswap-16.h: New file.
11663 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11664 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11665 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11666 * string/Makefile (headers): Add bits/byteswap-16.h.
11667
62470f60
PP
116682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11669
11670 [BZ #13895]
11671 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11672 extra indirection.
11673 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11674 * nss/tst-nss-static.c: New.
11675
4dad7bab
RM
116762012-04-06 Robert Millan <rmh@gnu.org>
11677
11678 [BZ #6486]
11679 * manual/llio.texi (File Position Primitive): lseek
11680 refers to WHENCE when it really means OFFSET.
11681
e9142a17
AJ
116822012-04-06 Andreas Jaeger <aj@suse.de>
11683
2c040eff
AJ
11684 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11685 strncmp declarations.
11686
e9142a17
AJ
11687 * abilist/libc.abilist: Add __poll and __ppoll.
11688
ff9f1c5f
DM
116892012-04-05 David S. Miller <davem@davemloft.net>
11690
dcd2ae90
DM
11691 * scripts/check-local-headers.sh: Accept a host triplet in the
11692 path matched by the exclude regexp.
11693
993eb054
DM
11694 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11695 definition.
11696 * sysdeps/powerpc/powerpc32/dl-machine.h
11697 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11698 * sysdeps/s390/s390-32/dl-machine.h
11699 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11700 * sysdeps/sparc/sparc32/dl-machine.h
11701 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11702 * sysdeps/sparc/sparc64/dl-machine.h
11703 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11704
ff9f1c5f
DM
11705 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11706 lazy binding.
48e2e132 11707 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11708 undefined symbol errors.
11709
48e2e132 11710 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11711 DT_NEEDED entries.
11712
e80d6f94
MM
117132012-04-05 Michael Matz <matz@suse.de>
11714
11715 [BZ #13592]
11716 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11717
349fa79f
AJ
117182012-04-05 Andreas Jaeger <aj@suse.de>
11719
11720 [BZ #13908]
11721 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11722 comment.
11723
f402708f
KK
117242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11725
11726 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11727 which ROUND is no valid rounding mode.
11728
2ecccfc9
KK
117292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11730
11731 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11732 read again.
11733 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11734
8a53f50f
KK
117352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11736
11737 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11738 an exception using FPU order intentionally.
11739
117402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11741
11742 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11743 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11744 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11745 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11746
d653abb7
SJ
117472012-04-05 Simon Josefsson <simon@josefsson.org>
11748
11749 [BZ #12340]
11750 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11751 EINVAL when BUFLEN is too smal.
11752
c3b1bf7d
TS
117532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11754
11755 [BZ #13553]
11756 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11757 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11758
b1aa60f3
AJ
117592012-04-03 Andreas Jaeger <aj@suse.de>
11760
c3b1bf7d 11761 [BZ #13938]
67f60a26
AJ
11762 * manual/setjmp.texi (System V contexts): Fix sentence.
11763
b1aa60f3
AJ
11764 [BZ #13926]
11765 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11766 New macro for this case.
11767 [!__GNUC__] (__bswap_64): New inline function for this case.
11768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11769 * bits/byteswap.h: Likewise.
11770 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11771 ull, guard with __GLIBC_HAVE_LONG_LONG.
11772
11773 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11774 __GLIBC_HAVE_LONG_LONG.
11775
11776 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11777 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11778
39c59c35
TMQMF
117792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11780
11781 [BZ #13691]
11782 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11783 inptr and inend, rather than using last_ch.
11784
135ffda8
DM
117852012-04-02 David S. Miller <davem@davemloft.net>
11786
11787 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11788 * stdio-common/printf-parse.h (read_int): Change return type to
11789 'int', return -1 on INT_MAX overflow.
11790 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11791 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11792 overflows INT_MAX. Check for overflow of in-format-string precision
11793 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11794 SIZE_MAX not INT_MAX for integer overflow test.
11795 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11796 skip the construct in the format string but do not record anything.
11797 * stdio-common/bug22.c: Adjust to test both width/prevision
11798 INT_MAX overflow as well as total length INT_MAX overflow. Check
11799 explicitly for proper errno values.
11800
228c019e
TS
118012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11802
302cadd3
TS
11803 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11804 CHAR_MAX.
11805 * string/test-strcmp.c [! WIDE]: Likewise.
11806 * time/tst-mktime2.c: Likewise for INT_MAX.
11807 * string/test-string.h: #include <sys/param.h> for MIN.
11808
228c019e
TS
11809 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11810 * sysdeps/i386/init-first.c (init): Likewise.
11811 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11812 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11813 * sysdeps/sh/init-first.c (init): Likewise.
11814
cfa633f5
UD
118152012-04-01 Ulrich Drepper <drepper@gmail.com>
11816
11817 * po/ru.po: Update from translation team.
d1635ef8 11818 * po/vi.po: Likewise.
cfa633f5 11819
6cd0a5ea
SP
118202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11821
11822 * resolv/nss_dns/dns-host.c: Merge copyright years.
11823
4b43400f
LD
118242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11825
11826 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11827 Optimize memcpy with prefetch if
11828 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11829 src, dst pointers have unequal 16 byte alignments.
11830
48c41d04
SP
118312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11832
11833 [BZ #13928]
11834 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11835 from a CNAME entry and return the minimum ttl for the query.
11836 (gaih_getanswer_slice): Likewise.
11837
b8dc394d
JL
118382012-03-30 Jeff Law <law@redhat.com>
11839
11840 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11841 due to long keys.
11842 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11843 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11844
2f5a5ed0
JL
11845 * resolv/nss_dns/dns-host.c: Update copyright year.
11846
1d39e359
UD
118472012-03-30 Ulrich Drepper <drepper@gmail.com>
11848
c030f70c 11849 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11850 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11851
1d39e359
UD
11852 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11853 comments for sendmmsg.
11854
118552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11856
11857 [BZ #13691]
11858 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11859 with only 1 character between 0x0041 and 0x01b0.
11860 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11861 * wcsmbs/tst-mbsnrtowcs.c: New file.
11862
20fde227
DM
118632012-03-29 David S. Miller <davem@davemloft.net>
11864
11865 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11866 small copies by hand.
11867
984a4237
JL
118682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11869
11870 [BZ #13761]
11871 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11872 _nss_compat_initgroups_dyn): Fall back to malloc/free
11873 for large group memberships.
11874
18c9d62b
DM
118752012-03-28 David S. Miller <davem@davemloft.net>
11876
88d85d4f
DM
11877 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11878 that branches into memcpy.
11879 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11882 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11884 bits.
11885 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11886 implementation too.
11887 * sysdeps/sparc/mempcpy.S: New file.
11888
e5aa83e1
DM
11889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11890 the IFUNC routine in the libc case.
11891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11892
88570753
DM
11893 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11894 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11895 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11896 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11897 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11898 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11899 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11900 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11901
249d7567
DM
11902 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11903 loop to 256 bytes instead of 64 bytes and fix test signedness.
11904
18c9d62b
DM
11905 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11906 * sysdeps/sparc/sparc32/Makefile: rather than here...
11907 * sysdeps/sparc/sparc64/Makefile: and here.
11908
05f3d1f6
UD
119092012-03-28 Ulrich Drepper <drepper@gmail.com>
11910
11911 * malloc/mallocbug.c: Avoid warnings about unused variables.
11912
86ae07a8
JL
119132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11914
11915 [BZ #13760]
11916 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11917 in the right place. Discard and retry query if response is
11918 larger than input buffer size.
11919
41bf21a1
JM
119202012-03-28 Joseph Myers <joseph@codesourcery.com>
11921
d6270972
JM
11922 [BZ #369]
11923 [BZ #2678]
11924 [BZ #3866]
11925 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11926 x for large integer exponent.
11927 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11928 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11929 sign of result as needed afterwards.
11930 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11931 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11932 result for underflowing pow the same as for overflow.
11933 (__kernel_standard_l): Handle powl overflow and underflow here
11934 rather than calling __kernel_standard.
11935 * math/libm-test.inc (pow_test): Add more tests.
11936
414fca03 11937 [BZ #3868]
41bf21a1
JM
11938 [BZ #13879]
11939 [BZ #13910]
11940 [BZ #13911]
11941 [BZ #13912]
11942 [BZ #13913]
11943 [BZ #13915]
11944 [BZ #13916]
11945 [BZ #13917]
11946 [BZ #13918]
11947 [BZ #13919]
11948 [BZ #13920]
11949 [BZ #13921]
11950 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11951 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11952 (__kernel_standard_l): New function.
11953 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11954 __kernel_standard.
11955 * math/w_acosl.c (__acosl): Likewise.
11956 * math/w_asinl.c (__asinl): Likewise.
11957 * math/w_atan2l.c (__atan2l): Likewise.
11958 * math/w_atanhl.c (__atanhl): Likewise.
11959 * math/w_coshl.c (__coshl): Likewise.
11960 * math/w_exp10l.c (__exp10l): Likewise.
11961 * math/w_exp2l.c (__exp2l): Likewise.
11962 * math/w_fmodl.c (__fmodl): Likewise.
11963 * math/w_hypotl.c (__hypotl): Likewise.
11964 * math/w_j0l.c (__j0l, __y0l): Likewise.
11965 * math/w_j1l.c (__j1l, __y1l): Likewise.
11966 * math/w_jnl.c (__jnl, __ynl): Likewise.
11967 * math/w_lgammal.c (__lgammal): Likewise.
11968 * math/w_log10l.c (__log10l): Likewise.
11969 * math/w_log2l.c (__log2l): Likewise.
11970 * math/w_logl.c (__logl): Likewise.
11971 * math/w_powl.c (__powl): Likewise.
11972 * math/w_remainderl.c (__remainderl): Likewise.
11973 * math/w_scalbl.c (sysv_scalbl): Likewise.
11974 * math/w_sinhl.c (__sinhl): Likewise.
11975 * math/w_sqrtl.c (__sqrtl): Likewise.
11976 * math/w_tgammal.c (__tgammal): Likewise.
11977 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11978 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11979 * math/libm-test.inc (acos_test): Add more tests.
11980 (acosh_test): Likewise.
11981 (asin_test): Likewise.
11982 (atanh_test): Likewise.
11983 (exp_test): Likewise.
11984 (exp10_test): Likewise.
11985 (exp2_test): Likewise.
11986 (expm1_test): Likewise.
11987 (lgamma_test): Likewise.
11988 (log_test): Likewise.
11989 (log10_test): Likewise.
11990 (log1p_test): Likewise.
11991 (log2_test): Likewise.
11992 (pow_test): Do not allow some spurious overflow exceptions.
11993 (sqrt_test): Add more tests.
11994 (tgamma_test): Likewise.
11995 (y0_test): Likewise.
11996 (y1_test): Likewise.
11997 (yn_test): Likewise.
11998
dd62fda6
AB
119992012-03-27 Anton Blanchard <anton@samba.org>
12000
12001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12002 MAP_HUGETLB.
12003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12004 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12006
1e3cdfda
AJ
120072012-03-27 David S. Miller <davem@davemloft.net>
12008
b855ab85
DM
12009 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12010
1e3cdfda
AJ
12011 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12012 have-as-vis3 check.
12013
120142012-03-27 Andreas Jaeger <aj@suse.de>
12015
12016 * sysdeps/x86_64/elf/configure.in: Moved to ...
12017 * sysdeps/x86_64/configure.in: ... here.
12018 * sysdeps/x86_64/elf/start.S: Moved to ...
12019 * sysdeps/x86_64/start.S: ... here.
12020 * sysdeps/x86_64/elf/configure: Delete.
12021
12022 * sysdeps/x86_64/configure.in: Merge contents from
12023 sysdeps/i386/configure.in (without i686 check).
12024
12025 * sysdeps/i386/elf/Versions: Merge into ...
12026 * sysdeps/i386/Versions: ... this.
12027 * sysdeps/i386/elf/Versions: Delete file.
12028 * sysdeps/i386/elf/start.S: Moved to ...
12029 * sysdeps/i386/start.S: ...here.
12030 * sysdeps/i386/elf/configure.in: Merge into...
12031 * sysdeps/i386/configure.in: ...here.
12032 * sysdeps/i386/elf/configure.in: Delete file.
12033 * sysdeps/i386/elf/configure: Delete file.
12034
12035 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12036 * debug/backtracesyms.c: ... here.
12037 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12038 * debug/backtracesymsfd.c: ... here.
12039 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12040 * sysdeps/generic/ifunc-sel.h: ... here.
12041
12042 * sysdeps/unix/i386/start.c: Delete file.
12043 * sysdeps/unix/sparc/start.c: Delete file.
12044 * sysdeps/unix/start.c: Delete file.
12045
12046 * sysdeps/sh/elf/configure.in: Moved to ...
12047 * sysdeps/sh/configure.in: ... here.
12048 * sysdeps/sh/elf/start.S: Moved to ...
12049 * sysdeps/sh/start.S: ... here.
12050 * sysdeps/sh/elf/configure: Delete file.
12051
12052 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12053 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12054 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12055 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12056 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12057 * sysdeps/powerpc/powerpc64/start.S: here.
12058 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12059 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12060 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12061 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12062 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12063
12064 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12065 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12066 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12067 * sysdeps/powerpc/powerpc32/start.S: ... here.
12068 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12069 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12070 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12071
12072 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12073 * sysdeps/powerpc/ifunc-sel.h: ... here.
12074 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12075 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12076
12077 * sysdeps/sparc/elf/configure.in: Moved to ...
12078 * sysdeps/sparc/configure.in: ... here.
12079 * sysdeps/sparc/elf/configure: Delete file.
12080 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12081 * sysdeps/sparc/sparc32/start.S: ... here.
12082 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12083 * sysdeps/sparc/sparc64/start.S: ... here.
12084 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12085 * sysdeps/sparc/sparc32/Makefile: ... this.
12086 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12087 * sysdeps/sparc/sparc64/Makefile: ... this.
12088
12089 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12090 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12091 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12092 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12093 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12094 * sysdeps/s390/s390-32/setjmp.S: ... here.
12095 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12096 * sysdeps/s390/s390-32/configure.in: ... here.
12097 * sysdeps/s390/s390-32/elf/configure: Delete file.
12098 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12099 * sysdeps/s390/s390-32/start.S: ... here.
12100
12101 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12102 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12103 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12104 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12105 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12106 * sysdeps/s390/s390-64/setjmp.S: ... here.
12107 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12108 * sysdeps/s390/s390-64/configure.in: ... here
12109 * sysdeps/s390/s390-64/elf/configure: Delete file.
12110 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12111 * sysdeps/s390/s390-64/start.S: ... here.
12112 * sysdeps/s390/s390-64/elf/configure: Delete.
12113
12114 * configure.in: Remove support for elf directories in sysdeps.
12115
12116 * configure: Regenerated.
12117 * sysdeps/i386/configure: Regenerated.
12118 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12119 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12120 * sysdeps/s390/s390-32/configure: Regenerated.
12121 * sysdeps/s390/s390-64/configure: Regenerated.
12122 * sysdeps/sh/configure: Regenerated.
12123 * sysdeps/sparc/configure: Regenerated.
12124 * sysdeps/x86_64/configure: Regenerated.
12125
a3f61311
AS
121262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12127
c876e002
AS
12128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12129
a3f61311
AS
12130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12131 denormal result into account.
12132
ac4c54f0
RM
121332012-03-25 Roland McGrath <roland@hack.frob.com>
12134
12135 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12136 Reported by Allan McRae <allan@archlinux.org>.
12137
6a9b9c02
JL
121382012-03-23 Jeff Law <law@redhat.com>
12139
12140 * nss/getnssent.c (__nss_getent): Fix typo.
12141
4c42a0c1
DM
121422012-03-23 David S. Miller <davem@davemloft.net>
12143
12144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12145
1532c7ac
L
121462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12147
12148 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12149 to pad to uint64_t for each field.
12150 (dl_tls_index): Replace unsigned long with uint64_t.
12151
3ff42526
PP
121522012-03-23 Daniel Jacobowitz <dmj@google.com>
12153 Paul Pluzhnikov <ppluzhnikov@google.com>
12154
12155 [BZ #6528]
12156 * grp/Makefile (otherlibs): Don't set it.
12157 * inet/Makefile (otherlibs): Likewise.
12158 * login/Makefile (otherlibs): Likewise.
12159 * nscd/Makefile (otherlibs): Likewise.
12160 * posix/Makefile (otherlibs): Likewise.
12161 * pwd/Makefile (otherlibs): Likewise.
12162 * rt/Makefile (otherlibs): Likewise.
12163 * sunrpc/Makefile (otherlibs): Likewise.
12164 * nss/Makefile (otherlibs): Likewise.
12165 Add libnss_files to routines and static-only-routines.
12166 ($(objpfx)getent): Remove rule.
12167 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12168 static-only-routines.
12169
7c69cd14
JM
121702012-03-22 Joseph Myers <joseph@codesourcery.com>
12171
12172 [BZ #13892]
12173 * math/s_cexp.c: Include <float.h>.
12174 (__cexp): Handle exp result overflowing not necessarily
12175 overflowing both real and imaginary parts of result.
12176 * math/s_cexpf.c: Likewise.
12177 * math/s_cexpl.c: Likewise.
12178 * math/libm-test.inc (cexp_test): Add more tests.
12179 * sysdeps/i386/fpu/libm-test-ulps: Update.
12180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12181
81b035fe
L
121822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12183
12184 * include/link.h (ELFW): New macro.
12185 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12186 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12187
1da7940c
L
121882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12191 with uint64_t.
12192
b749dbb9
L
121932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12194
12195 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12196 declaration.
12197 (struct La_x32_retval): Likewise.
12198
2ff87f3f
L
121992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12200
12201 * sysdeps/x86_64/preconfigure.in: New file.
12202 * sysdeps/x86_64/preconfigure: New generated file.
12203
c0df8e69
JM
122042012-03-22 Joseph Myers <joseph@codesourcery.com>
12205
48e44791
JM
12206 [BZ #13824]
12207 * math/e_exp2l.c: Include <float.h>.
12208 (__ieee754_exp2l): Handle overflow and underflow cases
12209 separately. Only pass fractional part of argument to
12210 __ieee754_expl.
12211 * math/libm-test.inc (exp2_test): Add more tests.
12212
c0df8e69
JM
12213 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12214 negating x to take absolute value.
12215 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12216 Likewise.
12217 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12218 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12219 Likewise.
12220 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12221 computing low part if x was negated.
12222 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12223
c8e43ba7
L
122242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12225
12226 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12227 la_x32_gnu_pltexit.
12228 (pltexit): Cast int_retval to ptrdiff_t.
12229 * elf/tst-auditmod3b.c: Likewise.
12230 * elf/tst-auditmod4b.c: Likewise.
12231 * elf/tst-auditmod5b.c: Likewise.
12232 * elf/tst-auditmod6b.c: Likewise.
12233 * elf/tst-auditmod6c.c: Likewise.
12234 * elf/tst-auditmod7b.c: Likewise.
12235
12236 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12237 and x32_gnu_pltexit.
12238
12239 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12240 __ELF_NATIVE_CLASS.
12241 (La_x32_regs): New macro.
12242 (La_x32_retval): Likewise.
12243 (la_x32_gnu_pltenter): New function prototype.
12244 (la_x32_gnu_pltexit): Likewise.
12245
7998fa78
AS
122462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12247
dcb33988
AS
12248 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12249 exponent.
12250
233fc563
AS
12251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12252
7998fa78
AS
12253 * configure.in (libc_cv_cc_nofma): Check for option to disable
12254 generation of FMA instructions.
12255 * configure: Regenerate.
12256 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12257 * sysdeps/ieee754/dbl-64/Makefile: New file.
12258 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12259 Remove brandred-fma4.
12260 (CFLAGS-brandred-fma4.c): Remove.
12261 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12262 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12263 define.
12264 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12265 define.
12266
8e95c99a
L
122672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12268
12269 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12270 LLONG_MAX != LONG_MAX.
12271 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12272 (_fitoa_word): Likewise.
12273 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12274 LLONG_MAX != LONG_MAX.
12275 * stdio-common/_itowa.h: Include <_itoa.h>.
12276 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12277 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12278 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12279 only if not defined.
12280 (_ITOA_WORD_TYPE): Likewise.
12281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12282 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12283
6f4db457
DM
122842012-03-21 David S. Miller <davem@davemloft.net>
12285
12286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12287
7785fe5a
L
122882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12291 of x86_64 when setting libc_cv_slibdir, libdir and
12292 libc_cv_localedir.
12293 * sysdeps/unix/sysv/linux/configure: Regenerated.
12294
4535cd55
JM
122952012-03-21 Joseph Myers <joseph@codesourcery.com>
12296
12297 * manual/lang.texi (Old Varargs): Remove section.
12298 (How Variadic): Update menu.
12299 (va_start): Do not mention varargs.h.
12300
17228132
TS
123012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12302 Joseph Myers <joseph@codesourcery.com>
12303
12304 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12305 link test.
12306 * configure: Regenerated.
12307
8149f976
TS
123082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12309
05f3d1f6
UD
12310 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12311 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12312 conformtest.pl
8149f976 12313
1a4ac776
JM
123142012-03-21 Joseph Myers <joseph@codesourcery.com>
12315
be22ce65
JM
12316 * NOTES: Remove.
12317 * Makefile (files-for-dist): Remove NOTES.
12318 (NOTES): Remove rule.
12319 * README: Don't refer to NOTES.
12320 * manual/creature.texi: Don't include macros.texi.
12321 * manual/intro.texi (creature.texi): Remove comment referring to
12322 NOTES.
12323
40b601fb
JM
12324 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12325 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12326 * configure: Regenerated.
12327 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12328 LIBC_TRY_CC_OPTION.
12329 (libc_cv_as_i686): Likewise.
12330 (libc_cv_cc_avx): Likewise.
12331 (libc_cv_cc_sse2avx): Likewise.
12332 (libc_cv_cc_fma4): Likewise.
12333 (libc_cv_cc_novzeroupper): Likewise.
12334 * sysdeps/i386/configure: Regenerated.
12335
1a4ac776
JM
12336 [BZ #13883]
12337 * sysdeps/i386/fpu/s_cexp.S: Remove.
12338 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12339 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12340 * math/libm-test.inc (cexp_test): Add more tests.
12341 * sysdeps/i386/fpu/libm-test-ulps: Update.
12342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343
a458e7fe
AM
123442012-03-21 Allan McRae <allan@archlinux.org>
12345
12346 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12347
0cb7efc5
JM
123482012-03-21 Joseph Myers <joseph@codesourcery.com>
12349
12350 [BZ #13871]
12351 * math/w_exp2.c: Do not include <float.h>.
12352 (o_threshold, u_threshold): Remove.
12353 (__exp2): Calculate result before checking finiteness and calling
12354 __kernel_standard.
12355 * math/w_exp2f.c: Likewise.
12356 * math/w_exp2l.c: Likewise.
12357 * math/libm-test.inc (exp2_test): Require overflow exception for
12358 1e6 input.
2460d3aa
JM
12359
12360 [BZ #3866]
12361 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12362 range of signed 64-bit integers before using fistpll. Remove
12363 checks for whether integers fit in mantissa bits.
12364 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12365 the range of signed 32-bit integers before using fistpl. Remove
12366 checks for whether integers fit in mantissa bits.
12367 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12368 (__ieee754_powl): Test for y outside the range of signed 64-bit
12369 integers before using fistpll. Reduce 64-bit values to 63-bit
12370 ones as needed.
12371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12372 divide-by-zero is raised for zero to large negative powers.
12373 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12374 (__ieee754_powl): Test for y outside the range of signed 64-bit
12375 integers before using fistpll. Reduce 64-bit values to 63-bit
12376 ones as needed.
12377 * math/libm-test.inc (pow_test): Add more tests.
12378
eb96ffb0
L
123792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12382 <stdio-common/_itoa.h>.
12383 * debug/segfault.c: Likewise.
12384 * elf/dl-cache.c: Likewise.
12385 * elf/dl-minimal.c: Likewise.
12386 * elf/dl-misc.c: Likewise.
12387 * elf/dl-sysdep.c: Likewise.
12388 * elf/dl-version.c: Likewise.
12389 * elf/rtld.c: Likewise.
12390 * hurd/hurdsock.c: Likewise.
12391 * hurd/lookup-retry.c: Likewise.
12392 * malloc/malloc.c: Likewise.
12393 * malloc/mtrace.c: Likewise.
12394 * nscd/nscd_getgr_r.c: Likewise.
12395 * nscd/nscd_getpw_r.c: Likewise.
12396 * nscd/nscd_getserv_r.c: Likewise.
12397 * posix/getopt_init.c: Likewise.
12398 * posix/wordexp.c: Likewise.
12399 * stdio-common/_itoa.c: Likewise.
12400 * stdio-common/printf_fphex.c: Likewise.
12401 * stdio-common/vfprintf.c: Likewise.
12402 * string/_strerror.c: Likewise.
12403 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12404 * sysdeps/i386/i686/hp-timing.h: Likewise.
12405 * sysdeps/mach/_strerror.c: Likewise.
12406 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12407 * sysdeps/mach/hurd/sethostid.c: Likewise.
12408 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12409 * sysdeps/mach/xpg-strerror.c: Likewise.
12410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12411 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12412 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12413 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12414 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12415 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12416 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12417 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12418 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12419 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12420 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12421 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12422 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12423 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12424 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12425 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12426 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12428 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12429 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12430 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12431
12432 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12433
12434 * stdio-common/_itoa.h: Moved to ...
12435 * sysdeps/generic/_itoa.h: Here.
12436
12437 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12438
12439 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12440 instead of "_itoa.h" and "_itowa.h".
12441 * stdio-common/vfprintf.: Likewise.
12442
d1af992d
L
124432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12444
12445 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12446 <bits/wordsize.h>.
12447 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12448 (__signbit): Likwise.
12449 (llrintf): Likwise.
12450 (llrint): Likwise.
12451
114883e0
L
124522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12453
12454 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12455 __WORDSIZE != 64.
12456
c135cc1b
JM
124572012-03-20 Joseph Myers <joseph@codesourcery.com>
12458
12459 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12460 OVERFLOW_EXCEPTION_OK.
12461 * math/libm-test.inc ("Philosophy"): Update comment about
12462 exception testing.
12463 (OVERFLOW_EXCEPTION): Define.
12464 (OVERFLOW_EXCEPTION_OK): Likewise.
12465 (INVALID_EXCEPTION_OK): Renumber.
12466 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12467 (IGNORE_ZERO_INF_SIGN): Likewise.
12468 (test_exceptions): Handle FE_OVERFLOW.
12469 (exp10_test): Expect overflow exceptions.
12470 (exp2_test): Likewise.
12471 (expm1_test): Likewise.
12472 (nextafter_test): Likewise.
12473 (pow_test): Likewise.
12474 (scalbn_test): Likewise.
12475 (scalbln_test): Likewise.
12476
95443d88
L
124772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/x86_64/bits/atomic.h
12480 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12481 64bit integer.
12482 (atomic_exchange_acq): Likewise.
12483 (__arch_exchange_and_add_body): Likewise.
12484 (__arch_add_body): Likewise.
12485 (atomic_add_negative): Likewise.
12486 (atomic_add_zero): Likewise.
12487
490df6c4
L
124882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12489
c2722551 12490 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12491 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12492
5e52b189
L
124932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12494
12495 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12496 Check __x86_64__ instead of __WORDSIZE.
12497
a9879d4c
L
124982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12499
12500 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12501
5df98260
DM
125022012-03-19 David S. Miller <davem@davemloft.net>
12503
e1497744
DM
12504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12505
5df98260
DM
12506 * sysdeps/sparc/fpu/fenv_private.h: New file.
12507 * sysdeps/sparc/fpu/math_private.h: Use it.
12508 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12509 Remove.
12510 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12511 (libc_feholdexcept_setroundl): Remove.
12512 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12513 Remove.
12514 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12515 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12516
b4c35121
L
125172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12518
12519 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12520 int64_t instead of long int.
12521 (INSERT_WORDS64): Likwise.
12522
56965fd7
L
125232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12524
12525 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12526 _Unwind_GetCFA return to _Unwind_Ptr first.
12527
83d1aec8
JM
125282012-03-19 Joseph Myers <joseph@codesourcery.com>
12529
1897ad44
JM
12530 [BZ #13629]
12531 * math/s_clog.c: Include <float.h>.
12532 (__clog): Scale large or subnormal inputs.
12533 * math/s_clogf.c: Likewise.
12534 * math/s_clogl.c: Likewise.
12535 * math/s_clog10.c: Include <float.h>.
12536 (M_LOG10_2): Define.
12537 (__clog10): Scale large or subnormal inputs.
12538 * math/s_clog10f.c: Likewise.
12539 * math/s_clog10l.c: Likewise.
12540 * math/libm-test.inc (clog_test): Add more tests.
12541 (clog10_test): Likewise.
12542 * sysdeps/i386/fpu/libm-test-ulps: Update.
12543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12544
7726d6a9
JM
12545 [BZ #11451]
12546 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12547 x and y.
12548 * math/libm-test.inc (atan2_test): Add another test.
12549
83d1aec8
JM
12550 * Makerules (common-objdir-compile): Remove.
12551 * sysdeps/unix/Makefile (config-generated): Do not add
12552 $(unix-generated) to variable.
12553 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12554 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12555 Remove rule.
12556 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12557 Likewise.
12558 [generic bits/local_lim.h] (before-compile): Do not append to
12559 variable.
12560 [generic bits/local_lim.h] (common-generated): Likewise.
12561 [generic sys/param.h] (before-compile): Do not append to variable.
12562 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12563 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12564 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12565 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12566 include.
12567 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12568 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12569 [generic sys/param.h] ($(addprefix
12570 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12571 [generic sys/param.h] (common-generated): Do not append to
12572 variable.
12573 [generic sys/param.h] (sysdep_headers): Likewise.
12574 [generic bits/errno.h] (before-compile): Do not append to
12575 variable.
12576 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12577 rule.
12578 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12579 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12580 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12581 [generic bits/errno.h] (common-generated): Do not append to
12582 variable.
12583 [generic bits/ioctls.h] (before-compile): Do not append to
12584 variable.
12585 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12586 rule.
12587 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12588 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12589 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12590 rule.
12591 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12592 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12593 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12594 [generic bits/ioctls.h] (common-generated): Do not append to
12595 variable.
12596 [generic sys/syscall.h] (syscall.h): Remove variable.
12597 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12598 rule.
12599 [generic sys/syscall.h] (before-compile): Do not append to
12600 variable.
12601 [generic sys/syscall.h] (common-generated): Likewise.
12602 * sysdeps/unix/errnos-tmpl.c: Remove file.
12603 * sysdeps/unix/errnos.awk: Likewise.
12604 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12605 * sysdeps/unix/ioctls.awk: Likewise.
12606 * sysdeps/unix/mk-local_lim.c: Likewise.
12607 * sysdeps/unix/snarf-ioctls: Likewise.
12608
4851a949
RH
126092012-03-19 Richard Henderson <rth@twiddle.net>
12610
bd37f2ee
RH
12611 * sysdeps/i386/fpu/fenv_private.h: New file.
12612 * sysdeps/i386/fpu/math_private.h: Use it.
12613 (math_opt_barrier, math_force_eval): Remove.
12614 (libc_feholdexcept_setround_53bit): Remove.
12615 (libc_feupdateenv_53bit): Remove.
12616 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12617 (math_opt_barrier, math_force_eval): Remove.
12618 (libc_feholdexcept): Remove.
12619 (libc_feholdexcept_setround): Remove.
12620 (libc_fetestexcept, libc_fesetenv): Remove.
12621 (libc_feupdateenv_test): Remove.
12622 (libc_feupdateenv, libc_feholdsetround): Remove.
12623 (libc_feresetround): Remove.
12624
d0adc922
RH
12625 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12626 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12627
0fe0f1f8
RH
12628 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12629 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12630 (libc_feupdateenv_testl): New.
12631 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12632 (libc_feupdateenv_testf): New.
12633 (libc_feupdateenv): Use libc_feupdateenv_test.
12634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12635 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12636
eb92c487
RH
12637 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12638 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12639 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12640 (libc_feresetround_noex): New.
12641 (libc_feresetround_noexf): New.
12642 (libc_feresetround_noexl): New.
12643 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12644 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12645 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12646 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12647 SET_RESTORE_ROUND.
12648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12650 (__cos): Likewise.
12651 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12652 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12653 SET_RESTORE_ROUND_NOEX.
12654 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12655 SET_RESTORE_ROUND_NOEXF.
12656 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12657 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12658 (libc_feholdsetroundf): New.
12659 (libc_feresetround, libc_feresetroundf): New.
12660
7d2e8012
RH
12661 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12662 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12663 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12664
b4dabbb4
RH
12665 * sysdeps/generic/math_private.h: Include <fenv.h>.
12666 (default_libc_feholdexcept): New.
12667 (default_libc_feholdexcept_setround): New.
12668 (default_libc_fesetenv, default_libc_feupdateenv): New.
12669 (libc_feholdexcept): Only define if undefined.
12670 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12671 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12672 (libc_feholdexcept_setroundl): Likewise.
12673 (libc_feholdexcept_setround_53bit): Likewise.
12674 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12675 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12676 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12677 (libc_feupdateenv_53bit): Likewise.
12678 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12679 (libc_feholdexcept): Convert from macro to inline function.
12680 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12681 (libc_fesetenv, libc_feupdateenv): Likewise.
12682
4851a949
RH
12683 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12684 not previously defined.
12685 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12686 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12687 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12688 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12689 * sysdeps/ieee754/flt-32/math_private.h: New file.
12690 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12691 math_private.h below SET_FLOAT_WORD.
12692 (__isnan, __isinf_ns, __finite): Remove.
12693 (__isnanf, __isinf_nsf, __finitef): Remove.
12694
e79d442e
AS
126952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12696
12697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12698
90b80344
DM
126992012-03-17 David S. Miller <davem@davemloft.net>
12700
12701 [BZ #6471]
12702 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12703 for 2.16.
12704
edc21804
DM
127052012-03-16 David S. Miller <davem@davemloft.net>
12706
77e927af
DM
12707 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12708 warnings.
12709
374976dd
DM
12710 [BZ #6471]
12711 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12712 properly.
12713 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12714 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12715 sysdep_routines when subdir is sysvipc.
12716 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12717 __getshmlba helper.
12718
edc21804
DM
12719 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12720
473c3ef3
L
127212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12724 [__LP64__].
12725
eb0f39b6
L
127262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12727
12728 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12729 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12730 (__lround): Renamed to ...
12731 (__llround): This. Replace long int with long long int.
12732 Define lround functions as aliases of llround functions.
12733 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12734
6b6cd74b
L
127352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12736
12737 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12738 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12739 adresses to uintptr_t. Replace "long int" and "unsigned long
12740 int" with "greg_t" on va_arg.
12741
f1a77b01
L
127422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12745 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12746
12747 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12748 Move e_machine check before EI_CLASS check. Handle x32
12749 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12750 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12751 SKIP_EM_IA_64 and include
12752 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12753
12754 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12755 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12756 (add_system_dir): New macro.
12757
12758 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12759 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12760
11b90b9f
JM
127612012-03-16 Joseph Myers <joseph@codesourcery.com>
12762
c36e1d23
JM
12763 [BZ #2551]
12764 [BZ #2552]
12765 [BZ #2553]
12766 [BZ #2554]
12767 [BZ #2562]
12768 [BZ #2563]
12769 [BZ #2565]
12770 [BZ #2566]
12771 [BZ #2576]
12772 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12773 (y0): Likewise.
12774 * math/w_j0f.c (j0f): Likewise.
12775 (y0f): Likewise.
12776 * math/w_j0l.c (__j0l): Likewise.
12777 (__y0l): Likewise.
12778 * math/w_j1.c (j1): Likewise.
12779 (y1): Likewise.
12780 * math/w_j1f.c (j1f): Likewise.
12781 (y1f): Likewise.
12782 * math/w_j1l.c (__j1l): Likewise.
12783 (__y1l): Likewise.
12784 * math/w_jn.c (jn): Likewise.
12785 (yn): Likewise.
12786 * math/w_jnf.c (jnf): Likewise.
12787 (ynf): Likewise.
12788 * math/w_jnl.c (__jnl): Likewise.
12789 (__ynl): Likewise.
12790 * math/libm-test.inc (j0_test): Add more tests.
12791 (j1_test): Likewise.
12792 (jn_test): Likewise. Add trailing semicolon to existing test.
12793 (y0_test): Likewise.
12794 (y1_test): Likewise.
12795 * sysdeps/i386/fpu/libm-test-ulps: Update.
12796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12797
11b90b9f
JM
12798 [BZ #13851]
12799 [BZ #13854]
12800 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12801 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12802 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12803 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12804 (__tanl): Set errno for infinite argument.
12805 * sysdeps/i386/fpu/mptan.c: Remove.
12806 * sysdeps/i386/fpu/s_tan.S: Likewise.
12807 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12808 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12809 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12810 * math/libm-test.inc (tan_test): Add more tests and enable more
12811 tests for double and long double.
12812 * sysdeps/i386/fpu/libm-test-ulps: Update.
12813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12814
6a1bd2a1
JK
128152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12816
12817 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12818 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12819
10a803e0
RM
128202012-03-16 Roland McGrath <roland@hack.frob.com>
12821
12822 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12823 * configure.in: Use it for both main tree and add-ons.
12824 * configure: Regenerated.
12825
f196c7f7
L
128262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12827
12828 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12829
8848d99d
JM
128302012-03-16 Joseph Myers <joseph@codesourcery.com>
12831
96cbe7f4
JM
12832 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12833 in comment.
12834
8848d99d
JM
12835 [BZ #13851]
12836 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12837 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12841 infinite argument.
12842 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12844 != 0 for prec == 2.
12845 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12846 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12847 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12848 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12849 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12850 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12851 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12852 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12853 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12854 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12855 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12856 * math/libm-test.inc (cos_test): Add more tests and enable more
12857 tests for long double.
12858 (sin_test): Likewise.
12859 (sincos_test): Likewise.
12860 * sysdeps/i386/fpu/libm-test-ulps: Update.
12861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12862
dd7f4703
DM
128632012-03-16 David S. Miller <davem@davemloft.net>
12864
12865 * sysdeps/sparc/fpu/math_private.h: New file.
12866
006f1daa
DM
128672012-03-15 David S. Miller <davem@davemloft.net>
12868
c0c83bc8
DM
12869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12870 file.
e6a62e18 12871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12873 file.
e6a62e18
DM
12874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12879 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12880 sysdep routines.
12881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12882
88cb87d9
DM
12883 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12884 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12885
006f1daa 12886 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12888 sparc-ifunc.h
006f1daa 12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12891 Likewise.
12892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12893 Likewise.
006f1daa
DM
12894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12898 Likewise.
006f1daa
DM
12899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12904 Likewise.
12905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12906 Likewise.
006f1daa
DM
12907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12931
11e0098e
AS
129322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12933
12934 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12935 scaling.
12936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12937
e85b09d0
AJ
129382012-03-15 Andreas Jaeger <aj@suse.de>
12939
12940 [BZ #13852]
12941 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12942 ieee754/flt-32 implementation for sin, cos and sincos.
12943 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12944 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12945 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12946 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12947 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12948 ieee754/flt-32 implementation for tan.
12949
12950 * math/libm-test.inc (cos_test): Enable some large input tests for
12951 float as well
12952 (sin_test): Likewise.
12953 (sincos_test): Likewise.
12954 (tan_test): Add tests for large input.
12955
12956 * sysdeps/i386/fpu/libm-test-ulps: Update.
12957
81c64153
AJ
129582012-03-15 Andreas Jaeger <aj@suse.de>
12959
12960 [BZ #13658]
12961 * math/libm-test.inc (cos_test): Add more test cases.
12962 (sin_test): Likewise.
12963 (sincos_test): Likewise.
12964
7bbfa5c6
AJ
129652012-03-15 Andreas Jaeger <aj@suse.de>
12966
12967 [BZ #13837]
12968 * math/libm-test.inc (cos_test): Add a test case for large input
12969 value.
12970 (sin_test): Likewise.
12971 (sincos_test): Likewise.
12972
129732012-03-15 Andreas Jaeger <aj@suse.de>,
12974 Joseph Myers <joseph@codesourcery.com>
12975
12976 [BZ #13658]
0671f479 12977 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12978 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12979 * sysdeps/i386/fpu/branred.c: Likewise.
12980 * sysdeps/i386/fpu/dosincos.c: Likewise.
12981 * sysdeps/i386/fpu/mpa.c: Likewise.
12982 * sysdeps/i386/fpu/s_cos.S: Likewise.
12983 * sysdeps/i386/fpu/s_sin.S: Likewise.
12984 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12985 * sysdeps/i386/fpu/sincos32.c: Likewise.
12986
12987 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12988 Define.
12989 (libc_feupdateenv_53bit): Define.
12990 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12991 Define.
12992 (libc_feupdateenv_53bit): Define.
12993
12994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12995 53 bit (without extend i386 double precision).
12996
12997 * math/libm-test.inc (sincos_test): Add tests for large input.
12998 (sin): Likewise.
12999 (cos): Likewise.
13000
13001 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13002
9cad04ea
AS
130032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13004
13005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13006
f7062b9a
DM
130072012-03-15 David S. Miller <davem@davemloft.net>
13008
13009 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13010 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13011 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13012 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13025 file.
f7062b9a 13026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13028 file.
f7062b9a 13029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13031 file.
f7062b9a 13032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13034 file.
f7062b9a
DM
13035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13036 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13037 fmin/fmax sysdep routines.
13038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13039
7bd951ff
DM
130402012-03-14 David S. Miller <davem@davemloft.net>
13041
559398ab
DM
13042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13045 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13049 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13062 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13065 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13071 routines.
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13073 file.
559398ab 13074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13076 file.
559398ab 13077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13079 file.
559398ab 13080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13082 file.
559398ab 13083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13085 file.
559398ab 13086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13088 file.
13089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13090 file.
13091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13092 file.
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13094 file.
13095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13096 New file.
13097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13098 file.
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13100 file.
559398ab 13101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13103 file.
559398ab 13104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13106 file.
559398ab 13107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13109 file.
559398ab 13110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13112 VIS3 routines.
559398ab
DM
13113
13114 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13115 New file.
13116
5a1c1e32
DM
13117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13118
eae47a36
DM
13119 * sysdeps/sparc/configure.in: New file.
13120 * sysdeps/sparc/configure: Generate.
13121 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13122 * configure: Regenerate.
13123 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13124 * config.make.in (have-as-vis3): New.
13125 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13126 available use -Av9d instead of -Av9a.
13127 * sysdeps/sparc/sparc64/Makefile: Likewise.
13128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13130 New file.
13131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13132 file.
13133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13134 New file.
13135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13136 file.
eae47a36
DM
13137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13141 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13142
c0c83bc8
DM
13143 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13144 fzeros/fnegs to load 0x80000000 into a float register instead of
13145 using the stack.
7bd951ff
DM
13146 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13147
bd951ccb
JM
131482012-03-14 Joseph Myers <joseph@codesourcery.com>
13149
13150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13151 bits/syscall.h.
13152 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13153 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13154 ($(inst_includedir)/bits/syscall.h): Remove rule.
13155 ($(objpfx)bits/syscall.d): Include instead of
13156 $(objpfx)syscall-list.d.
13157 (generated): Change syscall-list.h and syscall-list.d to
13158 bits/syscall.h and bits/syscall.d.
13159
bb4e6db2
RM
131602012-03-14 Roland McGrath <roland@hack.frob.com>
13161
13162 [BZ #13846]
13163 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13164
aa4a2ae1
JM
131652012-03-14 Joseph Myers <joseph@codesourcery.com>
13166
e456826d
JM
13167 [BZ #13841]
13168 * math/s_csqrt.c: Include <float.h>.
13169 (__csqrt): Scale large or subnormal inputs.
13170 * math/s_csqrtf.c: Likewise.
13171 * math/s_csqrtl.c: Likewise.
13172 * math/libm-test.inc (csqrt_test): Add more tests.
13173 * sysdeps/i386/fpu/libm-test-ulps: Update.
13174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13175
aa4a2ae1
JM
13176 [BZ #13840]
13177 * math/libm-test.inc (hypot_test): Add more tests.
13178
7c10fd35
DM
131792012-03-13 David S. Miller <davem@davemloft.net>
13180
13181 [BZ #13840]
13182 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13183 double-precision for the calculation instead of scaling.
13184
f453b98b
JM
131852012-03-13 Joseph Myers <joseph@codesourcery.com>
13186
13187 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13188 manipulate bits before adding and subtracting TWO52[sx].
13189 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13190 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13191 Likewise.
13192 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13193
09a3453f
DM
131942012-03-13 David S. Miller <davem@davemloft.net>
13195
8e59da90
DM
13196 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13197 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13199 rtld-global-offsets.h
13200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13201
2a8ab7f2
DM
13202 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13203 large parameters.
13204
10f62770
DM
13205 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13206
5f0bdb18
DM
13207 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13208 'err' in the ifdef scope in which it is actually used.
13209
09a3453f
DM
13210 * nss/nss_db/db-init.c: Include string.h
13211
b4b2eb5e
DM
132122012-03-12 David S. Miller <davem@davemloft.net>
13213
98bb2f1c
DM
13214 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13215 masking out of the most significant byte of random value used.
13216 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13217 Fix coding style in previous change.
13218
b4b2eb5e
DM
13219 * sysdeps/unix/sysv/linux/kernel-features.h
13220 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13221 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13222 expression.
13223 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13224 later.
13225
6e226b09
DM
132262012-03-11 David S. Miller <davem@davemloft.net>
13227
a1bcbd40
DM
13228 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13229 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13230 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13231 for 'resultvar' otherwise things get truncated on 64-bit.
13232
cb9d6174
DM
13233 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13234 Fix masking out of the most significant byte of random value used.
13235
6e226b09
DM
13236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13237
058c132d
AS
132382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13239
13240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13241
2d2cd515
DM
132422012-03-09 David S. Miller <davem@davemloft.net>
13243
13244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13245 variables with appropriate CPP guards.
13246 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13247 frame pointer, not the stack pointer. Correct layout comments. Fix test
13248 on resulting framesize and the management of the outregs buffer for pltexit.
13249 Preserve floating point return values across _dl_call_pltexit call.
13250 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13251 framesize and the management of the outregs buffer for pltexit.
13252 Preserve floating point return values across _dl_call_pltexit
13253 call.
13254 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13255 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13256 (print_exit): Fix format string for return register value.
13257
9a07f9d0
JM
132582012-03-10 Joseph Myers <joseph@codesourcery.com>
13259
13260 * sunrpc/Makefile (others): Add rpcgen.
13261 ($(objpfx)rpcgen): Remove special build rule and dependency on
13262 libc.
13263 * sunrpc/rpcgen.c: New file.
13264
547b5e30
PE
132652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13266
c524201a
PE
13267 [BZ #13673]
13268 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13269 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13270 * sysdeps/i386/crti.S: Likewise.
13271 * sysdeps/i386/crtn.S: Likewise.
13272 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13273 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13274 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13275 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13276 * sysdeps/sh/crti.S: Likewise.
13277 * sysdeps/sh/crtn.S: Likewise.
13278 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13279
7b6235f2
PE
13280 [BZ #13673]
13281 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13282 with URL.
13283 * locale/programs/locfile-kw.gperf: Likewise.
13284 * locale/programs/charmap-kw.h: Regenerated.
13285 * locale/programs/locfile-kw.h: Likewise.
13286
547b5e30
PE
13287 [BZ #13673]
13288 * intl/plural.y: Replace FSF snail mail address with URL.
13289 * intl/plural.c: Regenerated.
13290
5f0a5dae
RH
132912012-03-09 Richard Henderson <rth@twiddle.net>
13292
13293 * include/math_private.h: Remove file.
13294 * math/math_private.h: Move file ...
13295 * sysdeps/generic/math_private.h: ... here.
13296
b8c03620
RH
13297 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13298 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13299 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13300
4e234f5d 13301 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13302 and <math_private.h>.
13303 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13304 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13305 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13306 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13307 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13383 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13384 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13385 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13386 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13390 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13391 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13392 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13393 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13394 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13395 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13396 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13398 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13400 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13401 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13403 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13404 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13405 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13406 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13407 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13408 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13409 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13410 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13411 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13413 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13414 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13415 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13416 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13418 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13419 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13420 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13421 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13422 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13423 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13426 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13427 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13430 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13431 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13432 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13433 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13434 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13435 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13436 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13437 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13438 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13439 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13440 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13441 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13442 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13443 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13444 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13445 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13446 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13447 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13448 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13449 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13450 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13451 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13452 * sysdeps/ieee754/k_standard.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13556 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13560 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13561 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13563 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13568 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13572 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13573 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13580 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13589 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13590 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13591 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13601 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13602 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13603 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13605 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13606 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13607 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13608 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13609 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13610 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13611 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13612 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13613 * sysdeps/ieee754/s_lib_version.c: Likewise.
13614 * sysdeps/ieee754/s_matherr.c: Likewise.
13615 * sysdeps/ieee754/s_signgam.c: Likewise.
13616 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13617 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13618 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13619 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13620 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13621 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13622 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13623 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13624 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13625 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13626 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13627 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13628 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13629 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13630 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13631 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13632 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13633 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13634 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13636 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13637
1991fa03
JM
136382012-03-09 Joseph Myers <joseph@codesourcery.com>
13639
13640 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13641 * sunrpc/rpc_main.c: Likewise.
13642 * sunrpc/rpc_svcout.c: Likewise.
13643
60d6f5a6
DM
136442012-03-09 David S. Miller <davem@davemloft.net>
13645
13646 * include/math_private.h: New file.
13647
4962050e
JM
136482012-03-09 Joseph Myers <joseph@codesourcery.com>
13649
02a6f887
JM
13650 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13651 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13652 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13653 from <bits/socket_type.h>.
13654 (enum __socket_type): Don't define here.
13655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13657 bits/socket_type.h.
13658
c6e013c1
JM
13659 [BZ #13566]
13660 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13661 checking __USE_GNU.
13662
4962050e
JM
13663 * Makerules ($(inst_includedir)/%.h): New rule.
13664 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13665 (install-others): Remove variable setting.
13666 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13667
38842f45
RH
136682012-03-08 Richard Henderson <rth@twiddle.net>
13669
67bb6da6
RH
13670 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13671 from macro to inline function; merge with the
13672 !__LIBC_INTERNAL_MATH_INLINES version.
13673 (__ieee754_sqrtf): Likewise.
13674
15194b4b
RH
13675 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13676 to inline function.
13677 (__rintf, __floor, __floorf): Likewise.
13678
64e21ede
RH
13679 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13680 macro to inline function.
13681 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13682
38842f45
RH
13683 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13684 not <math/math_private.h>.
13685
c64bf5fe
DM
136862012-03-08 David S. Miller <davem@davemloft.net>
13687
13688 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13689 copyright year.
13690 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13691
82d86f28
TS
136922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13693
13694 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13695 normalization.
13696 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13697 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13698
aea5d727
UD
136992012-03-08 Ulrich Drepper <drepper@gmail.com>
13700
13701 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13702 be defined individually, they must be defined as a block. Define
13703 S for printing a string instead of hidint the different by using a
13704 macro for adding the 'l'.
13705 * stdio-common/tst-fphex-wide.c: Adjust.
13706
70bca0a3
MP
137072012-03-07 Marek Polacek <polacek@redhat.com>
13708
13709 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13710
65b81130
MP
137112012-03-08 Marek Polacek <polacek@redhat.com>
13712
13713 [BZ #13806]
13714 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13715 * stdio-common/tst-fphex.c: Define a few macros to make the
13716 test reusable. Use them.
13717 * stdio-common/tst-fphex-wide.c: New file.
13718
07037eeb
JM
137192012-03-08 Joseph Myers <joseph@codesourcery.com>
13720
a7a93d50
JM
13721 [BZ #6911]
13722 * manual/macros.texi (gnusystems): New macro.
13723 (nongnusystems): Likewise.
13724 (gnulinuxhurdsystems): Likewise.
13725 (gnuhurdsystems): Likewise..
13726 (gnulinuxsystems): Likewise.
13727 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13728 variants of the GNU system, not "GNU system".
13729 * manual/conf.texi: Likewise.
13730 * manual/errno.texi: Likewise. Update example of errno macro
13731 expansion.
13732 * manual/filesys.texi: Likewise.
13733 (getumask): Document as specific to GNU/Hurd.
13734 * manual/install.texi: Likewise. Reword some references to
13735 GNU/Linux.
13736 * manual/intro.texi: Likewise.
13737 * manual/io.texi: Likewise.
13738 (File Name Portability): Detail which constraints are inapplicable
13739 to all GNU systems and which are only inapplicable to GNU/Hurd.
13740 * manual/job.texi: Likewise.
13741 * manual/llio.texi: Likewise.
13742 (O_NOCTTY): Document as present on GNU/Linux.
13743 * manual/maint.texi: Likewise.
13744 * manual/memory.texi: Likewise.
13745 * manual/pattern.texi: Likewise.
13746 * manual/pipe.texi: Likewise.
13747 * manual/process.texi: Likewise.
13748 * manual/resource.texi: Likewise.
13749 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13750 child on GNU/Hurd.
13751 * manual/setjmp.texi: Likewise.
13752 * manual/signal.texi: Likewise.
13753 * manual/startup.texi: Likewise.
13754 * manual/stdio.texi: Likewise.
13755 * manual/terminal.texi: Likewise.
13756 (ONLCR): Document as POSIX.
13757 (OXTABS): Document availability on GNU/Linux as XTABS.
13758 (ONOEOT): Document availability separately from other bits.
13759 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13760 * manual/time.texi: Likewise.
13761 * manual/users.texi: Likewise.
13762 * INSTALL: Regenerated.
13763 * sysdeps/gnu/errlist.c: Regenerated.
13764
07037eeb
JM
13765 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13766 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13767 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13768 puts.
13769 * configure: Regenerated.
13770
d1d3431a
JM
137712012-03-07 Joseph Myers <joseph@codesourcery.com>
13772
af6a1e37
JM
13773 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13774 default includes instead of AC_HEADER_CHECK.
13775 * sysdeps/i386/configure: Regenerated.
13776
d1d3431a
JM
13777 [BZ #10716]
13778 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13779 * math/s_cacoshf.c (__cacoshf): Likewise.
13780 * math/s_cacoshl.c (__cacoshl): Likewise.
13781 * math/s_casinh.c (__casinh): Set signs of result from argument.
13782 * math/s_casinhf.c (__casinhf): Likewise.
13783 * math/s_casinhl.c (__casinhl): Likewise.
13784 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13785 (casinh_test): Add more tests.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13788
482ff4da
UD
137892012-03-07 Ulrich Drepper <drepper@gmail.com>
13790
872fda05
UD
13791 * po/zh_TW.po: Update from translation team.
13792
a4300c7a
UD
13793 * login/Makefile (distribute): Remove variable.
13794 * catgets/Makefile: Likewise.
13795 * mach/Makefile: Likewise.
13796 * malloc/Makefile: Likewise.
13797 * misc/Makefile: Likewise.
13798 * iconv/Makefile: Likewise.
13799 * nscd/Makefile: Likewise.
13800 * hurd/Makefile: Likewise.
13801 * manual/Makefile: Likewise.
13802 * locale/Makefile: Likewise.
13803 * intl/Makefile: Likewise.
13804 * conform/Makefile: Likewise.
13805 * nss/Makefile: Likewise.
13806 * time/Makefile: Likewise.
13807 * soft-fp/Makefile: Likewise.
13808 * dirent/Makefile: Likewise.
13809 * gmon/Makefile: Likewise.
13810 * po/Makefile: Likewise.
13811 * rt/Makefile: Likewise.
13812 * socket/Makefile: Likewise.
13813 * math/Makefile: Likewise.
13814 * signal/Makefile: Likewise.
13815 * debug/Makefile: Likewise.
13816 * elf/Makefile: Likewise.
13817 * timezone/Makefile: Likewise.
13818 * stdlib/Makefile: Likewise.
13819 * iconvdata/Makefile: Likewise.
13820 * sunrpc/Makefile: Likewise.
13821 * io/Makefile: Likewise.
13822 * argp/Makefile: Likewise.
13823 * inet/Makefile: Likewise.
13824 * hesiod/Makefile: Likewise.
13825 * grp/Makefile: Likewise.
13826 * csu/Makefile: Likewise.
13827 * wctype/Makefile: Likewise.
13828 * crypt/Makefile: Likewise.
13829 * libio/Makefile: Likewise.
13830 * string/Makefile: Likewise.
13831 * nis/Makefile: Likewise.
13832 * resolv/Makefile: Likewise.
13833 * stdio-common/Makefile: Likewise.
13834 * wcsmbs/Makefile: Likewise.
13835 * dlfcn/Makefile: Likewise.
13836 * posix/Makefile: Likewise.
13837
3b7c4e74 13838 [BZ #6959]
482ff4da
UD
13839 * timezone/Makefile: Don't install timezone files, just the programs
13840 and scripts.
13841
f72ed77d
UD
138422012-03-06 Ulrich Drepper <drepper@gmail.com>
13843
a000466f
UD
13844 * nss/databases.def: Add missing gshadow entry.
13845
f72ed77d
UD
13846 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13847
a53b7a4e
MP
138482012-03-06 Marek Polacek <polacek@redhat.com>
13849
13850 [BZ #13726]
13851 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13852 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13853 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13854 * stdio-common/tst-long-dbl-fphex.c: New file.
13855
e9258400
DM
138562012-03-06 David S. Miller <davem@davemloft.net>
13857
13858 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13859 (set_obp_int): New function.
13860 (get_obp_int): New function.
13861 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13862 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13863 Avoid unused variable warnings on 'val' and use builtin_expect.
13864 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13865 __builtin_expect.
e9258400
DM
13866 (INLINE_CLONE_SYSCALL): Likewise.
13867
3bd2c723
DM
138682012-03-05 David S. Miller <davem@davemloft.net>
13869
13870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13871
bbb78d03
AS
138722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13873
884c5db4
AS
13874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13875
bbb78d03
AS
13876 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13877 only for |x| >= 40.
13878 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13879
1c9f702a 138802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13881
13882 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13883 Replace gettimeofday with __vdso_gettimeofday.
13884
7be16f82
RM
13885 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13886 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13887 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13888
13889 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13890 time with __vdso_time.
13891
ed58a00f
JM
138922012-03-05 Joseph Myers <joseph@codesourcery.com>
13893
13894 * manual/lang.texi (size_t): Note types to which size_t may be
13895 equivalent with the GNU C Library, but do not describe when
13896 differences between them are significant.
13897
30ee4ced
AJ
138982012-03-05 Andreas Jaeger <aj@suse.de>
13899
13900 * sysdeps/i386/fpu/libm-test-ulps: Update.
13901
b7cd39e8
JM
139022012-03-05 Joseph Myers <joseph@codesourcery.com>
13903
13904 [BZ #3976]
13905 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13906 (__ieee754_pow): Save and restore rounding mode and use
13907 round-to-nearest for main computations.
13908 * math/libm-test.inc (pow_test_tonearest): New function.
13909 (pow_test_towardzero): Likewise.
13910 (pow_test_downward): Likewise.
13911 (pow_test_upward): Likewise.
13912 (main): Call the new functions.
13913 * sysdeps/i386/fpu/libm-test-ulps: Update.
13914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13915
13916 [BZ #3976]
13917 * math/libm-test.inc (cosh_test_tonearest): New function.
13918 (cosh_test_towardzero): Likewise.
13919 (cosh_test_downward): Likewise.
13920 (cosh_test_upward): Likewise.
13921 (sinh_test_tonearest): Likewise.
13922 (sinh_test_towardzero): Likewise.
13923 (sinh_test_downward): Likewise.
13924 (sinh_test_upward): Likewise.
13925 (main): Call the new functions.
13926 * sysdeps/i386/fpu/libm-test-ulps: Update.
13927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13928
6c6a98c9
TV
139292012-03-05 Tom de Vries <tom@codesourcery.com>
13930
13931 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13932 default stack guard is set in last bytes.
13933 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13934
21bb2d2e 139352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13936
21bb2d2e 13937 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13938
21bb2d2e
AJ
13939 [BZ #13656]
13940 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13941 possibly allocate from heap instead of stack.
13942 * stdio-common/bug-vfprintf-nargs.c: New file.
13943 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13944
c6922934
AS
139452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13946
13947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13948
bc957d53
MP
139492012-03-03 Marek Polacek <polacek@redhat.com>
13950
13951 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13952 * math/math_private.h: Likewise.
13953 * stdlib/tst-strtod.c: Likewise.
13954 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13955 * sysdeps/x86_64/bits/atomic.h: Likewise.
13956
6358490d
DM
139572012-03-02 David S. Miller <davem@davemloft.net>
13958
13959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13963 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13964 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13965 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13966 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13967
01ae168d
RM
139682012-03-02 Roland McGrath <roland@hack.frob.com>
13969
d9a17c07
RM
13970 [BZ #13792]
13971 * manual/examples/README: New file, says the example source files
13972 can be used under GPL>=2.
13973 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13974 line containing just "*/".
13975 * manual/examples/add.c: Add copyright header (GPL>=2).
13976 * manual/examples/argp-ex1.c: Likewise.
13977 * manual/examples/argp-ex2.c: Likewise.
13978 * manual/examples/argp-ex3.c: Likewise.
13979 * manual/examples/argp-ex4.c: Likewise.
13980 * manual/examples/atexit.c: Likewise.
13981 * manual/examples/db.c: Likewise.
13982 * manual/examples/dir.c: Likewise.
13983 * manual/examples/dir2.c: Likewise.
13984 * manual/examples/execinfo.c: Likewise.
13985 * manual/examples/filecli.c: Likewise.
13986 * manual/examples/filesrv.c: Likewise.
13987 * manual/examples/fmtmsgexpl.c: Likewise.
13988 * manual/examples/genpass.c: Likewise.
13989 * manual/examples/inetcli.c: Likewise.
13990 * manual/examples/inetsrv.c: Likewise.
13991 * manual/examples/isockad.c: Likewise.
13992 * manual/examples/longopt.c: Likewise.
13993 * manual/examples/memopen.c: Likewise.
13994 * manual/examples/memstrm.c: Likewise.
13995 * manual/examples/mkfsock.c: Likewise.
13996 * manual/examples/mkisock.c: Likewise.
13997 * manual/examples/mygetpass.c: Likewise.
13998 * manual/examples/pipe.c: Likewise.
13999 * manual/examples/popen.c: Likewise.
14000 * manual/examples/rprintf.c: Likewise.
14001 * manual/examples/search.c: Likewise.
14002 * manual/examples/select.c: Likewise.
14003 * manual/examples/setjmp.c: Likewise.
14004 * manual/examples/sigh1.c: Likewise.
14005 * manual/examples/sigusr.c: Likewise.
14006 * manual/examples/stpcpy.c: Likewise.
14007 * manual/examples/strdupa.c: Likewise.
14008 * manual/examples/strftim.c: Likewise.
14009 * manual/examples/strncat.c: Likewise.
14010 * manual/examples/subopt.c: Likewise.
14011 * manual/examples/swapcontext.c: Likewise.
14012 * manual/examples/termios.c: Likewise.
14013 * manual/examples/testopt.c: Likewise.
14014 * manual/examples/testpass.c: Likewise.
14015 * manual/examples/timeval_subtract.c: Likewise.
14016
01ae168d
RM
14017 [BZ #13792]
14018 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14019 function to ...
14020 * manual/timeval_subtract.c.texi: ... here, new file.
14021
49efa33d
DM
140222012-03-02 David S. Miller <davem@davemloft.net>
14023
14024 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14025
28afd92d
JM
140262012-03-02 Joseph Myers <joseph@codesourcery.com>
14027
804360ed
JM
14028 [BZ #3976]
14029 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14030 (__sin): Save and restore rounding mode and use round-to-nearest
14031 for all computations.
14032 (__cos): Save and restore rounding mode and use round-to-nearest
14033 for all computations.
14034 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14035 <fenv.h>.
14036 (tan): Save and restore rounding mode and use round-to-nearest for
14037 all computations.
14038 * math/libm-test.inc (cos_test_tonearest): New function.
14039 (cos_test_towardzero): Likewise.
14040 (cos_test_downward): Likewise.
14041 (cos_test_upward): Likewise.
14042 (sin_test_tonearest): Likewise.
14043 (sin_test_towardzero): Likewise.
14044 (sin_test_downward): Likewise.
14045 (sin_test_upward): Likewise.
14046 (tan_test_tonearest): Likewise.
14047 (tan_test_towardzero): Likewise.
14048 (tan_test_downward): Likewise.
14049 (tan_test_upward): Likewise.
14050 (main): Call the new functions.
14051 * sysdeps/i386/fpu/libm-test-ulps: Update.
14052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14053
a6d06d7b
JM
14054 [BZ #10135]
14055 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14056 small n, then large n, before computing and testing k+n.
14057 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14059 Likewise.
14060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14061 Likewise.
14062 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14063 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14066 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14067 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14070 * math/libm-test.inc (scalbn_test): Add more tests.
14071 (scalbln_test): Likewise.
14072
07e12bb3
JM
14073 * manual/filesys.texi (mode_t): Describe constraints on size and
14074 signedness, not exact equivalence to a particular type.
14075 (ino_t): Likewise.
14076 (ino64_t): Likewise.
14077 (dev_t): Likewise.
14078 (nlink_t): Likewise.
14079 (blkcnt_t): Likewise.
14080 (blkcnt64_t): Likewise.
14081 * manual/llio.texi (off_t): Likewise.
14082
28afd92d
JM
14083 [BZ #3976]
14084 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14085 (__ieee754_exp): Save and restore rounding mode and use
14086 round-to-nearest for all computations.
14087 * math/libm-test.inc (exp_test_tonearest): New function.
14088 (exp_test_towardzero): Likewise.
14089 (exp_test_downward): Likewise.
14090 (exp_test_upward): Likewise.
14091 (main): Call the new functions.
14092 * sysdeps/i386/fpu/libm-test-ulps: Update.
14093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14094
b1eeb65d
CD
140952012-03-01 Chris Demetriou <cgd@google.com>
14096
14097 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14098 have predictable order.
14099
53362a4b
DM
141002012-03-01 David S. Miller <davem@davemloft.net>
14101
3c969083
DM
14102 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14103
759707de
DM
14104 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14105 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14106 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14107 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14108
dfdb8ff2
DM
14109 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14110 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14111 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14113 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14114 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14115 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14116 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14117 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14118
ead89f96
DM
14119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14120
7f66bd07
DM
14121 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14122 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14123 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14124
53362a4b
DM
14125 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14126 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14127 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14128 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14129 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14130 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14131 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14132 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14133 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14134 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14135 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14136 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14137 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14141 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14142 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14143 * sysdeps/sparc/elf/configure: Regenerated.
14144
7b1902cb
JM
141452012-03-01 Joseph Myers <joseph@codesourcery.com>
14146
bec039bc
JM
14147 * configure.in (AS, LD): Require binutils 2.20 or later.
14148 * configure: Regenerated.
14149 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14150 as required minimum version.
14151 * INSTALL: Regenerated.
14152
7b1902cb
JM
14153 [BZ #2541]
14154 [BZ #4108]
14155 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14156 before squaring exponent.
14157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14158 bottom long double and 27 bits of top long double before squaring
14159 exponent.
14160 * math/libm-test.inc (erfc_test): Add more tests.
14161 * sysdeps/i386/fpu/libm-test-ulps: Update.
14162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14164
f775c276
KT
141652012-03-01 Kai Tietz <ktietz@redhat.com>
14166
14167 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14168 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14169 containing bit-fields.
14170 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14171 * soft-fp/single.h (_FP_UNION_S): Likewise.
14172 * soft-fp/double.h (_FP_UNION_D): Likewise.
14173
5b8a4d4a
JM
141742012-02-29 Joseph Myers <joseph@codesourcery.com>
14175
0bab47b6
JM
14176 [BZ #13786]
14177 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14178 not include ../strcmp.S.
14179 [USE_AS_STRNCASECMP_L]: Likewise.
14180 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14181 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14182 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14183 (__strncasecmp_l_ia32): Define as alias to
14184 __strncasecmp_l_nonascii.
14185
0fcad3e2
JM
14186 [BZ #5794]
14187 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14188 * sysdeps/i386/fpu/libm-test-ulps: Update.
14189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14190
5b8a4d4a
JM
14191 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193
8fdceb2e
JL
141942012-02-29 Jeff Law <law@redhat.com>
14195
14196 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14197 out of bounds read.
14198
1f393a11
MP
141992012-02-29 Marek Polacek <polacek@redhat.com>
14200
14201 [BZ #13706]
14202 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14203 * elf/Makefile: Add rules to run tst-unused-dep.out.
14204
8847f037
DM
142052012-02-28 David S. Miller <davem@davemloft.net>
14206
14207 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14208 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14209 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14210 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14211 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14212 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14213
169d7f11
JM
142142012-02-29 Joseph Myers <joseph@codesourcery.com>
14215
14216 * math/libm-test.inc (llround_test): Move one test from
14217 lround_test. Use TEST_f_L in moved test.
14218 (lround_test): Move misplaced test to llround_test. Add testcase
14219 from bug 2561.
14220
39adf059
UD
142212012-02-28 Ulrich Drepper <drepper@gmail.com>
14222
14223 * sysdeps/x86_64/fpu/e_expf.S: New file.
14224 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14225
71b5d1c5
SB
142262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14227
14228 [BZ #13637]
14229 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14230 of remain_len that may cause incomplete multi-byte character and
14231 false match.
14232 * posix/bug-regex33.c: New file.
14233 * posix/Makefile (tests): Add bug-regex33.
14234
1f77f049
JM
142352012-02-28 Joseph Myers <joseph@codesourcery.com>
14236
14237 * manual/macros.texi: New file.
14238 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14239 * manual/libc.texinfo: Include macros.texi.
14240 * manual/creatute.texi: Likewise.
14241 * manual/install.texi: Likewise.
14242 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14243 @glibcadj{} in references to the GNU C Library.
14244 * manual/charset.texi: Likewise.
14245 * manual/conf.texi: Likewise.
14246 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14247 when not using those macros.
14248 * manual/creature.texi: Likewise.
14249 * manual/crypt.texi: Likewise.
14250 * manual/errno.texi: Likewise.
14251 * manual/filesys.texi: Likewise.
14252 * manual/header.texi: Likewise.
14253 * manual/install.texi: Likewise.
14254 * manual/intro.texi: Likewise.
14255 * manual/io.texi: Likewise.
14256 * manual/job.texi: Likewise.
14257 * manual/lang.texi: Likewise.
14258 * manual/libc.texiinfo: Likewise.
14259 * manual/llio.texi: Likewise.
14260 * manual/locale.texi: Likewise.
14261 * manual/maint.texi: Likewise.
14262 * manual/math.texi: Likewise.
14263 * manual/memory.texi: Likewise.
14264 * manual/message.texi: Likewise.
14265 * manual/nss.texi: Likewise.
14266 * manual/pattern.texi: Likewise.
14267 * manual/process.texi: Likewise.
14268 * manual/resource.texi: Likewise.
14269 * manual/search.texi: Likewise.
14270 * manual/setjmp.texi: Likewise.
14271 * manual/signal.texi: Likewise.
14272 * manual/socket.texi: Likewise.
14273 * manual/startup.texi: Likewise.
14274 * manual/stdio.texi: Likewise.
14275 * manual/string.texi: Likewise.
14276 * manual/sysinfo.texi: Likewise.
14277 * manual/syslog.texi: Likewise.
14278 * manual/terminal.texi: Likewise.
14279 * manual/time.texi: Likewise.
14280 * manual/users.texi: Likewise.
14281 * INSTALL: Regenerated.
14282 * NOTES: Regenerated.
d40c5d54 14283 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14284
450bf206
AS
142852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14286
14287 * include/dirent.h: Include <dirstream.h> before
14288 <dirent/dirent.h>.
14289
741a235b
DM
142902012-02-28 David S. Miller <davem@davemloft.net>
14291
14292 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14293 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14294 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14295 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14296
d6b5aa58
DM
142972012-02-27 David S. Miller <davem@davemloft.net>
14298
1aff59a3
DM
14299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14301 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14302 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14303
d6b5aa58
DM
14304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14305 frame pointer instead of stack pointer relative arg slot.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14307 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14308 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14309
433f48bf
CD
143102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14311
14312 [BZ #3992]
14313 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14314
d674b76d
DM
143152012-02-27 David S. Miller <davem@davemloft.net>
14316
14317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14323 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14324 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14325
0e7727f7
JM
143262012-02-27 Joseph Myers <joseph@codesourcery.com>
14327
14328 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14329 later. Allow versions 5-9.
43be4ca2 14330 * configure: Regenerated.
0e7727f7
JM
14331 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14332 required minimum version and 4.6 as recommended version. Do not
14333 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14334 * INSTALL: Regenerated.
0e7727f7 14335
a78bc654
DM
143362012-02-27 David S. Miller <davem@davemloft.net>
14337
428d5830
DM
14338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14342 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14343 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14344 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14345 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14346
a78bc654
DM
14347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14348 manipulate bits before adding and subtracting TWO112[sx].
14349 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14350
4579f81c
RM
143512012-02-27 Roland McGrath <roland@hack.frob.com>
14352
36c8acb4
RM
14353 [BZ #13775]
14354 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14355 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14356 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14357 being in POSIX, because they are in 1003.1-2008.
14358
84ad622b
RM
14359 * rt/tst-aio.c: Include <fcntl.h>.
14360 * rt/tst-aio7.c: Likewise.
14361 * rt/tst-aio64.c: Likewise.
14362
4579f81c
RM
14363 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14364
abd923db
JM
143652012-02-27 Joseph Myers <joseph@codesourcery.com>
14366
14367 * manual/install.texi (--with-headers): Describe headers as
14368 interface headers, not private headers.
14369 (Specific advice for GNU/Linux systems): Describe use of headers
14370 from "make headers_install", not private headers from older
14371 kernels.
43be4ca2 14372 * INSTALL: Regenerated.
abd923db
JM
14373 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14374 Change to 2.6.19.
14375 * sysdeps/unix/sysv/linux/configure: Regenerated.
14376
6664049b
JM
14377 * manual/llio.texi (fclean): Remove documentation.
14378
bb8b6697
JM
14379 * manual/Makefile (libc-texi-generated): New variable. Include
14380 version.texi.
14381 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14382 $(libc-texi-generated), not duplicated list of files.
14383 (version.texi, stamp-version): New rules.
14384 (realclean): Remove $(libc-texi-generated), not individual files
14385 from that list. Do not remove dir-add.texinfo.
14386 * manual/libc.texinfo: Comment out uses of edition numbers and
14387 references to printed manual. Remove last-updated dates.
14388 (EDITION): Comment out.
14389 (ISBN): Likewise.
14390 (VERSION, UPDATED): Remove.
14391 (version.texi): Include.
14392
12e5c3b9
AS
143932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14394
14395 * sysdeps/posix/spawni.c: Include <signal.h>.
14396 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14397 * sysdeps/pthread/aio_fsync.c: Likewise.
14398
4efeffc1 143992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14400
ba63ba08
UD
14401 * conform/Makefile (tests): Run only when not cross-compiling and
14402 when fast-check is not defined.
14403
d94a4670
UD
14404 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14405 * conform/data/limits.h-data: Fixes for POSIX2008.
14406 * conform/run-conformtest.sh: Run all tests.
14407 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14408 headers.
14409 * include/bits/dlfcn.h: Likewise.
14410 * include/langinfo.h: Likewise.
14411 * include/monetary.h: Likewise.
14412 * include/sys/poll.h: Likewise.
14413
14414 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14415 for __USE_GNU.
14416 * posix/spawn.h: Define __need_sigset_t.
14417 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14418 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14419 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14420 to get sigevent_t only.
14421 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14422 only for __USE_GNU.
14423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14424 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14425 process_vm_writev only for __USE_GNU.
14426 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14427
14428 * conform/Makefile: For now ignore errors from run-conformtest.
14429 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14430 POSIX to avoid namespace pollution. Don't prepend headers.
14431 * conform/data/aio.h-data: Fixes for POSIX testing.
14432 * conform/data/fcntl.h-data: Likewise.
14433 * conform/data/glob.h-data: Likewise.
14434 * conform/data/grp.h-data: Likewise.
14435 * conform/data/pthread.h-data: Likewise.
14436 * conform/data/pwd.h-data: Likewise.
14437 * conform/data/signal.h-data: Likewise.
14438 * conform/data/spawn.h-data: Likewise.
14439 * conform/data/stdio.h-data: Likewise.
14440 * conform/data/stdlib.h-data: Likewise.
14441 * conform/data/stropts.h-data: Likewise.
14442 * conform/data/sys/mman.h-data: Likewise.
14443 * conform/data/sys/stat.h-data: Likewise.
14444 * conform/data/sys/types.h-data: Likewise.
14445 * conform/data/sys/wait.h-data: Likewise.
14446 * conform/data/time.h-data: Likewise.
14447 * conform/data/unistd.h-data: Likewise.
14448 * conform/data/utime.h-data: Likewise.
14449
14450 * io/sys/stat.h: fchmod was always in POSIX.
14451 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14452 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14453 * rt/aio.h: Define __need_timespec before including <time.h>.
14454 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14455 struct. Add forward declaration of pthread_attr_t and use it in
14456 sigevent.
14457 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14458 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14459 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14460 always remove CLK_TCK definition.
14461
c20105c3
AS
144622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14463
14464 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14465
7a270350
UD
144662012-02-25 Ulrich Drepper <drepper@gmail.com>
14467
31341567
UD
14468 * conform/run-conformtest.sh: New file.
14469 * conform/Makefile: Run run-conformtest for tests.
14470 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14471 support.
14472
14473 * conform/data/uchar.h-data: New file.
14474 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14475 * conform/data/arpa/inet.h-data: Likewise.
14476 * conform/data/assert.h-data: Likewise.
14477 * conform/data/complex.h-data: Likewise.
14478 * conform/data/cpio.h-data: Likewise.
14479 * conform/data/ctype.h-data: Likewise.
14480 * conform/data/dirent.h-data: Likewise.
14481 * conform/data/dlfcn.h-data: Likewise.
14482 * conform/data/errno.h-data: Likewise.
14483 * conform/data/fcntl.h-data: Likewise.
14484 * conform/data/float.h-data: Likewise.
14485 * conform/data/fmtmsg.h-data: Likewise.
14486 * conform/data/fnmatch.h-data: Likewise.
14487 * conform/data/ftw.h-data: Likewise.
14488 * conform/data/glob.h-data: Likewise.
14489 * conform/data/grp.h-data: Likewise.
14490 * conform/data/iconv.h-data: Likewise.
14491 * conform/data/inttypes.h-data: Likewise.
14492 * conform/data/langinfo.h-data: Likewise.
14493 * conform/data/libgen.h-data: Likewise.
14494 * conform/data/limits.h-data: Likewise.
14495 * conform/data/locale.h-data: Likewise.
14496 * conform/data/math.h-data: Likewise.
14497 * conform/data/monetary.h-data: Likewise.
14498 * conform/data/mqueue.h-data: Likewise.
14499 * conform/data/ndbm.h-data: Likewise.
14500 * conform/data/net/if.h-data: Likewise.
14501 * conform/data/netdb.h-data: Likewise.
14502 * conform/data/netinet/in.h-data: Likewise.
14503 * conform/data/nl_types.h-data: Likewise.
14504 * conform/data/poll.h-data: Likewise.
14505 * conform/data/pthread.h-data: Likewise.
14506 * conform/data/pwd.h-data: Likewise.
14507 * conform/data/regex.h-data: Likewise.
14508 * conform/data/sched.h-data: Likewise.
14509 * conform/data/search.h-data: Likewise.
14510 * conform/data/semaphore.h-data: Likewise.
14511 * conform/data/setjmp.h-data: Likewise.
14512 * conform/data/signal.h-data: Likewise.
14513 * conform/data/spawn.h-data: Likewise.
14514 * conform/data/stdarg.h-data: Likewise.
14515 * conform/data/stdio.h-data: Likewise.
14516 * conform/data/stdlib.h-data: Likewise.
14517 * conform/data/string.h-data: Likewise.
14518 * conform/data/strings.h-data: Likewise.
14519 * conform/data/stropts.h-data: Likewise.
14520 * conform/data/sys/ipc.h-data: Likewise.
14521 * conform/data/sys/mman.h-data: Likewise.
14522 * conform/data/sys/msg.h-data: Likewise.
14523 * conform/data/sys/resource.h-data: Likewise.
14524 * conform/data/sys/select.h-data: Likewise.
14525 * conform/data/sys/sem.h-data: Likewise.
14526 * conform/data/sys/shm.h-data: Likewise.
14527 * conform/data/sys/socket.h-data: Likewise.
14528 * conform/data/sys/stat.h-data: Likewise.
14529 * conform/data/sys/statvfs.h-data: Likewise.
14530 * conform/data/sys/time.h-data: Likewise.
14531 * conform/data/sys/timeb.h-data: Likewise.
14532 * conform/data/sys/times.h-data: Likewise.
14533 * conform/data/sys/types.h-data: Likewise.
14534 * conform/data/sys/uio.h-data: Likewise.
14535 * conform/data/sys/un.h-data: Likewise.
14536 * conform/data/sys/utsname.h-data: Likewise.
14537 * conform/data/sys/wait.h-data: Likewise.
14538 * conform/data/syslog.h-data: Likewise.
14539 * conform/data/tar.h-data: Likewise.
14540 * conform/data/termios.h-data: Likewise.
14541 * conform/data/utime.h-data: Likewise.
14542 * conform/data/utmpx.h-data: Likewise.
14543 * conform/data/varargs.h-data: Likewise.
14544 * conform/data/wchar.h-data: Likewise.
14545 * conform/data/wctype.h-data: Likewise.
14546 * conform/data/wordexp.h-data: Likewise.
14547
14548 * include/stropts.h: New file.
14549 * include/uchar.h: New file.
14550 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14551 * include/assert.h: Likewise.
14552 * include/ctype.h: Likewise.
14553 * include/dirent.h: Likewise.
14554 * include/dlfcn.h: Likewise.
14555 * include/fcntl.h: Likewise.
14556 * include/fnmatch.h: Likewise.
14557 * include/glob.h: Likewise.
14558 * include/grp.h: Likewise.
14559 * include/libio.h: Likewise.
14560 * include/locale.h: Likewise.
14561 * include/math.h: Likewise.
14562 * include/net/if.h: Likewise.
14563 * include/netdb.h: Likewise.
14564 * include/netinet/in.h: Likewise.
14565 * include/pthread.h: Likewise.
14566 * include/pwd.h: Likewise.
14567 * include/regex.h: Likewise.
14568 * include/sched.h: Likewise.
14569 * include/search.h: Likewise.
14570 * include/setjmp.h: Likewise.
14571 * include/signal.h: Likewise.
14572 * include/stdio.h: Likewise.
14573 * include/stdlib.h: Likewise.
14574 * include/string.h: Likewise.
14575 * include/sys/cdefs.h: Likewise.
14576 * include/sys/mman.h: Likewise.
14577 * include/sys/msg.h: Likewise.
14578 * include/sys/resource.h: Likewise.
14579 * include/sys/select.h: Likewise.
14580 * include/sys/socket.h: Likewise.
14581 * include/sys/stat.h: Likewise.
14582 * include/sys/statvfs.h: Likewise.
14583 * include/sys/time.h: Likewise.
14584 * include/sys/times.h: Likewise.
14585 * include/sys/uio.h: Likewise.
14586 * include/sys/utsname.h: Likewise.
14587 * include/sys/wait.h: Likewise.
14588 * include/termios.h: Likewise.
14589 * include/time.h: Likewise.
14590 * include/ulimit.h: Likewise.
14591 * include/unistd.h: Likewise.
14592 * include/utime.h: Likewise.
14593 * include/wchar.h: Likewise.
14594 * include/wctype.h: Likewise.
14595 * include/wordexp.h: Likewise.
14596
14597 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14598
7a270350
UD
14599 * time/time.h: TIME_UTC must be a macro.
14600 Make timespec_get available for ISO C11 only as well.
14601
7724defc
UD
146022012-02-24 Ulrich Drepper <drepper@gmail.com>
14603
14604 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14605 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14606
6b1d1d46
JM
146072012-02-24 Joseph Myers <joseph@codesourcery.com>
14608
14609 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14610
0f8bbd69
JM
146112012-02-24 Joseph Myers <joseph@codesourcery.com>
14612
14613 * manual/texinfo.tex: Update to version 2012-01-19.16.
14614
66ab80bc
JM
146152012-02-24 Joseph Myers <joseph@codesourcery.com>
14616
14617 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14618
74981cc5
RM
146192012-02-24 Roland McGrath <roland@hack.frob.com>
14620
ee968201
RM
14621 [BZ #13738]
14622 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14623 * manual/fdl-1.3.texi: New file.
14624 * manual/fdl-1.1.texi: File removed.
14625
74981cc5
RM
14626 [BZ #13738]
14627 * manual/libc.texinfo (FDL_VERSION): New @set.
14628 Use it for mention of FDL in cover text.
14629 (Documentation License): Use it in @include file name.
14630
7bb764bc
JM
146312012-02-22 Joseph Myers <joseph@codesourcery.com>
14632 Roland McGrath <roland@hack.frob.com>
14633
14634 [BZ #5461]
14635 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14636 not LONG_LONG_MAX and LONG_LONG_MIN.
14637 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14638 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14639 name.
14640 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14641
6cbeae47
JM
146422012-02-22 Joseph Myers <joseph@codesourcery.com>
14643
14644 [BZ #2547]
14645 [BZ #11365]
14646 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14647 manipulate bits before adding and subtracting TWO23[sx].
14648 * math/libm-test.inc (nearbyint_test): Add more tests.
14649
fe45ce09
JM
146502012-02-22 Joseph Myers <joseph@codesourcery.com>
14651
14652 [BZ #2548]
14653 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14654 bits before adding and subtracting TWO23[sx].
14655 * math/libm-test.inc (rint_test): Add more tests.
14656 (rint_test_tonearest): Likewise.
14657 (rint_test_towardzero): Likewise.
14658 (rint_test_downward): Likewise.
14659 (rint_test_upward: Likewise.
14660
ff3b3d82
JM
146612012-02-22 Joseph Myers <joseph@codesourcery.com>
14662
14663 [BZ #10110]
14664 * include/stdc-predef.h: New file. Extracted from features.h.
14665 * include/features.h: Include stdc-predef.h.
14666 * Makefile (headers): Add stdc-predef.h.
14667 * CONFORMANCE (Compiler limitations): Update.
14668
ef0aab35
JM
146692012-02-22 Joseph Myers <joseph@codesourcery.com>
14670
14671 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14672
58639409
DM
146732012-02-21 David S. Miller <davem@davemloft.net>
14674
14675 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14676 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14677
c0e70b25
DM
146782012-02-20 David S. Miller <davem@davemloft.net>
14679
14680 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14681 using a normal save/restore sequence, rather than allocating a
14682 dummy stack frame just to store a frame pointer and restore.
14683 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14684
fb06851d
JM
146852012-02-21 Joseph Myers <joseph@codesourcery.com>
14686
14687 * manual/install.texi: Fix stray word in line-wrapped comment.
14688
7a8b71c3
DM
146892012-02-20 David S. Miller <davem@davemloft.net>
14690
d510c123
DM
14691 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14692 both binutils and gcc support GOTDATA.
14693
0722d7c2
DM
14694 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14695 "rd %pc" in the PIC register setup sequences.
14696
3d2b3019
DM
14697 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14698 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14699 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14700 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14701 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14702 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14703 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14704 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14706 (SYSCALL_ERROR_HANDLER): Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14708 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14710 (SYSCALL_ERROR_HANDLER): Likewise.
14711
c80098a9
DM
14712 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14713 (HAVE_GCC_GOTDATA): New.
14714 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14715 relocation support in both binutils and gcc.
14716 * sysdeps/sparc/elf/configure: Regenerate.
14717
3a2545a0
DM
14718 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14719 * sysdeps/sparc/sparc32/elf/configure: Delete.
14720 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14721 * sysdeps/sparc/sparc64/elf/configure: Delete.
14722 * sysdeps/sparc/elf/configure.in: New file.
14723 * sysdeps/sparc/elf/configure: Generate.
14724
7a8b71c3
DM
14725 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14726 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14727 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14728 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14729 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14730
f1e86fca
JM
147312012-02-21 Joseph Myers <joseph@codesourcery.com>
14732
14733 * manual/install.texi: Do not mention specific glibc version
14734 numbers.
14735 * manual/libc.texinfo (VERSION, UPDATED): Update.
14736 (@copying): Use @copyright{} and range of years.
14737
0e7dfaef
JM
147382012-02-21 Joseph Myers <joseph@codesourcery.com>
14739
14740 [BZ #13695]
14741 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14742 [crti.S not in sysdirs] (generated): Do not append.
14743 [crti.S not in sysdirs] (omit-deps): Likewise.
14744 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14745 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14746 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14747 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14748 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14749 Likewise.
14750 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14751 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14752 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14753 * csu/defs.awk: Remove file.
14754 * sysdeps/generic/initfini.c: Likewise.
14755 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14756 variable.
14757 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14758 Likewise.
14759
599af3ca
JM
147602012-02-20 Joseph Myers <joseph@codesourcery.com>
14761
14762 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14763 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14764 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14765 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14767 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14768 <bits/epoll.h>.
14769 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14770 (__EPOLL_PACKED): Define to empty if not defined by
14771 <bits/epoll.h>.
14772 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14773 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14774 bits/epoll.h.
14775
0e499750
JM
147762012-02-20 Joseph Myers <joseph@codesourcery.com>
14777
14778 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14779 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14780 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14781 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14782 <bits/timerfd.h>.
14783 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14785 bits/timerfd.h.
14786
5ad91f6e
JM
147872012-02-20 Joseph Myers <joseph@codesourcery.com>
14788
14789 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14790 in C locale.
14791 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14792 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14793 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14795
06b99b02
AJ
147962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14797
14798 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14799 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14800
7638c0fd
AS
148012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14802
14803 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14804 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14805 defined.
14806 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14807 Likewise.
14808 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14809 entry for 2.16.
14810
92221550
AJ
148112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14812
14813 * math/w_acos.c: Use non-signaling floating-point comparisons.
14814 * math/w_acosf.c: Likewise.
14815 * math/w_acosh.c: Likewise.
14816 * math/w_acoshf.c: Likewise.
14817 * math/w_acoshl.c: Likewise.
14818 * math/w_acosl.c: Likewise.
14819 * math/w_asin.c: Likewise.
14820 * math/w_asinf.c: Likewise.
14821 * math/w_asinl.c: Likewise.
14822 * math/w_atanh.c: Likewise.
14823 * math/w_atanhf.c: Likewise.
14824 * math/w_atanhl.c: Likewise.
14825 * math/w_exp2.c: Likewise.
14826 * math/w_exp2f.c: Likewise.
14827 * math/w_exp2l.c: Likewise.
14828 * math/w_j0.c: Likewise.
14829 * math/w_j0f.c: Likewise.
14830 * math/w_j0l.c: Likewise.
14831 * math/w_j1.c: Likewise.
14832 * math/w_j1f.c: Likewise.
14833 * math/w_j1l.c: Likewise.
14834 * math/w_jn.c: Likewise.
14835 * math/w_jnf.c: Likewise.
14836 * math/w_log.c: Likewise.
14837 * math/w_log10.c: Likewise.
14838 * math/w_log10f.c: Likewise.
14839 * math/w_log10l.c: Likewise.
14840 * math/w_log2.c: Likewise.
14841 * math/w_log2f.c: Likewise.
14842 * math/w_log2l.c: Likewise.
14843 * math/w_logf.c: Likewise.
14844 * math/w_logl.c: Likewise.
14845 * math/w_sqrt.c: Likewise.
14846 * math/w_sqrtf.c: Likewise.
14847 * math/w_sqrtl.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14851 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14852 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14853
ebaf36eb
JM
148542012-02-19 Joseph Myers <joseph@codesourcery.com>
14855
14856 [BZ #9739]
14857 * manual/string.texi (strnlen): Use correct parameter name in
14858 equivalent expression.
14859
71c254a6
JM
148602012-02-19 Joseph Myers <joseph@codesourcery.com>
14861
14862 [BZ #11174]
14863 * manual/users.texi (seteuid): Consistently use neweuid for
14864 argument name.
14865
16d2c631
JM
148662012-02-19 Joseph Myers <joseph@codesourcery.com>
14867
14868 [BZ #13704]
14869 * manual/nss.texi (Services in the NSS configuration): Correct
14870 list of services in example configuration file.
14871
cd837b09
NB
148722012-02-19 Nick Bowler <nbowler@draconx.ca>
14873
14874 [BZ #11322]
14875 * manual/arith.texi: Remove statements about negative zero
14876 behaving identically to zero.
14877
02c4bbad
JM
148782012-02-18 Joseph Myers <joseph@codesourcery.com>
14879
14880 [BZ #5993]
14881 * manual/install.texi: Do not document upgrading from libc5.
14882
366842e7
JM
148832012-02-18 Joseph Myers <joseph@codesourcery.com>
14884
14885 [BZ #4596]
14886 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14887
dd54084d
DM
148882012-02-18 David S. Miller <davem@davemloft.net>
14889
14890 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14891 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14892 %o7 across the call.
14893 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14894 instead.
14895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14896 SETUP_PIC_REG_LEAF.
14897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14898 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14899 * sysdeps/sparc/crtn.S: Likewise.
14900
2bcc53a3
UD
149012012-02-17 Ulrich Drepper <drepper@gmail.com>
14902
14903 * aout/Makefile: Remove.
14904
09c093b5
RK
149052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14906
14907 [BZ #13058]
14908 * manual/examples/argp-ex1.c (main): Format definition in GNU
14909 style.
14910 * manual/examples/argp-ex2.c (main): Likewise.
14911 * manual/examples/argp-ex3.c (main): Likewise.
14912 * manual/examples/argp-ex4.c (main): Likewise.
14913 * manual/examples/longopt.c (main): Use new-style prototype
14914 definition.
14915 * manual/examples/strncat.c (main): Specify return type and use
14916 (void) for arguments.
14917 * manual/examples/subopt.c (main): Use char **argv argument.
14918
2ee633a2
JM
149192012-02-17 Joseph Myers <joseph@codesourcery.com>
14920
14921 [BZ #5077]
14922 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14923 rounding modes.
14924
0520adde
FB
149252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14926
14927 [BZ #6907]
14928 * manual/string.texi (strchr): Change when strchrnul is
14929 recommended.
14930
3f4081cd
DGM
149312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14932
14933 [BZ #174]
14934 * manual/locale.texi (setlocale): Document LOCPATH.
14935
d1b10e78
JM
149362012-02-17 Joseph Myers <joseph@codesourcery.com>
14937
14938 [BZ #10210]
14939 * manual/process.texi (execle): Move @dots{} before last argument.
14940
79c6869c
PB
149412012-02-17 Paul Bolle <pebolle@tiscali.nl>
14942
14943 [BZ #12047]
14944 * manual/charset.texi (Generic Charset Conversion): Fix typo
14945 (LC_TYPE -> LC_CTYPE).
14946
cc6e48bc
NB
149472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14948
14949 [BZ #5805]
14950 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14951 (scalbnf): Likewise.
14952 (scalbnl): Likewise.
14953 (scalbln): Likewise.
14954 (scalblnf): Likewise.
14955 (scalblnl): Likewise.
14956 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14957 (vwarnx): Likewise.
14958 (verr): Likewise.
14959 (verrx): Likewise.
14960 * manual/filesys.texi (telldir): Use braces around return type.
14961 * manual/llio.texi (mmap): Add space after comma.
14962 (mmap64): Likewise.
14963 * manual/math.texi (jn): Use @var{} on parameter names.
14964 (jnf): Likewise.
14965 (jnl): Likewise.
14966 (yn): Likewise.
14967 (ynf): Likewise.
14968 (ynl): Likewise.
14969 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14970 line.
14971 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14972 "...".
14973 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14974 (sched_get_priority_max): Likewise.
14975 * manual/signal.texi (sigvec): Add space after comma.
14976 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14977 names.
14978 (if_indextoname): Likewise.
14979 (if_freenameindex): Likewise.
14980 (sendto): Use ',' instead of '.' in prototype.
14981 * manual/startup.texi (syscall): Use @dots{} instead of literal
14982 "...".
14983 * manual/stdio.texi (__fpending): Separate initial words of
14984 paragraph from @deftypefun line.
14985 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14986 "...".
14987 (vsyslog): Use @var{} on parameter names.
14988 * manual/terminal.texi (stty): Use @var{} on parameter names.
14989 * manual/users.texi (getutmp): Use @var{} on parameter names.
14990 (getutmpx): Likewise.
14991
5b23062f
JM
149922012-02-17 Joseph Myers <joseph@codesourcery.com>
14993
14994 [BZ #6884]
14995 * manual/stdio.texi (fopen): Fix typos in description of
14996 ",ccs=STRING".
14997
8dee4833
AJ
149982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14999
15000 [BZ #4026]
15001 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15002 get clock_id definition.
15003
9078ce93
TS
150042012-02-17 Thomas Schwinge <thomas@schwinge.name>
15005
15006 [BZ #4822]
15007 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15008 (madvise): Cast every argument to void on its own.
15009
3835c55f
JM
150102012-02-17 Joseph Myers <joseph@codesourcery.com>
15011
15012 [BZ #9902]
15013 * manual/startup.texi (Exit Status): Fix typo.
15014
35c47e37
JM
150152012-02-17 Joseph Myers <joseph@codesourcery.com>
15016
15017 [BZ #10140]
15018 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15019 * manual/examples/argp-ex2.c: Likewise.
15020 * manual/examples/argp-ex3.c: Likewise.
15021
e3b69ca7
RH
150222012-02-16 Richard Henderson <rth@redhat.com>
15023
15024 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15025 * sysdeps/s390/s390-32/initfini.c: Remove.
15026 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15027 * sysdeps/s390/s390-64/initfini.c: Remove.
15028
df83af67
KK
150292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15030
15031 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15032 compiler output for sysdeps/generic/initfini.c.
15033 * sysdeps/sh/elf/initfini.c: Remove file.
15034
f63f3380
DM
150352012-02-16 David S. Miller <davem@davemloft.net>
15036
fb59b3a4
DM
15037 [BZ #11494]
15038 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15039
f63f3380
DM
15040 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15041 * sysdeps/sparc/crti.S: New file.
15042 * sysdeps/sparc/crtn.S: New file.
15043 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15044 * sysdeps/sparc/sparc64/Makefile: Likewise.
15045
df6a4a4a
MF
150462012-02-15 Mike Frysinger <vapier@gentoo.org>
15047
6dd8f3dc 15048 [BZ #3335]
df6a4a4a
MF
15049 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15050
1cac7236
RM
150512012-02-15 Roland McGrath <roland@hack.frob.com>
15052
d2c736f8
RM
15053 [BZ #4822]
15054 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15055
1cac7236
RM
15056 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15057 (write, read, close): Likewise.
15058 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15059
8e475601
JM
150602012-02-15 Joseph Myers <joseph@codesourcery.com>
15061
15062 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15063 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15064 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15065 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15066 <bits/signalfd.h>.
15067 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15068 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15069 bits/signalfd.h.
15070
ed656b40
MP
150712012-02-14 Marek Polacek <polacek@redhat.com>
15072
15073 * sysdeps/x86_64/crti.S: New file.
15074 * sysdeps/x86_64/crtn.S: New file.
15075 * sysdeps/x86_64/elf/initfini.c: Remove file.
15076
2a979d3a
JM
150772012-02-13 Joseph Myers <joseph@codesourcery.com>
15078
15079 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15080 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15082 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15083 <bits/inotify.h>.
15084 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15086 bits/inotify.h.
15087
2a418ac3
JM
150882012-02-13 Joseph Myers <joseph@codesourcery.com>
15089
15090 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15091 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15092 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15093 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15094 <bits/eventfd.h>.
15095 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15097 bits/eventfd.h.
15098
fb779be7
TS
150992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15100
e19e83c5
RM
15101 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15102 __feraiseexcept instead of feraiseexcept.
7c35ffed 15103
fb779be7
TS
15104 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15105 nanosleep invocations.
15106 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15107 strings, and add error checking for a nanosleep invocations.
15108
59ba27a6
PE
151092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15110
15111 Replace FSF snail mail address with URLs, as per GNU coding standards.
15112 Most of the snail mail addresses were wrong anyway, and omitting
15113 them makes the source code easier to maintain. Almost all of the
15114 changes are to license notices and to locale LC_IDENTIFICATION
15115 addresses, except for this one:
15116 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15117 not its snail mail address.
15118
57b957eb
RH
151192012-02-09 Richard Henderson <rth@twiddle.net>
15120
af850b1c
RH
15121 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15122 of kernel-features.h.
15123
57b957eb
RH
15124 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15125
6b73181a
MP
151262012-02-08 Marek Polacek <polacek@redhat.com>
15127
15128 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15129 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15130 * sysdeps/gnu/_G_config.h: Likewise.
15131 * sysdeps/generic/_G_config.h: Likewise.
15132
26ecc33a
AS
151332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15134
6c6dbc63
AS
15135 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15136 tests.
15137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15138
e216c012
AS
15139 * sysdeps/powerpc/powerpc32/crti.S: New file.
15140 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15141 * sysdeps/powerpc/powerpc64/crti.S: New file.
15142 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15143
26ecc33a
AS
15144 * Makeconfig (have-initfini): Don't set.
15145 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15146 * configure.in (nopic_initfini): Don't substitute.
15147 * config.h.in (HAVE_INITFINI): Don't #undef.
15148 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15149 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15150
3add8e13
JM
151512012-02-08 Joseph Myers <joseph@codesourcery.com>
15152
15153 Support crti.S and crtn.S provided directly by architectures.
15154 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15155 [crti.S in sysdirs] (omit-deps): Likewise.
15156 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15157 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15158 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15159 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15160 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15161 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15162 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15163 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15164 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15165 compiler output for sysdeps/generic/initfini.c.
15166 * sysdeps/i386/elf/Makefile: Remove file.
15167 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15168
a22f12b4
MP
151692012-02-07 Marek Polacek <polacek@redhat.com>
15170
15171 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15172 * sysdeps/gnu/_G_config.h: Likewise.
15173 * sysdeps/mach/hurd/_G_config.h: Likewise.
15174
148cf100
MP
151752012-02-07 Marek Polacek <polacek@redhat.com>
15176
15177 * math/Makefile (tests): Add tst-CMPLX2.
15178 * math/tst-CMPLX2.c: New file.
15179
cfdc0dd7
AS
151802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15181
84ba42c4
AS
15182 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15183
cfdc0dd7
AS
15184 * math/libm-test.inc (jn_test): Add missing L suffix.
15185
622c86f4
MP
151862012-02-06 Marek Polacek <polacek@redhat.com>
15187
15188 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15189 * sysdeps/i386/fpu/e_powf.S: Likewise.
15190 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15191 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15193 * sysdeps/i386/fpu/e_pow.S: Likewise.
15194 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15195 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15196 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15197 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15198 * sysdeps/i386/fpu/e_log2.S: Likewise.
15199 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15200 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15201 * sysdeps/i386/fpu/e_powl.S: Likewise.
15202 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15203 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15204 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15205 * sysdeps/i386/fpu/e_logl.S: Likewise.
15206 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15207 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15208 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15209 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15210 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15211 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15212 * sysdeps/i386/fpu/e_log.S: Likewise.
15213 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15214 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15215 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15216 * sysdeps/i386/fpu/e_logf.S: Likewise.
15217 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15218 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15219 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15220 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15221 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15222 * sysdeps/i386/fpu/e_log10.S: Likewise.
15223 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15224 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15225 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15226 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15227 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15228 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15229 * sysdeps/i386/asm-syntax.h: Likewise.
15230 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15232 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15233 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15234 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15236 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15237 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15239 * sysdeps/powerpc/sysdep.h: Likewise.
15240 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15241 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15242
d4a54ac6
JM
152432012-02-06 Joseph Myers <joseph@codesourcery.com>
15244
15245 [BZ #411]
15246 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15247
314054ea
JM
152482012-02-06 Joseph Myers <joseph@codesourcery.com>
15249
15250 * sysdeps/i386/sysdep.h: Include <features.h>.
15251 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15252 version.
15253
d8e0ca50
JM
152542012-02-05 Joseph Myers <joseph@codesourcery.com>
15255
15256 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15257 Define.
15258 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15259 LOAD_PIC_REG_STR.
15260
b1da7dd9
JM
152612012-02-03 Joseph Myers <joseph@codesourcery.com>
15262
15263 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15264 (SETUP_PIC_REG): Use GET_PC_THUNK.
15265 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15266 macro.
15267
9a1d9254
JM
152682012-02-03 Joseph Myers <joseph@codesourcery.com>
15269
15270 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15271 for non-PIC compilation.
15272 (SETUP_PIC_REG): Add .p2align directive.
15273 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15274 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15275 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15276 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15277 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15278 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15279 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15280 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15281 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15282 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15283 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15284 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15285 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15286 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15287 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15288 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15289 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15290 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15291 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15292 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15293 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15294 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15295 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15296 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15297 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15298 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15299 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15300 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15301 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15302 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15303 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15304 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15305 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15306 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15307 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15308 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15309 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15310 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15311 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15312 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15313 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15314
65dc3b75
JM
153152012-02-03 Joseph Myers <joseph@codesourcery.com>
15316
15317 * math/tst-CMPLX.c: Include <stdio.h>.
15318
d55bf177
JM
153192012-01-31 Joseph Myers <joseph@codesourcery.com>
15320
15321 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15322 float.
15323 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15324 * sysdeps/sparc/bits/mathdef.h: Likewise.
15325
69db4f8f
MP
153262012-01-31 Marek Polacek <polacek@redhat.com>
15327
15328 * libio/libio.h: Don't define _PARAMS.
15329 * locale/programs/config.h: Don't define PARAMS.
15330 * stdlib/strtol_l.c: Likewise.
15331 (__strtol_l): Remove PARAMS from the prototype.
15332
41b81892
UD
153332012-01-31 Ulrich Drepper <drepper@gmail.com>
15334
3b49edc0
UD
15335 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15336 names. Just use the correct names. Remove unnecessary wrapper
15337 functions.
15338 * malloc/arena.c: Likewise.
15339 * malloc/hooks.c: Likewise.
15340
41b81892
UD
15341 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15342 ARENA_TEST says not to. Simplify test for creation of a new arena.
15343 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15344
27a25b6e
UD
153452012-01-30 Ulrich Drepper <drepper@gmail.com>
15346
15347 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15348 into tail calls.
15349 (update_get_addr): New function.
15350 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15351 GET_ADDR_MODULE parameter.
15352
c8a89e7d
JM
153532012-01-30 Joseph Myers <joseph@codesourcery.com>
15354
15355 * crypt/cert.c: Remove __STDC__ conditionals.
15356 * crypt/crypt-entry.c: Likewise.
15357 * crypt/crypt_util.c: Likewise.
15358 * libio/filedoalloc.c: Likewise.
15359 * libio/fileops.c: Likewise.
15360 * libio/genops.c: Likewise.
15361 * libio/iofclose.c: Likewise.
15362 * libio/iofdopen.c: Likewise.
15363 * libio/iofopen.c: Likewise.
15364 * libio/iofopen64.c: Likewise.
15365 * libio/iogetdelim.c: Likewise.
15366 * libio/iopopen.c: Likewise.
15367 * libio/obprintf.c: Likewise.
15368 * libio/oldfileops.c: Likewise.
15369 * libio/oldiofclose.c: Likewise.
15370 * libio/oldiofdopen.c: Likewise.
15371 * libio/oldiofopen.c: Likewise.
15372 * libio/oldiopopen.c: Likewise.
15373 * libio/wfiledoalloc.c: Likewise.
15374 * libio/wgenops.c: Likewise.
15375 * locale/programs/xmalloc.c: Likewise.
15376 * misc/syslog.c: Likewise.
15377 * stdio-common/xbug.c: Likewise.
15378 * string/memchr.c: Likewise.
15379 * string/memcmp.c: Likewise.
15380 * string/memrchr.c: Likewise.
15381 * string/rawmemchr.c: Likewise.
15382 * sysdeps/posix/getcwd.c: Likewise.
15383 * time/strftime_l.c: Likewise.
15384
3b100462
JM
153852012-01-30 Joseph Myers <joseph@codesourcery.com>
15386
15387 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15388 * config.make.in (config-cflags-sse2avx): Define.
15389 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15390 Fix typo.
15391
607998af
CM
153922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15393
15394 * scripts/config.guess: Update from upstream config git repository.
15395 * scripts/config.sub: Likewise.
15396
3601428f
CM
153972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15398
3ac8b282
CM
15399 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15400 (EM_NUM): Update.
15401 (R_TILEPRO_*, R_TILEGX_*): New macros.
15402
e034841e
CM
15403 * scripts/firstversions.awk: Fix bug in version range handling.
15404
540d7568
CM
15405 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15406
3601428f
CM
15407 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15408
463de862
CM
15409 * include/sys/epoll.h: New file.
15410 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15411 libc_hidden_def.
15412
73139a76
UD
154132012-01-28 Ulrich Drepper <drepper@gmail.com>
15414
96bc5b45
UD
15415 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15416 Avoid unnecessary __WORDSIZE == 64 test.
15417 (fmaxf): Use VEX format if possible.
15418 (fmax): Likewise.
15419 (fminf): Likewise.
15420 (fmin): Likewise.
15421
56f6f6a2
UD
15422 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15423 * math/math_private.h: Remove libc_fegetround* and
15424 libc_fesetround*.
15425 * sysdeps/i386/configure.in: Check for -msse2avx.
15426 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15427 also if SSE2AVX is defined.
15428 Remove libc_fegetround* and libc_fesetround*.
15429 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15430 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15432 of HAS_YMM_USABLE.
15433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15434 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15435 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15436 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15437 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15438
73139a76
UD
15439 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15440
d73f93a4
AZ
154412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15442
15443 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15444 size is not set.
15445 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15446
6ee65ed6
UD
154472012-01-27 Ulrich Drepper <drepper@gmail.com>
15448
15449 [BZ #13618]
15450 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15451 relocation.
15452 * Makeconfig (libm): Define.
15453 * elf/Makefile: Add rules to build and run tst-relsort1.
15454 * elf/tst-relsort1.c: New file.
15455 * elf/tst-relsort1mod1.c: New file.
15456 * elf/tst-relsort1mod2.c: New file.
15457
8db21882
JM
154582012-01-27 Joseph Myers <joseph@codesourcery.com>
15459
15460 * math/s_ldexp.c: Remove __STDC__ conditionals.
15461 * math/s_ldexpf.c: Likewise.
15462 * math/s_ldexpl.c: Likewise.
15463 * math/s_nextafter.c: Likewise.
15464 * math/s_nexttowardf.c: Likewise.
15465 * math/s_significand.c: Likewise.
15466 * math/s_significandf.c: Likewise.
15467 * math/s_significandl.c: Likewise.
15468 * math/w_jnl.c: Likewise.
15469 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15470 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15471 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15472 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15473 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15476 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15477 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15478 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15479 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15480 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15481 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15482 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15483 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15484 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15485 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15486 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15488 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15489 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15491 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15493 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15494 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15497 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15498 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15499 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15500 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15501 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15502 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15503 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15504 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15505 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15506 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15507 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15508 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15509 * sysdeps/ieee754/k_standard.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15558 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15559 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15564 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15577 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15578 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15579 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15582 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15583 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15584 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15585 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15586 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15587 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15588 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15589 * sysdeps/ieee754/s_matherr.c: Likewise.
15590 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15591 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15592 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15593 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15594
965a54a4
JM
155952012-01-26 Joseph Myers <joseph@codesourcery.com>
15596
15597 * crypt/md5.h: Remove __STDC__ conditionals.
15598 * libio/libioP.h: Likewise.
15599 * locale/programs/config.h: Likewise.
15600 * sysdeps/generic/sysdep.h: Likewise.
15601 * sysdeps/i386/asm-syntax.h: Likewise.
15602 * sysdeps/s390/asm-syntax.h: Likewise.
15603 * sysdeps/unix/sysdep.h: Likewise.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15606
7071ad79
JM
156072012-01-26 Joseph Myers <joseph@codesourcery.com>
15608
15609 * libio/libio.h: Remove __STDC__ conditionals.
15610 * malloc/obstack.h: Likewise.
15611 * math/complex.h: Likewise.
15612 * math/math.h: Likewise.
15613 * sysdeps/generic/_G_config.h: Likewise.
15614 * sysdeps/gnu/_G_config.h: Likewise.
15615 * sysdeps/mach/hurd/_G_config.h: Likewise.
15616 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15617 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15618 * sysdeps/sparc/bits/mathdef.h: Likewise.
15619
afc5ed09
UD
156202012-01-26 Ulrich Drepper <drepper@gmail.com>
15621
15622 [BZ #13583]
15623 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15624 Clean up HAS_* macros.
afc5ed09 15625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15626 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15627 possible.
15628 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15629 HAS_AVX.
15630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15635
bdb6de1d
JM
156362012-01-25 Joseph Myers <joseph@codesourcery.com>
15637
15638 * elf/tst-unique3.cc (gets): Remove declaration.
15639 * elf/tst-unique3lib.cc (gets): Likewise.
15640 * elf/tst-unique3lib2.cc (gets): Likewise.
15641 * elf/tst-unique4.cc (gets): Likewise.
15642
b15549e6
UD
156432012-01-24 Ulrich Drepper <drepper@gmail.com>
15644
15645 * include/stdio.h: Add C++ protection. Add gets declarations and
15646 definitions.
15647 * debug/tst-chk1.c: Don't declare gets here.
15648 * stdio-common/tst-gets.c: Likewise.
15649
a037381f
JM
156502012-01-24 Joseph Myers <joseph@codesourcery.com>
15651
15652 * posix/glob: Remove directory.
15653
f1d4aa75
JM
156542012-01-24 Joseph Myers <joseph@codesourcery.com>
15655
15656 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15657
81c0c964
PT
156582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15659
15660 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15661 of the non-standard EPFNOSUPPORT.
15662
0ea698ae
ST
156632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15664
15665 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15666 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15667 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15668
d220b117
UD
156692012-01-21 Ulrich Drepper <drepper@gmail.com>
15670
15671 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15672
3e1aa84e
UD
156732012-01-20 Ulrich Drepper <drepper@gmail.com>
15674
15675 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15676 transient errors.
15677 * nscd/grpcache.c (cache_addgr): Likewise.
15678 * nscd/hstcache.c (cache_addhst): Likewise.
15679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15680 * nscd/pwdcache.c (cache_addpw): Likewise.
15681 * nscd/servicescache.c (cache_addserv): Likewise.
15682
400aa020
UD
156832012-01-16 Ulrich Drepper <drepper@gmail.com>
15684
d77e7869
UD
15685 * malloc/malloc.c: Various cleanups.
15686 * malloc/hooks.c: Likewise.
15687
400aa020
UD
15688 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15689 * stdlib/bug-fmtmsg1.c: New file.
15690
15691 * stdlib/fmtmsg.c (init): Add missing unlock.
15692 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15693
e0a309cf
MP
156942012-01-12 Marek Polacek <polacek@redhat.com>
15695
15696 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15697 and _GNU_SOURCE.
15698
929d11c7
WS
156992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15700
15701 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15702 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15703 macro to ensure uniqueness of label name.
15704 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15705 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15706
41d0e869
UD
157072012-01-11 Ulrich Drepper <drepper@gmail.com>
15708
0cc5ed3b
UD
15709 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15710
41d0e869
UD
15711 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15712 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15713 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15714 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15715
a47a831a
UD
157162012-01-10 Ulrich Drepper <drepper@gmail.com>
15717
daa891c0
UD
15718 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15719
15720 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15721 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15722 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15723
e58ef0f2
UD
15724 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15725
a47a831a 15726 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15727 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15728 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15730
15731 * math/bits/math-finite.h: Add ldexp support.
15732
a0bfc9c7
MP
157332012-01-10 Marek Polacek <polacek@redhat.com>
15734
15735 * locale/programs/localedef.h (show_archive_content): Add noreturn
15736 attribute.
15737
d6e97a1d
UD
157382012-01-09 Ulrich Drepper <drepper@gmail.com>
15739
15740 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15741
d5835c26
UD
157422012-01-08 Ulrich Drepper <drepper@gmail.com>
15743
e5f484c6
UD
15744 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15745
d5835c26
UD
15746 * io/Makefile (headers): Add bits/poll2.h.
15747
d1f741e9
WS
157482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15749
15750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15751 typo #include statement.
15752
ec09c1c4
UD
157532012-01-08 Ulrich Drepper <drepper@gmail.com>
15754
15755 * include/sys/cdefs.h: Define __attribute_alloc_size.
15756 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15757 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15758 * elf/pldd.c: Likewise.
15759 * iconv/iconv_charmap.c: Likewise.
15760 * iconv/iconvconfig.c: Likewise.
15761 * iconv/strtab.c: Likewise.
15762 * locale/programs/locale.c: Likewise.
15763 * locale/programs/localedef.h: Likewise.
15764 * locale/programs/simple-hash.c: Likewise.
15765 * nscd/nscd.h: Likewise.
15766 * nss/makedb.c: Likewise.
15767 * sysdeps/generic/ldconfig.h: Likewise.
15768 * locale/programs/localedef.c: Remove xmalloc prototype.
15769 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15770
20b38e03
PP
157712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15772
15773 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15774 appropriate.
15775
a0da5fe1
UD
157762012-01-08 Ulrich Drepper <drepper@gmail.com>
15777
1d5a644a 15778 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15779 * math/tst-CMPLX.c: New file.
1d5a644a 15780
8784a6db
UD
15781 * math/complex.h (CMPLXL): Fix typo.
15782
d9a216c0
UD
15783 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15784 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15785 GLIBC_2.16.
15786 * debug/tst-chk1.c: Add poll and ppoll tests.
15787 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15788 * include/sys/poll.h: Add hidden proto for ppoll.
15789 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15790 * sysdeps/mach/hurd/ppoll.c: Likewise.
15791 * io/ppoll.c: Likewise.
15792 * debug/poll_chk.c: New file.
15793 * debug/ppoll_chk.c: New file.
15794 * include/bits/poll2.h: New file.
15795 * io/bits/poll2.h: New file.
15796
ac097f5c
UD
15797 [BZ #1350]
15798 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15799
2119dcfa
UD
15800 * configure.in: static is always set to yes. Remove.
15801 * config.make.in: Don't set build-static.
15802 * Makeconfig: Remove use of build-static.
15803 * dlfcn/Makefile: Likewise.
15804 * elf/Makefile: Likewise.
15805 * math/Makefile: Likewise.
15806 * misc/Makefile: Likewise.
15807 * nptl/Makefile: Likewise.
15808 * sysdeps/mach/hurd/Makefile: Likewise.
15809
121766a9
UD
15810 * configure.in: PWD_P is not used anymore.
15811 * config.make.in: Remove PWD_P entry.
15812
51a1d39c 15813 * configure.in: Remove last remnants of RANLIB.
8720d066 15814 No need to check for signed size_t anymore.
215f4bdc
UD
15815 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15816 and IA-64.
3857022a 15817 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15818 * aclocal.m4: Likewise.
15819
d3ed7225
UD
15820 * wcsmbs/mbrtoc16.c: Implement using towc function.
15821 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15822 * wcsmbs/wcsmbsload.c: Likewise.
15823 * iconv/gconv_simple.c: Likewise.
15824 * iconv/gconv_int.h: Likewise.
15825 * iconv/gconv_builtin.h: Likewise.
15826 * iconv/iconv_prog.c: Remove CHAR16 handling.
15827
15828 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15829
15830 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15831
a0da5fe1
UD
15832 * configure.in: Remove --with-elf and --enable-bounded options.
15833 Dont set base_machine for ia64. More non-ELF conditions removed.
15834 Remove testing and setting of leading underscore information.
15835 * config.make.in (build-bounded): Set to no.
15836 * config.h.in: Remove NO_UNDERSCORES entry.
15837 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15838 them.
15839 * csu/start.c: Remove !NO_UNDERSCORE code.
15840 * locale/localeinfo.h: Likewise.
15841 * sysdeps/generic/machine-gmon.h: Likewise.
15842 * sysdeps/generic/sysdep.h: Likewise.
15843 * sysdeps/i386/sysdep.h: Likewise.
15844 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15845 * sysdeps/mach/sysdep.h: Likewise.
15846 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15848 * sysdeps/sh/sysdep.h: Likewise.
15849 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15850 * sysdeps/unix/i386/sysdep.S: Likewise.
15851 * sysdeps/unix/sparc/start.c: Likewise.
15852 * sysdeps/unix/sparc/sysdep.S: Likewise.
15853 * sysdeps/unix/sparc/sysdep.h: Likewise.
15854 * sysdeps/unix/start.c: Likewise.
15855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15856 * sysdeps/x86_64/sysdep.h: Likewise.
15857
df78418a
UD
158582012-01-07 Ulrich Drepper <drepper@gmail.com>
15859
a784e502
UD
15860 [BZ #13553]
15861 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15862 for non-gcc.
15863 * argp/argp-fmtstream.h: Use const instead __const.
15864 * argp/argp.h: Likewise.
15865 * assert/assert.h: Likewise.
15866 * bits/fenv.h: Likewise.
15867 * bits/sched.h: Likewise.
15868 * bits/sigset.h: Likewise.
15869 * bits/sigthread.h: Likewise.
15870 * catgets/nl_types.h: Likewise.
15871 * conform/data/pthread.h-data: Likewise.
15872 * crypt/crypt-private.h: Likewise.
15873 * crypt/crypt.h: Likewise.
15874 * crypt/crypt_util.c: Likewise.
15875 * ctype/ctype.h: Likewise.
15876 * debug/execinfo.h: Likewise.
15877 * debug/mbsnrtowcs_chk.c: Likewise.
15878 * debug/mbsrtowcs_chk.c: Likewise.
15879 * debug/wcsnrtombs_chk.c: Likewise.
15880 * debug/wcsrtombs_chk.c: Likewise.
15881 * debug/wcstombs_chk.c: Likewise.
15882 * dirent/dirent.h: Likewise.
15883 * dlfcn/dlfcn.h: Likewise.
15884 * elf/neededtest4.c: Likewise.
15885 * grp/grp.h: Likewise.
15886 * gshadow/gshadow.h: Likewise.
15887 * iconv/gconv.h: Likewise.
15888 * iconv/gconv_int.h: Likewise.
15889 * iconv/gconv_simple.c: Likewise.
15890 * iconv/iconv.h: Likewise.
15891 * iconv/loop.c: Likewise.
15892 * iconv/skeleton.c: Likewise.
15893 * include/aio.h: Likewise.
15894 * include/aliases.h: Likewise.
15895 * include/argz.h: Likewise.
15896 * include/arpa/inet.h: Likewise.
15897 * include/assert.h: Likewise.
15898 * include/dirent.h: Likewise.
15899 * include/dlfcn.h: Likewise.
15900 * include/execinfo.h: Likewise.
15901 * include/fcntl.h: Likewise.
15902 * include/fenv.h: Likewise.
15903 * include/glob.h: Likewise.
15904 * include/grp.h: Likewise.
15905 * include/libintl.h: Likewise.
15906 * include/mntent.h: Likewise.
15907 * include/netdb.h: Likewise.
15908 * include/pwd.h: Likewise.
15909 * include/rpc/netdb.h: Likewise.
15910 * include/sched.h: Likewise.
15911 * include/search.h: Likewise.
15912 * include/shadow.h: Likewise.
15913 * include/signal.h: Likewise.
15914 * include/stdio.h: Likewise.
15915 * include/stdlib.h: Likewise.
15916 * include/string.h: Likewise.
15917 * include/sys/socket.h: Likewise.
15918 * include/sys/stat.h: Likewise.
15919 * include/sys/statfs.h: Likewise.
15920 * include/sys/statvfs.h: Likewise.
15921 * include/sys/syslog.h: Likewise.
15922 * include/sys/time.h: Likewise.
15923 * include/sys/uio.h: Likewise.
15924 * include/time.h: Likewise.
15925 * include/unistd.h: Likewise.
15926 * include/utmp.h: Likewise.
15927 * include/wchar.h: Likewise.
15928 * include/wctype.h: Likewise.
15929 * inet/aliases.h: Likewise.
15930 * inet/arpa/inet.h: Likewise.
15931 * inet/netinet/ether.h: Likewise.
15932 * inet/netinet/in.h: Likewise.
15933 * intl/libintl.h: Likewise.
15934 * io/bits/fcntl2.h: Likewise.
15935 * io/fcntl.h: Likewise.
15936 * io/ftw.h: Likewise.
15937 * io/sys/poll.h: Likewise.
15938 * io/sys/stat.h: Likewise.
15939 * io/sys/statfs.h: Likewise.
15940 * io/sys/statvfs.h: Likewise.
15941 * io/utime.h: Likewise.
15942 * libio/bits/stdio.h: Likewise.
15943 * libio/bits/stdio2.h: Likewise.
15944 * libio/libio.h: Likewise.
15945 * libio/libioP.h: Likewise.
15946 * libio/stdio.h: Likewise.
15947 * locale/lc-ctype.c: Likewise.
15948 * locale/locale.h: Likewise.
15949 * login/utmp.h: Likewise.
15950 * malloc/arena.c: Likewise.
15951 * malloc/malloc.c: Likewise.
15952 * malloc/malloc.h: Likewise.
15953 * malloc/mcheck.c: Likewise.
15954 * malloc/mtrace.c: Likewise.
15955 * math/bits/mathcalls.h: Likewise.
15956 * math/fenv.h: Likewise.
15957 * math/math_private.h: Likewise.
15958 * misc/bits/error.h: Likewise.
15959 * misc/bits/syslog.h: Likewise.
15960 * misc/err.h: Likewise.
15961 * misc/error.h: Likewise.
15962 * misc/fstab.h: Likewise.
15963 * misc/mntent.h: Likewise.
15964 * misc/regexp.h: Likewise.
15965 * misc/search.h: Likewise.
15966 * misc/sgtty.h: Likewise.
15967 * misc/sys/mman.h: Likewise.
15968 * misc/sys/syslog.h: Likewise.
15969 * misc/sys/uio.h: Likewise.
15970 * misc/sys/xattr.h: Likewise.
15971 * misc/ttyent.h: Likewise.
15972 * nis/rpcsvc/ypclnt.h: Likewise.
15973 * nss/nss.h: Likewise.
15974 * posix/bits/unistd.h: Likewise.
15975 * posix/fnmatch.h: Likewise.
15976 * posix/glob.h: Likewise.
15977 * posix/sched.h: Likewise.
15978 * posix/spawn.h: Likewise.
15979 * posix/sys/wait.h: Likewise.
15980 * posix/unistd.h: Likewise.
15981 * posix/wordexp.h: Likewise.
15982 * pwd/pwd.h: Likewise.
15983 * resolv/netdb.h: Likewise.
15984 * resource/sys/resource.h: Likewise.
15985 * rt/aio.h: Likewise.
15986 * rt/bits/mqueue2.h: Likewise.
15987 * rt/mqueue.h: Likewise.
15988 * shadow/shadow.h: Likewise.
15989 * signal/signal.h: Likewise.
15990 * socket/send.c: Likewise.
15991 * socket/sendto.c: Likewise.
15992 * socket/sys/socket.h: Likewise.
15993 * stdio-common/printf.h: Likewise.
15994 * stdlib/bits/stdlib.h: Likewise.
15995 * stdlib/fmtmsg.h: Likewise.
15996 * stdlib/monetary.h: Likewise.
15997 * stdlib/stdlib.h: Likewise.
15998 * stdlib/ucontext.h: Likewise.
15999 * streams/stropts.h: Likewise.
16000 * string/argz.h: Likewise.
16001 * string/bits/string2.h: Likewise.
16002 * string/string.h: Likewise.
16003 * string/strings.h: Likewise.
16004 * sunrpc/rpc/auth.h: Likewise.
16005 * sunrpc/rpc/auth_des.h: Likewise.
16006 * sunrpc/rpc/clnt.h: Likewise.
16007 * sunrpc/rpc/netdb.h: Likewise.
16008 * sunrpc/rpc/pmap_clnt.h: Likewise.
16009 * sunrpc/rpc/xdr.h: Likewise.
16010 * sysdeps/generic/inttypes.h: Likewise.
16011 * sysdeps/generic/net/if.h: Likewise.
16012 * sysdeps/generic/sys/swap.h: Likewise.
16013 * sysdeps/gnu/net/if.h: Likewise.
16014 * sysdeps/gnu/utmpx.h: Likewise.
16015 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16016 * sysdeps/i386/i486/bits/string.h: Likewise.
16017 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16018 * sysdeps/s390/bits/string.h: Likewise.
16019 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16020 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16021 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16022 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16023 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16024 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16025 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16026 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16027 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16028 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16029 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16030 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16031 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16032 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16033 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16034 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16035 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16037 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16038 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16040 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16041 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16042 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16043 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16044 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16045 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16047 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16048 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16049 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16050 * sysvipc/sys/ipc.h: Likewise.
16051 * sysvipc/sys/msg.h: Likewise.
16052 * sysvipc/sys/sem.h: Likewise.
16053 * sysvipc/sys/shm.h: Likewise.
16054 * termios/termios.h: Likewise.
16055 * time/sys/time.h: Likewise.
16056 * time/time.h: Likewise.
16057 * wcsmbs/bits/wchar2.h: Likewise.
16058 * wcsmbs/uchar.h: Likewise.
16059 * wcsmbs/wchar.h: Likewise.
16060 * wctype/wctype.h: Likewise.
16061
0269750c
UD
16062 [BZ #13551]
16063 * Makeconfig: Remove all but ELF support including AIX support.
16064 * Makerules: Likewise.
16065 * config.h.in: Likewise.
16066 * config.make.in: Likewise.
16067 * configure: Likewise.
16068 * configure.in: Likewise.
16069 * csu/Makefile: Likewise.
16070 * csu/version.c: Likewise.
16071 * debug/Makefile: Likewise.
16072 * dlfcn/Makefile: Likewise.
16073 * elf/Makefile: Likewise.
16074 * extra-lib.mk: Likewise.
16075 * iconv/Makefile: Likewise.
16076 * include/libc-symbols.h: Likewise.
16077 * include/shlib-compat.h: Likewise.
16078 * resolv/Makefile: Likewise.
16079 * resolv/res_libc.c: Likewise.
16080 * rt/Makefile: Likewise.
16081 * sysdeps/i386/asm-syntax.h: Likewise.
16082 * sysdeps/i386/sysdep.h: Likewise.
16083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16084 * sysdeps/mach/sysdep.h: Likewise.
16085 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16086 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16087 * sysdeps/s390/asm-syntax.h: Likewise.
16088 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16089 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16090 * sysdeps/sh/sysdep.h: Likewise.
16091 * sysdeps/unix/sparc/sysdep.h: Likewise.
16092 * sysdeps/wordsize-32/divdi3.c: Likewise.
16093 * sysdeps/x86_64/sysdep.h: Likewise.
16094
00bbd29b
UD
16095 * argp/Versions: Remove _argp_unlock_xxx.
16096
16097 [BZ #13559]
16098 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16099 * abilist/libBrokenLocale.abilist: Likewise.
16100 * abilist/libanl.abilist: Likewise.
16101 * abilist/libc.abilist: Likewise.
16102 * abilist/libcrypt.abilist: Likewise.
16103 * abilist/libdl.abilist: Likewise.
16104 * abilist/libm.abilist: Likewise.
16105 * abilist/libnsl.abilist: Likewise.
16106 * abilist/libpthread.abilist: Likewise.
16107 * abilist/libresolv.abilist: Likewise.
16108 * abilist/librt.abilist: Likewise.
16109 * abilist/libthread_db.abilist: Likewise.
16110 * abilist/libutil.abilist: Likewise.
16111 * abilist/libnss_db.abilist: New file.
16112
16113 * scripts/abilist.awk: Add support for indirect functions.
16114
a2693a0e
UD
16115 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16116
3f05895f
UD
16117 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16118
ecb6fb48
UD
16119 * shlib-versions: Remove entries for ports architectures.
16120
664f8cb9
UD
16121 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16122 files in ports.
16123 * elf/stackguard-macros.h: Remove support for IA-64.
16124 * elf/tst-auditmod1.c: Likewise.
16125 * sysdeps/generic/ldsodefs.h: Likewise.
16126
7ae81d88
UD
16127 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16128 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16129 configure files.
16130
bdeba135
UD
16131 [BZ #13552]
16132 * configure.in: Remove --enable-omitfp support.
16133 * FAQ.in: Adjust.
16134 * config.make.in: Likewise.
16135 * Makeconfig: Likewise.
16136 * manual/install.texi: Likewise.
16137
d75a0a62
UD
16138 In case anyone cares, the IA-64 architecture could move to ports.
16139 * sysdeps/ia64/*: Removed.
16140 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16141 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16142
dcc9756b
UD
16143 [BZ #13555]
16144 * configure.in: Remove entries for unsupported architectures.
16145
d3761ebc 16146 [BZ #13533]
9954432e
UD
16147 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16148 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16149 routines.
16150 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16151 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16152 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16153 fall back to using wcrtomb.
16154 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16155 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16156 renaming.
16157 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16158 * wcsmbs/tst-c16c32-1.c: New file.
16159
16160 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16161 local variable.
16162
c3a87236
UD
16163 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16164
28926a1b
UD
16165 * elf/tst-unique3.cc: Add explicit declaration of gets.
16166 * elf/tst-unique3lib.cc: Likewise.
16167 * elf/tst-unique3lib2.cc: Likewise.
16168 * elf/tst-unique4.cc: Likewise.
16169
df78418a
UD
16170 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16171
8ecd6b2a
JM
161722012-01-06 Joseph Myers <joseph@codesourcery.com>
16173
16174 [BZ #13566]
16175 * assert/assert.h (static_assert): Don't define for C++.
16176 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16177 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16178
9f115170
UD
161792012-01-03 Ulrich Drepper <drepper@gmail.com>
16180
5e0d0300
UD
16181 * iconv/loop.c (single loop): Fix assertion in storing of
16182 remaining bytes.
16183
9f115170
UD
16184 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16185
81fb02b0
UD
161862012-01-01 Ulrich Drepper <drepper@gmail.com>
16187
16188 * posix/getconf.c: Update copyright year.
16189 * nss/getent.c: Likewise.
a316c1f6 16190 * nss/makedb.c: Likewise.
81fb02b0
UD
16191 * iconv/iconvconfig.c: Likewise.
16192 * iconv/iconv_prog.c: Likewise.
16193 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16194 * elf/pldd.c: Likewise.
16195 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16196 * catgets/gencat.c: Likewise.
16197 * csu/version.c: Likewise.
16198 * elf/ldd.bash.in: Likewise.
16199 * elf/sprof.c (print_version): Likewise.
16200 * locale/programs/locale.c: Likewise.
16201 * locale/programs/localedef.c: Likewise.
a316c1f6 16202 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16203 * nscd/nscd.c (print_version): Likewise.
16204 * debug/xtrace.sh: Likewise.
16205 * malloc/memusage.sh: Likewise.
16206 * malloc/mtrace.pl: Likewise.
16207 * debug/catchsegv.sh: Likewise.
16208
2ba92745
JJ
162092011-12-30 Jakub Jelinek <jakub@redhat.com>
16210
16211 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16212 pure attribute.
16213
dadebdae
UD
162142011-12-24 Ulrich Drepper <drepper@gmail.com>
16215
d3761ebc 16216 [BZ #13533]
db6af3eb
UD
16217 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16218 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16219 transformations.
16220 * iconv/gconv_int.h: Likewise.
16221 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16222 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16223 from libc for GLIBC_2.16.
16224 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16225 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16226 * wcsmbs/uchar.h: Really define mbstate_t.
16227 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16228 * wcsmbs/c16rtomb.c: New file.
16229 * wcsmbs/mbrtoc16.c: New file.
16230 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16231 for C/POSIX locale.
16232 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16233 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16234
dadebdae
UD
16235 * wcsmbs/wchar.h: Add missing __restrict.
16236
67371b56
UD
162372011-12-23 Ulrich Drepper <drepper@gmail.com>
16238
74033a25
UD
16239 [BZ #13532]
16240 * time/Makefile (routines): Add timespec_get.
16241 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16242 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16243 timespec for ISO C11.
16244 * time/timespec_get.c: New file.
16245 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16246 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16247
380d7e87
UD
16248 [BZ #13531]
16249 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16250 * stdlib/stdlib.h: Declare aligned_alloc.
16251 * Versions.def: Add GLIBC_2.16 for libc.
16252 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16253
4e9e7a35
UD
16254 [BZ 13527]
16255 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16256 ISO C11.
16257
380d7e87 16258 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16259 code.
16260
03a71829
UD
16261 [BZ #13528]
16262 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16263
839e283e
UD
16264 [BZ #13529]
16265 * assert/assert.h (static_assert): Define.
16266
ce5294e2 16267 * version.h: Update for 2.16 development version.
90fa7312 16268
8d44e150 16269 [BZ #13526]
d7809905
UD
16270 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16271 _ISOC11_SOURCE.
16272
c0da14cd
UD
16273 * version.h (RELEASE): Bump for 2.15 release.
16274 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16275
530a3249
MP
16276 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16277 Patch by Marek Polacek <mpolacek@redhat.com>.
16278
67371b56
UD
16279 * bits/byteswap.h: Protect long long constants with __extension__.
16280 * sysdeps/i386/bits/byteswap.h: Likewise.
16281 * sysdeps/ia64/bits/byteswap.h: Likewise.
16282 * sysdeps/s390/bits/byteswap.h: Likewise.
16283 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16284
15db4de1
LD
162852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16286
16287 [BZ #13540]
bbe315ea
LD
16288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16289 destination buffer.
15db4de1
LD
16290 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16291
2b2596b1
MP
162922011-12-23 Marek Polacek <polacek@redhat.com>
16293
16294 * elf/dl-addr.c (determine_info): Add inline keyword.
16295 * elf/tst-auditmod4b.c (check_avx): Likewise.
16296 * elf/tst-auditmod6b.c (check_avx): Likewise.
16297 * elf/tst-auditmod6c.c (check_avx): Likewise.
16298 * elf/tst-auditmod7b.c (check_avx): Likewise.
16299
70c6c246
UD
163002011-12-23 Ulrich Drepper <drepper@gmail.com>
16301
16302 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16303 !__SSE_MATH__.
16304
c044cf14
LD
163052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16306
15db4de1 16307 [BZ #13540]
c044cf14
LD
16308 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16309 processing for last bytes.
16310
6b13d9d9
BH
163112011-08-06 Bruno Haible <bruno@clisp.org>
16312
d455f537
BH
16313 [BZ #13061]
16314 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16315 U+0385, not to U+1FEE.
16316
6b13d9d9
BH
16317 [BZ #13062]
16318 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16319 entry for U+00A5 U+0301.
16320
db910efd
UD
163212011-12-22 Ulrich Drepper <drepper@gmail.com>
16322
27deeafc
UD
16323 [BZ #13166]
16324 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16325 buffer for the output is too small.
16326
aed9d171
UD
16327 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16328 optimization.
16329
db910efd
UD
16330 [BZ #13185]
16331 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16332 SSE flags if possible.
16333
2bd779ae
LD
163342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16335
e7f9dac3 16336 [BZ #13540]
2bd779ae
LD
16337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16338 processing for last bytes.
16339
154bfc16
JM
163402011-12-22 Joseph Myers <joseph@codesourcery.com>
16341
16342 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16343 (syscall-list-default-options, syscall-list-default-condition)
16344 (syscall-list-includes): Define.
16345 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16346 list of ABIs and options and #if conditions for each ABI. Do not
16347 handle common syscalls between ABIs specially.
16348 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16349 Remove.
16350 (syscall-list-variants, syscall-list-32bit-options)
16351 (syscall-list-32bit-condition, syscall-list-64bit-options)
16352 (syscall-list-64bit-condition): Define.
16353 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16354 (syscall-list-variants, syscall-list-32bit-options)
16355 (syscall-list-32bit-condition, syscall-list-64bit-options)
16356 (syscall-list-64bit-condition): Define.
16357 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16358 Remove.
16359 (syscall-list-variants, syscall-list-32bit-options)
16360 (syscall-list-32bit-condition, syscall-list-64bit-options)
16361 (syscall-list-64bit-condition): Define.
16362 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16363 Remove.
16364 (syscall-list-variants, syscall-list-32bit-options)
16365 (syscall-list-32bit-condition, syscall-list-64bit-options)
16366 (syscall-list-64bit-condition): Define.
16367
21eaf3a5
UD
163682011-12-22 Ulrich Drepper <drepper@gmail.com>
16369
16c6f992
UD
16370 * locale/iso-639.def: Add brx entry.
16371
41043168
UD
16372 [BZ #13328]
16373 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16374 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16375
21eaf3a5
UD
16376 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16377 __feraiseexcept_renamed.
16378
e3a851a2
UD
163792011-12-21 Ulrich Drepper <drepper@gmail.com>
16380
4920765e
UD
16381 [BZ #13538]
16382 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16383 EPOLLET with unsigned values.
16384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16386
e3a851a2
UD
16387 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16388 to large cancellation.
16389 * math/s_cacoshf.c: Likewise.
16390 * math/s_cacoshl.c: Likewise.
16391
b27e24b8
RK
163922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16393
16394 [BZ #13305]
aebefeee 16395 [BZ #12786]
b27e24b8
RK
16396 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16397 * math/s_cacoshf.c: Likewise.
16398 * math/s_cacoshl.c: Likewise.
16399
ee190f67
UD
164002011-12-21 Ulrich Drepper <drepper@gmail.com>
16401
16402 [BZ #13439]
16403 * iconv/gconv.h: Define __GCONV_SWAP.
16404 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16405 * iconvdata/utf-16.c: Likewise.
16406 * iconvdata/utf-32.c: Likewise.
16407
707f25df
AS
164082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16409
16410 [BZ #13524]
16411 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16412 numerator after shifting it by one limb.
16413
d2daaa1e
RÁE
164142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16415
16416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16417 under [__USE_EXTERN_INLINES].
16418
a4647e72
UD
164192011-12-17 Ulrich Drepper <drepper@gmail.com>
16420
16421 [BZ #13446]
16422 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16423
f0b264f1
AZ
164242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16425
16426 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16427 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16428 optimized code.
16429 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16430 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16431 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16432 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16433 for strncasecmp/strncasecmp_l compilation.
16434 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16435 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16436
8ef4f244
MP
164372011-12-08 Marek Polacek <mpolacek@redhat.com>
16438
16439 [BZ #13484]
16440 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16441 of __asm__.
16442
97ac2654
UD
164432011-12-17 Ulrich Drepper <drepper@gmail.com>
16444
16445 [BZ #13506]
16446 * time/tzfile.c (__tzfile_read): Check values from file header.
16447
91d2a845
WS
164482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16449
16450 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16451 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16452 * powerpc/powerpc32/dl-start.S: Likewise.
16453 * powerpc/powerpc32/elf/start.S: Likewise.
16454 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16455 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16456 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16457 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16458 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16459 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16460 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16461 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16462 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16463 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16464 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16465 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16466 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16467 * powerpc/powerpc32/memset.S: Likewise.
16468 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16469 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16470 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16471 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16472 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16473 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16474 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16475 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16476 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16477 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16478 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16479 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16480 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16481
a1267ba1
AZ
164822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16483
16484 * math/libm-test.inc: Added more nearbyint tests.
16485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16486 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16488 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16489
ad8ac1bd
RL
164902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16491
16492 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16493 FD_CLOEXEC.
16494
1d3e4b61
UD
164952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16496
16497 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16498 Add wcscpy-ssse3 wcscpy-c.
16499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16500 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16501 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16502 * sysdeps/x86_64/wcschr.S: New file.
16503 * sysdeps/x86_64/wcsrchr.S: New file.
16504 * string/test-strcmp.c: Remove checking of wcscmp function for
16505 wrong alignments.
16506 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16507 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16508 wcsrchr-sse2 wcsrchr-c.
16509 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16510 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16511 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16512 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16513 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16514 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16515 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16516 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16518 * wcsmbc/wcschr.c (WCSCHR): New macro.
16519
5b330a2d
UD
165202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16521
16522 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16523 * wcsmbs/test-wcsrchr.c: New file.
16524 * string/test-strrchr.c: Add wcsrchr support.
16525 (WIDE): New macro.
16526 * wcsmbs/test-wcscpy.c: New file.
16527 * string/test-strcpy.c: Add wcscpy support.
16528 (WIDE): New macro.
26428b7c 16529
f039c043
UD
165302011-12-10 Ulrich Drepper <drepper@gmail.com>
16531
16532 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16533 the inner loop.
16534
850fb039
AS
165352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16536
16537 [BZ #13472]
16538 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16539
4efbd5cb
UD
165402011-12-04 Ulrich Drepper <drepper@gmail.com>
16541
52ff5dd0 16542 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16543 Minor optimizations.
52ff5dd0 16544
4efbd5cb
UD
16545 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16546 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16547 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16548
8a426e12
UD
165492011-12-03 Ulrich Drepper <drepper@gmail.com>
16550
aff2453d
UD
16551 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16552 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16553 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16554 for gcc to avoid warnings.
16555 * inet/Makefile (tests): Add tst-checks.
16556 * inet/tst-checks.c: New file.
16557
16558 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16559 warning.
16560
16561 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16562 __wmemcmp_sse2.
16563
16564 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16565 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16566
8a426e12
UD
16567 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16568
9bea3473
UD
165692011-12-02 Ulrich Drepper <drepper@gmail.com>
16570
3a965496
UD
16571 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16572 problem.
16573
9bea3473
UD
16574 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16575
f101631b
UD
165762011-11-29 Joseph Myers <joseph@codesourcery.com>
16577
16578 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16579 conditional on GCC version.
16580 (__arch_compare_and_exchange_val_8_acq)
16581 (__arch_compare_and_exchange_val_16_acq)
16582 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16583 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16584 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16585
a98275aa
UD
165862011-12-02 Joseph Myers <joseph@codesourcery.com>
16587
16588 * sysdeps/sh/backtrace.c: New file.
16589
d4cc29a2
AS
165902011-12-02 Andreas Schwab <schwab@redhat.com>
16591
16592 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16593 parenthesis.
16594
6257af2d
AS
165952011-12-01 Andreas Schwab <schwab@redhat.com>
16596
16597 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16598 falling back to utime.
16599
b5f44c1a
AS
166002011-11-30 Andreas Schwab <schwab@redhat.com>
16601
16602 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16603 expectations for float.
16604
f3a6cc0a
AS
166052011-11-29 Andreas Schwab <schwab@redhat.com>
16606
16607 * locale/weight.h (findidx): Add parameter len.
16608 * locale/weightwc.h (findidx): Likewise.
16609 * posix/fnmatch_loop.c (FCT): Adjust caller.
16610 * posix/regcomp.c (build_equiv_class): Likewise.
16611 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16612 * posix/regexec.c (check_node_accept_bytes): Likewise.
16613 * string/strcoll_l.c (STRCOLL): Likewise.
16614 * string/strxfrm_l.c (STRXFRM): Likewise.
16615
9d65ea3a
UD
166162011-11-17 Ulrich Drepper <drepper@gmail.com>
16617
16618 * Makefile.in: Remove CVSOPT handling.
16619 * configure.in: Remove use of AC_REVISION.
16620 * iconvdata/Makefile (distribute): No need to filter out CVS.
16621 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16622 handling.
16623
5583a086
AS
166242011-11-16 Andreas Schwab <schwab@redhat.com>
16625
16626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16627 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16628 [USE_AS_STRNCASECMP_L]: Likewise.
16629 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16630 NO_TLS_DIRECT_SEG_REFS.
16631 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16632 Fix argument offsets for non-PIC.
16633 [USE_AS_STRNCASECMP_L]: Likewise.
16634 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16635 NO_TLS_DIRECT_SEG_REFS.
16636
d62a8200
UD
166372011-11-15 Ulrich Drepper <drepper@gmail.com>
16638
9d65ea3a 16639 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16640 O_CLOEXEC.
16641 * locale/loadlocale.c (_nl_load_locale): Likewise.
16642
09f93bd3
AS
166432011-11-15 Andreas Schwab <schwab@redhat.com>
16644
446514f9
AS
16645 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16646 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16647 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16648 (SYSCALL_GETTIME): Set errno on error.
16649
09f93bd3
AS
16650 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16651 count references to noai6ai_cached.
16652
312be3f9
UD
166532011-11-15 Ulrich Drepper <drepper@gmail.com>
16654
16655 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16656
16657 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16658 FD_CLOEXEC for /proc/self/maps.
16659
16660 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16661 FD_CLOEXEC for /proc/meminfo.
16662
16663 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16664 gai.conf.
16665
16666 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16667 FD_CLOEXEC for given file.
16668
16669 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16670
16671 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16672 FD_CLOEXEC for /etc/hosts.
16673 (_gethtent): Likewise.
16674
16675 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16676
16677 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16678 cancellation and set FD_CLOEXEC for /etc/netgroup.
16679
16680 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16681 reading /etc/publickey.
16682
16683 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16684 allow cancellation when reading /etc/group.
16685
16686 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16687 cancellation.
16688 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16689
16690 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16691 when using data file.
16692
16693 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16694
16695 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16696 (write_nis_obj): Use "c" and "e" in fopen.
16697
16698 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16699
16700 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16701
16702 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16703
16704 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16705
16706 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16707 locale.alias.
16708
16709 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16710
16711 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16712
16713 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16714
16715 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16716 file parsing and set FD_CLOEXEC.
16717
82af0fa8
UD
167182011-11-14 Ulrich Drepper <drepper@gmail.com>
16719
16720 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16721
a5fb313c
AS
167222011-11-14 Andreas Schwab <schwab@redhat.com>
16723
16724 * malloc/arena.c (arena_get2): Don't call reused_arena when
16725 _int_new_arena failed.
16726
6abf3465
UD
167272011-11-14 Ulrich Drepper <drepper@gmail.com>
16728
16729 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16730 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16731 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16732 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16733 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16734 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16735 to compile strcasecmp and strncasecmp.
16736 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16737 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16738
16739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16740
76e3966e
UD
167412011-11-13 Ulrich Drepper <drepper@gmail.com>
16742
16743 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16744 locale-defines.sym to gen-as-const-headers.
16745 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16746 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16747 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16748 to compile strcasecmp and strncasecmp.
16749 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16750 strcasecmp_l and strncasecmp_l.
16751 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16752 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16753 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16754 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16755 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16756 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16757 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16758 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16759 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16760 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16761 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16762
ab26144e
UD
167632011-11-12 Ulrich Drepper <drepper@gmail.com>
16764
7edb22ef
UD
16765 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16766 result of SYSDEP_GETTIME_CPU to retval.
16767 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16768 parameter list to macro. Remove trailing semicolon. Adjust users.
16769
9694fc44
UD
16770 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16771 variable.
16772
8ad89ef8
UD
16773 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16774 mantissa words.
16775 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16776
0c822ef9
UD
16777 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16778 from unused variable.
16779
874e0564
UD
16780 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16781 DWARF definitions.
16782 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16783 for assembling.
16784
3a2edc79
UD
16785 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16786 over namespaces.
16787
f3c2577f
UD
16788 * sunrpc/rpc_prot.c (rejected): Fix case value.
16789
294ce126
UD
16790 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16791 unsigned long long int to avoid warnings in shift.
16792
5e2b63c6
UD
16793 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16794 of use of trans.
16795 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16796 variable tmp.
16797
e7f4b08e
UD
16798 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16799 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16800 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16801
ab26144e
UD
16802 * nis/nis_table.c (nis_list): Use variable of correct type for
16803 result of __follow_path call.
16804
8a6d5255
AZ
168052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16806
16807 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16808 of math functions ceil, trunc, floor, round, and sqrt, when
16809 avaliable on the platform.
16810 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16811 name clash.
16812 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16813 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16814 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16815
aaddc98c
MP
168162011-10-30 Marek Polacek <mpolacek@redhat.com>
16817
16818 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16819 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16820
95b7042b
RM
168212011-11-11 Roland McGrath <roland@hack.frob.com>
16822
16823 * include/unistd.h: Fix __readlink return type.
16824 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16825
57769839
UD
168262011-11-11 Ulrich Drepper <drepper@gmail.com>
16827
16828 * stdlib/ucontext.h: Undo last change for makecontext.
16829
edc5984d
AS
168302011-11-11 Andreas Schwab <schwab@redhat.com>
16831
98591e58
AS
16832 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16833
edc5984d
AS
16834 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16835 * setjmp/setjmp.h: Mark functions as non-leaf.
16836 * setjmp/bits/setjmp2.h: Likewise.
16837 * stdlib/ucontext.h: Likewise.
16838
77cdc054
AS
168392011-11-10 Andreas Schwab <schwab@redhat.com>
16840
16841 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16842 (reused_arena): Don't check arena limit.
16843 (arena_get2): Atomically check arena limit.
16844
fe72eebd
UD
168452011-11-08 Ulrich Drepper <drepper@gmail.com>
16846
5f078c32
UD
16847 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16848 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16849
fe72eebd
UD
16850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16851 instructions.
16852
ae1bc2fa
AS
168532011-11-07 Andreas Schwab <schwab@redhat.com>
16854
7583a88d
AS
16855 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16856 handler when locking.
16857
ae1bc2fa
AS
16858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16859 Fix size of allocated buffer.
16860
10fb0bfa
AS
168612011-11-04 Andreas Schwab <schwab@redhat.com>
16862
998832a4
AS
16863 [BZ #10103]
16864 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16865 declarations for long double functions.
16866 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16867
10fb0bfa
AS
16868 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16869
3d7ba52b
AS
168702011-11-03 Andreas Schwab <schwab@redhat.com>
16871
a9ae54a1
AS
16872 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16873 installed.
16874
3d7ba52b
AS
16875 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16876 is disabled.
16877
bc8db248
ST
168782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16879
16880 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16881
45b96dd6
AS
168822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16883
647776f6
AS
16884 * include/alloca.h (stackinfo_alloca_round): Define.
16885 (extend_alloca): Use it.
16886 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16887 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16888 here.
16889
d91a8b93
AS
16890 * scripts/check-local-headers.sh: Ignore libaudit.h.
16891
45b96dd6
AS
16892 * nscd/Makefile (extra-objs): Make recursively expanded.
16893
432d41ce
UD
168942011-11-01 Ulrich Drepper <drepper@gmail.com>
16895
34372fc6
UD
16896 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16897 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16898
fadb59f8
UD
16899 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16900 * posix/tst-rfc3484-2.c: Likewise.
16901 * posix/tst-rfc3484-3.c: Likewise.
16902
78239589
UD
16903 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16904 process_vm_writev.
16905 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16906 process_vm_writev.
16907 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16908 process_vm_writev from libc using GLIBC_2.15 version.
16909
432d41ce
UD
16910 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16911
02f9c6cf
PP
169122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16913
16914 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16915 stack usage.
16916
3a2c0242
UD
169172011-10-31 Ulrich Drepper <drepper@gmail.com>
16918
f4ec4833
UD
16919 [BZ #13367]
16920 * nss/getent.c (initgroups_keys): Show error message in case no group
16921 names are given.
16922
3a2c0242
UD
16923 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16924 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16925 __bump_nl_timestamp.
16926 * nscd/connections (nscd_init): When host database is served open
16927 netlink socket and request notification about configuration changes.
16928 (main_loop_poll): Track netlink file descriptor and bump timestamp
16929 in case data becomes available.
16930 (main_loop_epoll): Likewise.
16931 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16932 (database_pers_head): Add extra_data fileds.
16933 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16934 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16935 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16936 Adjust caller.
16937 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16938 in6ai data, call __free_in6ai.
16939 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16940 Add -DHAVE_NETLINK.
16941 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16942 interface information. Reuse previous data if netlink timestamp
16943 is not changed.
16944 (__bump_nl_timestamp): New function.
16945 (__free_in6ai): New function.
16946
636064eb
UD
169472011-10-30 Ulrich Drepper <drepper@gmail.com>
16948
16949 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16950 close_not_cancel_no_status here.
16951 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16952
9beb2334
UD
169532011-10-29 Ulrich Drepper <drepper@gmail.com>
16954
6ef76f3b
UD
16955 [BZ #13276]
16956 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16957 return value.
16958
0ffc4f3e 16959 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16960 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16961 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16962
cb95113e
UD
169632011-07-03 Andreas Jaeger <aj@suse.de>
16964
16965 [BZ #10709]
16966 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16967 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16968 * math/libm-test.inc (sin_test): Add test case.
16969
a1b560ff
UD
169702011-10-29 Ulrich Drepper <drepper@gmail.com>
16971
c9aaface
UD
16972 [BZ #13337]
16973 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16974 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16975
d272e7f1
UD
16976 * elf/chroot_canon.c (chroot_canon): Cleanups.
16977
1bc33071
UD
16978 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16979
1760874d
TJ
16980 [BZ #13335]
16981 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16982 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16983
51d91b18
UD
16984 * string/test-strchr.c: Make usable for strchrnul testing.
16985 * string/test-strchrnul.c: New file.
16986 * string/Makefile (strop-tests): Add strchrnul.
16987
a1b560ff 16988 * po/it.po: Update from translation team.
b611fb81 16989 * po/es.po: Likewise.
a1b560ff 16990
a5b81e1f
UD
169912011-10-28 Ulrich Drepper <drepper@gmail.com>
16992
fd52bc6d
UD
16993 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16994 the three constants needed as parameters. Drop the others.
16995 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16996 __m128i_strloadu_tolower.
52e4b9eb
UD
16997 Create and initialize variable zero and use it in all the places
16998 where _mm_setzero_si128 was used.
fd52bc6d 16999
a5b81e1f
UD
17000 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17001 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17002 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17003 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17004 anymore.
17005 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17006 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17007 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17008 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17009 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17010 __mpranred, __mptan.
17011 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17012 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17013 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17014 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17015 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17016 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17017 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17018 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17019 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17020
b4343346
AS
170212011-10-28 Andreas Schwab <schwab@redhat.com>
17022
0c92d8a8
AS
17023 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17024 redefine if SHARED.
17025 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17026
b4343346
AS
17027 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17028 wide char related routines to wcsmbs subdir.
17029
3871f58f
AS
170302011-10-27 Andreas Schwab <schwab@redhat.com>
17031
17032 [BZ #13344]
17033 * misc/sys/cdefs.h (__THROWNL): Define.
17034 * posix/unistd.h: Use __THREADNL instead of __THREAD
17035 for memory synchronization functions.
17036
94d44d9f
RM
170372011-10-26 Roland McGrath <roland@hack.frob.com>
17038
21b64b15 17039 [BZ #13349]
94d44d9f
RM
17040 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17041 doesn't exist.
17042 * manual/stdio.texi (Obstack Streams): Node removed.
17043
f6ce9294
AS
170442011-10-26 Andreas Schwab <schwab@redhat.com>
17045
80479147
AS
17046 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17047 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17048 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17049
f6ce9294
AS
17050 * math/math_private.h (math_force_eval): Allow non-addressable
17051 arguments.
17052 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17053
618280a1
UD
170542011-10-25 Ulrich Drepper <drepper@gmail.com>
17055
e0016b11
UD
17056 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17057 file is not needed.
17058
17059 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17060 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17066 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17067 Add AVX variants.
17068 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17069 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17070 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17071 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17072 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17073 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17074 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17075 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17076 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17077 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17078 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17079 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17080 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17081 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17082 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17083 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17084 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17085 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17086 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17087
17088 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17089 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17090
618280a1
UD
17091 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17092 place. Use VEX encoding when compiling for AVX.
17093
37822576
AS
170942011-10-25 Andreas Schwab <schwab@redhat.com>
17095
1f1e1947
AS
17096 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17097 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17098
37822576
AS
17099 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17100
31ea014d
UD
171012011-10-25 Ulrich Drepper <drepper@gmail.com>
17102
d7826aa1 17103 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17104 useless if() expression.
d7826aa1
UD
17105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17106 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17107 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17109 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17113 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17114 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17115 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17116 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17117 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17118 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17119 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17120 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17121 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17123 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17124
31ea014d
UD
17125 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17126
16437fec
AS
171272011-10-25 Andreas Schwab <schwab@redhat.com>
17128
17129 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17130 condition.
17131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17132
31d3cc00
UD
171332011-10-25 Ulrich Drepper <drepper@gmail.com>
17134
17135 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17136 .text section. Avoid duplicate constants.
17137 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17147 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17149 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17152 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17154 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17160 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17161 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17162 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17163 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17164 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17165 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17166 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17167 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17168 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17169 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17170 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17171 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17172 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17173 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17174 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17175 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17176 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17177 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17178 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17179 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17180 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17181 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17182
58985aa9
UD
171832011-10-24 Ulrich Drepper <drepper@gmail.com>
17184
202c9deb
UD
17185 * sysdeps/x86_64/dla.h: Move to ...
17186 * sysdeps/x86_64/fpu/dla.h: ...here.
17187 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17188 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17189
af968f62
UD
17190 * config.make.in: Add have-mfma4 entry.
17191 * configure.in: Substitute libc_cv_cc_fma4.
17192 * math/Makefile (dbl-only-routines): Add sincostab.
17193 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17194 Use __sincostab not sincos.
17195 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17196 name is a macro.
17197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17201 using __copysign.
17202 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17203 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17204 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17205 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17206 and __inv.
17207 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17208 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17209 __copysign.
17210 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17211 define aliases when function name is a macro.
17212 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17213 sysdeps/ieee754/dbl-64/sincos.tbl.
17214 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17215 fma4-enabled routines.
17216 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17217 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17218 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17219 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17220 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17221 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17223 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17225 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17226 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17227 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17228 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17229 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17230 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17231 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17232 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17233 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17234 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17235 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17236 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17237 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17238 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17239 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17240 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17241 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17242 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17243 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17244 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17245 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17246
58985aa9
UD
17247 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17248 rename.
17249 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17257
a201fbcf
AS
172582011-10-24 Andreas Schwab <schwab@redhat.com>
17259
17260 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17261
fc2ee42a
LD
172622011-10-23 Ulrich Drepper <drepper@gmail.com>
17263
bb3129bd
UD
17264 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17265
0275fff8
UD
17266 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17267 prediction.
17268 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17269
2fa2ae85
UD
17270 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17271 Remove unused variable magic_bits.
17272 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17273
fc2ee42a
LD
17274 * string/strnlen.c: Define and use STRNLEN macro.
17275 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17276 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17277 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17278 * wcsmbs/wcslen.c: Define and use WCSLEN.
17279 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17280 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17281 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17282 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17283 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17284 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17285 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17286
ce7dd29f
LD
172872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17288
17289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17290 strnlen-sse2-no-bsf.
17291 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17292 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17293 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17294 Add strnlen support.
17295 (USE_AS_STRNLEN): New macro.
17296 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17297 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17298 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17299 * sysdeps/x86_64/wcslen.S: New file.
17300
979c70a3
MZ
173012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17302
17303 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17304 XMM-moves are used for copying on small sizes.
17305
2d09f82f
LD
173062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17307
17308 * wcsmbs/Makefile (strop-tests): Add wcschr.
17309 * wcsmbs/test-wcschr.c: New file.
17310 * string/test-strchr.c: Update.
17311 Add wcschr support.
17312 (WIDE): New macro.
17313
619fccca
LD
173142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17315
2d09f82f 17316 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17317 * wcsmbs/test-wcslen.c: New file.
17318 * string/test-strlen.c: Update.
17319 Add wcslen support.
17320 (WIDE): New macro.
17321
09f699ea
UD
173222011-10-23 Ulrich Drepper <drepper@gmail.com>
17323
17324 * po/it.po: Update from translation team.
17325
95584d3b
LD
173262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17327
17328 * sysdeps/x86_64/wcscmp.S: Update.
17329 Fix wrong comparison semantics.
17330 wcscmp shall use signed comparison not unsigned.
17331 Don't use substraction to avoid overflow bug.
17332 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17333 * wcsmbc/wcscmp.c: Likewise.
17334 * string/test-strcmp.c: Likewise.
17335 Add new tests to check cases with negative values.
17336
c8b3296b
UD
173372011-10-23 Ulrich Drepper <drepper@gmail.com>
17338
17339 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17340 * sysdeps/x86_64/dla.h: ...here. New file.
17341 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17350
246ad57a
AS
173512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17352
17353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17354 __ynl_finite aliases.
17355
a1a87169
UD
173562011-10-22 Ulrich Drepper <drepper@gmail.com>
17357
0d355eb7
UD
17358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17359
a1a87169
UD
17360 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17361 define DLA_FMA.
17362 [DLA_FMA] (EMULV): Use DLA_FMA.
17363 [DLA_FMA] (MUL12): Use EMULV.
17364 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17365 that are not needed.
17366 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17373
ee2aafe0
AS
173742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17375
17376 * math/s_nan.c: Undef __nan.
17377 * math/s_nanf.c: Undef __nanf.
17378 * math/s_nanl.c: Undef __nanl.
17379 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17380 "math_private.h".
17381
bc62c2fb
UD
173822011-10-22 Ulrich Drepper <drepper@gmail.com>
17383
77425c63
UD
17384 * math/s_catan.c: Add branch predictions.
17385 * math/s_catanf.c: Likewise.
17386 * math/s_catanh.c: Likewise.
17387 * math/s_catanhf.c: Likewise.
17388 * math/s_catanhl.c: Likewise.
17389 * math/s_catanl.c: Likewise.
17390 * math/s_cexp.c: Likewise.
17391 * math/s_cexpf.c: Likewise.
17392 * math/s_cexpl.c: Likewise.
17393 * math/s_clog.c: Likewise.
17394 * math/s_clog10.c: Likewise.
17395 * math/s_clog10f.c: Likewise.
17396 * math/s_clog10l.c: Likewise.
17397 * math/s_clogf.c: Likewise.
17398 * math/s_clogl.c: Likewise.
17399 * math/s_csqrt.c: Likewise.
17400 * math/s_csqrtf.c: Likewise.
17401 * math/s_csqrtl.c: Likewise.
17402 * math/s_ctanf.c: Likewise.
17403 * math/s_ctanh.c: Likewise.
17404 * math/s_ctanhf.c: Likewise.
17405 * math/s_ctanhl.c: Likewise.
17406 * math/s_ctanl.c: Likewise.
17407
bc62c2fb
UD
17408 * math/math_private.h: Define __nan, __nanf, __nanl.
17409 * math/s_cacosh.c: Include <math_private.h>.
17410 * math/s_cacoshl.c: Likewise.
17411 * math/s_casinh.c: Likewise.
17412 * math/s_casinhf.c: Likewise.
17413 * math/s_casinhl.c: Likewise.
17414 * math/s_ccos.c: Rely entire on ccosh.
17415 * math/s_ccosf.c: Rely entire on ccoshf.
17416 * math/s_ccosl.c: Rely entirely on ccoshl.
17417 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17418 Remove tests for FE_INVALID.
17419 * math/s_ccoshf.c: Likewise.
17420 * math/s_ccoshl.c: Likewise.
17421 * math/s_csin.c: Likewise.
17422 * math/s_csinf.c: Likewise.
17423 * math/s_csinh.c Likewise.
17424 * math/s_csinhf.c: Likewise.
17425 * math/s_csinhl.c: Likewise.
17426 * math/s_csinl.c: Likewise.
17427 * math/s_ctan.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17429 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17430 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17431
8ec250a4
UD
174322011-10-21 Ulrich Drepper <drepper@gmail.com>
17433
c196fed8
UD
17434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17435 compilation problems.
17436
8ec250a4
UD
17437 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17438 __builtin_expect.
17439
8d4f46c6
UD
174402011-10-20 Ulrich Drepper <drepper@gmail.com>
17441
ed72b654
UD
17442 * sysdeps/i386/configure.in: Test for -mfma4 option.
17443 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17444 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17445 COMMON_CPUID_INDEX_80000001.
17446 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17447 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17448 use it if FMA3 is not supported.
17449 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17450
8d4f46c6
UD
17451 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17452 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17453
d45c60c2
AS
174542011-10-20 Andreas Schwab <schwab@redhat.com>
17455
17456 [BZ #12892]
17457 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17458 it would create a cycle with a link time dependency.
17459
d9a4d2ab
UD
174602011-10-19 Ulrich Drepper <drepper@gmail.com>
17461
855d1560
UD
17462 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17463 instruction.
17464 * string/Makefile (strop-tests): Add rawmemchr.
17465 * string/test-rawmemchr.c: New file.
17466
d9a4d2ab
UD
17467 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17469 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17470 when compiling str{,n}casecmp and when AVX is available. Hook up
17471 new optimized code in initializers.
17472
8f3b1ffe
AS
174732011-10-19 Andreas Schwab <schwab@redhat.com>
17474
17475 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17476 __feraiseexcept instead of feraiseexcept.
17477
d38f1dba
UD
174782011-10-18 Ulrich Drepper <drepper@gmail.com>
17479
d9a8d0ab
UD
17480 * math/math_private.h: Define defaults for libc_fetestexcept and
17481 libc_feupdateenv.
17482 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17483 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17484 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17485 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17486 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17487 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17488 libc_fetestexcept and libc_feupdateenv.
17489
4855e3dd
UD
17490 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17491 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17492 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17493 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17494 libc_feholdexcept_setround.
17495
581d30e3
UD
17496 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17497 Add s_nearbyint-c and s_nearbyintf-c.
17498 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17499 nearbyintf inlines.
17500 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17501 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17502 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17503 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17504
d38f1dba
UD
17505 * math/math_private.h: Define defaults for libc_fegetround,
17506 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17507 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17508 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17509 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17510 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17511 standard functions.
17512 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17513 Remove comments and hacks for old compiler versions.
17514 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17515 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17516 libc_feholdexceptl.
17517
caa6c9d8
AS
175182011-10-18 Andreas Schwab <schwab@redhat.com>
17519
17520 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17521 (__feraiseexcept_renamed): Add __NTH.
17522 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17523 namespace violations.
17524
97c066e6
UD
175252011-10-17 Ulrich Drepper <drepper@gmail.com>
17526
99ce7b04
UD
17527 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17528
1004d182
UD
17529 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17530
228a984d
UD
17531 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17532 recently added interfaces.
17533 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17534
c8553a6a
UD
17535 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17536 about macro parameter expansion.
17537
ed22dcf6
UD
17538 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17539 __NO_MATH_INLINES is defined. Cleanups.
17540
17541 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17542 and __floorf is target has SSE4.1.
17543 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17544 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17545 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17546 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17547
b171c137
UD
17548 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17549 name.
17550 (floorf): Likewise.
17551
97c066e6
UD
17552 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17553
629f62ef
AS
175542011-10-17 Andreas Schwab <schwab@redhat.com>
17555
49a43d80
AS
17556 * misc/sys/cdefs.h: Fix last change.
17557
629f62ef
AS
17558 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17559 database lookup.
17560
e453f6cd
UD
175612011-10-16 Ulrich Drepper <drepper@gmail.com>
17562
aa78043a
UD
17563 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17564
ad0f5cad
UD
17565 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17566 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17568 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17569 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17570 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17571 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17572 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17573 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17574 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17575 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17576 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17577 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17578 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17579 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17580 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17581 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17582 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17583 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17584 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17585 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17586 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17587
17588 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17589 ceil, ceilf, floor, floorf.
17590
17591 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17592 Perform IRELATIVE relocations last.
17593
e453f6cd
UD
17594 * elf/do-rel.h: Add another parameter nrelative, replacing the
17595 local variable with the same name. Change name of the function
17596 to end in Rel or Rela (uppercase).
17597 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17598 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17599 elf_dynamic_do_##reloc function.
17600
fd5bdc09
UD
176012011-10-15 Ulrich Drepper <drepper@gmail.com>
17602
79b195b5
UD
17603 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17604 is sufficient, at least on modern CPUs.
17605
d4a28569
UD
17606 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17607
b61099b5
UD
17608 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17609 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17610
bcf01e6d
UD
17611 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17612 __expl_finite.
17613 * math/bits/math-finite.h: Add entries for exp.
17614 * math/e_expl.c: Add __*_finite alias.
17615 * sysdeps/i386/fpu/e_exp.S: Likewise.
17616 * sysdeps/i386/fpu/e_expf.S: Likewise.
17617 * sysdeps/i386/fpu/e_expl.c: Likewise.
17618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17619 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17620 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17622 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17623 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17624 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17625
ba1a0d59
UD
17626 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17627 is sufficient, at least on modern CPUs.
17628
fd5bdc09
UD
17629 * ctype/ctype-info.c (__ctype_init): Define.
17630 * include/ctype.h (__ctype_init): Declare.
17631 (__ctype_b_loc): The variable is always initialized.
17632 (__ctype_toupper_loc): Likewise.
17633 (__ctype_tolower_loc): Likewise.
17634 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17635 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17636
7872cfb0
AS
176372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17638
b468825a
AS
17639 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17640
7872cfb0
AS
17641 * configure.in: Also look in $cxxmachine/include for C++ system
17642 headers.
17643
be13f7bf
LD
176442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17645
17646 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17647 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17648 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17649 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17650 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17651 (USE_AS_WMEMCMP): New macro.
17652 Fixing indents.
17653 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17654 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17655 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17656 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17658 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17659 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17660 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17661 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17662 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17663 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17664 (USE_AS_WMEMCMP): New macro.
17665 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17666 * sysdeps/string/test-memcmp.c: Update.
17667 Fix simple_wmemcmp.
17668 Add new tests.
17669 * wcsmbs/wmemcmp.c: Update.
17670 (WMEMCMP): New macro.
17671 Fix overflow bug.
17672
556a2007
AJ
176732011-10-12 Andreas Jaeger <aj@suse.de>
17674
17675 [BZ #13268]
17676 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17677
538faaa7
UD
176782011-10-15 Ulrich Drepper <drepper@gmail.com>
17679
ab6737ff
UD
17680 * libio/iofwide.c (do_length): Avoid warning.
17681
538faaa7
UD
17682 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17683
396a21b1
UD
176842011-10-14 Ulrich Drepper <drepper@gmail.com>
17685
cdf2901f
UD
17686 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17687
38ad40ce
UD
17688 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17689 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17690 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17691 * sysdeps/i386/i686/fpu/e_log.S: New file.
17692 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17693 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17694
396a21b1
UD
17695 * ctype/ctype.h: Add support for inlined isXXX functions when
17696 compiling C++ code.
17697
6b1f68c9
AS
176982011-10-14 Andreas Schwab <schwab@redhat.com>
17699
349290c0
AS
17700 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17701
6b1f68c9
AS
17702 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17703
f2282d42
RM
177042011-10-13 Roland McGrath <roland@hack.frob.com>
17705
17706 [BZ #13291]
17707 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17708
5298ffa8
AS
177092011-10-13 Andreas Schwab <schwab@redhat.com>
17710
714fad23
AS
17711 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17712 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17713 feraiseexcept.
17714
81dcc7fb
AS
17715 * sysdeps/x86_64/memrchr.S: Check for zero size.
17716
5298ffa8
AS
17717 * string/stratcliff.c: Add memrchr tests.
17718
951fbcec
LD
177192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17720
17721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17722 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17723 rawmemchr-sse2 rawmemchr-sse2-bsf.
17724 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17725 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17726 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17727 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17728 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17729 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17730 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17731 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17732 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17733 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17734 * string/memrchr.c (MEMRCHR): New macro.
17735
0ac5ae23
UD
177362011-10-12 Ulrich Drepper <drepper@gmail.com>
17737
17738 Add integration with gcc's -ffinite-math-only and optimize wrapper
17739 functions in libm.
17740 * Versions.def: Define GLIBC_2.15 version for libm.
17741 * math/Makefile (headers): Add bits/math-finite.h.
17742 * math/bits/math-finite.h: New file.
17743 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17744 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17745 * math/e_acoshl.c: Add __*_finite alias.
17746 * math/e_acosl.c: Likewise.
17747 * math/e_asinl.c: Likewise.
17748 * math/e_atan2l.c: Likewise.
17749 * math/e_atanhl.c: Likewise.
17750 * math/e_coshl.c: Likewise.
17751 * math/e_exp10.c: Likewise.
17752 * math/e_exp10f.c: Likewise.
17753 * math/e_exp10l.c: Likewise.
17754 * math/e_exp2l.c: Likewise.
17755 * math/e_fmodl.c: Likewise.
17756 * math/e_gammal_r.c: Likewise.
17757 * math/e_hypotl.c: Likewise.
17758 * math/e_j0l.c: Likewise.
17759 * math/e_j1l.c: Likewise.
17760 * math/e_jnl.c: Likewise.
17761 * math/e_lgammal_r.c: Likewise.
17762 * math/e_log10l.c: Likewise.
17763 * math/e_log2l.c: Likewise.
17764 * math/e_logl.c: Likewise.
17765 * math/e_powl.c: Likewise.
17766 * math/e_sinhl.c: Likewise.
17767 * math/e_sqrtl.c: Likewise.
17768 * math/e_scalb.c: Completely rewritten and optimized.
17769 * math/e_scalbf.c: Likewise.
17770 * math/e_scalbl.c: Likewise.
17771 * math/w_acos.c: Likewise.
17772 * math/w_acosf.c: Likewise.
17773 * math/w_acosl.c: Likewise.
17774 * math/w_acosh.c: Likewise.
17775 * math/w_acoshf.c: Likewise.
17776 * math/w_acoshl.c: Likewise.
17777 * math/w_asin.c: Likewise.
17778 * math/w_asinf.c: Likewise.
17779 * math/w_asinl.c: Likewise.
17780 * math/w_atan2.c: Likewise.
17781 * math/w_atan2f.c: Likewise.
17782 * math/w_atan2l.c: Likewise.
17783 * math/w_atanh.c: Likewise.
17784 * math/w_atanhf.c: Likewise.
17785 * math/w_atanhl.c: Likewise.
17786 * math/w_exp10.c: Likewise.
17787 * math/w_exp10f.c: Likewise.
17788 * math/w_exp10l.c: Likewise.
17789 * math/w_fmod.c: Likewise.
17790 * math/w_fmodf.c: Likewise.
17791 * math/w_fmodl.c: Likewise.
17792 * math/w_j0.c: Likewise.
17793 * math/w_j0f.c: Likewise.
17794 * math/w_j0l.c: Likewise.
17795 * math/w_j1.c: Likewise.
17796 * math/w_j1f.c: Likewise.
17797 * math/w_j1l.c: Likewise.
17798 * math/w_jn.c: Likewise.
17799 * math/w_jnf.c: Likewise.
17800 * math/w_log.c: Likewise.
17801 * math/w_logf.c: Likewise.
17802 * math/w_logl.c: Likewise.
17803 * math/w_log10.c: Likewise.
17804 * math/w_log10f.c: Likewise.
17805 * math/w_log10l.c: Likewise.
17806 * math/w_log2.c: Likewise.
17807 * math/w_log2f.c: Likewise.
17808 * math/w_log2l.c: Likewise.
17809 * math/w_pow.c: Likewise.
17810 * math/w_powf.c: Likewise.
17811 * math/w_powl.c: Likewise.
17812 * math/w_remainder.c: Likewise.
17813 * math/w_remainderf.c: Likewise.
17814 * math/w_remainderl.c: Likewise.
17815 * math/w_scalb.c: Likewise.
17816 * math/w_scalbf.c: Likewise.
17817 * math/w_scalbl.c: Likewise.
17818 * math/w_sqrt.c: Likewise.
17819 * math/w_sqrtf.c: Likewise.
17820 * math/w_sqrtl.c: Likewise.
17821 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17822 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17823 used.
17824 * math/math_private.h: Declare __kernel_standard_f.
17825 * math/w_cosh.c: Remove cruft and optimize a bit.
17826 * math/w_coshf.c: Likewise.
17827 * math/w_coshl.c: Likewise.
17828 * math/w_exp2.c: Likewise.
17829 * math/w_exp2f.c: Likewise.
17830 * math/w_exp2l.c: Likewise.
17831 * math/w_hypot.c: Likewise.
17832 * math/w_hypotf.c: Likewise.
17833 * math/w_hypotl.c: Likewise.
17834 * math/w_lgamma.c: Likewise.
17835 * math/w_lgamma_r.c: Likewise.
17836 * math/w_lgammaf.c: Likewise.
17837 * math/w_lgammaf_r.c: Likewise.
17838 * math/w_lgammal.c: Likewise.
17839 * math/w_lgammal_r.c: Likewise.
17840 * math/w_sinh.c: Likewise.
17841 * math/w_sinhf.c: Likewise.
17842 * math/w_sinhl.c: Likewise.
17843 * math/w_tgamma.c: Likewise.
17844 * math/w_tgammaf.c: Likewise.
17845 * math/w_tgammal.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17848 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17849 Minor optimizations. Pretty printing. Remove cruft.
17850 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17851 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17852 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17853 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17854 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17855 * sysdeps/i386/fpu/e_asin.S: Likewise.
17856 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17857 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17858 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17859 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17860 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17861 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17862 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17863 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17864 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17865 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17866 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17867 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17868 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17869 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17870 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17871 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17872 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17873 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17874 * sysdeps/i386/fpu/e_log.S: Likewise.
17875 * sysdeps/i386/fpu/e_log10.S: Likewise.
17876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17877 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17878 * sysdeps/i386/fpu/e_log2.S: Likewise.
17879 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17880 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17881 * sysdeps/i386/fpu/e_logf.S: Likewise.
17882 * sysdeps/i386/fpu/e_logl.S: Likewise.
17883 * sysdeps/i386/fpu/e_pow.S: Likewise.
17884 * sysdeps/i386/fpu/e_powf.S: Likewise.
17885 * sysdeps/i386/fpu/e_powl.S: Likewise.
17886 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17887 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17888 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17889 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17890 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17891 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17892 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17893 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17894 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17904 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17905 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17906 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17908 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17909 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17911 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17912 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17916 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17917 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17918 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17919 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17921 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17922 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17923 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17924 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17925 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17926 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17927 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17928 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17929 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17930 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17931 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17932 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17933 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17934 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17935 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17936 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17937 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17940 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17945 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17948 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17950 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17951 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17952 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17953 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17959 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17962 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17978 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17980 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17981 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17983 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17986 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17987 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17988 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17989 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17990 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17991 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17992 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17993 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17994 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17995 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17996 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17997 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17998 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17999 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18000 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18001 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18003 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18004 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18005 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18006 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18007 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18008 (__isnanf): Likewise.
18009 (__isinf_ns): Likewise.
18010 (__isinf_nsf): Likewise.
18011 (__finite): Likewise.
18012 (__finitef): Likewise.
18013 (__ieee754_sqrt): Define as macro.
18014 (__ieee754_sqrtf): Define as macro.
18015 (__ieee754_sqrtl): Define as macro.
18016 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18017 inlined copy.
18018 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18019 __FINITE_MATH_ONLY__ consistent.
18020 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18021
12cc2fcd
AS
180222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18023
a843a204
AS
18024 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18025 of rawmemchr.
18026
12cc2fcd
AS
18027 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18028
c853acd5
UD
180292011-10-09 Ulrich Drepper <drepper@gmail.com>
18030
18031 * po/ja.po: Update from translation team.
18032
c658d255
RM
180332011-10-08 Roland McGrath <roland@hack.frob.com>
18034
110946e4
RM
18035 * locale/programs/locarchive.c (prepare_address_space): New function.
18036 (create_archive, enlarge_archive, open_archive): Use it.
18037
50604220
RM
18038 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18039 inside [SHARED], where it is used.
18040
c658d255
RM
18041 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18042
18043 * nss/getent.c (netgroup_keys): Remove unused variable.
18044 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18045
6a621eb7
UD
180462011-10-08 Ulrich Drepper <drepper@gmail.com>
18047
7edb55ce
UD
18048 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18049 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18051 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18052 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18053 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18054 * math/Makefile (libm-calls): Add s_isinf_ns.
18055 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18056 * math/multc3.c: Likewise.
18057 * math/s_casin.c: Likewise.
18058 * math/s_casinf.c: Likewise.
18059 * math/s_casinl.c: Likewise.
18060 * math/s_ccos.c: Likewise.
18061 * math/s_ccosf.c: Likewise.
18062 * math/s_ccosl.c: Likewise.
18063 * math/s_ctan.c: Likewise.
18064 * math/s_ctanf.c: Likewise.
18065 * math/s_ctanh.c: Likewise.
18066 * math/s_ctanhf.c: Likewise.
18067 * math/s_ctanhl.c: Likewise.
18068 * math/s_ctanl.c: Likewise.
18069 * math/w_fmod.c: Likewise.
18070 * math/w_fmodf.c: Likewise.
18071 * math/w_fmodl.c: Likewise.
18072 * math/w_remainder.c: Likewise.
18073 * math/w_remainderf.c: Likewise.
18074 * math/w_remainderl.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18076 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18079 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18080 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18081 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18082 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18083
187da0ae
UD
18084 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18085 of the number.
18086 * stdio-common/printf_fphex.c: Likewise.
18087 * stdio-common/printf_size.c: Likewise.
18088
9277c064
UD
18089 * math/e_exp10.c: Include math_private.h using <...> not "...".
18090 * math/e_exp10f.c: Likewise.
18091 * math/e_exp10l.c: Likewise.
18092 * math/e_exp2l.c: Likewise.
18093 * math/e_j0l.c: Likewise.
18094 * math/e_j1l.c: Likewise.
18095 * math/e_jnl.c: Likewise.
18096 * math/e_lgammal_r.c: Likewise.
18097 * math/e_rem_pio2l.c: Likewise.
18098 * math/e_scalb.c: Likewise.
18099 * math/e_scalbf.c: Likewise.
18100 * math/e_scalbl.c: Likewise.
18101 * math/k_cosl.c: Likewise.
18102 * math/k_sinl.c: Likewise.
18103 * math/k_tanl.c: Likewise.
18104 * math/s_cacoshf.c: Likewise.
18105 * math/s_catan.c: Likewise.
18106 * math/s_catanf.c: Likewise.
18107 * math/s_catanh.c: Likewise.
18108 * math/s_catanhf.c: Likewise.
18109 * math/s_catanhl.c: Likewise.
18110 * math/s_catanl.c: Likewise.
18111 * math/s_ccosh.c: Likewise.
18112 * math/s_ccoshf.c: Likewise.
18113 * math/s_ccoshl.c: Likewise.
18114 * math/s_cexp.c: Likewise.
18115 * math/s_cexpf.c: Likewise.
18116 * math/s_cexpl.c: Likewise.
18117 * math/s_clog.c: Likewise.
18118 * math/s_clog10.c: Likewise.
18119 * math/s_clog10f.c: Likewise.
18120 * math/s_clog10l.c: Likewise.
18121 * math/s_clogf.c: Likewise.
18122 * math/s_clogl.c: Likewise.
18123 * math/s_csin.c: Likewise.
18124 * math/s_csinf.c: Likewise.
18125 * math/s_csinh.c: Likewise.
18126 * math/s_csinhf.c: Likewise.
18127 * math/s_csinhl.c: Likewise.
18128 * math/s_csinl.c: Likewise.
18129 * math/s_csqrt.c: Likewise.
18130 * math/s_csqrtf.c: Likewise.
18131 * math/s_csqrtl.c: Likewise.
18132 * math/s_ctan.c: Likewise.
18133 * math/s_ctanf.c: Likewise.
18134 * math/s_ctanh.c: Likewise.
18135 * math/s_ctanhf.c: Likewise.
18136 * math/s_ctanhl.c: Likewise.
18137 * math/s_ctanl.c: Likewise.
18138 * math/s_ldexp.c: Likewise.
18139 * math/s_ldexpf.c: Likewise.
18140 * math/s_ldexpl.c: Likewise.
18141 * math/s_significand.c: Likewise.
18142 * math/s_significandf.c: Likewise.
18143 * math/s_significandl.c: Likewise.
18144 * math/w_acos.c: Likewise.
18145 * math/w_acosf.c: Likewise.
18146 * math/w_acosh.c: Likewise.
18147 * math/w_acoshf.c: Likewise.
18148 * math/w_acoshl.c: Likewise.
18149 * math/w_acosl.c: Likewise.
18150 * math/w_asin.c: Likewise.
18151 * math/w_asinf.c: Likewise.
18152 * math/w_asinl.c: Likewise.
18153 * math/w_atan2.c: Likewise.
18154 * math/w_atan2f.c: Likewise.
18155 * math/w_atan2l.c: Likewise.
18156 * math/w_atanh.c: Likewise.
18157 * math/w_atanhf.c: Likewise.
18158 * math/w_atanhl.c: Likewise.
18159 * math/w_cosh.c: Likewise.
18160 * math/w_coshf.c: Likewise.
18161 * math/w_coshl.c: Likewise.
18162 * math/w_dremf.c: Likewise.
18163 * math/w_exp10.c: Likewise.
18164 * math/w_exp10f.c: Likewise.
18165 * math/w_exp10l.c: Likewise.
18166 * math/w_exp2.c: Likewise.
18167 * math/w_exp2f.c: Likewise.
18168 * math/w_fmod.c: Likewise.
18169 * math/w_fmodf.c: Likewise.
18170 * math/w_fmodl.c: Likewise.
18171 * math/w_hypot.c: Likewise.
18172 * math/w_hypotf.c: Likewise.
18173 * math/w_hypotl.c: Likewise.
18174 * math/w_j0.c: Likewise.
18175 * math/w_j0f.c: Likewise.
18176 * math/w_j0l.c: Likewise.
18177 * math/w_j1.c: Likewise.
18178 * math/w_j1f.c: Likewise.
18179 * math/w_j1l.c: Likewise.
18180 * math/w_jn.c: Likewise.
18181 * math/w_jnf.c: Likewise.
18182 * math/w_jnl.c: Likewise.
18183 * math/w_lgamma.c: Likewise.
18184 * math/w_lgamma_r.c: Likewise.
18185 * math/w_lgammaf.c: Likewise.
18186 * math/w_lgammaf_r.c: Likewise.
18187 * math/w_lgammal.c: Likewise.
18188 * math/w_lgammal_r.c: Likewise.
18189 * math/w_log.c: Likewise.
18190 * math/w_log10.c: Likewise.
18191 * math/w_log10f.c: Likewise.
18192 * math/w_log10l.c: Likewise.
18193 * math/w_log2.c: Likewise.
18194 * math/w_log2f.c: Likewise.
18195 * math/w_log2l.c: Likewise.
18196 * math/w_logf.c: Likewise.
18197 * math/w_logl.c: Likewise.
18198 * math/w_pow.c: Likewise.
18199 * math/w_powf.c: Likewise.
18200 * math/w_powl.c: Likewise.
18201 * math/w_remainder.c: Likewise.
18202 * math/w_remainderf.c: Likewise.
18203 * math/w_remainderl.c: Likewise.
18204 * math/w_scalb.c: Likewise.
18205 * math/w_scalbf.c: Likewise.
18206 * math/w_scalbl.c: Likewise.
18207 * math/w_sinh.c: Likewise.
18208 * math/w_sinhf.c: Likewise.
18209 * math/w_sinhl.c: Likewise.
18210 * math/w_sqrt.c: Likewise.
18211 * math/w_sqrtf.c: Likewise.
18212 * math/w_sqrtl.c: Likewise.
18213 * math/w_tgamma.c: Likewise.
18214 * math/w_tgammaf.c: Likewise.
18215 * math/w_tgammal.c: Likewise.
18216
6a621eb7
UD
18217 * po/ja.po: Update from translation team.
18218
bf582445
AJ
182192011-09-29 Andreas Jaeger <aj@suse.de>
18220
f9efbf3a
AJ
18221 [BZ #13179]
18222 * sunrpc/netname.c (netname2host): Fix logic.
18223
bf582445
AJ
18224 [BZ #6779]
18225 [BZ #6783]
18226 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18227 correctly.
18228 * math/w_remainder.c (__remainder): Likewise.
18229 * math/w_remainderf.c (__remainderf): Likewise.
18230 * math/libm-test.inc (remainder_test): Add test cases.
18231
48693bea
AK
182322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18233
18234 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18235 sdiv_qrnnd.
18236
42622229
LD
182372011-10-07 Ulrich Drepper <drepper@gmail.com>
18238
18239 * string/test-memcmp.c: Avoid unncessary #defines.
18240 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18241
093ecf92
LD
182422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18243
18244 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18245 Use new sse2 version for core i3 - i7 as it's faster
18246 than sse42 version.
18247 (bit_Prefer_PMINUB_for_stringop): New.
18248 * sysdeps/x86_64/rawmemchr.S: Update.
18249 Replace with faster SSE2 version.
18250 * sysdeps/x86_64/memrchr.S: New file.
18251 * sysdeps/x86_64/memchr.S: Update.
18252 Replace with faster SSE2 version.
18253
fde56e5c
MP
182542011-09-12 Marek Polacek <mpolacek@redhat.com>
18255
18256 * elf/dl-load.c (lose): Add cast to avoid warning.
18257
21fd49a9
UD
182582011-10-07 Ulrich Drepper <drepper@gmail.com>
18259
5a06e643
UD
18260 * po/ca.po: Update from translation team.
18261
684ae515
UD
18262 * inet/getnetgrent_r.c: Hook up nscd.
18263 * nscd/Makefile (routines): Add nscd_netgroup.
18264 (nscd-modules): Add netgroupcache.
18265 (CFLAGS-netgroupcache.c): Define.
18266 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18267 (cache_search): Add const to second parameter.
18268 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18269 INNETGR.
18270 (dbs): Add netgrdb entry.
18271 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18272 (verify_persistent_db): Handle netgrdb.
18273 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18274 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18275 GETFDNETGR.
18276 (netgroup_response_header): Define.
18277 (innetgroup_response_header): Define.
18278 (datahead): Add netgroup_response_header and innetgroup_response_header
18279 elements.
18280 * nscd/nscd.conf: Add entries for netgroup cache.
18281 * nscd/nscd.h (dbtype): Add netgrdb.
18282 (_PATH_NSCD_NETGROUP_DB): Define.
18283 (netgroup_iov_disabled): Declare.
18284 (xmalloc, xcalloc, xrealloc): Move declarations here.
18285 (cache_search): Adjust prototype.
18286 Add netgroup-related prototypes.
18287 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18288 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18289 (__nscd_innetgr): Declare.
18290 * nscd/selinux.c (perms): Use access_vector_t as element type and
18291 add netgroup-related initializers.
18292 * nscd/netgroupcache.c: New file.
18293 * nscd/nscd_netgroup.c: New file.
18294 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18295 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18296 For four parameters use innetgr.
18297 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18298 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18299 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18300 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18301
21fd49a9
UD
18302 * nscd/connections.c (register_traced_file): Don't register file
18303 for disabled databases.
18304
054c0457
UD
183052011-10-06 Ulrich Drepper <drepper@gmail.com>
18306
32b63198
UD
18307 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18308
054c0457
UD
18309 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18310 from tree and freeing node.
18311
64031225
JO
183122011-09-25 Jiri Olsa <jolsa@redhat.com>
18313
18314 * nss/nsswitch.c (__nss_database_lookup): Handle
18315 nss_parse_service_list out of memory case.
18316
0490345c
JO
183172011-09-15 Jiri Olsa <jolsa@redhat.com>
18318
18319 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18320 out of memory case.
18321
3a62d00d
AS
183222011-10-04 Andreas Schwab <schwab@redhat.com>
18323
18324 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18325 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18326 pass it down.
18327 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18328 elf_machine_rela, elf_machine_lazy_rel.
18329 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18330 (ELF_DYNAMIC_DO_REL): Likewise.
18331 (ELF_DYNAMIC_DO_RELA): Likewise.
18332 (ELF_DYNAMIC_RELOCATE): Likewise.
18333 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18334 to ELF_DYNAMIC_DO_REL.
18335 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18336 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18337 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18338 elf_machine_rela.
18339 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18340 skip_ifunc, don't call ifunc function if non-zero.
18341 (elf_machine_rela): Likewise.
18342 (elf_machine_lazy_rel): Likewise.
18343 (elf_machine_lazy_rela): Likewise.
18344 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18345 (elf_machine_lazy_rel): Likewise.
18346 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18347 Likewise.
18348 (elf_machine_lazy_rel): Likewise.
18349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18350 Likewise.
18351 (elf_machine_lazy_rel): Likewise.
18352 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18353 (elf_machine_lazy_rel): Likewise.
18354 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18355 (elf_machine_lazy_rel): Likewise.
18356 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18357 (elf_machine_lazy_rel): Likewise.
18358 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18359 (elf_machine_lazy_rel): Likewise.
18360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18361 (elf_machine_lazy_rel): Likewise.
18362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18363 (elf_machine_lazy_rel): Likewise.
18364
68577918
UD
183652011-09-28 Ulrich Drepper <drepper@gmail.com>
18366
18367 * nss/nss_files/files-init.c (_nss_files_init): Use static
18368 initialization for all the *_traced_file variables.
18369
68822d74
AS
183702011-09-28 Andreas Schwab <schwab@redhat.com>
18371
18372 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18373
2056100b
RM
183742011-09-27 Roland McGrath <roland@hack.frob.com>
18375
18376 [BZ #13226]
18377 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18378
32c76b63
AS
183792011-09-27 Andreas Schwab <schwab@redhat.com>
18380
18381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18382 Reread the line before reparsing it.
18383
bf972c9d
AS
183842011-09-26 Andreas Schwab <schwab@redhat.com>
18385
18386 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18387
e057a1b5
JM
183882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18389 Maxim Kuvyrkov <maxim@codesourcery.com>
18390 Joseph Myers <joseph@codesourcery.com>
18391
18392 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18393 if needed for __stack_chk_guard.
18394
bc7e1c36
RM
183952011-09-19 Roland McGrath <roland@hack.frob.com>
18396
ecb1482f
RM
18397 * sysdeps/posix/spawni.c (script_execute): Always define it.
18398 It will be optimized away if unused.
18399 (maybe_script_execute): New function.
18400 (__spawni): Call it.
18401
bc7e1c36
RM
18402 * Makerules: Don't include tls.make.
18403 (config-tls): Always set to thread.
18404 * tls.make.c: File removed.
18405
1c3b002b
MF
184062011-09-19 Mike Frysinger <vapier@gentoo.org>
18407
18408 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18409 * config.make.in (CPPFLAGS-config): New substituted variable.
18410
2840865d
UD
184112011-09-15 Ulrich Drepper <drepper@gmail.com>
18412
88738eb6
UD
18413 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18414
cbf645a6 18415 [BZ #13192]
2840865d
UD
18416 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18417 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18418
b402e91a
RM
184192011-09-15 Roland McGrath <roland@hack.frob.com>
18420
18421 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18422 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18424 (CALL_FAIL): Likewise.
18425 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18426 (CALL_FAIL): Macro removed.
18427 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18428
4c1a1f71
UD
184292011-09-15 Ulrich Drepper <drepper@gmail.com>
18430
18431 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18432 for __FINITE_MATH_ONLY__ == 1.
18433
edc121be
AS
184342011-09-15 Andreas Schwab <schwab@redhat.com>
18435
18436 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18437 __ieee754_sqrt instead of sqrt.
18438 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18439 __ieee754_sqrtf instead of sqrtf.
18440 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18441 __floorf instead of floorf.
18442 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18443 __floorf, __truncf instead of floorf, truncf.
18444
cd205654
UD
184452011-09-14 Ulrich Drepper <drepper@gmail.com>
18446
ee4d0315
UD
18447 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18448
cd205654
UD
18449 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18450 __extern_always_inline.
18451 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18452 32-bit.
18453
48b67d71
AS
184542011-09-14 Andreas Schwab <schwab@redhat.com>
18455
18456 * elf/rtld.c (dl_main): Also relocate in dependency order when
18457 doing symbol dependency testing.
18458
1ae12c75
AS
184592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18460
18461 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18462 Always define `refsym'.
18463
995a80df
AS
184642011-09-13 Andreas Schwab <schwab@redhat.com>
18465
e529793b
AS
18466 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18467 (__FD_ELT): Renamed from __FDELT.
18468 * misc/bits/select2.h (__FD_ELT): Likewise.
18469 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18470 __FD_MASK instead of __FDELT, __FDMASK.
18471 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18472 Likewise.
18473 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18474 Likewise.
18475
52d4fef8
AS
18476 * elf/Makefile (gen-ldd): Fix pattern.
18477
995a80df
AS
18478 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18479 (init_tls): Likewise.
18480
8682f8b0
UD
184812011-09-12 Ulrich Drepper <drepper@gmail.com>
18482
18483 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18484
de82006d
AS
184852011-09-12 Andreas Schwab <schwab@redhat.com>
18486
a7c8e6a1
AS
18487 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18488 `struct cmsghdr *' instead of `void *'.
18489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18490 Likewise.
18491
0f31fe77
AS
184922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18493
18494 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18495 if non-absolute.
18496 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18497 ldd_rewrite_script.
0f31fe77 18498
32b4c839
UD
184992011-09-11 Ulrich Drepper <drepper@gmail.com>
18500
83cd1420
UD
18501 * configure.in: Remove --with-tls option.
18502 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18503 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18504 out in case it is missing.
18505 * sysdeps/ia64/elf/configure.in: Likewise.
18506 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18507 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18508 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18509 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18510 * sysdeps/sh/elf/configure.in: Likewise.
18511 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18512 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18513 * sysdeps/x86_64/elf/configure.in: Likewise.
18514 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18515 * sysdeps/mach/hurd/tls.h: Likewise.
18516
633f745d
UD
18517 [BZ #13067]
18518 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18519
f318beb8
UD
18520 [BZ #13090]
18521 * configure.in: Fix use of AC_INIT.
18522
32b4c839
UD
18523 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18524
3ce1f295
UD
185252011-09-10 Ulrich Drepper <drepper@gmail.com>
18526
bb016596
UD
18527 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18528 __set_errno.
8e58439c
UD
18529 * malloc/hooks.c: Likewise.
18530
aebae053 18531 [BZ #11929]
02d46fc4
UD
18532 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18533 variables statically.
18534 (narenas): Initialize.
18535 (list_lock): Initialize.
bb016596
UD
18536 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18537 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18538 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18539 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18540 Add initializers to main_arena and mp_.
18541 (malloc_state): Remove pagesize member. Change all users to use
18542 GLRO(dl_pagesize).
18543
18544 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18545 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18546 is always initialized.
18547
22a89187
UD
18548 * malloc/malloc.c: Removed unused configurations and dead code.
18549 * malloc/arena.c: Likewise.
18550 * malloc/hooks.c: Likewise.
02d46fc4 18551 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18552
d063d164
UD
18553 * include/tls.h: Removed. USE___THREAD must always be defined.
18554 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18555 * elf/dl-libc.c: Likewise.
18556 * elf/dl-tsd.c: Likewise.
18557 * include/errno.h: Likewise.
18558 * include/netdb.h: Likewise.
18559 * include/resolv.h: Likewise.
18560 * inet/herrno-loc.c: Likewise.
18561 * inet/herrno.c: Likewise.
18562 * malloc/arena.c: Likewise.
18563 * malloc/hooks.c: Likewise.
18564 * malloc/malloc.c: Likewise.
18565 * resolv/res-state.c: Likewise.
18566 * resolv/res_libc.c: Likewise.
18567 * sysdeps/i386/dl-machine.h: Likewise.
18568 * sysdeps/ia64/dl-machine.h: Likewise.
18569 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18570 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18571 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18572 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18573 * sysdeps/sh/dl-machine.h: Likewise.
18574 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18575 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18576 * sysdeps/unix/i386/sysdep.S: Likewise.
18577 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18578 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18581 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18583 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18587 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18588 * sysdeps/x86_64/dl-machine.h: Likewise.
18589 * tls.make.c: Likewise.
18590
3ce1f295
UD
18591 * configure.in: Remove --with-__thread option. Make tests for
18592 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18593 tls_model attribute fail if no support is available. Remove
18594 USE_IN_LIBIO.
18595 * Makeconfig: Adjust for dropped configure option. All features are
18596 now mandatory.
18597 * Makerules: Likewise.
18598 * Versions.def: Likewise.
18599 * argp/argp-fmtstream.c: Likewise.
18600 * argp/argp-fmtstream.h: Likewise.
18601 * argp/argp-help.c: Likewise.
18602 * assert/assert.c: Likewise.
18603 * config.h.in: Likewise.
18604 * config.make.in: Likewise.
18605 * configure: Likewise.
18606 * configure.in: Likewise.
18607 * csu/Versions: Likewise.
18608 * csu/init.c: Likewise.
18609 * elf/tst-audit2.c: Likewise.
18610 * elf/tst-tls10.c: Likewise.
18611 * elf/tst-tls10.h: Likewise.
18612 * elf/tst-tls11.c: Likewise.
18613 * elf/tst-tls12.c: Likewise.
18614 * elf/tst-tls14.c: Likewise.
18615 * elf/tst-tlsmod11.c: Likewise.
18616 * elf/tst-tlsmod12.c: Likewise.
18617 * elf/tst-tlsmod13.c: Likewise.
18618 * elf/tst-tlsmod13a.c: Likewise.
18619 * elf/tst-tlsmod14a.c: Likewise.
18620 * elf/tst-tlsmod15b.c: Likewise.
18621 * elf/tst-tlsmod16a.c: Likewise.
18622 * elf/tst-tlsmod16b.c: Likewise.
18623 * elf/tst-tlsmod7.c: Likewise.
18624 * elf/tst-tlsmod8.c: Likewise.
18625 * elf/tst-tlsmod9.c: Likewise.
18626 * gmon/gmon.c: Likewise.
18627 * grp/fgetgrent_r.c: Likewise.
18628 * grp/putgrent.c: Likewise.
18629 * hurd/fopenport.c: Likewise.
18630 * include/libc-symbols.h: Likewise.
18631 * include/tls.h: Likewise.
18632 * intl/gettextP.h: Likewise.
18633 * intl/loadinfo.h: Likewise.
18634 * locale/global-locale.c: Likewise.
18635 * locale/localeinfo.h: Likewise.
18636 * mach/devstream.c: Likewise.
18637 * malloc/arena.c: Likewise.
18638 * malloc/set-freeres.c: Likewise.
18639 * misc/err.c: Likewise.
18640 * misc/getttyent.c: Likewise.
18641 * misc/mntent_r.c: Likewise.
18642 * posix/getopt.c: Likewise.
18643 * posix/wordexp.c: Likewise.
18644 * pwd/fgetpwent_r.c: Likewise.
18645 * resolv/Versions: Likewise.
18646 * resolv/res_hconf.c: Likewise.
18647 * shadow/fgetspent_r.c: Likewise.
18648 * shadow/putspent.c: Likewise.
18649 * stdio-common/printf_fphex.c: Likewise.
18650 * stdio-common/tmpfile.c: Likewise.
18651 * stdlib/abort.c: Likewise.
18652 * stdlib/fmtmsg.c: Likewise.
18653 * sunrpc/auth_unix.c: Likewise.
18654 * sunrpc/clnt_perr.c: Likewise.
18655 * sunrpc/clnt_tcp.c: Likewise.
18656 * sunrpc/clnt_udp.c: Likewise.
18657 * sunrpc/clnt_unix.c: Likewise.
18658 * sunrpc/openchild.c: Likewise.
18659 * sunrpc/svc_simple.c: Likewise.
18660 * sunrpc/svc_tcp.c: Likewise.
18661 * sunrpc/svc_udp.c: Likewise.
18662 * sunrpc/svc_unix.c: Likewise.
18663 * sunrpc/xdr.c: Likewise.
18664 * sunrpc/xdr_array.c: Likewise.
18665 * sunrpc/xdr_rec.c: Likewise.
18666 * sunrpc/xdr_ref.c: Likewise.
18667 * sunrpc/xdr_stdio.c: Likewise.
18668
1248c1c4
PB
186692011-09-09 Ulrich Drepper <drepper@gmail.com>
18670
18671 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18672
186732011-07-03 Andreas Jaeger <aj@suse.de>
18674
18675 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18676 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18677 regenerate with gen-libm-tests.pl.
18678
186792010-05-12 Petr Baudis <pasky@suse.cz>
18680
18681 [BZ #11589]
18682 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18683 around j0() zero points by switching to j1().
18684 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18685 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18688
f22e1074
UD
186892011-09-09 Ulrich Drepper <drepper@gmail.com>
18690
f19009c1
UD
18691 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18692 instead of 0.
18693 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18694 instead of 0. .
18695 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18696 Patch in part by Pavel Roskin <proski@gnu.org>.
18697
3f8cc204
UD
18698 [BZ #13138]
18699 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18700 realloc.
18701 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18702 Free memory block if necessary.
18703
f22e1074
UD
18704 [BZ #12847]
18705 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18706 be NULL. Don't lock in this case.
18707
0a2349f9
RM
187082011-09-09 Roland McGrath <roland@hack.frob.com>
18709
18710 * elf/elf.h (ELFOSABI_GNU): New macro.
18711 (ELFOSABI_LINUX): Define to that.
18712
f3cdd467
DZ
187132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18714
18715 * string/strncat.c (strncat): Undef the symbol in case it has been
18716 defined in bits/string.h.
18717
74718d13
UD
187182011-09-09 Ulrich Drepper <drepper@gmail.com>
18719
633e9e0f
UD
18720 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18721
0a2349f9 18722 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18723 link map.
18724
f9924780
AJ
187252011-08-17 Andreas Jaeger <aj@suse.de>
18726
18727 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18728
7f5517aa
PP
187292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18730 Ian Lance Taylor <iant@google.com>
18731
18732 * math/libm-test.inc (lround_test): New testcase.
18733 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18734
762011fe
UD
187352011-09-08 Ulrich Drepper <drepper@gmail.com>
18736
92963737
UD
18737 * Makefile: Remove support for automatic cvs check-ins.
18738 * Makerules: Likewise.
18739 * config.make.in: Likewise.
18740 * configure.in: Likewise.
18741 * intl/Makefile: Likewise.
18742 * locale/Makefile: Likewise.
18743 * po/Makefile: Likewise.
18744 * posix/Makefile: Likewise.
18745 * sysdeps/gnu/Makefile: Likewise.
18746 * sysdeps/mach/hurd/Makefile: Likewise.
18747 * sysdeps/sparc/sparc32/Makefile: Likewise.
18748
b0727fd8
JS
18749 [BZ #13118]
18750 * posix/Makefile (bug-regex32-ENV): Define.
18751 Patch by John Stanley <jpsinthemix@verizon.net>.
18752
a0f33f99
UD
18753 * misc/Makefile (headers): Add bits/select2.h.
18754 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18755 * misc/bits/select2.h: New file.
18756 * include/bits/select2.h: New file.
18757 * debug/Makefile (routines): Add fdelt_chk.
18758 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18759 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18760 FD_ISSET.
18761 * debug/fdelt_chk.c: New file.
18762
762011fe
UD
18763 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18764 * wcsmbs/test-wmemcmp.c: Likewise.
18765 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18766 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18767
187682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18769
18770 * string/Makefile (strop-tests): Add memcmp.
18771 * string/test-wmemcmp.c: New file.
18772 * string/test-memcmp.c: Add wmemcmp support.
18773
7f513ec8
RM
187742011-09-08 Roland McGrath <roland@hack.frob.com>
18775
0442afb4
RM
18776 [BZ #13153]
18777 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18778 2011-07-19 change.
18779
7f513ec8
RM
18780 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18781 garbage value in a __mach_port_mod_refs call in the cases of the
18782 task-self and thread-self ports.
18783
a12b2239
ST
187842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18785
18786 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18787
610f9ab4
AS
187882011-09-08 Andreas Schwab <schwab@redhat.com>
18789
7f513ec8 18790 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18791
48882a1a
LD
187922011-09-07 Ulrich Drepper <drepper@gmail.com>
18793
b49865be
UD
18794 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18795
fdc86bc9
UD
18796 * elf/dl-libc.c (dlerror_run): Pass back error code from
18797 dl_catch_error.
18798
c966526a
UD
18799 [BZ #13123]
18800 * elf/dl-load.c (lose): Free l_origin if it is valid.
18801
48882a1a
LD
18802 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18803 names.
18804 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18805 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18806 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18807 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18808 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18809 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18810
77a2a8b4
AZ
188112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18812
18813 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18814 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18815 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18816 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18817 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18818 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18819 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18820 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18821 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18822 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18823
24f579d8
AM
188242011-08-15 Alan Modra <amodra@gmail.com>
18825
18826 [BZ #13092]
18827 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18828 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18829 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18830 ppc_mcount to static-only-routines.
18831 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18832 __mcount_internal.
18833 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18834 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18835
3d4837df
UD
188362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18837
18838 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18839 for finite and infinity parameters.
18840
22700377
WS
188412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18842
18843 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18844 and add nop instructions for throughput optimization.
18845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18846
5025581e
WS
188472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18848
18849 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18850 aligned copy for power7 with vector-scalar instructions.
18851 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18852
08a300c9
L
188532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18854
18855 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18856 AVX check.
18857
59178ef9
AS
188582011-09-07 Andreas Schwab <schwab@redhat.com>
18859
18860 [BZ #13144]
18861 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18862 last change.
18863
e38ba7ab
UD
188642011-09-07 Ulrich Drepper <drepper@gmail.com>
18865
18866 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18867 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18868 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18869 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18870 clock_gettime.
18871
d53a73ac
UD
188722011-09-06 Ulrich Drepper <drepper@gmail.com>
18873
fc8bffcc
UD
18874 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18875 Forgot to demangle the pointer.
18876
ceaa0c5d
UD
18877 * sysdeps/i386/sysdep.h: Define atom_text_section.
18878 * sysdeps/x86_64/sysdep.h: Likewise.
18879 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18880 section with atom_text_section.
18881 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18882 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18883 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18884 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18885 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18886
a77d3c17
UD
18887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18888 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18889 already be defined. Change to take two parameters and don't assign
18890 result to variable. Adjust all users.
18891 Define INTERNAL_GETTIME if not already defined.
18892 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18893 call.
18894 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18895 HAVE_CLOCK_GETTIME_VSYSCALL.
18896 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18897
d53a73ac
UD
18898 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18899 gettimeofday vsyscall, just use time.
18900
a8f84144
AS
189012011-09-06 Andreas Schwab <schwab@redhat.com>
18902
18903 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18904 <errno.h>.
18905
ef606249
UD
189062011-09-06 Ulrich Drepper <drepper@gmail.com>
18907
18908 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18909 syscall on x86-64.
18910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18911 syscall.
18912 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18914 syscall if possible.
18915
6585cb60
UD
189162011-09-05 Ulrich Drepper <drepper@gmail.com>
18917
18918 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18919 e_ident. Don't pass to find_mapsXX.
18920 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18921
a5f524e4
LD
189222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18923
18924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18925 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18926 * sysdeps/x86_64/multiarch/strchr.S: Update.
18927 Check bit_slow_BSF bit.
18928 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18929 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18930 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18931
554881ef
UD
189322011-09-05 Ulrich Drepper <drepper@gmail.com>
18933
d96de963
UD
18934 [BZ #13134]
18935 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18936 before glibc 2.15.
18937 (tryshell): Define.
18938 (__spawni): Change last parameter to be flag. Test
18939 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18940 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18941 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18942 * posix/spawni.c: Likewise.
18943 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18944 * posix/spawnp.c: Likewise. Change normal version to use
18945 SPAWN_XFLAGS_USE_PATH.
18946 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18947 SPAWN_XFLAGS_TRY_SHELL.
18948
d48e5868
UD
18949 [BZ #13150]
18950 * posix/glob.h: Remove gcc 1.x support.
18951
554881ef
UD
18952 [BZ #13068]
18953 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18954
693fb948
LD
189552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18956
18957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18958 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18959 strrchr-sse2-bsf
18960 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18961 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18962 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18963 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18964 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18965 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18966
1b48c537
UD
189672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18968
49d42c37
UD
18969 * sysdeps/x86_64/wcscmp.S: New file.
18970
1b48c537
UD
18971 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18972 wcscmp-c wcscmp-sse2
18973 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18974 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18975 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18976 * wcsmbs/wcscmp.c: Allow renaming.
18977
15c95c5d
DM
189782011-09-05 David S. Miller <davem@davemloft.net>
18979
18980 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18981 stack slot, rather than the struct return pointer slot.
18982 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18983 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18985 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18986
2f0ad8f3
UD
189872011-09-05 Ulrich Drepper <drepper@gmail.com>
18988
d88ae418
UD
18989 * po/ja.po: Update from translation team.
18990
2f0ad8f3
UD
18991 [BZ #13144]
18992 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18993 kernel in 64-bit binaries.
18994
5f4318d1
DM
189952011-09-01 David S. Miller <davem@davemloft.net>
18996
18997 * elf/elf.h (HWCAP_SPARC_*): Move to..
18998 * sysdeps/sparc/sysdep.h: this new file and add new values.
18999 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19000 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19001 _DL_HWCAP_COUNT to 24.
19002 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19003 entries.
19004 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19005 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19006 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19008 instead of magic constants.
19009 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19010
3ba57516
DM
190112011-08-31 David S. Miller <davem@davemloft.net>
19012
19013 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19014 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19015 Reimplement to do errno handling inline.
19016 (SYSCALL_ERROR_HANDLER): New macro.
19017 (__SYSCALL_STRING): Do not do errno handling in asm.
19018 (__CLONE_SYSCALL_STRING): Delete.
19019 (__INTERNAL_SYSCALL_STRING): Delete.
19020 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19021 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19022 (PSEUDO): Reimplement to do errno handling inline.
19023 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19024 (SYSCALL_ERROR_HANDLER): New macro.
19025 (__SYSCALL_STRING): Do not do errno handling in asm.
19026 (__CLONE_SYSCALL_STRING): Delete.
19027 (__INTERNAL_SYSCALL_STRING): Delete.
19028 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19029 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19030 i386.
19031 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19032 (inline_syscall*): Add 'err' argument.
19033 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19034 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19035 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19036 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19037
19038 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19039 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19040
2bc17433
AS
190412011-08-30 Andreas Schwab <schwab@redhat.com>
19042
19043 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19044
fbeb5f4d
JO
190452011-08-29 Jiri Olsa <jolsa@redhat.com>
19046
19047 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19048 directive.
19049
ad69cc26
DM
190502011-08-24 David S. Miller <davem@davemloft.net>
19051
19052 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19053
39dd69df
AS
190542011-08-24 Andreas Schwab <schwab@redhat.com>
19055
19056 * elf/Makefile: Add rules to build and run unload8 test.
19057 * elf/unload8.c: New file.
19058 * elf/unload8mod1.c: New file.
19059 * elf/unload8mod1x.c: New file.
19060 * elf/unload8mod2.c: New file.
19061 * elf/unload8mod3.c: New file.
19062
19063 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19064 it wasn't used.
19065
2c0b250a
DM
190662011-08-23 David S. Miller <davem@davemloft.net>
19067
19068 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19069 subtract stack bias.
19070 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19071 %sp not %fp in calculations.
19072 (_JMPBUF_UNWINDS_ADJ): Likewise.
19073
22044b48
DM
19074 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19075 (aio_suspend): Call it to force an exception region around the
19076 AIO_MISC_WAIT() invocation.
19077
2cae4995
AS
190782011-08-23 Andreas Schwab <schwab@redhat.com>
19079
19080 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19081 backslash.
19082
873a772e
AJ
190832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19084
19085 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19086 protection macro.
19087 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19088 and <dl-machine.h>.
19089 (Elf64_FuncDesc): Remove.
19090
25ad0df1
DM
190912011-08-22 David S. Miller <davem@davemloft.net>
19092
19093 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19094 sigaltstack check, add missing cfi directives.
19095 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19096 missing cfi directives, and sigaltstack handling.
19097
e888bcbe
AS
190982011-08-16 Andreas Schwab <schwab@redhat.com>
19099
19100 [BZ #11724]
19101 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19102 object is seen twice.
19103 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19104
19105 * elf/Makefile (distribute): Add tst-initorder2.c.
19106 (tests): Add tst-initorder2.
19107 (modules-names): Add tst-initorder2a tst-initorder2b
19108 tst-initorder2c tst-initorder2d. Add rules to build them.
19109 ($(objpfx)tst-initorder2.out): New rule.
19110 * elf/tst-initorder2.c: New file.
19111 * elf/tst-initorder2.exp: New file.
19112
87162f46
AS
191132011-08-22 Andreas Schwab <schwab@redhat.com>
19114
70538b7f
AS
19115 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19116
f55ffe58
AS
19117 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19118 dependencies back to end of function.
19119
87162f46
AS
19120 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19121 $(elfobjdir)/ld.so.
19122
91b392a4
UD
191232011-08-21 Ulrich Drepper <drepper@gmail.com>
19124
19125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19126 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19128 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19129 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19130 of __vdso_gettimeofday.
19131 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19132 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19133 attribute_hidden.
19134 (_libc_vdso_platform_setup): Remove initialization of
19135 __vdso_gettimeofday and __vdso_time.
19136
5c43483f
UD
191372011-08-20 Ulrich Drepper <drepper@gmail.com>
19138
775a77e7
UD
19139 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19140 and fgetc_unlocked.
19141 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19142 getc_unlocked.
89f447ed 19143
49c74ba9
UD
19144 * elf/dl-open.c (add_to_global): Report additions to the global scope
19145 for LD_DEBUG=scopes.
19146 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19147 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19148
5c43483f
UD
19149 [BZ #13114]
19150 * stdio-common/Makefile (tests): Add bug24.
19151 * stdio-common/bug24.c: New file.
19152
a101b025
AJ
191532011-08-19 Andreas Jaeger <aj@suse.de>
19154
19155 [BZ #13114]
19156 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19157 non-existant file when using close-on-exec mode.
19158
c88f1766
UD
191592011-08-20 Ulrich Drepper <drepper@gmail.com>
19160
0276a718
UD
19161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19162 the very first instruction.
19163
c88f1766
UD
19164 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19165 the CFI state in the end.
19166 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19167 inclusion of dl-trampoline.h.
19168 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19169
51ccffa0
AS
191702011-08-19 Andreas Schwab <schwab@redhat.com>
19171
94d7165f
AS
19172 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19173 expectations for long double.
19174
51ccffa0
AS
19175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19176 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19177
fd708658 191782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19179
19180 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19181 artificual limit depends upon the system page size.
19182
44f0a71e
UD
191832011-08-17 Ulrich Drepper <drepper@gmail.com>
19184
19185 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19186 * resolv/Makefile: Define CFLAGS-libresolv.
19187
8de79a24
AS
191882011-08-17 Andreas Schwab <schwab@redhat.com>
19189
19190 * nss/makedb.c (compute_tables): Make variables used in nested
19191 function static.
19192
27724598
UD
191932011-08-17 Ulrich Drepper <drepper@gmail.com>
19194
c5305d88
UD
19195 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19196 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19197 if buffer was too small.
19198
27724598
UD
19199 * elf/pldd.c (main): Attach to all threads in the process.
19200 Rewrite /proc handling to use *at functions.
19201
076fe015
UD
192022011-08-16 Ulrich Drepper <drepper@gmail.com>
19203
174baab3
UD
19204 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19205 specifies first scope to show.
19206 (dl_open_worker): Update callers. Move printing scope of new
19207 object to before the relocation.
44f0a71e 19208 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19209 * sysdeps/generic/ldsodefs.h: Update declaration.
19210
076fe015
UD
19211 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19212 string for the scope number.
19213
a60df2c3
UD
192142011-08-14 Ulrich Drepper <drepper@gmail.com>
19215
19216 * nscd/servicescache.c (cache_addserv): Make sure written is always
19217 initialized.
19218
5e4287d1
RM
192192011-08-14 Roland McGrath <roland@hack.frob.com>
19220
85ae0589
RM
19221 * sysdeps/i386/i486/bits/atomic.h
19222 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19223 statement expression, so as to suppress "set but not used" warning.
19224 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19225
69f63097
RM
19226 * string/strncat.c (STRNCAT): Use prototype definition.
19227
675456ef
RM
19228 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19229 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19230 -Iprograms here.
19231 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19232 (localedef-modules): Add localedef.
19233 (locale-modules): Add locale.
19234
5e4287d1
RM
19235 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19236 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19237 to avoid a warning.
19238
9c96ff23
DM
192392011-08-14 David S. Miller <davem@davemloft.net>
19240
19241 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19242 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19243
f9ddf089
UD
192442011-08-13 Ulrich Drepper <drepper@gmail.com>
19245
44f0a71e 19246 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19247 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19248 * elf/rtld.c (dl_main): Set l_name of vDSO.
19249 Call _dl_show_scope when DL_DEBUG_SCOPES.
19250 (process_dl_debug): Recognize scopes flag and also set it for all.
19251 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19252 Declare _dl_show_scope.
19253
1dc27704
UD
19254 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19255 (do_dlopen): Pass caller_dlopen to dl_open.
19256 (__libc_dlopen_mode): Initialize caller_dlopen.
19257
f9ddf089
UD
19258 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19259 of libc. Make tolower call locale-independent. Optimize a bit by
19260 using isdigit instead of isalnum.
19261 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19262
9ac533d3
UD
192632011-08-12 Ulrich Drepper <drepper@gmail.com>
19264
19265 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19266 was a dependency or dynamically loaded.
19267
89edf2e9
UD
192682011-08-11 Ulrich Drepper <drepper@gmail.com>
19269
8e999d29
UD
19270 * intl/l10nflist.c: Allow architecture-specific pop function.
19271 * sysdeps/x86_64/l10nflist.c: New file.
19272
89edf2e9
UD
19273 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19274 classification.
19275
14d96785
AS
192762011-08-10 Andreas Schwab <schwab@redhat.com>
19277
19278 * include/dirent.h: Add libc_hidden_proto for scandirat and
19279 scandirat64. Don't declare __scandirat64.
19280 * dirent/scandirat.c: Add libc_hidden_def.
19281 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19282 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19283
6761ac04
DM
192842011-08-10 David S. Miller <davem@davemloft.net>
19285
19286 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19287 enum.
19288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19291
c55fbd1e
UD
192922011-08-09 Ulrich Drepper <drepper@gmail.com>
19293
19294 * Versions.def [libc]: Add GLIBC_2.15.
19295 * dirent/Makefile (routines): Add scandirat and scandirat64.
19296 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19297 GLIBC_2.15.
19298 * dirent/dirent.h: Declare scandirat and scandirat64.
19299 * dirent/scandirat.c: New file.
19300 * dirent/scandirat64.c: New file.
19301 * sysdeps/wordsize-64/scandirat.c: New file.
19302 * sysdeps/wordsize-64/scandirat64.c: New file.
19303 * dirent/opendir.c: Define opendirat.
19304 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19305 using scandirat.
19306 * dirent/scandir64.c: Adjust for scandir.c change.
19307 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19308 __scandirat64, and __scandir_cancel_handler.
19309 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19310 additional parameter and use openat instead of open (outside of ld.so).
19311 Add new __opendir as wrapper around __opendirat.
19312 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19313 here without requiring old scandirat implementation.
19314
879165f2
UD
193152011-08-08 Ulrich Drepper <drepper@gmail.com>
19316
19317 * dirent/scandir.c (cancel_handler): Renamed to
19318 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19319 defined. Adjust users.
19320 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19321 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19322
cb7e923b
UD
193232011-08-04 Ulrich Drepper <drepper@gmail.com>
19324
16292edd
UD
19325 * string/test-string.h (IMPL): Use __STRING to expand name and then
19326 stringify it.
19327
cb7e923b
UD
19328 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19329 of cleanups.
19330
cff82933
LD
193312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19332
19333 * string/Makefile: Update.
19334 (strop-tests): Append strncat.
19335 * string/test-wcscmp.c: New file.
19336 New comprehensive test for wcscmp.
19337 * string/test-strcmp.c: Update.
19338 (WIDE): New define.
19339
9be9bfcc
AS
193402011-07-22 Andreas Schwab <schwab@redhat.com>
19341
19342 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19343 line.
19344
2e96f1c7
AS
193452011-07-26 Andreas Schwab <schwab@redhat.com>
19346
19347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19348 encoding to ACE if AI_IDN.
19349
85188888
JJ
193502011-08-01 Jakub Jelinek <jakub@redhat.com>
19351
19352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19353 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19354
5fa16e9b
LD
193552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19356
19357 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19358 Fix overflow bug in strncat.
19359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19360
19361 * string/test-strncat.c: Update.
19362 Add new tests for checking overflow bugs.
19363
193642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19365
19366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19367 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19368 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19369 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19370 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19371 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19372 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19373 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19374 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19375
19376 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19377 (USE_AS_STRCAT): Define.
19378 Add strcat and strncat support.
19379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19380
8c1a459f
AS
193812011-07-25 Andreas Schwab <schwab@redhat.com>
19382
19383 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19384 __n bigger than INT_MAX+1.
19385 (__strncmp_g): Likewise.
19386
bba33c28
UD
193872011-07-23 Ulrich Drepper <drepper@gmail.com>
19388
798be72d
UD
19389 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19390 * libio/stido.h: Likewise.
19391
8accd4dc
UD
19392 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19393 (AF_NFC): Define.
19394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19395 (AF_NFC): Define.
19396
cbff0d96
UD
19397 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19398 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19399 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19400 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19402
9191c04a
UD
19403 [BZ #13021]
19404 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19405 installed.
19406
bba33c28
UD
19407 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19408 typo.
19409 (_dl_x86_64_save_sse): Likewise.
19410
90f139dd
UD
194112011-07-22 Ulrich Drepper <drepper@gmail.com>
19412
1aae088a
UD
19413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19414 OSXSAVE.
19415 (_dl_x86_64_save_sse): Likewise.
19416
8e2045f5
UD
19417 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19418
90f139dd
UD
19419 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19420
1d002f25
AS
194212011-07-21 Andreas Schwab <schwab@redhat.com>
19422
19423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19424 change.
19425 (_dl_x86_64_save_sse): Use correct AVX check.
19426
21137f89
UD
194272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19428
19429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19430 bug in strncpy/strncat.
19431 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19432
a65c0b7a
UD
194332011-07-21 Ulrich Drepper <drepper@gmail.com>
19434
19435 * string/tester.c (test_strcat): Add tests for different alignments
19436 of source and destination.
19437 (test_strncat): Likewise.
19438
6986b98a
UD
194392011-07-20 Ulrich Drepper <drepper@gmail.com>
19440
90bb2039
UD
19441 [BZ #12852]
19442 * posix/glob.c (glob): Check passed in values before using them in
19443 expressions to avoid some overflows.
19444 (glob_in_dir): Likewise.
19445
5644ef54
UD
19446 [BZ #13007]
19447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19448 check for AVX enablement so that we don't crash with old kernels and
19449 new hardware.
19450 * elf/tst-audit4.c: Add same checks here.
19451 * elf/tst-audit6.c: Likewise.
19452
19453 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19454
bfc9dc9b
AS
194552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19456
19457 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19458
702e64bb
UD
194592011-07-20 Ulrich Drepper <drepper@gmail.com>
19460
19461 * po/cs.po: Update from translation team.
19462 * po/bg.po: Likewise.
19463
295e904f
MP
194642011-07-12 Marek Polacek <mpolacek@redhat.com>
19465
19466 * misc/sys/cdefs.h: Add support for const attribute.
19467 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19468 to gnu_dev_{major,minor,makedev} functions.
19469
3ff94596
MP
194702011-07-20 Marek Polacek <mpolacek@redhat.com>
19471
19472 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19473
28b59fca
AS
194742011-07-20 Andreas Schwab <schwab@redhat.com>
19475
19476 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19477 strlen results.
19478
19df733e
AK
194792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19480
19481 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19482 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19483 register in order to avoid conflicts with the soft frame pointer
19484 being held in r11 when necessary.
19485 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19486 (INTERNAL_VSYSCALL_NCS): Likewise.
19487
c8835729
MP
194882011-07-14 Marek Polacek <mpolacek@redhat.com>
19489
19490 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19491 * elf/dl-fini.c (_dl_fini): Adjust caller.
19492 * elf/dl-close.c (_dl_close_worker): Likewise.
19493 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19494
b902330c
MP
194952011-07-15 Marek Polacek <mpolacek@redhat.com>
19496
8991e135
MP
19497 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19498 "aux_cache->nlibs < 0".
19499
b902330c
MP
19500 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19501 in the reload-count case.
19502
99710781
LD
195032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19504
19505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19506 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19507 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19508 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19509 * sysdeps/x86_64/multiarch/strcat.S: New file.
19510 * sysdeps/x86_64/multiarch/strncat.S: New file.
19511 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19512 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19513 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19514 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19515 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19516 (USE_AS_STRCAT): Define.
19517 Add strcat and strncat support.
19518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19519 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19520 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19521 * string/strncat.c: Update.
19522 (USE_AS_STRNCAT): Define.
19523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19524 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19525 and i7.
19526 * sysdeps/x86_64/multiarch/init-arch.h
19527 (bit_Prefer_PMINUB_for_stringop): New.
19528 (index_Prefer_PMINUB_for_stringop): Likewise.
19529 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19530 bit_Prefer_PMINUB_for_stringop.
19531
7dc6bd90
UD
195322011-07-19 Ulrich Drepper <drepper@gmail.com>
19533
19534 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19535 buffer64.
19536 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19537 of casting of buffer.
19538 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19539 buffer32 and buffer64.
19540 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19541 writes instead of casting of buffer.
19542 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19543 buffer32.
19544 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19545 casting of buffer.
19546
e0e72284
AS
195472011-07-19 Andreas Schwab <schwab@redhat.com>
19548
19549 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19550
feb1eb0b
UD
195512011-07-19 Ulrich Drepper <drepper@gmail.com>
19552
19553 * nscd/nscd.c (termination_handler): Don't do anything for a database
19554 if it has not yet been initialized.
19555
298711ff
UD
195562011-07-18 Ulrich Drepper <drepper@gmail.com>
19557
19558 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19559
195602011-07-15 Marek Polacek <mpolacek@redhat.com>
19561
19562 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19563
f9d68389
UD
195642011-07-18 Ulrich Drepper <drepper@gmail.com>
19565
19566 * po/nl.po: Update from translation team.
19567 * po/sv.po: Likewise.
19568
db290cf5
RM
195692011-07-16 Roland McGrath <roland@hack.frob.com>
19570
19571 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19572 now disallowed by GCC.
5c550700 19573
fd5e21c7
RM
19574 * configure.in (use-default-link): Default to yes if a test -shared
19575 link meets our qualifications.
19576 * configure: Regenerated.
19577
5c550700
RM
19578 * config.make.in (output-format): New variable.
19579 * configure.in: Check for ld --print-output-format support.
19580 * configure: Regenerated.
19581 * Makerules ($(common-objpfx)format.lds)
19582 [$(output-format) != unknown]: Just use $(output-format),
19583 instead of the linker-script munging.
19584
9fa2c032
RM
195852011-07-14 Roland McGrath <roland@hack.frob.com>
19586
a6928d51
RM
19587 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19588 of $(common-objpfx)shlib.lds.
19589 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19590
661607b3
RM
19591 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19592 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19593
9fa2c032
RM
19594 * configure.in (-z relro check): Adjust test code to add a large
19595 writable data section after it.
19596 * configure: Regenerated.
19597
defe9061
RM
195982011-07-11 Roland McGrath <roland@hack.frob.com>
19599
19600 * configure.in (-z relro check): Fix test code to make the variable
19601 truly const.
19602 * configure: Regenerated.
19603
319b9ad4
UD
196042011-07-11 Ulrich Drepper <drepper@gmail.com>
19605
19606 * nscd/nscd.h (struct traced_file): Define.
19607 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19608 elements. Add traced_files.
19609 (inotify_fd): Declare.
19610 (register_traced_file): Declare.
19611 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19612 (inotify_fd): Export.
19613 (resolv_conf_descr): Remove.
19614 (nscd_init): Move inotify descriptor creation to main.
19615 Don't register files for notification here.
19616 (register_traced_file): New function.
19617 (invalidate_cache): Don't use reset_res to determine whether to call
19618 res_init, go through the list of registered files.
19619 (main_loop_poll): The inotify descriptors are now stored in the
19620 structures for the traced files.
19621 (main_loop_epoll): Likewise
19622 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19623 to __nss_disable_nscd.
19624 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19625 for a database anymore. Check the records for all the registered
19626 files instead.
19627 * nss/Makefile (libnss_files-routines): Add files-init.
19628 (libnss_db-routines): Add db-init.
19629 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19630 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19631 * nss/nss_db/db-init.c: New file.
19632 * nss/nss_files/files-init.c: New file.
19633 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19634 __nss_lookup_function.
19635 (__nss_lookup_function): Call nss_load_library.
19636 (nss_load_all_libraries): New function.
19637 (__nss_disable_nscd): Take parameter with callback function for files
19638 to register. Set is_nscd. Load all the DSOs for the NSS modules
19639 used for the cached services.
19640 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19641 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19642 options for features to all the files in nscd.
19643
19644 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19645
23bee3e8
RM
196462011-07-10 Roland McGrath <roland@hack.frob.com>
19647
19648 * csu/elf-init.c (__libc_csu_init): Comment typo.
19649
46a5b7f0
UD
196502011-07-09 Ulrich Drepper <drepper@gmail.com>
19651
19652 * po/pl.po: Update from translation team.
19653 * po/ja.po: Likewise.
19654 * po/ru.po: Likewise.
19655 * po/ko.po: Likewise.
19656 * po/fr.po: Likewise.
19657
d30cf5bb
RM
196582011-07-09 Roland McGrath <roland@hack.frob.com>
19659
113ddea4
RM
19660 * configure.in (.ctors/.dtors header and trailer check):
19661 Use an empirical test on a built program.
19662 * configure: Regenerated.
19663
574920b4
RM
19664 * configure.in (-z relro check): Use an empirical test on a built DSO.
19665 Detect, but do not require, on ia64.
19666 * configure: Regenerated.
19667
d30cf5bb
RM
19668 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19669 Update tests that use readelf to use $READELF instead.
19670 * configure: Regenerated.
19671
8538fdb3
UD
196722011-07-08 Ulrich Drepper <drepper@gmail.com>
19673
19674 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19675 if the result is not used.
19676
04d08991
AJ
196772011-07-05 Andreas Jaeger <aj@suse.de>
19678
19679 [BZ#9696]
19680 * stdlib/tst-strtod.c: Add testcase.
19681
de283087
AD
196822011-07-07 Ulrich Drepper <drepper@gmail.com>
19683
4e5f31c8 19684 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19685 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19686 The latter has a higher limit. Take additional parameter to pass to
19687 the new function.
19688 (__pathconf): Pass file to __statfs_link_max.
19689 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19690 __statfs_link_max.
19691 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19692 __statfs_link_max.
19693
de283087
AD
19694 [BZ #12868]
19695 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19696 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19697 Handle Lustre.
19698 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19699 (__statfs_filesize_max): Likewise.
19700 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19701
c75fa153
AJ
197022011-07-05 Andreas Jaeger <aj@suse.de>
19703
19704 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19705
1a544854
UD
197062011-07-06 Marek Polacek <mpolacek@redhat.com>
19707
19708 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19709 `status' variable.
19710 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19711 Likewise.
19712
6f0eec67
UD
197132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19714
19715 * Makefile (strop-tests): Add strncat.
19716 * string/test-strncat.c: New file.
19717
aae30307
UD
197182011-06-30 Marek Polacek <mpolacek@redhat.com>
19719
19720 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19721
c0cfb5eb
UD
197222011-06-21 Andreas Jaeger <aj@suse.de>
19723
19724 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19725 Copy rule from iconvdata/Makefile.
19726
01636b21
UD
197272011-07-06 Ulrich Drepper <drepper@gmail.com>
19728
19729 [BZ #12922]
19730 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19731 but no long options are defined, just return 'W'.
19732
9895c8bc
UD
197332011-06-22 Marek Polacek <mpolacek@redhat.com>
19734
19735 [BZ #9696]
19736 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19737
5d4cf042
UD
197382011-07-06 Ulrich Drepper <drepper@gmail.com>
19739
19740 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19741 netgroups to read.
960e5535 19742 (innetgr): Likewise.
5d4cf042 19743
751eb97e
RM
197442011-07-05 Roland McGrath <roland@hack.frob.com>
19745
19746 * config.make.in (install_root): Default to $(DESTDIR).
19747
f15f1e45
UD
197482011-07-05 Ulrich Drepper <drepper@gmail.com>
19749
19750 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19751
4e34ac6a
RM
197522011-07-02 Roland McGrath <roland@hack.frob.com>
19753
5e9b6af4
RM
19754 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19755
84f9ea0f
RM
19756 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19757 containing directory rather than embedding absolute directory names.
19758
ea5ee9f7
RM
19759 * scripts/check-local-headers.sh: Rewritten using awk.
19760 Match by word, not by line. Print error messages for matches.
19761 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19762
1b74661a
RM
19763 * Makerules [shlib-lds-flags empty]:
19764 ($(common-objpfx)libc_pic.opts): New target.
19765 ($(common-objpfx)libc_pic.os.clean): New target.
19766 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19767
19768 * config.make.in (OBJCOPY): New variable.
19769 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19770 * configure: Regenerated.
19771
f781ef40
RM
19772 * config.make.in (use-default-link): New variable.
19773 * configure.in (use_default_link): Grok --with-default-link to set it.
19774 * configure: Regenerated.
19775 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19776 (shlib-lds, shlib-lds-flags): Define to empty.
19777
2d4fa81e
RM
19778 * Makerules (shlib-lds): New variable.
19779 (shlib-lds-flags): New variable.
19780 (build-shlib, build-moduile, build-module-asneeded): Use it.
19781 ($(common-objpfx)libc.so): Use $(shlib-lds).
19782 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19783 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19784
31fffa6b
RM
19785 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19786 DT_FLAGS/DT_FLAGS_1 with zero flags.
19787
4e34ac6a
RM
19788 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19789 linker script munging.
19790
fcfc776b
UD
197912011-07-02 Ulrich Drepper <drepper@gmail.com>
19792
19793 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19794 as 128-bit value.
19795 * crypt/sha512.c (sha512_process_block): Perform total addition using
19796 128-bit if possible.
19797 (__sha512_finish_ctx): Likewise.
19798 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19799 as 64-bit value.
19800 * crypt/sha256.c (SWAP64): Define.
19801 (sha256_process_block): Perform total addition using 64-bit if
19802 possible.
19803 (__sha256_finish_ctx): Likewise.
19804
99231d9a
UD
198052011-07-01 Ulrich Drepper <drepper@gmail.com>
19806
19807 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19808 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19809 * nscd/hstcache.c (cache_addhst): Likewise.
19810 * nscd/grpcache.c (cache_addgr): Likewise.
19811 * nscd/aicache.c (addhstaiX): Likewise
19812 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19813
445b4a53
TK
198142011-07-01 Thorsten Kukuk <kukuk@suse.de>
19815
19816 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19818 * nscd/hstcache.c (cache_addhst): Likewise.
19819 * nscd/grpcache.c (cache_addgr): Likewise.
19820 * nscd/aicache.c (addhstaiX): Likewise
19821
6d4d8e8e
AS
198222011-07-01 Andreas Schwab <schwab@redhat.com>
19823
19824 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19825 domain only when needed.
19826
89f654c5
AS
198272011-06-30 Andreas Schwab <schwab@redhat.com>
19828
19829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19830 is always restored.
19831
cf3b23ff
UD
198322011-06-29 Ulrich Drepper <drepper@gmail.com>
19833
19834 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19835 are re-adding the entry.
19836 * nscd/servicescache.c (cache_addserv): Likewise.
19837
751626f9
AJ
198382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19839
19840 * sysdeps/generic/dl-irel.h: fix protection against multiple
19841 inclusions.
19842 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19843
9113ea1f
UD
198442011-06-28 Ulrich Drepper <drepper@gmail.com>
19845
5c0b8d90
UD
19846 [BZ #12935]
19847 * malloc/memusage.sh: Fix quoting in message.
19848 * debug/xtrace.sh: Likewise.
19849
9113ea1f
UD
19850 * configure.in: Remove support for --experimental-malloc option, make
19851 it the default.
19852 * config.make.in: Likewise.
19853 * malloc/Makefile: Likewise.
19854
a4172181
AS
198552011-06-27 Andreas Schwab <schwab@redhat.com>
19856
19857 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19858 two-byte characters.
19859
78a7eee7
RM
198602011-06-27 Roland McGrath <roland@hack.frob.com>
19861
62bede13
RM
19862 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19863 AC_CACHE_CHECK invocation.
19864 * configure: Regenerated.
19865
78a7eee7
RM
19866 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19867
5ce33a62
UD
198682011-06-27 Ulrich Drepper <drepper@gmail.com>
19869
034807a9
UD
19870 [BZ #12350]
19871 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19872 bit from old_res_options.
19873
4902da17
UD
19874 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19875
5ce33a62
UD
19876 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19877 value type for setfct.
19878
c2344f56
L
198792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19880
19881 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19882 __gettimeofday instead of gettimeofday.
19883
68468076
UD
198842011-06-26 Ulrich Drepper <drepper@gmail.com>
19885
19886 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19887
acb0d739
L
198882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19889
19890 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19891
19892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19893 info.
19894
8912479f
L
198952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19898 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19899 strcpy-sse2-unaligned strncpy-sse2-unaligned
19900 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19901 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19902 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19903 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19904 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19905 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19907 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19908 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19909 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19910 (STRCPY): Support SSE2 and SSSE3 versions.
19911
d5495a11
UD
199122011-06-24 Ulrich Drepper <drepper@gmail.com>
19913
19914 [BZ #12874]
19915 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19916 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19917 kernels which artificially limit size of requests.
19918
0b1cbaae
L
199192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19922 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19923 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19924 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19925 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19926 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19927 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19928 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19929 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19931 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19932 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19933 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19934 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19935 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19937 Enable unaligned load optimization for Intel Core i3, i5 and i7
19938 processors.
19939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19940 Define.
19941 (index_Fast_Unaligned_Load): Define.
19942 (HAS_FAST_UNALIGNED_LOAD): Define.
19943
07f494a0
MP
199442011-06-23 Marek Polacek <mpolacek@redhat.com>
19945
19946 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19947
fa3fc0fe
UD
199482011-06-22 Ulrich Drepper <drepper@gmail.com>
19949
19950 [BZ #12907]
19951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19952 until it is clear that the information is realy needed.
19953 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19954
e12df166
AS
199552011-06-22 Andreas Schwab <schwab@redhat.com>
19956
19957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19958
852eb34d
UD
199592011-06-22 Ulrich Drepper <drepper@gmail.com>
19960
84e2a551
UD
19961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19962 /sys/devices/system/cpu/online if it is usable.
19963
852eb34d
UD
19964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19965 reading the information from the /proc filesystem to once a second.
19966
6e502e19
UD
199672011-06-21 Andreas Jaeger <aj@suse.de>
19968
19969 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19970 NULL after inclusion of kernel headers.
19971
75d39ff2
UD
199722011-06-21 Ulrich Drepper <drepper@gmail.com>
19973
51f9aa6a
UD
19974 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19975 calls to internal_setent.
19976
c0244a9d
UD
19977 [BZ #12885]
19978 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19979 addresses using gethostbyname4_r ignore IPv4 addresses.
19980
c5e3c2ae
UD
19981 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19982 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19983
75d39ff2
UD
19984 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19985
42675c6f
DM
199862011-06-20 David S. Miller <davem@davemloft.net>
19987
19988 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19989 inclusions.
19990 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19991
19992 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19993 (elf_irel): Use it.
19994 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19995 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19996 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19997 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19998 * sysdeps/x86_64/dl-irel.h: Likewise.
19999
20000 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20001 * elf/dl-sym.c: Likewise.
20002
57912a71
UD
200032011-06-15 Ulrich Drepper <drepper@gmail.com>
20004
20005 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20006 need to dereference resplen2.
20007
ee22793d
AS
200082011-06-14 Andreas Schwab <schwab@redhat.com>
20009
20010 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20011
a9e836b0
UD
200122011-06-15 Ulrich Drepper <drepper@gmail.com>
20013
77fb9117
UD
20014 * Makeconfig: Define vardbdir and inst_vardbdir.
20015 * nss/Makefile: Add rules to install db-Makefile.
20016
40c1b22c
UD
20017 * nss/nss_db/db-XXX.c: Cleanup.
20018
9f2da732
UD
20019 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20020 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20021 GLIBC_PRIVATE.
20022 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20023 * nss/makedb.c: Implement -g option to specify that value strings
20024 are generated and should not be added to table iterated over for
20025 get*ent calls.
20026 * nss/nss_db/db-initgroups.c: New file.
20027
82e9a1f7
UD
20028 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20029 interface.
20030
c41af17e
UD
20031 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20032 (internal_getgrouplist): Adjust to name change.
20033 Update use_initgroups_entry if this is not the first call.
20034 * nss/databases.def: Add initgroups entry.
20035
a9e836b0
UD
20036 * nss/makedb.c (compute_tables): Check result of multiple hash table
20037 sizes to minimize maximum chain length.
20038
2666d441
UD
200392011-06-14 Ulrich Drepper <drepper@gmail.com>
20040
20041 * Versions.def: Add entry for libnss_db.
20042 * shlib-versions: Likewise.
20043 * nss/Makefile: Add rules to build libnss_db.
20044 * nss/Versions: Add libnss_db information. Organize libnss_files
20045 entries better.
20046 * nss/db-Makefile: Add gshadow support. Change rules for the new
20047 makedb progra. Some minor improvements to generate smaller files.
20048 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20049 here from...
20050 * nss/makedb.c: ...here.
20051 Improve database format to be smaller and require less memory at
20052 runtime.
20053 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20054 db anymore.
20055 * nss/nss_db/db-netgrp.c: Likewise.
20056 * nss/nss_db/db-open.c: Likewise.
20057 * nss/nss_files/flies-XXX.x: Adjust comments.
20058 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20059 * nss/nss_files/files-grp.c: Likewise.
20060 * nss/nss_files/files-hosts.c: Likewise.
20061 * nss/nss_files/files-network.c: Likewise.
20062 * nss/nss_files/files-proto.c: Likewise.
20063 * nss/nss_files/files-pwd.c: Likewise.
20064 * nss/nss_files/files-rpc.c: Likewise.
20065 * nss/nss_files/files-service.c: Likewise.
20066 * nss/nss_files/files-sgrp.c: Likewise.
20067 * nss/nss_files/files-spwd.c: Likewise.
20068 * nss/nss_db/db-alias.c: Removed.
20069 * nss/nss_db/dummy-db.h: Removed.
20070
9ee76b5a
UD
200712011-06-02 Ulrich Drepper <drepper@gmail.com>
20072
20073 * nss/makedb.c: Rewritten to not use database library.
20074 * nss/Makefile: Update to build new makedb program.
20075
c71ca1f8
AJ
200762011-06-14 Andreas Jaeger <aj@suse.de>
20077
20078 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20079 memset declaration.
20080
3154bfb8
UD
200812011-06-10 Andreas Schwab <schwab@redhat.com>
20082
20083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20084 tmpbuf.
20085
b350afab
RM
200862011-06-10 Roland McGrath <roland@hack.frob.com>
20087
decd4e50
RM
20088 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20089 * elf/Makefile ($(objpfx)ld.so): Likewise.
20090
5615eaf2
RM
20091 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20092 Don't list ld.so twice in dependencies.
20093
20094 * posix/bug-regex31.c: Include <stdlib.h>.
20095
20096 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20097
20098 * nis/nss_compat/compat-spwd.c
20099 (getspent_next_nss_netgr): Remove unused variable.
20100 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20101
20102 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20103 nonmembers" output to use the right array.
20104
20105 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20106
20107 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20108
20109 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20110 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20111 * catgets/gencat.c (read_input_file): Likewise.
20112 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20113
20114 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20115 variable definition inside #if's controlling its use.
20116
20117 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20118
20119 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20120
20121 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20122
20123 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20124 unreachable code.
20125
20126 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20127
b68e08db
RM
20128 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20129 * configure: Regenerated.
20130
b350afab
RM
20131 * Makerules: Revert last change.
20132 * elf/Makefile: Likewise.
20133
28368601
RM
201342011-06-09 Roland McGrath <roland@hack.frob.com>
20135
20136 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20137 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20138 (reloc-link): Likewise.
20139
11988f8f
UD
201402011-06-09 Ulrich Drepper <drepper@gmail.com>
20141
20142 * elf/Makefile: Add rules to build pldd.
20143 * elf/pldd.c: New file.
20144 * elf/pldd-xx.c: New file.
20145
e80fab37
UD
201462011-06-07 Ulrich Drepper <drepper@gmail.com>
20147
20148 * version.h: Update for 2.15 development version.
20149
9b849836
DM
201502011-06-07 David S. Miller <davem@davemloft.net>
20151
20152 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20153 ifuncs.
20154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20155 elf_machine_lazy_rel): Likewise.
20156 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20158 elf_machine_lazy_rel): Likewise.
20159 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20160 dl_hwcap via passed in argument.
20161 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20162 Likewise.
20163
5a31b283
AK
201642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20165
20166 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20167
069e52f8
RM
201682011-06-06 Roland McGrath <roland@hack.frob.com>
20169
20170 [BZ #12849]
20171 * manual/fdl-1.1.texi: New file, verbatim from:
20172 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20173 * manual/lgpl-2.1.texi: New file, verbatim from:
20174 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20175 * manual/Makefile (licenses): New variable, list those new file names.
20176 (texis): Use it.
20177 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20178
20179 * manual/fdl.texi: File removed.
20180 * manual/lesser.texi: File removed.
20181 * manual/libc.texinfo (Copying, Documentation License):
20182 Use new @include file names, put @appendix directive before @include.
20183
f16846a5
JJ
201842011-06-04 Jakub Jelinek <jakub@redhat.com>
20185
20186 [BZ #12841]
20187 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20188 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20189 (mq_open): Add __NTH.
20190
3d29045b
L
201912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20192
20193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20194 Assume Intel Core i3/i5/i7 processor if AVX is available.
20195
8c297311
UD
201962011-05-31 Ulrich Drepper <drepper@gmail.com>
20197
20198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20199 typo.
20200
c8fc0c91
UD
202012011-05-31 Andreas Schwab <schwab@redhat.com>
20202
20203 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20204 memory. Use alloca_account. Fix memory leak when retrying.
20205
5b27a807
UD
202062011-05-31 Ulrich Drepper <drepper@gmail.com>
20207
356f8bc6
UD
20208 * version.h (RELEASE): Bump for 2.14 release.
20209 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20210
5b27a807
UD
20211 * config.make.in (RANLIB): Remove entry.
20212
01f16ab0
UD
202132011-05-30 Ulrich Drepper <drepper@gmail.com>
20214
41fce8bd
UD
20215 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20216 (libc.pot): Work around missing support for .ksh extension in xgettext.
20217
4769ae77
UD
20218 [BZ #12684]
20219 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20220 if both request failed.
20221 (send_dg): In case of server errors clear resplen or *resplen2.
20222
6b1e7d19
UD
20223 [BZ #12454]
20224 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20225 when there are multiple maps.
20226 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20227 (_dl_fini): Remove test here.
20228
01f16ab0
UD
20229 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20230
b1ebd700
UD
202312011-05-29 Ulrich Drepper <drepper@gmail.com>
20232
7ae22829
UD
20233 [BZ #12350]
20234 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20235 bit from old_res_options.
20236 (gaih_inet): Likewise.
20237
553149f6 20238 [BZ #11099]
18a84741 20239 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20240 as signed.
20241
652ffab1
UD
20242 * resolv/res_init.c (res_setoptions): Make the code more compact.
20243
16985fd0
UD
20244 [BZ #11558]
20245 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20246 set RES_USEVC.
20247
0464f746
UD
20248 [BZ #11634]
20249 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20250
7d17596c
UD
20251 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20252
cf6bbbd7
UD
20253 [BZ #11781]
20254 * malloc/malloc.h: Declare malloc hook variables as volatile.
20255
13f1ab36
UD
20256 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20257 in last patch.
20258
b1ebd700
UD
20259 [BZ #11799]
20260 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20261 raise in the comment.
80e2212d
UD
20262 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20264 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20265
ce67228d
UD
202662011-05-28 Ulrich Drepper <drepper@gmail.com>
20267
8887a920
UD
20268 [BZ #12811]
20269 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20270 grow the buffers more if it already has to be sufficient.
20271 (build_wcs_upper_buffer): Likewise.
20272 * posix/regexec.c (check_matching): Likewise.
20273 (clean_state_log_if_needed): Likewise.
20274 (extend_buffers): Don't enlarge buffers beyond size of the input
20275 buffer.
20276 Patches mostly by Emil Wojak <emil@wojak.eu>.
20277 * posix/bug-regex32.c: New file.
20278 * posix/Makefile (tests): Add bug-regex32.
20279
4f031072
UD
20280 * locale/findlocale.c (_nl_find_locale): Return right away if
20281 _nl_explode_name failed.
20282 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20283
d0478f0c
UD
20284 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20285
de81b246
UD
20286 * debug/xtrace.sh: Unify messages.
20287 * malloc/memusage.sh: Likewise.
20288
c738465a
UD
20289 [BZ #12813]
20290 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20291 time symbol from vDSO. Substitute with vsyscall if not available.
20292 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20293 __vdso_time.
20294
f1f929d7
UD
20295 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20296 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20297 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20298 Add sendmmsg and internal_sendmmsg.
20299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20300 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20301 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20302
ce67228d
UD
20303 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20304 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20306
e57420c6
UD
203072011-05-27 Ulrich Drepper <drepper@gmail.com>
20308
a8509ca5
UD
20309 [BZ #12813]
20310 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20311 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20312 available.
20313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20314 __vdso_getcpu.
20315
e57420c6
UD
20316 [BZ #12814]
20317 * iconvdata/Makefile (tests): Add bug-iconv9.
20318 * iconvdata/bug-iconv9.c: New file.
20319
4d07db15
AS
203202011-05-27 Andreas Schwab <schwab@redhat.com>
20321
20322 [BZ #12814]
20323 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20324
ea486f69
JJ
203252011-05-25 Jakub Jelinek <jakub@redhat.com>
20326
20327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20328 (struct user_regs_struct): Change intcs field back to cs.
20329
6f038433
UD
203302011-05-25 Ulrich Drepper <drepper@gmail.com>
20331
20332 * po/ja.po: Update from translation team.
20333
67f86a25
UD
203342011-05-23 Ulrich Drepper <drepper@gmail.com>
20335
20336 [BZ #12795]
20337 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20338 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20339
def7fbd6
AS
203402011-05-20 Andreas Schwab <schwab@redhat.com>
20341
20342 * stdlib/longlong.h: Update from GCC.
20343
f50ef8f1
AS
203442011-05-23 Andreas Schwab <schwab@redhat.com>
20345
20346 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20347 parameter name.
20348 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20349 Add parameter name.
20350 (__sysconf): Pass it down.
20351
de7ce8f1
UD
203522011-05-22 Ulrich Drepper <drepper@gmail.com>
20353
f2962a71
UD
20354 [BZ #12671]
20355 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20356 some situations.
20357 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20358 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20359 add in in __libc_use_alloca calls. Adjust callers.
20360 (glob): Use malloc in some situations.
20361
de7ce8f1
UD
20362 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20363 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20364 pltexit.
20365
aec84f53
UD
203662011-05-21 Ulrich Drepper <drepper@gmail.com>
20367
05bb4a68
UD
20368 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20369 and CLOCK_BOOTTIME_ALARM.
20370
7ea72f99
UD
20371 [BZ #12782]
20372 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20373 is returned.
20374
7e4afad5
UD
20375 * string/_strerror.c (__strerror_r): Print negative errors as signed
20376 numbers.
20377
8e211fec
UD
20378 [BZ #12777]
20379 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20380 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20381 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20382
f7d82dc9
UD
20383 * configure.in: Fix typo in redirection and correct removal of test
20384 files in two cases.
20385
cc9e536d
UD
20386 [BZ #12788]
20387 * locale/setlocale.c (new_composite_name): Fix test to check for
20388 identical name of all categories.
20389
aec84f53
UD
20390 [BZ #12792]
20391 * libio/filedoalloc.c (local_isatty): New function.
20392 (_IO_file_doallocate): Use local_isatty.
20393 * stdio-common/perror.c (perror): In case a new stream is used
20394 forward the stream error.
20395 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20396 error flag.
20397
78e64fdc
RT
203982011-05-20 Ulrich Drepper <drepper@gmail.com>
20399
34a9094f
UD
20400 [BZ #11869]
20401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20402 alloca.
20403 * include/alloca.h (extend_alloca_account): Define.
20404
78e64fdc
RT
20405 [BZ #11857]
20406 * posix/regex.h: Fix comments with documentation of user-accessible
20407 fields after compilation and describe correct free'ing of pattern
20408 after re_compile_pattern.
20409 Patch by Reuben Thomas <rrt@sc3d.org>.
20410
457bddfc
RA
204112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20412
20413 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20414 and -mno-altivec to prevent the compiler from using Altivec and/or
20415 VSX instructions when the corresponding registers are not available.
20416
a4527b51
AS
204172011-05-19 Andreas Schwab <schwab@redhat.com>
20418
20419 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20420
ed690b2f
UD
204212011-05-19 Ulrich Drepper <drepper@gmail.com>
20422
20423 * libio/freopen.c (freopen): Use __dup2, not dup2.
20424 * libio/freopen64.c (freopen64): Likewise.
20425
8db73634
L
204262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20427
20428 [BZ #12775]
20429 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20430 * math/Makefile (tests): Add test-powl.
20431 (CFLAGS-test-powl.c): Define.
20432 * math/test-powl.c: New file.
20433
0a197a9d
L
204342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20435
20436 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20437
ee30c380
UD
204382011-05-17 Ulrich Drepper <drepper@gmail.com>
20439
20440 [BZ #11837]
20441 * iconvdata/gb18030.c: Update to GB18020-2005.
20442
6ce75379
UD
204432011-05-16 Ulrich Drepper <drepper@gmail.com>
20444
a4b89fd8
AR
20445 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20446 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20447 Patch by Aharon Robbins <arnold@skeeve.com>.
20448
ea389b12
UD
20449 [BZ #11892]
20450 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20451 on the stack.
20452
68a3f91f
UD
20453 [BZ #11895]
20454 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20455 through underflows.
20456
15cc7dd1
UD
20457 [BZ #12766]
20458 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20459 point to strings before performing equality test for error_one_per_line
20460 mode.
20461
f3799213
UD
20462 [BZ #11697]
20463 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20464
d79a9c94
UD
20465 [BZ #11820]
20466 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20467 (struct user_fpregs_struct): Avoid __uint*_t types.
20468
56e5eb46
UD
20469 [BZ #6420]
20470 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20471 symbol info. Use it instead of calling _dl_addr locally.
20472 (lock_and_info): New function.
20473 (tr_freehook): Call lock_and_info and pass symbol info as additional
20474 parameter to tr_where.
20475 (tr_mallochook): Likewise.
20476 (tr_reallochook): Likewise.
20477 (tr_memalignhook): Likewise.
20478
6ce75379
UD
20479 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20480 used and couldn't be at all thread-safe.
20481
f8a3b5bf
UD
204822011-05-15 Ulrich Drepper <drepper@gmail.com>
20483
94b7cc37
UD
20484 * libio/freopen.c (freopen): Don't close old file descriptor
20485 before the new one is opened. Instead dup the new file descriptor
20486 to the old one after the new stream is created.
20487 * libio/freopen64.c (freopen64): Likewise.
20488 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20489 * libio/fileops.c (_IO_new_file_close_it): Handle new
20490 _IO_FLAGS2_NOCLOSE flag.
20491 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20492 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20493 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20494 _IO_FLAGS2_NOCLOSE flag.
20495 * include/unistd.h: Add hidden_proto for dup3.
20496 Define __have_dup3.
20497 * io/dup3.c: Define hidden symbol.
20498 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20499
bd25564e
UD
20500 [BZ #7101]
20501 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20502 when an incomplete long option is used.
20503 * posix/tst-getopt_long1.c: New file.
20504 * posix/Makefile (tests): Add tst-getopt_long1.
20505
c84cfef4
UD
20506 [BZ #10138]
20507 * scripts/config.guess: Update from autoconf-2.68.
20508 * scripts/config.sub: Likewise.
20509
3b85df27
UD
20510 [BZ #10157]
20511 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20512 tests into ...
20513 (has_cpuclock): ...this. New function.
20514 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20515 macro here based on has_cpuclock code.
20516
15a856b1
UD
20517 [BZ #10149]
20518 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20519 First byte (not low byte) is now always NUL.
20520 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20521
05f399e6
UD
20522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20523 Use non-cancelable interfaces.
20524
10a52685 20525 [BZ #9809]
94ecc67d
UD
20526 * locale/iso-639.def: Add entry for Sorani.
20527
f8a3b5bf
UD
20528 [BZ #11901]
20529 * include/stdlib.h: Move include protection to the right place.
20530 Define abort_msg_s. Declare __abort_msg with it.
20531 * stdlib/abort.c (__abort_msg): Adjust type.
20532 * assert/assert.c (__assert_fail_base): New function. Majority
20533 of code from __assert_fail. Allocate memory for __abort_msg with
20534 mmap.
20535 (__assert_fail): Now call __assert_fail_base.
20536 * assert/assert-perr.c: Remove bulk of implementation. Use
20537 __assert_fail_base.
20538 * include/assert.hL Declare __assert_fail_base.
20539 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20540 mmap.
20541 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20542
1af4e298
UD
205432011-05-14 Ulrich Drepper <drepper@gmail.com>
20544
f8a3b5bf 20545 [BZ #11952]
d26dfc60
MG
20546 [BZ #12453]
20547 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20548 until all modules are registered in the DTV.
20549 * elf/Makefile: Add rules to build and run tst-tls19.
20550 * elf/tst-tls19.c: New file.
20551 * elf/tst-tls19mod1.c: New file.
20552 * elf/tst-tls19mod2.c: New file.
20553 * elf/tst-tls19mod3.c: New file.
20554 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20555
2fc54d6f
UD
20556 [BZ #12083]
20557 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20558 correctly.
20559
98d76b46
UD
20560 [BZ #12601]
20561 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20562 two-byte sequence errors.
20563 * iconvdata/Makefile (tests): Add bug-iconv8.
20564 * iconvdata/bug-iconv8.c: New file.
20565
da3c19ef
UD
20566 [BZ #12626]
20567 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20568 buf2 definition.
20569
ca408c15
UD
20570 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20571
d6f67f7d
UD
20572 [BZ #12432]
20573 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20574 (dummy_getcfa): New function.
20575 (init): Get _Unwind_GetCFA address, use dummy if not found.
20576 (backtrace_helper): In recursion check, also check whether CFA changes.
20577 (__backtrace): Completely initialize arg.
20578
1af4e298 20579 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20580 storing incomplete byte sequence in state object. Avoid testing for
20581 guaranteed too small input if we know there is enough data available.
1af4e298 20582
da62f81b
AS
205832011-05-11 Andreas Schwab <schwab@redhat.com>
20584
20585 * Makeconfig (+link-pie): Indent.
20586 * Rules (binaries-pie): Define if $(have-fpie) and
20587 $(build-shared).
20588 (binaries-shared): Also filter out $(binaries-pie).
20589 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20590 * nscd/Makefile (others-pie): Add nscd.
20591 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20592 ($(objpfx)nscd): Remove command override.
20593 * login/Makefile (others-pie): Add pt_chown.
20594 ($(objpfx)pt_chown): Remove command override.
20595 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20596 remove command overrides.
20597
fcabc0f8
UD
205982011-05-13 Ulrich Drepper <drepper@gmail.com>
20599
20030ae6
UD
20600 * libio/tst_putwc.c: Fix error messages.
20601
fcabc0f8
UD
20602 [BZ #12724]
20603 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20604 currently writing and seek to current position when not.
20605 * libio/Makefile (tests): Add bug-fclose1.
20606 * libio/bug-fclose1.c: New file.
20607
320a5dc0
PB
206082011-05-12 Ulrich Drepper <drepper@gmail.com>
20609
20610 [BZ #12511]
20611 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20612 don't set DF_1_NODELETE here.
20613 (do_lookup_x): When entering new entry test for copy relocation
20614 and if necessary set DF_1_NODELETE flag.
20615 * elf/tst-unique4.cc: New file.
20616 * elf/tst-unique4.h: New file.
20617 * elf/tst-unique4lib.cc: New file.
20618 * elf/Makefile: Add rules to build and run tst-unique4.
20619 Patch by Piotr Bury <pbury@goahead.com>.
20620
22836f52
UD
206212011-05-11 Ulrich Drepper <drepper@gmail.com>
20622
f574184a
UD
20623 [BZ #12052]
20624 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20625
e1fb097f
UD
20626 [BZ #12625]
20627 * misc/mntent_r.c (addmntent): Flush the stream after the output
20628
22836f52
UD
20629 [BZ #12393]
20630 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20631 (is_trusted_path_normalize): Skip initial colon. Append slash
20632 to empty buffer. Duplicate is_trusted_path code but allow
20633 constructed patch to be prefix.
20634 (is_dst): Allow $ORIGIN followed by /.
20635 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20636 Correct testing of result of is_trusted_path_normalize
20637 (decompose_rpath): Fix warning.
20638
7b3b0b2a
UD
206392011-05-10 Ulrich Drepper <drepper@gmail.com>
20640
20641 [BZ #11257]
20642 * grp/initgroups.c (internal_getgrouplist): When we found the service
20643 list through the initgroups entry in nsswitch.conf do not always
20644 continue on a successful lookup. Don't always use the
eac80ce2 20645 __nss_group_database value if it is set.
7b3b0b2a
UD
20646 * nss/nsswitch.conf (initgroups): Change action for successful db
20647 lookup to continue for compatibility.
20648
2a81eaa5
UD
206492011-05-09 Ulrich Drepper <drepper@gmail.com>
20650
be97a69e
UD
20651 [BZ #11532]
20652 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20653 and CP774 modules.
20654 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20655 and CP774 modules.
20656 * iconvdata/tst-tables.sh: Likewise.
20657 * iconvdata/cp770.c: New file.
20658 * iconvdata/cp771.c: New file.
20659 * iconvdata/cp772.c: New file.
20660 * iconvdata/cp773.c: New file.
20661 * iconvdata/cp774.c: New file.
20662 * iconvdata/testdata/CP770: New file.
20663 * iconvdata/testdata/CP770..UTF8: New file.
20664 * iconvdata/testdata/CP771: New file.
20665 * iconvdata/testdata/CP771..UTF8: New file.
20666 * iconvdata/testdata/CP772: New file.
20667 * iconvdata/testdata/CP772..UTF8: New file.
20668 * iconvdata/testdata/CP773: New file.
20669 * iconvdata/testdata/CP773..UTF8: New file.
20670 * iconvdata/testdata/CP774: New file.
20671 * iconvdata/testdata/CP774..UTF8: New file.
20672
20673 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20674 END CHARMAP line.
20675 * iconvdata/gen-8bit-gap.sh: Likewise.
20676 * iconvdata/gen-8bit.sh: Likewise.
20677
c1e9e399
UD
20678 * locale/iso-639.def: Add ary entry.
20679
24c55fb3 20680 [BZ #11258]
96b4b1b0
UD
20681 * locale/C-translit.h.in: Add U20A1 transliteration.
20682
bdc2f971
KB
20683 [BZ #12178]
20684 * locale/iso-639.def: Add wae entry.
20685 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20686
2952b117
UD
20687 [BZ #12545]
20688 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20689 for n.
20690
2a81eaa5
UD
20691 [BZ #12711]
20692 * locale/C-translit.h.in: Add entry for U20B9.
20693 Patch by pravin.d.s@gmail.com.
20694
28377d1b
UD
206952011-05-08 Ulrich Drepper <drepper@gmail.com>
20696
7fb90fb8
UD
20697 [BZ #12713]
20698 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20699 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20700 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20701 in rtld. Use *stat64.
7fb90fb8 20702 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20703 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20704 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20705 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20706 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20707 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20708 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20709 __fstatat64 macros.
7fb90fb8
UD
20710 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20711 * dirent/rewinddir.c: Add libc_hidden_def.
20712 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20713 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20714
28377d1b
UD
20715 * include/dirent.h (__alloc_dir): Add flags parameter.
20716 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20717 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20718 __alloc_dir.
20719 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20720 from fdopendir if O_CLOEXEC is already set.
20721
66bdbaa4
AM
207222011-03-15 Alan Modra <amodra@gmail.com>
20723
20724 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20725 l_tls_firstbyte_offset non-zero. Save padding offset in
20726 l_tls_firstbyte_offset for later use.
20727 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20728 freeing static tls block.
20729
95721191
JN
207302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20731
20732 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20733 where #ifdef was intended. The intent is to prevent ARG_MAX from
20734 being defined by the kernel headers.
20735
f87dfb1f
UD
207362011-05-07 Ulrich Drepper <drepper@gmail.com>
20737
20738 [BZ #12734]
20739 * resolv/resolv.h: Define RES_NOTLDQUERY.
20740 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20741 no-tld-query and set RES_NOTLDQUERY.
20742 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20743 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20744 modern BIND to search name as TLD unless forbidden.
20745
47c3cd7a
UD
207462011-05-07 Petr Baudis <pasky@suse.cz>
20747 Ulrich Drepper <drepper@gmail.com>
20748
20749 [BZ #12393]
20750 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20751 (is_trusted_path): ...to here.
c1e9ea35 20752 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20753 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20754 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20755
8a35c912
PP
207562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20757
20758 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20759 __BEGIN/__END_DECLS.
20760
acd41f47
UD
207612011-05-06 Ulrich Drepper <drepper@gmail.com>
20762
20763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20764 NSS_STATUS_NOTFOUND if no record was found.
20765
597df647
AS
207662011-05-05 Andreas Schwab <schwab@redhat.com>
20767
20768 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20769 (headers-not-in-tirpc): Remove rpc/netdb.h
20770 * resolv/netdb.h: Revert last change.
20771
b9af1301
PP
207722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20773
20774 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20775 circular dependency between libgcc.a and libc.a.
20776
4e34d5f5
AS
207772011-05-05 Andreas Schwab <schwab@redhat.com>
20778
20779 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20780 * nis/Makefile: Don't install rpcsvc/*.
20781 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20782 instead of <rpc/types.h>.
20783 (MAXHOSTNAMELEN): Define.
20784
00ee369c
AS
207852011-05-03 Andreas Schwab <schwab@redhat.com>
20786
20787 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20788
0b592a30
MB
207892011-04-28 Maciej Babinski <mbabinski@google.com>
20790
20791 [BZ #12714]
20792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20793 gethostbyname4_r when IPv6 results are possible.
20794
6e04cbbe
UD
207952011-05-02 Ulrich Drepper <drepper@gmail.com>
20796
20797 [BZ #12723]
20798 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20799 _PC_PIPE_BUF handling.
20800
e4ecafe0
BH
208012011-04-30 Bruno Haible <bruno@clisp.org>
20802
20803 [BZ #12717]
20804 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20805 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20806 to 'int'.
20807 * inet/getnameinfo.c (getnameinfo): Likewise.
20808
125ee683
UD
208092011-04-29 Ulrich Drepper <drepper@gmail.com>
20810
20811 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20812 to groups setting in database lookup.
20813 * nss/nsswitch.conf: Add initgroups entry.
20814
b722481a
EB
208152011-04-22 Ulrich Drepper <drepper@gmail.com>
20816
20817 [BZ #12685]
20818 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20819 mode string.
20820 Patch by Eric Blake <eblake@redhat.com>.
20821
4df46dbd
L
208222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20823
20824 * sunrpc/Makefile (need-export-routines): Add svc_run.
20825 (routines): Remove svc_run.
20826 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20827 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20828 * sunrpc/svc_run.c (svc_run): Likewise.
20829 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20830
e84142d2
UD
208312011-04-21 Ulrich Drepper <drepper@gmail.com>
20832
20833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20834 problem in reallocation in last patch.
20835
877175d8
UD
208362011-04-20 Ulrich Drepper <drepper@gmail.com>
20837
20838 * sunrpc/Makefile: Move inclusion of Rules.
20839
ab8eed78
UD
208402011-04-19 Ulrich Drepper <drepper@gmail.com>
20841
20842 * nss/nss_files/files-initgroups.c: New file.
20843 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20844 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20845 _nss_files_initgroups_dyn.
20846
e3d8f584
RS
208472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20848
20849 * elf/elf.h (R_ARM_IRELATIVE): Define.
20850
af190f45
UD
208512011-04-19 Ulrich Drepper <drepper@gmail.com>
20852
20853 * po/ru.po: Update from translation team.
20854
53cf59ef
UD
208552011-04-17 Ulrich Drepper <drepper@gmail.com>
20856
20857 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20858 dependencies.
20859
4c559bcd
MF
208602011-02-06 Mike Frysinger <vapier@gentoo.org>
20861
20862 [BZ #12653]
20863 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20864 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20865 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20866 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20868
4420675c
AS
208692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20870
20871 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20872 differing bytes.
20873 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20874 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20875 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20876
75ea32ab
UD
208772011-04-17 Ulrich Drepper <drepper@gmail.com>
20878
20879 [BZ #12420]
20880 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20881 storing it.
20882 * stdlib/bug-getcontext.c: New file.
20883 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20884
27390476
AK
208852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20886
20887 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20888 instructions into .machine "z9-109".
20889 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20890 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20891
10442705
AK
208922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20893
20894 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20895 between environment variables and auxiliary vector.
20896
7b57bfe5
UD
208972011-04-16 Ulrich Drepper <drepper@gmail.com>
20898
20899 * Makefile: Add rules to build linkobj/libc.so.
20900 * include/libc-symbols.h: Define libc_hidden_nolink.
20901 * include/rpc/auth.h: Mark functions which are to be hidden.
20902 * include/rpc/auth_des.h: Likewise.
20903 * include/rpc/auth_unix.h: Likewise.
20904 * include/rpc/clnt.h: Likewise.
20905 * include/rpc/des_crypt.h: Likewise.
20906 * include/rpc/key_prot.h: Likewise.
20907 * include/rpc/pmap_clnt.h: Likewise.
20908 * include/rpc/pmap_prot.h: Likewise.
20909 * include/rpc/pmap_rmt.h: Likewise.
20910 * include/rpc/rpc_msg.h: Likewise.
20911 * include/rpc/svc.h: Likewise.
20912 * include/rpc/svc_auth.h: Likewise.
20913 * include/rpc/xdr.h: Likewise.
20914 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20915 * nss/Makefile: Likewise.
20916 * sunrpc/Makefile: Don't install headers. Build library with normal
20917 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20918 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20919 for the compat linking library. Remove use of INTDEF/INTUSE.
20920 * sunrpc/auth_none.c: Likewise.
20921 * sunrpc/auth_unix.c: Likewise.
20922 * sunrpc/authdes_prot.c: Likewise.
20923 * sunrpc/authuxprot.c: Likewise.
20924 * sunrpc/clnt_gen.c: Likewise.
20925 * sunrpc/clnt_perr.c: Likewise.
20926 * sunrpc/clnt_raw.c: Likewise.
20927 * sunrpc/clnt_simp.c: Likewise.
20928 * sunrpc/clnt_tcp.c: Likewise.
20929 * sunrpc/clnt_udp.c: Likewise.
20930 * sunrpc/clnt_unix.c: Likewise.
20931 * sunrpc/des_crypt.c: Likewise.
20932 * sunrpc/des_soft.c: Likewise.
20933 * sunrpc/get_myaddr.c: Likewise.
20934 * sunrpc/key_call.c: Likewise.
20935 * sunrpc/key_prot.c: Likewise.
20936 * sunrpc/netname.c: Likewise.
20937 * sunrpc/pm_getmaps.c: Likewise.
20938 * sunrpc/pm_getport.c: Likewise.
20939 * sunrpc/pmap_clnt.c: Likewise.
20940 * sunrpc/pmap_prot.c: Likewise.
20941 * sunrpc/pmap_prot2.c: Likewise.
20942 * sunrpc/pmap_rmt.c: Likewise.
20943 * sunrpc/publickey.c: Likewise.
20944 * sunrpc/rpc_cmsg.c: Likewise.
20945 * sunrpc/rpc_common.c: Likewise.
20946 * sunrpc/rpc_dtable.c: Likewise.
20947 * sunrpc/rpc_prot.c: Likewise.
20948 * sunrpc/rpc_thread.c: Likewise.
20949 * sunrpc/rtime.c: Likewise.
20950 * sunrpc/svc.c: Likewise.
20951 * sunrpc/svc_auth.c: Likewise.
20952 * sunrpc/svc_authux.c: Likewise.
20953 * sunrpc/svc_raw.c: Likewise.
20954 * sunrpc/svc_run.c: Likewise.
20955 * sunrpc/svc_simple.c: Likewise.
20956 * sunrpc/svc_tcp.c: Likewise.
20957 * sunrpc/svc_udp.c: Likewise.
20958 * sunrpc/svc_unix.c: Likewise.
20959 * sunrpc/svcauth_des.c: Likewise.
20960 * sunrpc/xcrypt.c: Likewise.
20961 * sunrpc/xdr.c: Likewise.
20962 * sunrpc/xdr_array.c: Likewise.
20963 * sunrpc/xdr_float.c: Likewise.
20964 * sunrpc/xdr_intXX_t.c: Likewise.
20965 * sunrpc/xdr_mem.c: Likewise.
20966 * sunrpc/xdr_rec.c: Likewise.
20967 * sunrpc/xdr_ref.c: Likewise.
20968 * sunrpc/xdr_sizeof.c: Likewise.
20969 * sunrpc/xdr_stdio.c: Likewise.
20970
e6c61494
UD
209712011-04-10 Ulrich Drepper <drepper@gmail.com>
20972
20973 [BZ #12650]
20974 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20975 * sysdeps/ia64/dl-tls.h: Likewise.
20976 * sysdeps/powerpc/dl-tls.h: Likewise.
20977 * sysdeps/s390/dl-tls.h: Likewise.
20978 * sysdeps/sh/dl-tls.h: Likewise.
20979 * sysdeps/sparc/dl-tls.h: Likewise.
20980 * sysdeps/x86_64/dl-tls.h: Likewise.
20981 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20982
34fe483e
AS
209832011-03-14 Andreas Schwab <schwab@redhat.com>
20984
20985 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20986 rpath element also skip the following colon.
20987 (expand_dynamic_string_token): Add is_path parameter and pass
20988 down to DL_DST_REQUIRED and _dl_dst_substitute.
20989 (decompose_rpath): Call expand_dynamic_string_token with
20990 non-zero is_path. Ignore empty rpaths.
20991 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20992 with zero is_path.
20993
f12a32e6
AS
209942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20995
20996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20997 Make cancelable.
20998
38a7d692
UD
209992011-04-09 Ulrich Drepper <drepper@gmail.com>
21000
21001 [BZ #12655]
21002 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21003 Patch by Filipe David Manana <fdmanana@apache.org>.
21004
e451d22b
AS
210052011-04-07 Andreas Schwab <schwab@redhat.com>
21006
21007 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21008 Maintain aligned stack.
21009 (CHECK_RSP): Remove unused macro.
21010
dedc7c7b
UD
210112011-04-03 Ulrich Drepper <drepper@gmail.com>
21012
21013 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21014 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21015
94521213
UD
210162011-04-02 Ulrich Drepper <drepper@gmail.com>
21017
21018 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21019
8cb700c0 21020 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21021
0354e355
L
210222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21023
21024 [BZ #12518]
21025 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21026 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21027 * sysdeps/x86_64/memmove.c: New file.
21028 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21029 (memcpy): Renamed to ...
21030 (__new_memcpy): This.
21031 (memcpy): Provide GLIBC_2_14 memcpy.
21032 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21033 (memcpy): Provide GLIBC_2_2_5 memcpy.
21034
8593482f
UD
210352011-04-01 Ulrich Drepper <drepper@gmail.com>
21036
21037 [BZ #12631]
21038 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21039
81a5726b
AS
210402011-03-30 Andreas Schwab <schwab@redhat.com>
21041
21042 * misc/syncfs.c: New file.
21043 * misc/Makefile (routines): Add syncfs.
21044 * posix/unistd.h: Declare syncfs.
21045 * sysdeps/unix/syscalls.list: Add syncfs.
21046
00e5419f
AS
210472011-04-01 Andreas Schwab <schwab@redhat.com>
21048
21049 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21050 open_by_handle_at.
21051 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21052 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21055 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21056 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21058
748876bf
UD
210592011-04-01 Ulrich Drepper <drepper@gmail.com>
21060
658e451d
UD
21061 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21063 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21065 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21068
748876bf
UD
21069 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21070 sync_file_range.c with -fexceptions.
21071 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21072 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21073 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21074 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21075 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21076 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21078 sync_file_range as cancellation point
21079 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21080 now a wrapper around __call_sync_file_range with cancellation handling.
21081 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21082 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21083 function name to __call_sync_file_range.
21084 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21085 Add call_sync_file_range.
748876bf 21086
6e63d5e1
AS
210872011-04-01 Andreas Schwab <schwab@redhat.com>
21088
21089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21090 bits/timex.h.
6e63d5e1 21091
46998f74
UD
210922011-04-01 Ulrich Drepper <drepper@gmail.com>
21093
4c1423ed
UD
21094 * iconv/iconv.h: Fix typo in comment.
21095 * io/fcntl.h: Likewise.
21096 * libio/stdio.h: Likewise.
21097 * posix/spawn.h: Likewise.
21098 * posix/unistd.h: Likewise.
21099 * stdlib/stdlib.h: Likewise.
21100 * time/time.h: Likewise.
21101 * wcsmbs/wchar.h: Likewise.
21102
158648c0
UD
21103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21104 open_by_handle): Add.
21105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21106 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21107 Augment a few comments.
21108 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21110 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21113 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21114 open_by_handle.
21115
46998f74
UD
21116 * io/fcntl.h (AT_EMPTY_PATH): Define.
21117
83fe108b
UD
211182011-03-30 Ulrich Drepper <drepper@gmail.com>
21119
21120 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21121 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21122 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21123 to...
21124 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21125 * Versions.def: Add GLIBC_2.14.
21126 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21127 Export.
83fe108b 21128
bb242059
UD
211292011-03-22 Ulrich Drepper <drepper@gmail.com>
21130
21131 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21132 round counter.
21133 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21134
c97a1282
L
211352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 [BZ #12597]
21138 * string/test-strncmp.c (do_page_test): New function.
21139 (check2): Likewise.
21140 (test_main): Call check2.
21141 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21142
2a115601
UD
211432011-03-20 Ulrich Drepper <drepper@gmail.com>
21144
21145 [BZ #12587]
21146 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21147 Handle cache information in CPU leaf 4.
21148 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21149
8126d904
UD
211502011-03-18 Ulrich Drepper <drepper@gmail.com>
21151
042c49c6 21152 [BZ #12583]
8126d904
UD
21153 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21154 character representation.
21155 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21156
ccfe366e
RA
211572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21158
21159 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21160 END(__isnan) to END(__isnanf) to match function entry point/label
21161 EALIGN(__isnanf,...).
21162
c6e13027
JJ
211632011-03-10 Jakub Jelinek <jakub@redhat.com>
21164
21165 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21166
33f85a3f
UD
211672011-03-10 Ulrich Drepper <drepper@gmail.com>
21168
028478fa
UD
21169 [BZ #12510]
21170 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21171 copy from the symbol referenced in the relocation to initialize the
21172 used variable.
21173 Patch by Piotr Bury <pbury@goahead.com>.
21174 * elf/Makefile: Add rules to build and tst-unique3.
21175 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21176 * elf/tst-unique3.cc: New file.
21177 * elf/tst-unique3.h: New file.
21178 * elf/tst-unique3lib.cc: New file.
21179 * elf/tst-unique3lib2.cc: New file.
21180
33f85a3f
UD
21181 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21182
03592fc7
MF
211832011-03-10 Mike Frysinger <vapier@gentoo.org>
21184
21185 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21186 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21187 to _start.
03592fc7 21188
6a5ee102
UD
211892011-03-06 Ulrich Drepper <drepper@gmail.com>
21190
21191 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21192 to-be-loaded object along a path to loader is ld.so.
21193
7e4ba49c
HJ
211942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21195 Ulrich Drepper <drepper@gmail.com>
21196
21197 * sysdeps/x86_64/memset.S: After aligning destination, code
21198 branches to different locations depending on the value of
21199 misalignment, when multiarch is enabled. Fix this.
21200
212012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21202
21203 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21204 Set _x86_64_preferred_memory_instruction for AMD processsors.
21205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21206 Set bit_Prefer_SSE_for_memop for AMD processors.
21207
13a804de
UD
212082011-03-04 Ulrich Drepper <drepper@gmail.com>
21209
21210 * libio/fmemopen.c (fmemopen): Optimize a bit.
21211
9d25c392
AS
212122011-03-03 Andreas Schwab <schwab@redhat.com>
21213
21214 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21215
a5543c6a
RM
212162011-03-03 Roland McGrath <roland@redhat.com>
21217
21218 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21219
012d35f7
DM
212202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21221
7e4ba49c 21222 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21223 __bzero_ultra1 instead of __memset_ultra1.
21224
4bff6e01
AS
212252011-02-23 Andreas Schwab <schwab@redhat.com>
21226 Ulrich Drepper <drepper@gmail.com>
21227
21228 [BZ #12509]
21229 * include/link.h (struct link_map): Add l_orig_initfini.
21230 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21231 returning unsuccessfully.
21232 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21233 close of a file loaded at startup, restore the original l_initfini
21234 list.
21235 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21236 list, store the pointer.
21237 * elf/Makefile ($(objpfx)noload-mem): New rule.
21238 (noload-ENV): Define.
21239 (tests): Add $(objpfx)noload-mem.
21240 * elf/noload.c: Include <memcheck.h>.
21241 (main): Call mtrace. Close all opened handles.
21242
f2092faf
AS
212432011-02-17 Andreas Schwab <schwab@redhat.com>
21244
21245 [BZ #12454]
21246 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21247 dependencies are missing.
21248
6c8a2e88
ST
212492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21250
f2092faf 21251 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21252 Hurd needs munmap.
21253 * sysdeps/mach/hurd/ifreq.h: New file.
21254
84a42118
PB
212552011-01-27 Petr Baudis <pasky@suse.cz>
21256 Ulrich Drepper <drepper@gmail.com>
21257
071f805e 21258 [BZ 12445]#
84a42118
PB
21259 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21260 to extend_alloca().
21261 * stdio-common/bug23.c: New file.
21262 * stdio-common/Makefile (tests): Add bug23.
21263
e23fe25b
AS
212642010-09-28 Andreas Schwab <schwab@redhat.com>
21265 Ulrich Drepper <drepper@gmail.com>
21266
21267 [BZ #12489]
21268 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21269 before performing relro protection. At old place add assertion
21270 to make sure nothing changed.
21271
d3f02e10
NS
212722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21273 Glauber de Oliveira Costa <glommer@gmail.com>
21274
21275 * elf/elf.h: Add new ARM TLS relocs.
21276
d55fd7a5
RA
212772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21278
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21280 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21281 cast from r3.
21282 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21283 'tests' variable.
21284 * sysdeps/wordsize-64/tst-writev.c: New file.
21285
2206397e
RA
212862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21287
21288 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21289 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21290 insns in _dl_start to prevent a TOC reference before relocs are
21291 resolved.
21292
e9433893
UD
212932011-02-15 Ulrich Drepper <drepper@gmail.com>
21294
21295 [BZ #12469]
21296 * Makeconfig: Remove RANLIB definition.
21297 * Makerules: Don't use RANLIB.
21298 * aclocal.m4: Remove ranlib test.
21299 * configure.in: No need to check for ranlib.
21300 * elf/rtld-Rules: Don't use RANLIB.
21301
f75286c6
ST
213022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21303
8e31c82d
ST
21304 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21305 protection macro.
21306 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21307 inclusion protection macro.
21308
f75286c6
ST
21309 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21310 SIGRTMIN and SIGRTMAX and print information in that case only when
21311 SIGRTMIN is defined.
21312
c1d0e639
JJ
213132011-02-11 Jakub Jelinek <jakub@redhat.com>
21314
21315 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21316 arginfo fn returning -1.
21317
21318 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21319 and thousands string is zero terminated.
21320
edf9294e
AS
213212011-02-03 Andreas Schwab <schwab@redhat.com>
21322
21323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21324 sysdeps/unix/sysv/linux/bits/socket.h.
21325
2b7e92df
ST
213262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21327
edf9294e
AS
21328 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21329 (__CPU_COUNT): Remove old macros.
21330 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21331 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21332 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21333 (__sched_cpualloc, __sched_cpufree): Add declarations.
21334
a4c7ea7b
UD
213352011-02-05 Ulrich Drepper <drepper@gmail.com>
21336
21337 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21338 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21339 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21340 (readdhstai): Return value of addhstaiX call.
21341 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21342 (addgrbyX): Return value returned by cache_addgr.
21343 (readdgrbyname): Return value returned by addgrbyX.
21344 (readdgrbygid): Likewise.
21345 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21346 (addpwbyX): Return value returned by cache_addpw.
21347 (readdpwbyname): Return value returned by addhstbyX.
21348 (readdpwbyuid): Likewise.
21349 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21350 (addservbyX): Return value returned by cache_addserv.
21351 (readdservbyname): Return value returned by addservbyX:
21352 (readdservbyport): Likewise.
21353 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21354 (addhstbyX): Return value returned by cache_addhst.
21355 (readdhstbyname): Return value returned by addhstbyX.
21356 (readdhstbyaddr): Likewise.
21357 (readdhstbynamev6): Likewise.
21358 (readdhstbyaddrv6): Likewise.
21359 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21360 (readdinitgroups): Return value returned by addinitgroupsX.
21361 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21362 (prune_cache): Keep track of timeout value of re-added entries.
21363 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21364 * nscd/nscd.h: Adjust prototypes of readd* functions.
21365
a0bf67cc
RM
213662011-02-04 Roland McGrath <roland@redhat.com>
21367
21368 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21369 (nis_stats): Likewise.
21370 * nis/nis_modify.c (nis_modify): Likewise.
21371 * nis/nis_remove.c (nis_remove): Likewise.
21372 * nis/nis_add.c (nis_add): Likewise.
21373
21374 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21375
21376 * posix/fnmatch_loop.c: Add some consts.
21377
21378 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21379
435b95eb
L
213802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21381
21382 [BZ #12460]
21383 * config.make.in (config-cflags-novzeroupper): Define.
21384 * configure.in: Substitute libc_cv_cc_novzeroupper.
21385 * elf/Makefile (AVX-CFLAGS): Define.
21386 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21387 (CFLAGS-tst-auditmod4a.c): Likewise.
21388 (CFLAGS-tst-auditmod4b.c): Likewise.
21389 (CFLAGS-tst-auditmod6b.c): Likewise.
21390 (CFLAGS-tst-auditmod6c.c): Likewise.
21391 (CFLAGS-tst-auditmod7b.c): Likewise.
21392 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21393
8517b15e
UD
213942011-02-02 Ulrich Drepper <drepper@gmail.com>
21395
21396 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21397 function to the callback.
21398 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21399
10a656fe
AS
214002011-02-02 Andreas Schwab <schwab@redhat.com>
21401
21402 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21403 of errno.
21404
968dad0a
UD
214052011-01-19 Ulrich Drepper <drepper@gmail.com>
21406
9f94d2ea 21407 [BZ #11724]
968dad0a
UD
21408 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21409 of constructors.
21410 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21411 of destructors.
21412 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21413
21414 [BZ #11724]
21415 * elf/Makefile: Add rules to build and run new test.
21416 * elf/tst-initorder.c: New file.
21417 * elf/tst-initorder.exp: New file.
21418 * elf/tst-initordera1.c: New file.
21419 * elf/tst-initordera2.c: New file.
21420 * elf/tst-initordera3.c: New file.
21421 * elf/tst-initordera4.c: New file.
21422 * elf/tst-initorderb1.c: New file.
21423 * elf/tst-initorderb2.c: New file.
21424 * elf/tst-order-a1.c: New file.
21425 * elf/tst-order-a2.c: New file.
21426 * elf/tst-order-a3.c: New file.
21427 * elf/tst-order-a4.c: New file.
21428 * elf/tst-order-b1.c: New file.
21429 * elf/tst-order-b2.c: New file.
21430 * elf/tst-order-main.c: New file.
21431 New test case by George Gensure <werkt0@gmail.com>.
21432
86e92359
UD
214332010-10-01 Andreas Schwab <schwab@redhat.com>
21434
21435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21436 decoding ACE if AI_CANONIDN.
21437
5d5732b0
UD
214382011-01-18 Ulrich Drepper <drepper@gmail.com>
21439
21440 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21441
a77e8cbc
UD
214422011-01-17 Ulrich Drepper <drepper@gmail.com>
21443
6392473f
UD
21444 * version.h (RELEASE): Bump for 2.13 release.
21445 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21446
620a0529
UD
21447 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21448
18ba70a5
UD
21449 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21450 MADV_NOHUGEPAGE.
32465c3e
UD
21451 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21452 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21453 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21454 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21455 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21457
c0dafcf1
UD
21458 * posix/getconf.c: Update copyright year.
21459 * catgets/gencat.c: Likewise.
21460 * csu/version.c: Likewise.
21461 * debug/catchsegv.sh: Likewise.
21462 * debug/xtrace.sh: Likewise.
21463 * elf/ldconfig.c: Likewise.
21464 * elf/ldd.bash.in: Likewise.
21465 * elf/sprof.c (print_version): Likewise.
21466 * iconv/iconv_prog.c: Likewise.
21467 * iconv/iconvconfig.c: Likewise.
21468 * locale/programs/locale.c: Likewise.
21469 * locale/programs/localedef.c: Likewise.
21470 * malloc/memusage.sh: Likewise.
21471 * malloc/mtrace.pl: Likewise.
21472 * nscd/nscd.c (print_version): Likewise.
21473 * nss/getent.c: Likewise.
21474
a77e8cbc
UD
21475 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21476 PF_CAIF, and PF_ALG.
21477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21478
77e8bddf
AS
214792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21480
1f20b93a
AS
21481 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21482 (modules-names): Use them.
21483 (ifunc-test-modules, ifunc-pie-tests): Define.
21484 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21485 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21486 (test-extras): Likewise.
21487 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21488 $(compile-command.c).
21489 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21490 (all-built-dso): Define.
21491 (check-textrel.out, check-execstack.out): Depend on it.
21492
77e8bddf
AS
21493 * configure.in: Don't override --enable-multi-arch.
21494
bc425b33
UD
214952011-01-15 Ulrich Drepper <drepper@gmail.com>
21496
21497 [BZ #6812]
21498 * nscd/hstcache.c (tryagain): Define.
21499 (cache_addhst): Return tryagain not notfound for temporary errors.
21500 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21501 failed.
21502
794c3ad3
UD
215032011-01-14 Ulrich Drepper <drepper@gmail.com>
21504
70181fdd
UD
21505 [BZ #10563]
21506 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21507 to make the syscall.
21508 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21509
794c3ad3
UD
21510 [BZ #12378]
21511 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21512 and fall back to matching as normal character if the string ends before
21513 the matching ']' is found. This is what POSIX requires.
21514 * posix/testfnm.c: Adjust test result.
21515 * posix/globtest.sh: Adjust test result. Add new test.
21516 * posix/tst-fnmatch.input: Likewise.
21517 * posix/tst-fnmatch2.c: Add new test.
21518
68dc9497
AS
215192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21520
21521 * elf/Makefile (check-execstack): Revert last change. Depend on
21522 check-execstack.h.
21523 (check-execstack.h): New target.
21524 (generated): Add check-execstack.h.
21525 * elf/check-execstack.c: Include "check-execstack.h".
21526 (main): Revert last change.
21527 (handle_file): Return zero if GNU_STACK is absent and
21528 DEFAULT_STACK_PERMS doesn't include PF_X.
21529
451f001b
UD
215302011-01-13 Ulrich Drepper <drepper@gmail.com>
21531
cfa28e56
UD
21532 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21533 in child fails because the descriptor is already closed.
8cf8ce17
UD
21534 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21535 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21536 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21537
1086d70d
UD
21538 [BZ #12397]
21539 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21540 syscall.
21541
451f001b
UD
21542 [BZ #10484]
21543 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21544 temporary buffer used to handle multi lookups locally.
a85b5cb4 21545 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21546
08769175
UD
215472011-01-12 Ulrich Drepper <drepper@gmail.com>
21548
21549 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21550 loader is ld.so.
21551
5e49c52e
UD
215522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21553
21554 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21555 alignment for SSE2.
21556
60522a5f
UD
215572011-01-12 Ulrich Drepper <drepper@gmail.com>
21558
21559 [BZ #12394]
21560 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21561 characters. When rounding increased number of integer digits recompute
21562 number of groups.
21563 * stdio-common/tst-grouping.c: New file.
21564 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21565
f257bbd7
UD
215662011-01-09 Ulrich Drepper <drepper@gmail.com>
21567
21568 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21569 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21570
21571 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21572 void.
21573 * bits/select.h: Likewise.
21574
fa9c15cb
UD
215752011-01-08 Ulrich Drepper <drepper@gmail.com>
21576
21577 * po/ja.po: Update from translation team.
21578
16c2895f
DM
215792011-01-04 David S. Miller <davem@sunset.davemloft.net>
21580
21581 [BZ #11155]
21582 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21583 implementation just like for lxstat, fxstatat, et al.
21584
2543fef2
JM
215852010-12-27 Jim Meyering <meyering@redhat.com>
21586
21587 [BZ #12348]
21588 * posix/regexec.c (build_trtable): Return failure indication upon
21589 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21590
98727dbe
UD
215912010-12-25 Ulrich Drepper <drepper@gmail.com>
21592
5bd6dc5c
UD
21593 [BZ #12201]
21594 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21595 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21596 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21597 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21598
97983464
UD
21599 [BZ #12207]
21600 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21601
98727dbe
UD
21602 [BZ #12204]
21603 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21604 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21605
4a531bb0
L
216062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21607
21608 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21609 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21610 script has SORT_BY_INIT_PRIORITY.
21611 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21612 NO_CTORS_DTORS_SECTIONS is defined.
21613 * elf/soinit.c: Likewise.
21614 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21615 NO_CTORS_DTORS_SECTIONS is defined.
21616 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21617 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21618 * sysdeps/sh/init-first.c: Likewise.
21619 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21620
07eb4b71
UD
216212010-12-24 Ulrich Drepper <drepper@gmail.com>
21622
21623 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21624 always use the slow path.
21625
30950a5f
RA
216262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21627
21628 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21629 similar rule which adds the sysdep directories to the header search in
21630 order to pick up the correct platform stackinfo.h.
21631 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21632 perform test if it is, otherwise return successfully without testing.
21633 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21634 DEFAULT_STACK_PERMS define in stackinfo.h.
21635 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21636 defined in stackinfo.h.
21637 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21638 DEFAULT_STACK_PERMS defined in stackinfo.h.
21639 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21640 * sysdeps/ia64/stackinfo.h: Likewise.
21641 * sysdeps/s390/stackinfo.h: Likewise.
21642 * sysdeps/sh/stackinfo.h: Likewise.
21643 * sysdeps/sparc/stackinfo.h: Likewise.
21644 * sysdeps/x86_64/stackinfo.h: Likewise.
21645 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21646 PF_X for powerpc64. Retain PF_X for powerpc32.
21647
db753e2c
UD
216482010-12-19 Ulrich Drepper <drepper@gmail.com>
21649
14b697f7
UD
21650 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21651 accurately.
db753e2c
UD
21652 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21653 GETDENTS_64BIT_ALIGNED.
21654
28300719
UD
216552010-12-14 Ulrich Drepper <dreper@gmail.com>
21656
14b697f7 21657 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21658
4f197237
AS
216592010-12-10 Andreas Schwab <schwab@redhat.com>
21660
dbb0472f
AS
21661 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21662 _GNU_SOURCE.
21663
4f197237
AS
21664 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21665 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21666 Remove __restrict.
21667 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21668 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21669
fb88ac72
UD
216702010-12-09 Ulrich Drepper <drepper@gmail.com>
21671
21672 [BZ #11655]
21673 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21674 are initialized.
21675
42acbb92
JJ
216762010-12-09 Jakub Jelinek <jakub@redhat.com>
21677
21678 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21679
c038d98d
UD
216802010-12-03 Ulrich Drepper <drepper@gmail.com>
21681
21682 * po/it.po: Update from translation team.
21683
3a4a2499
L
216842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21685
21686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21687 unused codes.
21688
1e24cf6e
UD
216892010-11-30 Ulrich Drepper <drepper@gmail.com>
21690
21691 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21692
a7690819
AS
216932010-11-24 Andreas Schwab <schwab@redhat.com>
21694
21695 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21696 specially.
21697 (gaih_getanswer_slice): Likewise.
21698
3bf8d1b1
JJ
216992010-10-20 Jakub Jelinek <jakub@redhat.com>
21700
21701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21702
6db52fbb
PB
217032010-05-31 Petr Baudis <pasky@suse.cz>
21704
21705 [BZ #11149]
21706 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21707 silently even in the chroot mode.
21708
eaca7569
UD
217092010-11-22 Ulrich Drepper <drepper@gmail.com>
21710
21711 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21712 last patch a bit. Pretty printing
21713
3056dcdb
UD
217142010-05-31 Petr Baudis <pasky@suse.cz>
21715
21716 [BZ #10085]
21717 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21718 initialization of skip_initgroups_dyn.
21719
cf7c9078
UD
217202010-11-19 Ulrich Drepper <drepper@gmail.com>
21721
21722 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21723 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21724
a1fb5e3e
UD
217252010-11-16 Ulrich Drepper <drepper@gmail.com>
21726
21727 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21728
3540d66b
AS
217292010-11-11 Andreas Schwab <schwab@redhat.com>
21730
21731 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21732 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21733 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21734 ($(objpfx)tst-fnmatch-mem): New rule.
21735 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21736 * posix/tst-fnmatch.c (main): Call mtrace.
21737
13b69574
L
217382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21741 Support Intel processor model 6 and model 0x2c.
21742
da93d214
LM
217432010-11-10 Luis Machado <luisgpm@br.ibm.com>
21744
21745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21746 signed comparison.
21747
8ca52c6e
L
217482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21749
21750 [BZ #12205]
21751 * string/test-strncasecmp.c (check_result): New function.
21752 (do_one_test): Use it.
21753 (check1): New function.
21754 (test_main): Use it.
21755 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21756 Support strcasecmp and strncasecmp.
21757
69da074d
UD
217582010-11-08 Ulrich Drepper <drepper@gmail.com>
21759
21760 [BZ #12194]
21761 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21762 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21763
ff02d528
L
217642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21765
21766 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21767 IFUNC support.
21768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21769 memset-x86-64.
21770 * sysdeps/x86_64/multiarch/bzero.S: New file.
21771 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21772 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21773 * sysdeps/x86_64/multiarch/memset.S: New file.
21774 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21776 Set bit_Prefer_SSE_for_memop for Intel processors.
21777 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21778 Define.
21779 (index_Prefer_SSE_for_memop): Define.
21780 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21781
344d0b54
LM
217822010-11-04 Luis Machado <luisgpm@br.ibm.com>
21783
21784 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21785 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21786
c0dde15b
UD
217872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21788
21789 [BZ #12191]
21790 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21791 (__x86_64_raw_data_cache_size_half): Likewise.
21792 (__x86_64_raw_shared_cache_size): Likewise.
21793 (__x86_64_raw_shared_cache_size_half): Likewise.
21794
21795 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21796 (__x86_64_raw_data_cache_size_half): Likewise.
21797 (__x86_64_raw_shared_cache_size): Likewise.
21798 (__x86_64_raw_shared_cache_size_half): Likewise.
21799 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21800 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21801 and __x86_64_raw_shared_cache_size_half. Round
21802 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21803 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21804 to multiple of 256 bytes.
21805
0e516e0e
MS
218062010-11-03 Ulrich Drepper <drepper@gmail.com>
21807
21808 [BZ #12167]
21809 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21810 of inacessible symlinks. Verify result of symlink before returning it.
21811 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21812 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21813
0e012e87
ER
218142010-10-28 Erich Ritz <erichritz@gmail.com>
21815
21816 * math/math.h (isinf): Fix typo in comment.
21817
de0ff7bc
UD
218182010-11-01 Ulrich Drepper <drepper@gmail.com>
21819
21820 * po/da.po: Update from translation team.
21821
fa41c84d
UD
218222010-10-26 Ulrich Drepper <drepper@gmail.com>
21823
21824 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21825 is added to the list.
21826
f0967738
AK
218272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21828 Ulrich Drepper <drepper@gmail.com>
21829
21830 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21831 the global list here. Move code to...
21832 (_dl_add_to_namespace_list): ...here. New function.
21833 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21834 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21835 * elf/dl-load.c (lose): Don't remove the element from the list.
21836 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21837 (_dl_map_object): Likewise.
21838
218392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21840
21841 [BZ #12159]
21842 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21843 into all bytes of SSE register.
21844 Patch by Richard Li <richardpku@gmail.com>.
21845
f0967738 218462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21847
21848 [BZ #12140]
21849 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21850 perturbing.
21851
d0b9e94f
MB
218522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21853
21854 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21855 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21856 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21857 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21859 submachine.
21860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21861
8e9f92e9
AS
218622010-10-22 Andreas Schwab <schwab@redhat.com>
21863
21864 * include/dlfcn.h (__RTLD_SECURE): Define.
21865 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21866 mode & __RTLD_SECURE instead.
21867 (open_path): Rename preloaded parameter to secure.
21868 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21869 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21870 * elf/dl-deps.c (openaux): Likewise.
21871 * elf/rtld.c (struct map_args): Remove is_preloaded.
21872 (map_doit): Don't use it.
21873 (dl_main): Likewise.
21874 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21875 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21876
bc96fbda
AS
218772010-09-09 Andreas Schwab <schwab@redhat.com>
21878
21879 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21880 (sysd-rules-targets): Remove duplicates.
21881 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21882 rtld-%.$o dependency.
21883
22cd1c9b
AS
218842010-10-18 Andreas Schwab <schwab@redhat.com>
21885
21886 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21887 _dl_map_object do it.
21888
18edac48
UD
218892010-10-19 Ulrich Drepper <drepper@gmail.com>
21890
21891 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21892 fast fma builtins, define the macros in the C99 standard.
21893 (FP_FAST_FMAF): Likewise.
21894 (FP_FAST_FMAL): Likewise.
21895 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21896
21897 * bits/mathdef.h: Update copyright year.
21898 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21899
d2050124
MM
219002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21901
21902 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21903 builtins, define the macros in the C99 standard.
21904 (FP_FAST_FMAF): Likewise.
21905 (FP_FAST_FMAL): Likewise.
21906 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21907 multiply/add.
21908 (FP_FAST_FMAF): Likewise.
21909
475facd1
JJ
219102010-10-15 Jakub Jelinek <jakub@redhat.com>
21911
21912 [BZ #3268]
21913 * math/libm-test.inc (fma_test): Some new testcases.
21914 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21915 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21916 y and infinite z. Do multiplication by C already in long double.
21917 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21919 y and infinite z. Do bitwise or of inexact bit into u.d.
21920 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21921 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21922 * sysdeps/i386/fpu/s_fma.S: Removed.
21923 * sysdeps/i386/fpu/s_fmal.S: Removed.
21924
7c08a05c
JJ
219252010-10-16 Jakub Jelinek <jakub@redhat.com>
21926
21927 [BZ #3268]
21928 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21930 computation is not scheduled after fetestexcept. Fix value
21931 of minimum denormal long double.
21932
f3f7372d
JJ
219332010-10-14 Jakub Jelinek <jakub@redhat.com>
21934
21935 [BZ #3268]
21936 * math/libm-test.inc (fma_test): Add some more tests.
21937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21938 correctly.
21939
14d43591
AS
219402010-10-15 Andreas Schwab <schwab@redhat.com>
21941
21942 * scripts/data/localplt-s390-linux-gnu.data: New file.
21943 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21944
5e908464
JJ
219452010-10-13 Jakub Jelinek <jakub@redhat.com>
21946
21947 [BZ #3268]
21948 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21949 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21950 instead of dbl-64.
21951 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21952 inlines.
21953 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21954 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21955 if one of x and y is very large and the other is subnormal.
21956 * sysdeps/s390/fpu/s_fmaf.c: New file.
21957 * sysdeps/s390/fpu/s_fma.c: New file.
21958 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21959 * sysdeps/powerpc/fpu/s_fma.S: New file.
21960 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21961 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21962 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21963
219642010-10-12 Jakub Jelinek <jakub@redhat.com>
21965
21966 [BZ #3268]
21967 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21968 fma tests.
21969 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21970 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21971 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21972 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21973 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21974 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21975 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21976
b833d51f
UD
219772010-10-12 Ulrich Drepper <drepper@redhat.com>
21978
21979 [BZ #12078]
21980 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21981 * posix/bug-regex31.input: Add test case.
21982
1751705d
UD
219832010-10-11 Ulrich Drepper <drepper@gmail.com>
21984
e9b9cbf5
UD
21985 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21986 * posix/bug-regex31.input: New file.
21987
21988 [BZ #12078]
21989 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21990 (parse_sub_exp): Fix last change, use postorder.
21991
ef06edbe
UD
21992 * posix/bug-regex31.c: New file.
21993 * posix/Makefile: Add rules to build and run bug-regex31.
21994
a129c80d
UD
21995 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21996
21997 [BZ #12078]
21998 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21999
b76b818e
UD
22000 [BZ #12108]
22001 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22002 to have entries in sys_siglist.
22003
1751705d
UD
22004 [BZ #12093]
22005 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22006 be NULL.
22007
9ff8d36f
JJ
220082010-10-07 Jakub Jelinek <jakub@redhat.com>
22009
22010 [BZ #3268]
22011 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22012 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22013 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22014 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22015 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22016 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22017 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22018 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22019 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22020 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22021 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22022 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22023 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22024 * math/ftestexcept.c (fetestexcept): Likewise.
22025 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22026 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22027 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22028 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22029 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22030 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22031 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22032
af325969
UD
220332010-10-11 Ulrich Drepper <drepper@gmail.com>
22034
c579b202 22035 [BZ #12107]
af325969
UD
22036 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22037 newline.
22038
67a67b95
UD
220392010-10-06 Ulrich Drepper <drepper@gmail.com>
22040
22041 * string/bug-strstr1.c: New file.
22042 * string/Makefile: Add rules to build and run bug-strstr1.
22043
5fb308bc
EB
220442010-10-05 Eric Blake <eblake@redhat.com>
22045
22046 [BZ #12092]
22047 * string/str-two-way.h (two_way_long_needle): Always clear memory
22048 when skipping input due to the shift table.
22049
45db99c7
UD
220502010-10-03 Ulrich Drepper <drepper@gmail.com>
22051
3b111893
UD
22052 [BZ #12005]
22053 * malloc/mcheck.c: Handle large requests.
22054
45db99c7
UD
22055 [BZ #12077]
22056 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22057 for strncmp and strncasecmp.
22058 * string/stratcliff.c: Add tests for strcmp and strncmp.
22059 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22060
cf7a1eb8
NI
220612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22062
22063 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22064 __set_fpscr.
22065
6484ba5e
AJ
220662010-09-30 Andreas Jaeger <aj@suse.de>
22067
22068 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22069 (CGROUP_SUPER_MAGIC): Define.
22070 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22071 Handle btrfs and cgroup file systems.
22072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22073 Likewise.
22074
91c42559
LM
220752010-09-27 Luis Machado <luisgpm@br.ibm.com>
22076
22077 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22078 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22079
87a97932
AK
220802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22081
22082 [BZ #12067]
22083 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22084 trying to locate the ELF header.
22085
c21cc9bc
AS
220862010-09-27 Andreas Schwab <schwab@redhat.com>
22087
22088 [BZ #11611]
22089 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22090 Mask out sign-bit copies when constructing f_fsid.
22091
315970f6
PB
220922010-09-24 Petr Baudis <pasky@suse.cz>
22093
22094 * debug/stack_chk_fail_local.c: Add missing licence exception.
22095 * debug/warning-nop.c: Likewise.
22096
1ac7a2c7
JM
220972010-09-15 Joseph Myers <joseph@codesourcery.com>
22098
22099 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22100 implementing getdents64 using getdents syscall, set d_type if
22101 __ASSUME_GETDENTS32_D_TYPE.
22102
56801c50
AS
221032010-09-16 Andreas Schwab <schwab@redhat.com>
22104
22105 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22106 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22107
dda51327
UD
221082010-09-21 Ulrich Drepper <drepper@redhat.com>
22109
22110 [BZ #12037]
22111 * posix/unistd.h: Undo change of feature selection for ftruncate from
22112 2010-01-11.
22113
8ffcee4a
UD
221142010-09-20 Ulrich Drepper <drepper@redhat.com>
22115
a545ecd9 22116 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22117 detection.
22118
e24f0a8b
AS
221192010-09-20 Andreas Schwab <schwab@redhat.com>
22120
22121 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22122 fanotify_mark.
22123 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22124
7291c56f
AS
221252010-09-14 Andreas Schwab <schwab@redhat.com>
22126
22127 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22128 variables after CHECK_SP call.
22129 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22130
bc5fb037
AS
221312010-09-13 Andreas Schwab <schwab@redhat.com>
22132 Ulrich Drepper <drepper@redhat.com>
22133
22134 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22135 re-relocationg ld.so.
22136 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22137 _dl_init_paths call.
22138 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22139 here anymore.
22140
e66e7419
UD
221412010-09-14 Ulrich Drepper <drepper@redhat.com>
22142
22143 * resolv/res_init.c (__res_vinit): Count the default server we added.
22144
c044aa75
CLT
221452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22146 Ulrich Drepper <drepper@redhat.com>
22147
22148 [BZ #11968]
22149 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22150 (____longjmp_chk): Use %ebx for saving value across system call.
22151 Add unwind info.
22152
32cf4069
AS
221532010-09-06 Andreas Schwab <schwab@redhat.com>
22154
22155 * manual/Makefile: Don't mix pattern rules with normal rules.
22156
817328ee
AS
221572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22158
22159 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22160 operation.
22161 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22162 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22163 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22164 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22165 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22166 Likewise.
22167
29fddf61
UD
221682010-09-04 Ulrich Drepper <drepper@redhat.com>
22169
22170 [BZ #11979]
22171 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22172 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22173
0959ffc9
UD
221742010-09-02 Ulrich Drepper <drepper@redhat.com>
22175
22176 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22177 * sysdeps/x86_64/addmul_1.S: Likewise.
22178 * sysdeps/x86_64/lshift.S: Likewise.
22179 * sysdeps/x86_64/mul_1.S: Likewise.
22180 * sysdeps/x86_64/rshift.S: Likewise.
22181 * sysdeps/x86_64/sub_n.S: Likewise.
22182 * sysdeps/x86_64/submul_1.S: Likewise.
22183
ece29840
ST
221842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22185
0959ffc9
UD
22186 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22187 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22188 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22189 * bits/sched.h [__need_schedparam]
ece29840 22190 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22191 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22192 (__defined_schedparam): Define to 1.
ece29840
ST
22193 (__sched_param): New structure, identical to sched_param.
22194 (__need_schedparam): Undefine.
22195
e53a31fe
MF
221962010-08-31 Mike Frysinger <vapier@gentoo.org>
22197
fdc0c10d
MF
22198 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22199 (epoll_create1): Declare.
22200
e53a31fe
MF
22201 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22202
a726d796
AS
222032010-08-31 Andreas Schwab <schwab@redhat.com>
22204
22205 [BZ #7066]
22206 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22207 shifting retval into place.
22208
2f3e3dc7
UD
222092010-09-01 Ulrich Drepper <drepper@redhat.com>
22210
f2933da9
UD
22211 * nis/rpcsvc/nis.h: Update copyright notice.
22212 * nis/rpcsvc/nis.x: Likewise.
22213 * nis/rpcsvc/nis_callback.h: Likewise.
22214 * nis/rpcsvc/nis_callback.x: Likewise.
22215 * nis/rpcsvc/nis_object.x: Likewise.
22216 * nis/rpcsvc/nis_tags.h: Likewise.
22217 * nis/rpcsvc/yp.h: Likewise.
22218 * nis/rpcsvc/yp.x: Likewise.
22219 * nis/rpcsvc/ypupd.h: Likewise.
22220 * nis/yp_xdr.c: Likewise.
22221 * nis/ypupdate_xdr.c: Likewise.
22222
2f3e3dc7
UD
22223 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22224 mainly the body of pmap_getport. Add parameters to specify timeouts.
22225 (pmap_getport): Use __libc_rpc_getport.
22226 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22227 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22228 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22229
f3dcc2f9
AS
222302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22231
22232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22233 fanotify_mark.
22234
6d34eb5b
RM
222352010-08-27 Roland McGrath <roland@redhat.com>
22236
22237 * sysdeps/i386/i686/multiarch/Makefile
22238 (CFLAGS-varshift.c): New variable.
22239
9ea3de11
UD
222402010-08-27 Ulrich Drepper <drepper@redhat.com>
22241
c96d23fc
UD
22242 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22243 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22244
9ea3de11
UD
22245 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22246
22247 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22248
623aac7f
L
222492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/x86_64/strlen.S: Unroll the loop.
22252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22253 strlen-sse2 strlen-sse2-bsf.
22254 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22255 __strlen_no_bsf if bit_Slow_BSF is set.
22256 (__strlen_sse42): Removed.
22257 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22258 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22259
8b2b7715
RM
222602010-08-25 Roland McGrath <roland@redhat.com>
22261
22262 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22263 * sysdeps/x86_64/multiarch/varshift.c: New file.
22264 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22265 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22266 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22267 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22268
e73015f2
L
222692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22270
22271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22272 strlen-sse2 strlen-sse2-bsf.
22273 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22274 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22275 (__strlen_sse2): Removed.
22276 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22277 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22279 bit_Slow_BSF for Atom.
22280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22281 (index_Slow_BSF): Define.
22282 (HAS_SLOW_BSF): Define.
22283
df24a73e
UD
222842010-08-25 Ulrich Drepper <drepper@redhat.com>
22285
22286 [BZ #10851]
22287 * resolv/res_init.c (__res_vinit): When no server address at all
22288 is given default to loopback.
22289
f2ac4868
RM
222902010-08-24 Roland McGrath <roland@redhat.com>
22291
09055553
RM
22292 * configure.in: Remove config-name.h generation.
22293 * configure: Regenerated.
22294 * config-name.in: File removed.
22295 * scripts/config-uname.sh: New file.
22296 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22297 ($(objdir)config-name.h): New target.
22298
f2ac4868
RM
22299 * sunrpc/rpc_parse.h: Avoid nested comment.
22300
73f27d5e
RH
223012010-08-24 Richard Henderson <rth@redhat.com>
22302 Ulrich Drepper <drepper@redhat.com>
22303 H.J. Lu <hongjiu.lu@intel.com>
22304
22305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22307 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22308 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22309 _mm_alignr_epi8 with _mm_loadu_si128.
22310 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22311 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22312 (__m128i_shift_right): Removed.
22313 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22314 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22315 * sysdeps/x86_64/multiarch/varshift.h: New file.
22316 * sysdeps/x86_64/multiarch/varshift.S: New file.
22317
84b9230c
MF
223182010-08-21 Mike Frysinger <vapier@gentoo.org>
22319
22320 * configure.in: Move assembler checks to before sysdep dir checking.
22321
9bbd0ddc
PB
223222010-08-20 Petr Baudis <pasky@suse.cz>
22323
22324 * LICENSES: Sync the sunrpc license.
22325
9da4bb31
UD
223262010-08-19 Ulrich Drepper <drepper@redhat.com>
22327
a7ab6ec8
UD
22328 * sunrpc/auth_des.c: Update copyright notice once again.
22329 * sunrpc/auth_none.c: Likewise.
22330 * sunrpc/auth_unix.c: Likewise.
22331 * sunrpc/authdes_prot.c: Likewise.
22332 * sunrpc/authuxprot.c: Likewise.
22333 * sunrpc/bindrsvprt.c: Likewise.
22334 * sunrpc/clnt_gen.c: Likewise.
22335 * sunrpc/clnt_perr.c: Likewise.
22336 * sunrpc/clnt_raw.c: Likewise.
22337 * sunrpc/clnt_simp.c: Likewise.
22338 * sunrpc/clnt_tcp.c: Likewise.
22339 * sunrpc/clnt_udp.c: Likewise.
22340 * sunrpc/clnt_unix.c: Likewise.
22341 * sunrpc/des_crypt.c: Likewise.
22342 * sunrpc/des_soft.c: Likewise.
22343 * sunrpc/get_myaddr.c: Likewise.
22344 * sunrpc/getrpcport.c: Likewise.
22345 * sunrpc/key_call.c: Likewise.
22346 * sunrpc/key_prot.c: Likewise.
22347 * sunrpc/openchild.c: Likewise.
22348 * sunrpc/pm_getmaps.c: Likewise.
22349 * sunrpc/pm_getport.c: Likewise.
22350 * sunrpc/pmap_clnt.c: Likewise.
22351 * sunrpc/pmap_prot.c: Likewise.
22352 * sunrpc/pmap_prot2.c: Likewise.
22353 * sunrpc/pmap_rmt.c: Likewise.
22354 * sunrpc/rpc/auth.h: Likewise.
22355 * sunrpc/rpc/auth_unix.h: Likewise.
22356 * sunrpc/rpc/clnt.h: Likewise.
22357 * sunrpc/rpc/des_crypt.h: Likewise.
22358 * sunrpc/rpc/key_prot.h: Likewise.
22359 * sunrpc/rpc/netdb.h: Likewise.
22360 * sunrpc/rpc/pmap_clnt.h: Likewise.
22361 * sunrpc/rpc/pmap_prot.h: Likewise.
22362 * sunrpc/rpc/pmap_rmt.h: Likewise.
22363 * sunrpc/rpc/rpc.h: Likewise.
22364 * sunrpc/rpc/rpc_des.h: Likewise.
22365 * sunrpc/rpc/rpc_msg.h: Likewise.
22366 * sunrpc/rpc/svc.h: Likewise.
22367 * sunrpc/rpc/svc_auth.h: Likewise.
22368 * sunrpc/rpc/types.h: Likewise.
22369 * sunrpc/rpc/xdr.h: Likewise.
22370 * sunrpc/rpc_clntout.c: Likewise.
22371 * sunrpc/rpc_cmsg.c: Likewise.
22372 * sunrpc/rpc_common.c: Likewise.
22373 * sunrpc/rpc_cout.c: Likewise.
22374 * sunrpc/rpc_dtable.c: Likewise.
22375 * sunrpc/rpc_hout.c: Likewise.
22376 * sunrpc/rpc_main.c: Likewise.
22377 * sunrpc/rpc_parse.c: Likewise.
22378 * sunrpc/rpc_parse.h: Likewise.
22379 * sunrpc/rpc_prot.c: Likewise.
22380 * sunrpc/rpc_sample.c: Likewise.
22381 * sunrpc/rpc_scan.c: Likewise.
22382 * sunrpc/rpc_scan.h: Likewise.
22383 * sunrpc/rpc_svcout.c: Likewise.
22384 * sunrpc/rpc_tblout.c: Likewise.
22385 * sunrpc/rpc_util.c: Likewise.
22386 * sunrpc/rpc_util.h: Likewise.
22387 * sunrpc/rpcinfo.c: Likewise.
22388 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22389 * sunrpc/rpcsvc/key_prot.x: Likewise.
22390 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22391 * sunrpc/rpcsvc/mount.x: Likewise.
22392 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22393 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22394 * sunrpc/rpcsvc/rex.x: Likewise.
22395 * sunrpc/rpcsvc/rstat.x: Likewise.
22396 * sunrpc/rpcsvc/rusers.x: Likewise.
22397 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22398 * sunrpc/rpcsvc/spray.x: Likewise.
22399 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22400 * sunrpc/rtime.c: Likewise.
22401 * sunrpc/svc.c: Likewise.
22402 * sunrpc/svc_auth.c: Likewise.
22403 * sunrpc/svc_authux.c: Likewise.
22404 * sunrpc/svc_raw.c: Likewise.
22405 * sunrpc/svc_run.c: Likewise.
22406 * sunrpc/svc_simple.c: Likewise.
22407 * sunrpc/svc_tcp.c: Likewise.
22408 * sunrpc/svc_udp.c: Likewise.
22409 * sunrpc/svc_unix.c: Likewise.
22410 * sunrpc/svcauth_des.c: Likewise.
22411 * sunrpc/xcrypt.c: Likewise.
22412 * sunrpc/xdr.c: Likewise.
22413 * sunrpc/xdr_array.c: Likewise.
22414 * sunrpc/xdr_float.c: Likewise.
22415 * sunrpc/xdr_mem.c: Likewise.
22416 * sunrpc/xdr_rec.c: Likewise.
22417 * sunrpc/xdr_ref.c: Likewise.
22418 * sunrpc/xdr_sizeof.c: Likewise.
22419 * sunrpc/xdr_stdio.c: Likewise.
22420
9da4bb31
UD
22421 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22422 handling.
22423
bdaa77bc
AS
224242010-08-19 Andreas Schwab <schwab@redhat.com>
22425
22426 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22427
fe2f79db
LM
224282010-08-19 Luis Machado <luisgpm@br.ibm.com>
22429
22430 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22431 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22432 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22433 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22434 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22435 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22436 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22437 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22438 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22439 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22440 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22441 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22442 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22443 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22444
b9b42ee0
AB
224452010-07-26 Anton Blanchard <anton@samba.org>
22446
22447 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22448 * malloc/arena.c (heap_trim): Likewise.
22449
1c06ba31
UD
224502010-08-16 Ulrich Drepper <drepper@redhat.com>
22451
22452 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22453 here. Not...
22454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22455 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22456
f8392f40
L
224572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22458
22459 * sysdeps/i386/elf/Makefile: New file.
22460
3162f12e
AS
224612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22462
22463 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22464 from fanotify_init.
22465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22467
28c90b2c
UD
224682010-08-15 Ulrich Drepper <drepper@redhat.com>
22469
22470 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22471 of strncasecmp_l.
1feccb6c 22472 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22473
ca6bb004
UD
224742010-08-14 Ulrich Drepper <drepper@redhat.com>
22475
e9f82e0d
UD
22476 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22477 strncase_l-nonascii.
22478 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22479 Add strncase_l-ssse3.
22480 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22481 * sysdeps/x86_64/strcmp.S: Likewise.
22482 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22483 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22484 * sysdeps/x86_64/strncase.S: New file.
22485 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22486 * sysdeps/x86_64/strncase_l.S: New file.
22487 * string/Makefile (strop-tests): Add strncasecmp.
22488 * string/test-strncasecmp.c: New file.
22489
22490 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22491 warning.
22492
ca6bb004
UD
22493 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22494 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22495
052fa7b3
AS
224962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22497
22498 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22499
962dba78
UD
225002010-08-12 Ulrich Drepper <drepper@redhat.com>
22501
22502 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22503 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22504 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22505
bebff237
AM
225062010-05-01 Alan Modra <amodra@gmail.com>
22507
22508 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22509 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22510 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22511 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22512 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22513 tidying. Don't tail-call __sigjmp_save for static lib.
22514 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22515 save location.
22516 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22517 (CALL_MCOUNT): Add eh info, and nop after bl.
22518 (TAIL_CALL_SYSCALL_ERROR): New macro.
22519 (PSEUDO_RET): Use it.
22520 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22521 Correct save location of integer regs and cr.
22522 (_dl_profile_resolve): Correct cr save location. Delete nops
22523 after bl when SHARED. Reduce cfi size a little by better
22524 placement of cfi directives.
22525 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22526 make a stack frame. Instead use parm save area as a temp.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22528 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22530 Don't make a stack frame for parent, use parm save area.
22531 Increase child stack frame to 112 bytes. Don't save unused reg,
22532 and adjust reg usage. Set up cfi on error recovery and
22533 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22535 (__makecontext): Add dummy nop after jump to exit.
22536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22537 Use correct parm save area and cr save, reduce stack frame.
22538 Correct cfi for possible PSEUDO_RET frame setup.
22539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22540 Branch to local label emitted by PSEUDO_RET rather than
22541 __syscall_error.
22542
02637374
AS
225432010-08-12 Andreas Schwab <schwab@redhat.com>
22544
22545 [BZ #11904]
22546 * locale/programs/locale.c (print_assignment): New function.
22547 (show_locale_vars): Use it.
22548
c3e2f19b
UD
225492010-08-11 Ulrich Drepper <drepper@redhat.com>
22550
3cdaa6ad
UD
22551 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22552 field.
22553 (struct statfs64): Likewise.
22554 (_STATFS_F_FLAGS): Define.
22555 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22556 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22557 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22558 (ST_VALID): Define locally.
22559 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22560 __statvfs_getflags, use the provided value.
22561 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22562 __ASSUME_STATFS_F_FLAGS.
22563
754f7da3
UD
22564 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22565
10b3bedc
UD
22566 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22567 Add sys/fanotify.h.
22568 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22569 fanotify_mask for GLIBC_2.13.
22570 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22571 fanotify_init and fanotify_mark.
22572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22573 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22574
c08fb0d7
UD
22575 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22576 Add prlimit.
22577 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22578 prlimit64 for GLIBC_2.13.
22579 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22580 prlimit64.
22581 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22582 syscall.
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22584 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22585 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22586 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22587 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22588 add prlimit alias.
22589 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22590
15bac72b
UD
22591 [BZ #11903]
22592 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22593 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22594
c3e2f19b
UD
22595 * nss/Makefile: Add rules to build and run tst-nss-test1.
22596 * shlib-versions: Add entry for libnss_test1.
22597 * nss/nss_test1.c: New file.
22598 * nss/tst-nss-test1.c: New file.
22599
22600 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22601 (__nss_configure_lookup): Set appropriate entry in
22602 __nss_configure_lookup to true.
22603 * nss/nsswitch.h: Define enum with indeces of databases in
22604 databases and __nss_database_custom arrays. Declare
22605 __nss_database_custom.
22606 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22607 to avoid using nscd when custom rules are installed.
22608 * nss/getXXbyYY_r.c: Likewise.
22609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22610
22611 * nss/nss_files/files-parse.c: Whitespace fixes.
22612
f15ce4d8
UD
226132010-08-09 Ulrich Drepper <drepper@redhat.com>
22614
22615 [BZ #11883]
22616 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22617 * posix/fnmatch_loop.c: Likewise.
22618
d22e4cc9
AK
226192010-07-17 Andi Kleen <ak@linux.intel.com>
22620
22621 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22622 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22623 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22624 * Versions.def [GLIBC_2.13]: Add.
22625
805bc17d
UD
226262010-08-06 Ulrich Drepper <drepper@redhat.com>
22627
22628 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22629 Also fail if tpwd after pwuid call is NULL.
22630
5a42321d
ST
226312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22632
22633 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22634 when converting to ms.
22635
fd3ebeda
ST
226362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22637
22638 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22639 EOPNOTSUPP errors with ENOTTY.
22640 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22641 EOPNOTSUPP errors with ENOTTY.
22642
73507d3a
UD
226432010-07-31 Ulrich Drepper <drepper@redhat.com>
22644
22645 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22646 Add strcasecmp_l-ssse3.
22647 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22648 strcasecmp.
22649 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22650 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22651 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22652
fe36dd02
UD
226532010-07-30 Ulrich Drepper <drepper@redhat.com>
22654
66f6765a
UD
22655 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22656
42e08a54
UD
22657 * string/Makefile (strop-tests): Add strcasecmp.
22658 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22659 strcasecmp_l-nonascii.
22660 (gen-as-const-headers): Add locale-defines.sym.
22661 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22662 * sysdeps/x86_64/strcasecmp.S: New file.
22663 * sysdeps/x86_64/strcasecmp_l.S: New file.
22664 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22665 * sysdeps/x86_64/locale-defines.sym: New file.
22666 * string/test-strcasecmp.c: New file.
22667
fe36dd02
UD
22668 * string/test-strcasestr.c: Test both ends of the range of characters.
22669 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22670
48cbc0d6
RM
226712010-07-29 Roland McGrath <roland@redhat.com>
22672
76e6d6bc 22673 [BZ #11856]
48cbc0d6
RM
22674 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22675
880113d9
UD
226762010-07-27 Ulrich Drepper <drepper@redhat.com>
22677
22678 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22679 for ld.so.
22680
deb9cabb
AS
226812010-07-27 Andreas Schwab <schwab@redhat.com>
22682
22683 * manual/memory.texi (Malloc Tunable Parameters): Document
22684 M_PERTURB.
22685
1c7570ff
RM
226862010-07-26 Roland McGrath <roland@redhat.com>
22687
22688 [BZ #11840]
22689 * configure.in (-fgnu89-inline check): Set and substitute
22690 gnu89_inline, not libc_cv_gnu89_inline.
22691 * configure: Regenerated.
22692 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22693
24fb0f88
UD
226942010-07-26 Ulrich Drepper <drepper@redhat.com>
22695
22696 * string/test-strnlen.c: New file.
22697 * string/Makefile (strop-tests): Add strnlen.
22698 * string/tester.c (test_strnlen): Add a few more test cases.
22699 * string/tst-strlen.c: Better error reporting.
22700
22701 * sysdeps/x86_64/strnlen.S: New file.
22702
8e96b93a
UD
227032010-07-24 Ulrich Drepper <drepper@redhat.com>
22704
22705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22706 lower-latency instructions.
22707
dbc676d4
UD
227082010-07-23 Ulrich Drepper <drepper@redhat.com>
22709
22710 * string/test-strcasestr.c: New file.
22711 * string/test-strstr.c: New file.
22712 * string/Makefile (strop-tests): Add strstr and strcasestr.
22713 * string/str-two-way.h: Don't undefine MAX.
22714 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22715
f6a31e0e
AS
227162010-07-21 Andreas Schwab <schwab@redhat.com>
22717
22718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22719 strcasestr-nonascii.
22720 (CFLAGS-strcasestr-nonascii.c): Define.
22721 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22722 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22723 Remove unused attribute.
22724
5dbc3b6c
RM
227252010-07-20 Roland McGrath <roland@redhat.com>
22726
22727 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22728 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22729 ld.so.cache was broken. With it, there is no way to disable dsocaps
22730 like LD_HWCAP_MASK can disable hwcaps.
22731
23d101d8
EPM
227322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22733
22734 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22735
cc9f2e47
UD
227362010-07-16 Ulrich Drepper <drepper@redhat.com>
22737
22738 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22739 call in strcasestr.
22740 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22741 __strcasestr_sse42_nonascii.
22742 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22743 strcasestr-nonascii.c.
22744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22745
77c1b069
LM
227462010-06-15 Luis Machado <luisgpm@br.ibm.com>
22747
22748 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22750 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22751 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22752
440566c3
UD
227532010-07-09 Ulrich Drepper <drepper@redhat.com>
22754
22755 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22756 fcntl.
22757
5be9d05d
AS
227582010-07-06 Andreas Schwab <schwab@redhat.com>
22759
c30b7ee2 22760 [BZ #11577]
5be9d05d
AS
22761 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22762 dl_signal_cerror.
22763
8a492a67
UD
227642010-07-06 Ulrich Drepper <drepper@redhat.com>
22765
22766 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22767 _PC_PIPE_BUF using F_GETPIPE_SZ.
22768
713df3d5
RM
227692010-07-05 Roland McGrath <roland@redhat.com>
22770
22771 * manual/arith.texi (Rounding Functions): Fix rint description
22772 implicit in round description.
22773
702e8f14
UD
227742010-07-02 Ulrich Drepper <drepper@redhat.com>
22775
22776 * elf/Makefile: Fix linking for a few tests to make recent linker
22777 happy.
22778
52ed8be9
AS
227792010-06-30 Andreas Schwab <schwab@redhat.com>
22780
22781 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22782 $(common-objpfx)libc_nonshared.a.
22783
f47c9a11
LM
227842010-06-21 Luis Machado <luisgpm@br.ibm.com>
22785
22786 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22787 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22788 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22789 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22790 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22791 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22792 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22793 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22808 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22809 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22810 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22811 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22812 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22813 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22814 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22815 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22816 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22817 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22818 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22819 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22834
6fb8cbcb
L
228352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22836
22837 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22838 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22839 * string/memmove.c (memmove): Renamed to ...
22840 (MEMMOVE): ...this. Default to memmove.
22841 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22842 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22843 (END_CHK): Define.
22844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22845 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22846 mempcpy-ssse3-back memmove-ssse3-back.
22847 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22848 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22849 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22850 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22851 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22852 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22853 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22854 * sysdeps/x86_64/multiarch/memmove.c: New file.
22855 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22856 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22857 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22858 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22859 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22860 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22861 Define.
22862 (index_Fast_Copy_Backward): Define.
22863 (HAS_ARCH_FEATURE): Define.
22864 (HAS_FAST_REP_STRING): Define.
22865 (HAS_FAST_COPY_BACKWARD): Define.
22866
4e733bac 228672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22868
22869 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22870 Restore proper fallback handling.
22871
63c4ed22
UD
228722010-06-19 Ulrich Drepper <drepper@redhat.com>
22873
ac2b484c
UD
22874 [BZ #11701]
22875 * posix/group_member.c (__group_member): Correct checking loop.
22876
63c4ed22
UD
22877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22878 OOM in getpwuid_r correctly. Return error number when the caller
22879 should return, otherwise -1.
22880 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22881 call returning > 0 value.
22882 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22883
765ade4b
AS
228842010-06-07 Andreas Schwab <schwab@redhat.com>
22885
22886 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22887 libc_nonshared.a from targets in modules-names.
22888
80da2e09
KS
228892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22890
22891 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22892 requires it.
22893
158db122
LM
228942010-06-10 Luis Machado <luisgpm@br.ibm.com>
22895
22896 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22897 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22899 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22900
caa78cf8
AS
229012010-06-02 Andreas Schwab <schwab@redhat.com>
22902
22903 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22904
b2ef2c01
UD
229052010-06-14 Ulrich Drepper <drepper@redhat.com>
22906
22907 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22908 and F_GETPIPE_SZ.
22909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22914 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22915
fbd643b6
RM
229162010-06-14 Roland McGrath <roland@redhat.com>
22917
22918 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22919
f32f2869
JJ
229202010-06-07 Jakub Jelinek <jakub@redhat.com>
22921
22922 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22923 __REDIRECT followed by __THROW.
22924 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22925 * posix/getopt.h (getopt): Likewise.
22926
2a50c078
EPM
229272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22928
22929 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22930 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22931 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22932 in AT_FLAGS.
22933 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22934 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22935
eb5ad2eb
LM
229362010-05-28 Luis Machado <luisgpm@br.ibm.com>
22937
22938 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22939
3c88fe1e
L
229402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22941
22942 [BZ #11640]
22943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22944 Properly check family and model.
22945
d2f73151
TY
229462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22947
22948 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22949
ebd2e13d
LM
229502010-05-24 Luis Machado <luisgpm@br.ibm.com>
22951
22952 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22953
b32b8b45
UD
229542010-05-21 Ulrich Drepper <drepper@redhat.com>
22955
22956 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22957 symbol reference.
22958
9acbe24d
AS
229592010-05-19 Andreas Schwab <schwab@redhat.com>
22960
22961 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22962 symbol reference.
22963
f0ccf6ea
AS
229642010-05-21 Andreas Schwab <schwab@redhat.com>
22965
3d04ff3a
AS
22966 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22967 and internal_recvmmsg.
22968 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22969 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22970 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22971 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22972
f0ccf6ea
AS
22973 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22974 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22975 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22976
5b08ac57
AS
229772010-05-20 Andreas Schwab <schwab@redhat.com>
22978
22979 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22980
4828935d
LM
229812010-05-17 Luis Machado <luisgpm@br.ibm.com>
22982
22983 POWER7 optimizations.
22984 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22985 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22986
373d545e
UD
229872010-05-19 Ulrich Drepper <drepper@redhat.com>
22988
22989 * version.h: Update for 2.13 development version.
22990
21a2b1ae
AS
229912010-05-12 Andrew Stubbs <ams@codesourcery.com>
22992
22993 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22994 exceptions. Return 0.
22995
3f7dcb2b
RM
229962010-05-07 Roland McGrath <roland@redhat.com>
22997
22998 * elf/ldconfig.c (main): Add a const.
22999
5f24d53a 230002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 23001
a160f8d8
UD
23002 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23003 (args_options): Add no-idn option.
23004 (ahosts_keys_int): Add idn_flags to ai_flags.
23005 (parse_option): Handle 'i' option to clear idn_flags.
23006
5f24d53a
UD
23007 * malloc/malloc.c (_int_free): Possible race in the most recently
23008 added check. Only act on the data if no current modification
23009 happened.
265bb1ce
UD
23010
23011See ChangeLog.17 for earlier changes.