]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ia64: clock_getcpuclockid.c: drop unused file
[thirdparty/glibc.git] / ChangeLog
CommitLineData
37db69de
MF
12012-11-29 Mike Frysinger <vapier@gentoo.org>
2
3 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4
e10c4e4f
RM
52012-11-29 Roland McGrath <roland@hack.frob.com>
6
7 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8
2af1b328
JL
92012-11-28 Jeff Law <law@redhat.com>
10
11 [BZ #13761]
12 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13 dataset_temporary. Track alloca usage into alloca_used.
14 If dataset is large allocate and release it via malloc/free.
15
111db5b1
FW
162012-06-04 Florian Weimer <fweimer@redhat.com>
17
f06cc227 18 [BZ #14197]
111db5b1
FW
19 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20
dd694abd
DM
212012-11-28 David S. Miller <davem@davemloft.net>
22
23 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24
9984dd01
JM
252012-11-28 Joseph Myers <joseph@codesourcery.com>
26
27 [BZ #14803]
28 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29 of pi/2 rounded to nearest to 64 bits.
30 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31 nearest to 64 bits.
32 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33 bits.
34
14bc93a9
JL
352012-11-28 Jeff Law <law@redhat.com>
36 Martin Osvald <mosvald@redhat.com>
37
38 [BZ #14889]
39 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
40 * sunrpc/svc.c: Include time.h.
41 (__svc_accept_failed): New function.
42 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
43 any reason other than EINTR, call __svc_accept_failed.
44 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
45 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
46
e3c6aa3a
AS
472012-11-28 Andreas Schwab <schwab@suse.de>
48
49 * scripts/abilist.awk: Also handle indirect functions in .opd
50 section.
51
1bead169
JM
522012-11-28 Joseph Myers <joseph@codesourcery.com>
53
54 [BZ #13881]
55 * sysdeps/x86/fpu/powl_helper.c: New file.
56 * sysdeps/x86/fpu/Makefile: Likewise.
57 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58 (p3): New object.
59 (__ieee754_powl): Use __powl_helper for finite arguments except
60 integer exponents below 8.
61 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62 (p3): New object.
63 (__ieee754_powl): Use __powl_helper for finite arguments except
64 integer exponents below 8.
65 * math/libm-test.inc (pow_test): Add more tests and enable some
66 previously disabled tests.
67 * sysdeps/i386/fpu/libm-test-ulps: Update.
68 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69
0817d63d
SP
702012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
71 Carlos O'Donell <carlos_odonell@mentor.com>
72
73 * nss/makedb.c (is_prime): Assert that input is odd and greater
74 than 4. Note that fact in a comment too.
75 (next_prime): Add 4 to input.
76
de2fd463
SP
772012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
78
79 [BZ #11741]
80 * libio/Makefile (tests): Add test case tst-fwrite-error.
81 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
82 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
83 * libio/tst-fwrite-error.c: New test case.
84
c515fb51
L
852012-11-26 H.J. Lu <hongjiu.lu@intel.com>
86
87 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
88 before casting to void *.
89 * include/libc-internal.h (__pointer_type): New macro.
90 (__integer_if_pointer_type_sub): Likewise.
91 (__integer_if_pointer_type): Likewise.
92 (cast_to_integer): Likewise.
93 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
94 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
95 before casting to atomic64_t.
96 (atomic_exchange_acq): Likewise.
97 (__arch_exchange_and_add_body): Likewise.
98 (__arch_add_body): Likewise.
99 (atomic_add_negative): Likewise.
100 (atomic_add_zero): Likewise.
101
4cf77aa9
JM
1022012-11-26 Joseph Myers <joseph@codesourcery.com>
103
104 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
105 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
106 (add_fdes): Likewise.
107 (linear_search_fdes): Likewise.
108 (binary_search_unencoded_fdes): Likewise.
109
d260b3b4
AS
1102012-11-26 Andreas Schwab <schwab@linux-m68k.org>
111
112 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
113
67060746
AC
1142012-11-24 Adam Conrad <adconrad@0c3.net>
115
116 * configure.in: Autodetect C++ header directories.
117 * configure: Regenerated.
118
800938a1
MF
1192012-11-23 Mike Frysinger <vapier@gentoo.org>
120
121 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
122
4e6e34e6
AS
1232012-11-23 Andreas Schwab <schwab@linux-m68k.org>
124
125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
126
7c7feb47
JM
1272012-11-22 Joseph Myers <joseph@codesourcery.com>
128
7184dcdf
JM
129 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
130 LDBL_MANT_DIG == 106]: Disable some tests.
131 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
132 Likewise.
133 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
134 Likewise.
135
0a42601f
JM
136 [BZ #14871]
137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
138 input for small inputs. Return +/- pi/2 for large inputs.
139 * math/libm-test.inc (atan_test): Add more tests.
140
79c9b9fe
JM
141 * sysdeps/generic/unwind-dw2-fde-glibc.c
142 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
143 __attribute__ ((unused)).
144
c60d3bf2
JM
145 [BZ #14645]
146 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
147 x * y if x and y are nonzero and z is zero.
148
ef1e0867
JM
149 [BZ #14811]
150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
151 nonzero exponents with absolute value below 0x1p-117 to +/-
152 0x1p-117.
153
1468ded3
JM
154 [BZ #14869]
155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
156 up arguments below 2**-450, not just those below 2**-500.
157 * math/libm-test.inc (hypot_test): Add another test.
158
8e27e3cc
JM
159 [BZ #14868]
160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
161 Return a+b for ratio over 2**120, not 2**60.
162 * math/libm-test.inc (hypot_test): Add another test.
163
c9c0279b
JM
164 * math/libm-test.inc (clog_test): Use
165 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
166 (clog10_test): Likewise.
167
7c7feb47
JM
168 [BZ #6778]
169 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
170
fff1530e
AS
1712012-11-22 Andreas Schwab <schwab@suse.de>
172
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174
94558d30
PT
1752012-11-22 Pino Toscano <toscano.pino@tiscali.it>
176
177 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
178 printf output with newline.
179
7e1be741
L
1802012-11-21 H.J. Lu <hongjiu.lu@intel.com>
181
6bfea974
L
182 [BZ #14865]
183 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
184 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
185 -z nodlopen, -z initfirst and -z execstack support.
186 * configure: Regenerated.
187
7e1be741
L
188 * elf/elf.h (DF_1_NODIRECT): New macro.
189 (DF_1_IGNMULDEF): Likewise.
190 (DF_1_NOKSYMS): Likewise.
191 (DF_1_NOHDR): Likewise.
192 (DF_1_EDITED): Likewise.
193 (DF_1_NORELOC): Likewise.
194 (DF_1_SYMINTPOSE): Likewise.
195 (DF_1_GLOBAUDIT): Likewise.
196 (DF_1_SINGLETON): Likewise.
197 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
198 DT_1_SUPPORTED_MASK bits.
199 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
200
105ce2ce
CD
2012012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
202
203 * sysdeps/unix/make-syscalls.sh: Document prefixes.
204
123be9de
TS
2052012-11-20 Thomas Schwinge <thomas@codesourcery.com>
206
d072f3f7
TS
207 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
208 macro.
209
123be9de
TS
210 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
211 (sendmmsg): Move declarations...
212 * socket/sys/socket.h: ... here.
213 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
214 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
215 include it from...
216 * socket/recvmmsg.c: ... this new file.
217 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
218 (sendmmsg): Rename to __sendmmsg, create weak alias and make
219 definition of __sendmmsg hidden.
220 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
221 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
222 Move ENOSYS stub into and include it from...
223 * socket/sendmmsg.c: ... this new file.
224 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
225 (sysdep_routines): Move recvmmsg and sendmmsg...
226 * socket/Makefile (routines): ... here.
227 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
228 (GLIBC_PRIVATE): Add __sendmmsg.
229 * include/sys/socket.h (__sendmmsg): Add declarations.
230 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
231 sendmmsg.
232
cf9a5d18
JM
2332012-11-20 Joseph Myers <joseph@codesourcery.com>
234
235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
236 variable I1 with __attribute__ ((unused)).
237 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
238
ecd4caf9
JM
2392012-11-19 Joseph Myers <joseph@codesourcery.com>
240
be14d48f
JM
241 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
242 DUMMY variables with __attribute__ ((unused)).
243
ecd4caf9
JM
244 * bits/byteswap.h: Include <bits/types.h>.
245 (__bswap_64): Use __uint64_t instead of unsigned long long int.
246
986cab95
PT
2472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
248
249 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
250 string_t. Do not manually set errno.
251 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
252 length with __strnlen. Make sure to both set errno and return it on
253 failure.
254
6d33cc9d
DM
2552012-11-19 David S. Miller <davem@davemloft.net>
256
257 With help from Joseph Myers.
258 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
259 very large arguments properly.
260 * math/libm-test.inc (atan_test): New tests.
261 (atan2_test): New tests.
262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
264
ee663277
JM
2652012-11-19 Joseph Myers <joseph@codesourcery.com>
266
877f2d8e
JM
267 [BZ #14856]
268 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
269 Define to 3.
270
116fc08a
JM
271 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
272 [POSIX] (EADDRNOTAVAIL): Likewise.
273 [POSIX] (EAFNOSUPPORT): Likewise.
274 [POSIX] (EALREADY): Likewise.
275 [POSIX] (ECONNABORTED): Likewise.
276 [POSIX] (ECONNREFUSED): Likewise.
277 [POSIX] (ECONNRESET): Likewise.
278 [POSIX] (EDESTADDRREQ): Likewise.
279 [POSIX] (EDQUOT): Likewise.
280 [POSIX] (EHOSTUNREACH): Likewise.
281 [POSIX] (EIDRM): Likewise.
282 [POSIX] (EISCONN): Likewise.
283 [POSIX] (ELOOP): Likewise.
284 [POSIX] (EMULTIHOP): Likewise.
285 [POSIX] (ENETDOWN): Likewise.
286 [POSIX] (ENETUNREACH): Likewise.
287 [POSIX] (ENOBUFS): Likewise.
288 [POSIX] (ENODATA): Likewise.
289 [POSIX] (ENOLINK): Likewise.
290 [POSIX] (ENOMSG): Likewise.
291 [POSIX] (ENOPROTOOPT): Likewise.
292 [POSIX] (ENOSR): Likewise.
293 [POSIX] (ENOSTR): Likewise.
294 [POSIX] (ENOTCONN): Likewise.
295 [POSIX] (ENOTSOCK): Likewise.
296 [POSIX] (EOPNOTSUPP): Likewise.
297 [POSIX] (EOVERFLOW): Likewise.
298 [POSIX] (EPROTO): Likewise.
299 [POSIX] (EPROTONOSUPPORT): Likewise.
300 [POSIX] (EPROTOTYPE): Likewise.
301 [POSIX] (ESTALE): Likewise.
302 [POSIX] (ETIME): Likewise.
303 [POSIX] (ETXTBSY): Likewise.
304 [POSIX] (EWOULDBLOCK): Likewise.
305 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
306 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
307 [POSIX] (SEEK_CUR): Likewise.
308 [POSIX] (SEEK_END): Likewise.
309 [POSIX || UNIX98] (mode_t): Do not require.
310 [POSIX] (off_t): Likewise.
311 [POSIX] (pid_t): Likewise.
312 [POSIX] (sys/stat.h): Do not allow header.
313 [POSIX] (unistd.h): Likewise.
314 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
315 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
316 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
317 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
318 require.
319 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
320 sigevent): Specify elements.
321 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
322 entry.
323 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
324 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
325
a483863f
JM
326 * conform/data/cpio.h-data [POSIX]: Disable whole file.
327 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
328 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
329 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
330 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
331 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
332 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
333 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
334 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
335 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
336 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
337 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
338 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
339 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
340 Likewise.
341 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
342 Likewise.
343 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
344 Likewise.
345 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
346 Likewise.
347 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
348 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
349 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
350 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
351 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
352 Specify lower bound on value.
353 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
354 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
355 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
356 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
357 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
358 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
359 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
360 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
361 value.
362 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
363 as optional.
364 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
365 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
366 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
367 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
368 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
369 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
370 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
371 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
372 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
373 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
374 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
375 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
376 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
377 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
378 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
379 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
380 entry.
381 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
382 optional.
383 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
384 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
385 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
386 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
387 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
388 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
389 Likewise.
390 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
391 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
392 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
393 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
394 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
395 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
396 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
397 as optional.
398 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
399 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
400 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
401 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
402 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
403 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
404 specify as optional.
405 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
406 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
407 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
408 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
409 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
410 [XPG3] (NL_LANGMAX): Likewise.
411 [POSIX || XPG3] (NL_MSGMAX): Likewise.
412 [POSIX || XPG3] (NL_NMAX): Likewise.
413 [POSIX || XPG3] (NL_SETMAX): Likewise.
414 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
415 [XPG3] (NZERO): Likewise.
416 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
417 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
418 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
419 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
420 (REG_ERANGE): Expect.
421 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
422 optional-constant.
423 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
424 Use (void) in prototype.
425 [POSIX] (*_t): Allow.
426 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
427 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
428 (WRDE_BADVAL): Expect.
429
5ba924e3
JM
430 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
431 expect.
432 [XPG3 || XPG4] (O_RSYNC): Likewise.
433 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
434 Likewise.
435 [XPG3 || XPG4] (pthread_sigmask): Likewise.
436 [XPG3 || XPG4] (sigqueue): Likewise.
437 [XPG3 || XPG4] (sigtimedwait): Likewise.
438 [XPG3 || XPG4] (sigwaitinfo): Likewise.
439 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
440 [XPG3 || XPG4] (vsnprintf): Likewise.
441 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
442 Likewise.
443 [XPG3 || XPG4] (blksize_t): Likewise.
444 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
445 Likewise.
446 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
447 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
448 [XPG3 || XPG4] (struct itimerspec): Likewise.
449 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
450 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
451 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
452 [XPG3 || XPG4] (clockid_t): Likewise.
453 [XPG3 || XPG4] (timer_t): Likewise.
454 [XPG3 || XPG4] (clock_getres): Likewise.
455 [XPG3 || XPG4] (clock_gettime): Likewise.
456 [XPG3 || XPG4] (clock_settime): Likewise.
457 [XPG3 || XPG4] (nanosleep): Likewise.
458 [XPG3 || XPG4] (timer_create): Likewise.
459 [XPG3 || XPG4] (timer_delete): Likewise.
460 [XPG3 || XPG4] (timer_gettime): Likewise.
461 [XPG3 || XPG4] (timer_getoverrun): Likewise.
462 [XPG3 || XPG4] (timer_settime): Likewise.
463 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
464 [XPG3 || XPG4] (getlogin_r): Likewise.
465 [XPG3 || XPG4] (pread): Likewise.
466 [XPG3 || XPG4] (pthread_atfork): Likewise.
467 [XPG3 || XPG4] (pwrite): Likewise.
468
ee663277
JM
469 [BZ #14835]
470 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
471 <bits/siginfo.h>.
472
942caa16
PT
4732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
474
e19af380
PT
475 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
476 finalizing MALLSTREAM.
477
942caa16
PT
478 * sysdeps/mach/hurd/syncfs.c: New file.
479
cfde9b46
SP
4802012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 [BZ #14719]
483 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
484 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
485 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
486 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
487 (_nss_dns_gethostbyname4_r): Likewise.
488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
489 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
490
f6da27e5
PH
4912012-11-19 Peng Haitao <penght@cn.fujitsu.com>
492
493 [BZ #13763]
494 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
495
6665d4a2
SM
4962012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
497
1f51ee92
SM
498 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
499 * elf/cache.c (print_entry): Print ",AArch64" for
500 FLAG_AARCH64_LIB64
501
6665d4a2
SM
502 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
503 * elf/cache.c (print_entry): Print ",hard-float" for
504 FLAG_ARM_LIBHF.
505
05b227bd
DM
5062012-11-18 David S. Miller <davem@davemloft.net>
507
508 With help from Joseph Myers.
509 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
510 cutoff to 2**-13.
511 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
512 cutoff to 2**-25.
513 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
514 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
515 small.
516 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
517 * math/libm-test.inc (y0_test): New tests.
518 (y1_test): New tests.
519 * sysdeps/i386/fpu/libm-test-ulps: Update.
520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
522
786b0b67
AS
5232012-11-18 Andreas Schwab <schwab@linux-m68k.org>
524
525 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
526 64-bit targets.
527 * configure: Regenerated.
528
8e18b86d
DM
5292012-11-17 David S. Miller <davem@davemloft.net>
530
531 [BZ #14811]
532 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
533 nonzero exponents with absolute value below 0x1p-128 to +/-
534 0x1p-128.
535
531f1ae0
JM
5362012-11-17 Joseph Myers <joseph@codesourcery.com>
537
12df29e2
JM
538 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
539
150dc1a0
JM
540 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
541
531f1ae0
JM
542 * posix/getconf-speclist.c: New file.
543 * posix/posix-envs.def: Likewise.
544 * posix/confstr.c (START_ENV_GROUP): New macro.
545 (END_ENV_GROUP): Likewise.
546 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
547 (KNOWN_PRESENT_ENV_STRING): Likewise.
548 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
549 (UNKNOWN_ENVIRONMENT): Likewise.
550 (confstr): Include posix-envs.def instead of handling
551 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
552 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
553 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
554 (END_ENV_GROUP): Likewise.
555 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
556 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
557 (UNKNOWN_ENVIRONMENT): Likewise.
558 (__sysconf): Include posix-envs.def instead of handling associated
559 cases directly here.
560 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
561 preprocessing getconf-speclist.c rather than running getconf or
562 generating empty file.
563
a93f9cbc
PT
5642012-11-16 Pino Toscano <toscano.pino@tiscali.it>
565
566 * scripts/check-local-headers.sh: Ignore 'mach' headers.
567
d64d9f87
AL
5682012-11-16 Andrej Lajovic <natrij@gmail.com>
569
570 [BZ #14672]
571 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
572
447885eb
DM
5732012-11-16 David S. Miller <davem@davemloft.net>
574
575 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
576 smaller than LDBL_EPSILON/2.0L, just return xm1.
577
bcbf9830
L
5782012-11-16 H.J. Lu <hongjiu.lu@intel.com>
579
580 * elf/tst-array1.c (init): Set constructor priority to 1000.
581 (fini): Set destructor priority to 1000.
582 * elf/tst-array2dep.c: Likewise.
583
2b766585
SP
5842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
585
586 [BZ #11741]
587 * libio/fileops.c (_IO_new_file_write): Correctly return error.
588 (_IO_new_file_xsputn): Also return EOF if none of the input
589 data was written when overflow failed.
590 * libio/iopadn.c (_IO_padn): Likewise.
591 * libio/iowpadn.c (_IO_wpadn): Likewise.
592 * stdio-common/tst-put-error.c: Add copyright notice.
593 (do_test): Add case for printing padded string.
594 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
595 _IO_padn returned error.
596 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
597 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
598 return EOF.
599
b1848fde
SP
6002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
601
602 * libio/libioP.h: Add comment note that the references to C++
603 bits are now obsolete.
604
2fd89785
MS
6052012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
606
607 * math/libm-test.inc (check_complex): Use asprintf.
608
e3ea5409
JM
6092012-11-14 Joseph Myers <joseph@codesourcery.com>
610
611 * debug/pcprofiledump.c (print_version): Update copyright year.
612 * malloc/memusagestat.c (print_version): Likewise.
613
2e64d265
L
6142012-11-14 H.J. Lu <hongjiu.lu@intel.com>
615
616 [BZ #14831]
617 * elf/Makefile (tests): Add tst-audit8.
618 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
619 ($(objpfx)tst-audit8.out): New target.
620 (tst-audit8-ENV): New variable.
621 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
622 audit if l_reloc_result is NULL.
623 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
624 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
625 * elf/tst-audit8.c: New file.
626
c485e4d2
MS
6272012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
628
629 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
630 * misc/Makefile (CFLAGS-select.c): Define.
631 * posix/Makefile (CFLAGS-pause.c): Define.
632
3a0d900a
DM
6332012-11-13 David S. Miller <davem@davemloft.net>
634
635 * crypt/Makefile: Move test targets after toplevel Rules
636 inclusion. Grab any necessary sysdep routines when linking.
637 * crypt/md5.c (md5_process_block): Remove define, we will always
638 name it __md5_process_block.
639 (md5_finish_ctx): Update md5_process_block call.
640 (md5_stream): Likewise.
641 (md5_process_bytes): Likewise.
642 (md5_process_block): Rename to __md5_process_block and move to ...
643 * crypt/md5-block.c: ... here.
644 * crypt/sha256.c (sha256_process_block): Move to ...
645 * crypt/sha256-block.c: ... here.
646 * crypt/sha512.c (sha512_process_block): Move to ...
647 * crypt/sha512-block.c: ... here.
648 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
649 path.
650 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
651 * sysdeps/sparc/sparc64/multiarch/Makefile
652 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
653 crypt subdir.
654 (localedef-aux): Add md5 crypto assembler when in locale subdir.
655 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
656 multiarch changes.
657 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
658 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
659 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
660 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
661 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
662 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
663 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
664 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
665 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
666 file.
667 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
668 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
669 file.
670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
671
8ca89318
JM
6722012-11-13 Joseph Myers <joseph@codesourcery.com>
673
e27d476a
JM
674 * timezone/tzselect.ksh: Update from tzcode git revision
675 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
676 * timezone/zdump.c: Likewise.
677 * timezone/zic.c: Likewise.
678 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
679 in TZVERSION setting, not $(PKGVERSION).
680 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
681 REPORT_BUGS_TO settings.
682
8ca89318
JM
683 [BZ #14838]
684 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
685 macro.
686
47594329
MS
6872012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
688
689 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
690 detection to immediately after _FP_ROUND().
691 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
692 bits are 0.
693
640ac3f1
DM
6942012-11-11 David S. Miller <davem@davemloft.net>
695
696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
697 inttypes.h
698 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
699 __close rather than their public counterparts.
700
3d2577bb
JM
7012012-11-10 Joseph Myers <joseph@codesourcery.com>
702
703 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
704 file.
705 [UNIX98] (sem_timedwait): Do not expect.
706 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
707 [XPG4 || UNIX98] (sockatmark): Do not expect.
708 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
709 (clock_getcpuclockid): Do not expect.
710 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
711 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
712 Do not expect.
713 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
714 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
715 [UNIX98] (vwscanf): Likewise.
716 [UNIX98] (vswscanf): Likewise.
717
fb1ae1ee
JM
7182012-11-09 Joseph Myers <joseph@codesourcery.com>
719
9ec6f8bd
JM
720 * timezone/version.h: Remove file.
721 * timezone/README: Do not refer to version.h.
722 * timezone/Makefile ($(objpfx)zic.o): New dependency on
723 $(objpfx)version.h.
724 ($(objpfx)zdump.o): Likewise.
c3f81911 725 ($(objpfx)version.h): New target.
9ec6f8bd 726
0aa8f8a1
JM
727 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
728 2012i.
729 * timezone/README: Don't mention modification to tzselect.ksh.
730 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
731 work on unmodified tzselect.ksh. Substitute version numbers in
732 tzselect.ksh.
733
4e87147f
JM
734 * Makefile (format-me): Remove.
735 (INSTALL): Adjust indentation. Use commands directly instead of
736 using $(format-me).
737
8b748aed
JM
738 * aclocal.m4 (ACX_PKGVERSION): New macro.
739 (ACX_BUGURL): Likewise.
740 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
741 (PKGVERSION): New AC_DEFINE_UNQUOTED.
742 (REPORT_BUGS_TO): Likewise.
743 * configure: Regenerated.
744 * config.h.in (PKGVERSION): New macro.
745 (REPORT_BUGS_TO): Likewise.
746 * config.make.in (PKGVERSION): New variable.
747 (PKGVERSION_TEXI): Likewise.
748 (REPORT_BUGS_TO): Likewise.
749 (REPORT_BUGS_TEXI): Likewise.
750 * Makefile (format-me): Use -I$(common-objpfx)manual.
751 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
752 ($(common-objpfx)manual/%): New target.
753 (manual/%): Remove target.
754 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
755 (print_version): Use PKGVERSION.
756 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
757 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
758 and REPORT_BUGS_TO.
759 ($(objpfx)xtrace): Likewise.
760 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
761 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
762 (print_version): Use PKGVERSION.
763 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
764 (do_version): Use PKGVERSION.
765 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
766 REPORT_BUGS_TO.
767 (common-ldd-rewrite): Likewise.
768 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
769 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
770 (print_version): Use PKGVERSION.
771 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
772 * elf/pldd.c (argp_program_bug_address): Remove variable.
773 (more_help): New function.
774 (argp): Use more_help.
775 (print_version): Use PKGVERSION.
776 * elf/sln.c (main): Use PKGVERSION.
777 (usage): Use REPORT_BUGS_TO.
778 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
779 (top level): Use PKGVERSION.
780 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
781 (print_version): Use PKGVERSION.
782 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
783 (print_version): Use PKGVERSION.
784 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
785 (print_version): Use PKGVERSION.
786 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
787 (print_version): Use PKGVERSION.
788 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
789 (print_version): Use PKGVERSION.
790 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
791 (print_version): Use PKGVERSION.
792 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
793 and BUGURL.
794 ($(objpfx)memusage): Likewise.
795 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
796 (do_version): Use PKGVERSION.
797 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
798 (print_version): Use PKGVERSION.
799 * malloc/mtrace.pl ($PACKAGE): Remove variable.
800 ($PKGVERSION): New variable.
801 ($REPORT_BUGS_TO): Likewise.
802 (usage): Use $REPORT_BUGS_TO.
803 (top level): Use $PKGVERSION.
804 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
805 ($(objpfx)pkgvers.texi): New rule.
806 ($(objpfx)stamp-pkgvers): Likewise.
807 * manual/install.texi: Include pkgvers.texi.
808 (--with-pkgversion): Document new configure option.
809 (--with-bugurl): Likewise.
810 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
811 than necessarily for this particular distribution. Use
812 REPORT_BUGS_TO for where to report bugs.
813 * INSTALL: Regenerated.
814 * manual/libc.texinfo: Include pkgvers.texi.
815 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
816 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
817 (print_version): Use PKGVERSION.
818 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
819 (print_version): Use PKGVERSION.
820 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
821 (print_version): Use PKGVERSION.
822 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
823 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
824 macro.
825 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
826 (print_version): Use PKGVERSION.
827 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
828 (print_version): Use PKGVERSION.
829 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
830 and PKGVERSION.
831
92e4b6a9
JM
832 * timezone/checktab.awk: Update from tzcode 2012i.
833 * timezone/ialloc.c: Likewise.
834 * timezone/private.h: Likewise.
835 * timezone/scheck.c: Likewise.
836 * timezone/tzfile.h: Likewise.
837 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
838 (TZVERSION): Hardcode tzcode version number.
839 * timezone/zdump.c: Update from tzcode 2012i.
840 * timezone/zic.c: Likewise.
841 * timezone/version.h: New file.
842 * timezone/README: Describe version.h. Update upstream location.
843
9bde902c
JM
844 [BZ #14824]
845 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
846 (mktemp): Enable declaration.
847 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
848 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
849 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
850 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
851 Likewise.
852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
853 Likewise.
854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
855 Likewise.
856 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
857 Likewise.
858 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
859 Likewise.
860 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
861 Likewise.
862
fb1ae1ee
JM
863 [BZ #14821]
864 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
865 offset in buffer as u_int32_t not u_long. Consistently use memcpy
866 for copies of such integer values.
867 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
868 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
869
2c1adbcb
AJ
8702012-11-09 Andreas Jaeger <aj@suse.de>
871
872 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
873 definitions and declarations that are provided by
874 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
875
d0f8457e
AK
8762012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
877
878 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
879 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
880 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
881 definition.
882
57241e26
MS
8832012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
884
885 * elf/elf.h: Update comment before AArch64 relocations.
886
60e8270d
DM
8872012-11-07 David S. Miller <davem@davemloft.net>
888
889 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
890 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
891 (__start_context): Declare.
892 (__makecontext_ret): Delete.
893 (__makecontext): Hook up __start_context instead of
894 __makecontext_ret.
895 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
896 (sysdep_routines): Add __start_context when in stdlib.
897
0fbb0fbc
JM
8982012-11-07 Joseph Myers <joseph@codesourcery.com>
899
900 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
901 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
902 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
903 hardcoded "nm".
904 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
905 (READELF): New variable. Use it instead of hardcoded "readelf".
906
eb48db7e
L
9072012-11-07 H.J. Lu <hongjiu.lu@intel.com>
908
909 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
910 * sysdeps/x86/Makefile: Here.
911 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
912 * sysdeps/x86/tst-xmmymm.sh: This.
913
05bcf62a
JM
9142012-11-07 Joseph Myers <joseph@codesourcery.com>
915
c4b6cf53
JM
916 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
917 expectations.
918 [UNIX98] (pthread_barrier_t): Do not expect.
919 [UNIX98] (pthread_barrierattr_t): Likewise.
920 [UNIX98] (pthread_spinlock_t): Likewise.
921 [UNIX98] (pthread_barrier_destroy): Likewise.
922 [UNIX98] (pthread_barrier_init): Likewise.
923 [UNIX98] (pthread_barrier_wait): Likewise.
924 [UNIX98] (pthread_barrierattr_destroy): Likewise.
925 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
926 [UNIX98] (pthread_barrierattr_init): Likewise.
927 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
928 [UNIX98] (pthread_getcpuclockid): Likewise.
929 [UNIX98] (pthread_mutex_timedlock): Likewise.
930 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
931 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
932 [UNIX98] (pthread_sigmask): Likewise.
933 [UNIX98] (pthread_spin_destroy): Likewise.
934 [UNIX98] (pthread_spin_init): Likewise.
935 [UNIX98] (pthread_spin_lock): Likewise.
936 [UNIX98] (pthread_spin_trylock): Likewise.
937 [UNIX98] (pthread_spin_unlock): Likewise.
938 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
939 Do not expect.
940 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
941 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
942 [XPG3 || XPG4] (pthread_cond_t): Likewise.
943 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
944 [XPG3 || XPG4] (pthread_key_t): Likewise.
945 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
946 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
947 [XPG3 || XPG4] (pthread_once_t): Likewise.
948 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
949 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
950 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
951 [XPG3 || XPG4] (pthread_t): Likewise.
952
cbe6e120
JM
953 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
954 not expect.
955 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
956
1b126443
JM
957 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
958 Change function return type to int.
959
b961a573
JM
960 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
961 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
962 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
963 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
964 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
965 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
966 [!POSIX] (posix_madvise): Likewise.
967 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
968 && !UNIX98].
969 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
970 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
971 (mode_t): Likewise.
972 (posix_mem_offset): Likewise.
973 (posix_typed_mem_get_info): Likewise.
974 (posix_typed_mem_open): Likewise.
975
9e188909
JM
976 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
977 Change condition to [XOPEN2K8].
978
05bcf62a
JM
979 * conform/conformtest.pl: Preprocess allow-header data with -x c
980 instead of from stdin.
981 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
982 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
983 [C99-based standards] (cerfc): Likewise.
984 [C99-based standards] (cexp2): Likewise.
985 [C99-based standards] (cexpm1): Likewise.
986 [C99-based standards] (clog10): Likewise.
987 [C99-based standards] (clog1p): Likewise.
988 [C99-based standards] (clog2): Likewise.
989 [C99-based standards] (clgamma): Likewise.
990 [C99-based standards] (ctgamma): Likewise.
991 [C99-based standards] (cerff): Likewise.
992 [C99-based standards] (cerfcf): Likewise.
993 [C99-based standards] (cexp2f): Likewise.
994 [C99-based standards] (cexpm1f): Likewise.
995 [C99-based standards] (clog10f): Likewise.
996 [C99-based standards] (clog1pf): Likewise.
997 [C99-based standards] (clog2f): Likewise.
998 [C99-based standards] (clgammaf): Likewise.
999 [C99-based standards] (ctgammaf): Likewise.
1000 [C99-based standards] (cerfl): Likewise.
1001 [C99-based standards] (cerfcl): Likewise.
1002 [C99-based standards] (cexp2l): Likewise.
1003 [C99-based standards] (cexpm1l): Likewise.
1004 [C99-based standards] (clog10l): Likewise.
1005 [C99-based standards] (clog1pl): Likewise.
1006 [C99-based standards] (clog2l): Likewise.
1007 [C99-based standards] (clgammal): Likewise.
1008 [C99-based standards] (ctgammal): Likewise.
1009 * conform/data/inttypes.h-data [C99-based standards]: Include
1010 stdint.h-data. Remove all expectations for stdint.h contents.
1011 [C99-based standards] (PRI*): Do not allow.
1012 [C99-based standards] (SCN*): Likewise.
1013 [C99-based standards] (*_t): Likewise.
1014 [C99-based-standards] (PRId8): Expect macro.
1015 [C99-based-standards] (PRIi8): Likewise.
1016 [C99-based-standards] (PRIo8): Likewise.
1017 [C99-based-standards] (PRIu8): Likewise.
1018 [C99-based-standards] (PRIx8): Likewise.
1019 [C99-based-standards] (PRIX8): Likewise.
1020 [C99-based-standards] (SCNd8): Likewise.
1021 [C99-based-standards] (SCNi8): Likewise.
1022 [C99-based-standards] (SCNo8): Likewise.
1023 [C99-based-standards] (SCNu8): Likewise.
1024 [C99-based-standards] (SCNx8): Likewise.
1025 [C99-based-standards] (PRIdLEAST8): Likewise.
1026 [C99-based-standards] (PRIiLEAST8): Likewise.
1027 [C99-based-standards] (PRIoLEAST8): Likewise.
1028 [C99-based-standards] (PRIuLEAST8): Likewise.
1029 [C99-based-standards] (PRIxLEAST8): Likewise.
1030 [C99-based-standards] (PRIXLEAST8): Likewise.
1031 [C99-based-standards] (SCNdLEAST8): Likewise.
1032 [C99-based-standards] (SCNiLEAST8): Likewise.
1033 [C99-based-standards] (SCNoLEAST8): Likewise.
1034 [C99-based-standards] (SCNuLEAST8): Likewise.
1035 [C99-based-standards] (SCNxLEAST8): Likewise.
1036 [C99-based-standards] (PRIdFAST8): Likewise.
1037 [C99-based-standards] (PRIiFAST8): Likewise.
1038 [C99-based-standards] (PRIoFAST8): Likewise.
1039 [C99-based-standards] (PRIuFAST8): Likewise.
1040 [C99-based-standards] (PRIxFAST8): Likewise.
1041 [C99-based-standards] (PRIXFAST8): Likewise.
1042 [C99-based-standards] (SCNdFAST8): Likewise.
1043 [C99-based-standards] (SCNiFAST8): Likewise.
1044 [C99-based-standards] (SCNoFAST8): Likewise.
1045 [C99-based-standards] (SCNuFAST8): Likewise.
1046 [C99-based-standards] (SCNxFAST8): Likewise.
1047 [C99-based-standards] (PRId16): Likewise.
1048 [C99-based-standards] (PRIi16): Likewise.
1049 [C99-based-standards] (PRIo16): Likewise.
1050 [C99-based-standards] (PRIu16): Likewise.
1051 [C99-based-standards] (PRIx16): Likewise.
1052 [C99-based-standards] (PRIX16): Likewise.
1053 [C99-based-standards] (SCNd16): Likewise.
1054 [C99-based-standards] (SCNi16): Likewise.
1055 [C99-based-standards] (SCNo16): Likewise.
1056 [C99-based-standards] (SCNu16): Likewise.
1057 [C99-based-standards] (SCNx16): Likewise.
1058 [C99-based-standards] (PRIdLEAST16): Likewise.
1059 [C99-based-standards] (PRIiLEAST16): Likewise.
1060 [C99-based-standards] (PRIoLEAST16): Likewise.
1061 [C99-based-standards] (PRIuLEAST16): Likewise.
1062 [C99-based-standards] (PRIxLEAST16): Likewise.
1063 [C99-based-standards] (PRIXLEAST16): Likewise.
1064 [C99-based-standards] (SCNdLEAST16): Likewise.
1065 [C99-based-standards] (SCNiLEAST16): Likewise.
1066 [C99-based-standards] (SCNoLEAST16): Likewise.
1067 [C99-based-standards] (SCNuLEAST16): Likewise.
1068 [C99-based-standards] (SCNxLEAST16): Likewise.
1069 [C99-based-standards] (PRIdFAST16): Likewise.
1070 [C99-based-standards] (PRIiFAST16): Likewise.
1071 [C99-based-standards] (PRIoFAST16): Likewise.
1072 [C99-based-standards] (PRIuFAST16): Likewise.
1073 [C99-based-standards] (PRIxFAST16): Likewise.
1074 [C99-based-standards] (PRIXFAST16): Likewise.
1075 [C99-based-standards] (SCNdFAST16): Likewise.
1076 [C99-based-standards] (SCNiFAST16): Likewise.
1077 [C99-based-standards] (SCNoFAST16): Likewise.
1078 [C99-based-standards] (SCNuFAST16): Likewise.
1079 [C99-based-standards] (SCNxFAST16): Likewise.
1080 [C99-based-standards] (PRId32): Likewise.
1081 [C99-based-standards] (PRIi32): Likewise.
1082 [C99-based-standards] (PRIo32): Likewise.
1083 [C99-based-standards] (PRIu32): Likewise.
1084 [C99-based-standards] (PRIx32): Likewise.
1085 [C99-based-standards] (PRIX32): Likewise.
1086 [C99-based-standards] (SCNd32): Likewise.
1087 [C99-based-standards] (SCNi32): Likewise.
1088 [C99-based-standards] (SCNo32): Likewise.
1089 [C99-based-standards] (SCNu32): Likewise.
1090 [C99-based-standards] (SCNx32): Likewise.
1091 [C99-based-standards] (PRIdLEAST32): Likewise.
1092 [C99-based-standards] (PRIiLEAST32): Likewise.
1093 [C99-based-standards] (PRIoLEAST32): Likewise.
1094 [C99-based-standards] (PRIuLEAST32): Likewise.
1095 [C99-based-standards] (PRIxLEAST32): Likewise.
1096 [C99-based-standards] (PRIXLEAST32): Likewise.
1097 [C99-based-standards] (SCNdLEAST32): Likewise.
1098 [C99-based-standards] (SCNiLEAST32): Likewise.
1099 [C99-based-standards] (SCNoLEAST32): Likewise.
1100 [C99-based-standards] (SCNuLEAST32): Likewise.
1101 [C99-based-standards] (SCNxLEAST32): Likewise.
1102 [C99-based-standards] (PRIdFAST32): Likewise.
1103 [C99-based-standards] (PRIiFAST32): Likewise.
1104 [C99-based-standards] (PRIoFAST32): Likewise.
1105 [C99-based-standards] (PRIuFAST32): Likewise.
1106 [C99-based-standards] (PRIxFAST32): Likewise.
1107 [C99-based-standards] (PRIXFAST32): Likewise.
1108 [C99-based-standards] (SCNdFAST32): Likewise.
1109 [C99-based-standards] (SCNiFAST32): Likewise.
1110 [C99-based-standards] (SCNoFAST32): Likewise.
1111 [C99-based-standards] (SCNuFAST32): Likewise.
1112 [C99-based-standards] (SCNxFAST32): Likewise.
1113 [C99-based-standards] (PRId64): Likewise.
1114 [C99-based-standards] (PRIi64): Likewise.
1115 [C99-based-standards] (PRIo64): Likewise.
1116 [C99-based-standards] (PRIu64): Likewise.
1117 [C99-based-standards] (PRIx64): Likewise.
1118 [C99-based-standards] (PRIX64): Likewise.
1119 [C99-based-standards] (SCNd64): Likewise.
1120 [C99-based-standards] (SCNi64): Likewise.
1121 [C99-based-standards] (SCNo64): Likewise.
1122 [C99-based-standards] (SCNu64): Likewise.
1123 [C99-based-standards] (SCNx64): Likewise.
1124 [C99-based-standards] (PRIdLEAST64): Likewise.
1125 [C99-based-standards] (PRIiLEAST64): Likewise.
1126 [C99-based-standards] (PRIoLEAST64): Likewise.
1127 [C99-based-standards] (PRIuLEAST64): Likewise.
1128 [C99-based-standards] (PRIxLEAST64): Likewise.
1129 [C99-based-standards] (PRIXLEAST64): Likewise.
1130 [C99-based-standards] (SCNdLEAST64): Likewise.
1131 [C99-based-standards] (SCNiLEAST64): Likewise.
1132 [C99-based-standards] (SCNoLEAST64): Likewise.
1133 [C99-based-standards] (SCNuLEAST64): Likewise.
1134 [C99-based-standards] (SCNxLEAST64): Likewise.
1135 [C99-based-standards] (PRIdFAST64): Likewise.
1136 [C99-based-standards] (PRIiFAST64): Likewise.
1137 [C99-based-standards] (PRIoFAST64): Likewise.
1138 [C99-based-standards] (PRIuFAST64): Likewise.
1139 [C99-based-standards] (PRIxFAST64): Likewise.
1140 [C99-based-standards] (PRIXFAST64): Likewise.
1141 [C99-based-standards] (SCNdFAST64): Likewise.
1142 [C99-based-standards] (SCNiFAST64): Likewise.
1143 [C99-based-standards] (SCNoFAST64): Likewise.
1144 [C99-based-standards] (SCNuFAST64): Likewise.
1145 [C99-based-standards] (SCNxFAST64): Likewise.
1146 [C99-based-standards] (PRIdMAX): Likewise.
1147 [C99-based-standards] (PRIiMAX): Likewise.
1148 [C99-based-standards] (PRIoMAX): Likewise.
1149 [C99-based-standards] (PRIuMAX): Likewise.
1150 [C99-based-standards] (PRIxMAX): Likewise.
1151 [C99-based-standards] (PRIXMAX): Likewise.
1152 [C99-based-standards] (SCNdMAX): Likewise.
1153 [C99-based-standards] (SCNiMAX): Likewise.
1154 [C99-based-standards] (SCNoMAX): Likewise.
1155 [C99-based-standards] (SCNuMAX): Likewise.
1156 [C99-based-standards] (SCNxMAX): Likewise.
1157 [C99-based-standards] (PRIdPTR): Likewise.
1158 [C99-based-standards] (PRIiPTR): Likewise.
1159 [C99-based-standards] (PRIoPTR): Likewise.
1160 [C99-based-standards] (PRIuPTR): Likewise.
1161 [C99-based-standards] (PRIxPTR): Likewise.
1162 [C99-based-standards] (PRIXPTR): Likewise.
1163 [C99-based-standards] (SCNdPTR): Likewise.
1164 [C99-based-standards] (SCNiPTR): Likewise.
1165 [C99-based-standards] (SCNoPTR): Likewise.
1166 [C99-based-standards] (SCNuPTR): Likewise.
1167 [C99-based-standards] (SCNxPTR): Likewise.
1168 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1169 allow.
1170 * conform/data/stdint.h-data: Update comments to clarify
1171 requirements.
1172 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1173 type.
1174 [C99-based standards] (INT8_MAX): Likewise.
1175 [C99-based standards] (INT16_MIN): Likewise.
1176 [C99-based standards] (INT16_MAX): Likewise.
1177 [C99-based standards] (INT32_MIN): Likewise.
1178 [C99-based standards] (INT32_MAX): Likewise.
1179 [C99-based standards] (INT64_MIN): Likewise.
1180 [C99-based standards] (INT64_MAX): Likewise.
1181 [C99-based standards] (UINT8_MAX): Likewise.
1182 [C99-based standards] (UINT16_MAX): Likewise.
1183 [C99-based standards] (UINT32_MAX): Likewise.
1184 [C99-based standards] (UINT64_MAX): Likewise.
1185 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1186 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1187 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1188 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1189 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1190 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1191 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1192 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1193 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1194 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1195 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1196 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1197 [C99-based standards] (INT_FAST8_MIN): Likewise.
1198 [C99-based standards] (INT_FAST8_MAX): Likewise.
1199 [C99-based standards] (INT_FAST16_MIN): Likewise.
1200 [C99-based standards] (INT_FAST16_MAX): Likewise.
1201 [C99-based standards] (INT_FAST32_MIN): Likewise.
1202 [C99-based standards] (INT_FAST32_MAX): Likewise.
1203 [C99-based standards] (INT_FAST64_MIN): Likewise.
1204 [C99-based standards] (INT_FAST64_MAX): Likewise.
1205 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1206 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1207 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1208 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1209 [C99-based standards] (INTPTR_MIN): Likewise.
1210 [C99-based standards] (INTPTR_MAX): Likewise.
1211 [C99-based standards] (UINTPTR_MAX): Likewise.
1212 [C99-based standards] (INTMAX_MIN): Likewise.
1213 [C99-based standards] (INTMAX_MAX): Likewise.
1214 [C99-based standards] (UINTMAX_MAX): Likewise.
1215 [C99-based standards] (PTRDIFF_MIN): Likewise.
1216 [C99-based standards] (PTRDIFF_MAX): Likewise.
1217 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1218 [C99-based standards] (SIZE_MAX): Likewise.
1219 [C99-based standards] (WCHAR_MAX): Likewise.
1220 [C99-based standards] (WINT_MAX): Likewise.
1221 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1222 constraint on value.
1223 [C99-based standards] (WCHAR_MIN): Likewise.
1224 [C99-based standards] (WINT_MIN): Likewise.
1225 [C99-based standards] (*_t): Allow.
1226 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1227 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1228 Include math.h-data and complex.h-data. Remove all expectations
1229 of math.h and complex.h contents.
1230 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1231 at end of line.
1232 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1233 (struct tm): Expect tag.
1234 [C99-based-standards] (wcstof): Expect function.
1235 [C99-based-standards] (wcstold): Likewise.
1236 [C99-based-standards] (wcstoll): Likewise.
1237 [C99-based-standards] (wcstoull): Likewise.
1238 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1239 macro-int-constant. Specify type.
1240 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1241 constraint on value.
1242 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1243 Specify type.
1244 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1245 Specify value.
1246 [ISO C standards]: Do not allow headers.
1247 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1248 wcs[abcdefghijklmnopqrstuvwxyz]*.
1249 [ISO C standards] (*_t): Do not allow.
1250 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1251 Expect function.
1252 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1253 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1254 Specify type.
1255 [ISO C standards]: Do not allow headers.
1256 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1257 is[abcdefghijklmnopqrstuvwxyz]*.
1258 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1259 to[abcdefghijklmnopqrstuvwxyz]*.
1260 [ISO C standards] (*_t): Do not allow.
1261 * conform/data/stdalign.h-data: New file.
1262 * conform/data/stdbool.h-data: Likewise.
1263 * conform/data/stdnoreturn.h-data: Likewise.
1264
7514feb8
RM
12652012-11-07 Roland McGrath <roland@hack.frob.com>
1266
1267 [BZ #14815]
1268 * manual/filesys.texi (Directory Entries): Typo fix.
1269 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1270
19b2ecfc
MS
12712012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1272
1273 * elf/elf.h (EM_AARCH64): New macro.
1274 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1275 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1276 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1277 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1278 (R_AARCH64_TLSDESC): Likewise.
1279 (NT_ARM_TLS): Likewise.
1280 (NT_ARM_HW_BREAK): Likewise.
1281 (NT_ARM_HW_WATCH): Likewise.
1282
60e235ee
JM
12832012-11-07 Joseph Myers <joseph@codesourcery.com>
1284
1285 [BZ #14811]
1286 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1287 (__ieee754_powl): Saturate nonzero exponents with absolute value
1288 below 0x1p-79 to +/- 0x1p-79.
1289 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1290 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1291 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1292 nonzero exponents with absolute value below 0x1p-32 to +/-
1293 0x1p-32.
1294 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1295 (__ieee754_powl): Saturate nonzero exponents with absolute value
1296 below 0x1p-79 to +/- 0x1p-79.
1297 * math/libm-test.inc (pow_test): Add more tests.
1298
0ab234b7
AK
12992012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1300
1301 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1302 _dl_s390_cap_flags with kernel. Increase string length.
1303 (_dl_s390_platforms): Add z196 and zEC12.
1304
45832f74
JM
13052012-11-07 Joseph Myers <joseph@codesourcery.com>
1306
1307 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1308 Change XOPEN21K to XOPEN2K.
1309
19218757
MK
13102012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1311
1312 * string/memmove.c: Use memcpy when possible.
1313
c5f45721
AJ
13142012-11-06 Andreas Jaeger <aj@suse.de>
1315
1316 * po/eo.po: Update from translation team.
1317
82477c28
JM
13182012-11-06 Joseph Myers <joseph@codesourcery.com>
1319
1320 [BZ #14793]
1321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1322 exponent and small x and y exponents, scale x or y up. Increase
1323 by 2 the exponent used in scaling up.
1324 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1326 * math/libm-test.inc (fma_test): Add more tests.
1327 (fma_test_towardzero): Likewise.
1328 (fma_test_downward): Likewise.
1329 (fma_test_upward): Likewise.
1330
99252c8c
JM
13312012-11-05 Joseph Myers <joseph@codesourcery.com>
1332
acfa885f
JM
1333 [BZ #14805]
1334 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1335 fenv_t *.
1336
99252c8c
JM
1337 [BZ #14801]
1338 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1339 namespace for names of struct fields.
1340 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1341 fenv_t fields.
1342 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1343 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1344
d6d98dea
ST
13452012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1346
1347 [BZ #3665]
1348 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1349
e10bb107
TS
13502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1351
1352 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1353 PTR_DEMANGLE.
1354
1355 [BZ #5246]
1356 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1357 PTR_DEMANGLE.
1358
a0c2940d
JM
13592012-11-04 Joseph Myers <joseph@codesourcery.com>
1360
1361 [BZ #14797]
1362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1363 definitely overflow as x * y not x * y + z.
1364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1365 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1366 * math/libm-test.inc (fma_test): Add more tests.
1367 (fma_test_towardzero): Likewise.
1368 (fma_test_downward): Likewise.
1369 (fma_test_upward): Likewise.
1370
b830319d
TS
13712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1372
1373 [BZ #157]
1374
1375 * include/stub-tag.h: Remove file.
1376 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1377 '#include' of it.
1378 * manual/maint.texi (Porting): Don't reference it.
1379 * Makerules ($(objpfx)stubs): Likewise.
1380 * dirent/closedir.c: Don't include <stub-tag.h>.
1381 * dirent/dirfd.c: Likewise.
1382 * dirent/fdopendir.c: Likewise.
1383 * dirent/getdents.c: Likewise.
1384 * dirent/getdents64.c: Likewise.
1385 * dirent/opendir.c: Likewise.
1386 * dirent/readdir.c: Likewise.
1387 * dirent/readdir64.c: Likewise.
1388 * dirent/readdir64_r.c: Likewise.
1389 * dirent/readdir_r.c: Likewise.
1390 * dirent/rewinddir.c: Likewise.
1391 * dirent/seekdir.c: Likewise.
1392 * dirent/telldir.c: Likewise.
1393 * gmon/profil.c: Likewise.
1394 * grp/setgroups.c: Likewise.
1395 * inet/if_index.c: Likewise.
1396 * io/access.c: Likewise.
1397 * io/chdir.c: Likewise.
1398 * io/chmod.c: Likewise.
1399 * io/chown.c: Likewise.
1400 * io/close.c: Likewise.
1401 * io/dup.c: Likewise.
1402 * io/dup2.c: Likewise.
1403 * io/dup3.c: Likewise.
1404 * io/euidaccess.c: Likewise.
1405 * io/faccessat.c: Likewise.
1406 * io/fchdir.c: Likewise.
1407 * io/fchmod.c: Likewise.
1408 * io/fchmodat.c: Likewise.
1409 * io/fchown.c: Likewise.
1410 * io/fchownat.c: Likewise.
1411 * io/fcntl.c: Likewise.
1412 * io/flock.c: Likewise.
1413 * io/fstatfs.c: Likewise.
1414 * io/fstatfs64.c: Likewise.
1415 * io/fstatvfs.c: Likewise.
1416 * io/fstatvfs64.c: Likewise.
1417 * io/futimens.c: Likewise.
1418 * io/fxstat.c: Likewise.
1419 * io/fxstat64.c: Likewise.
1420 * io/fxstatat.c: Likewise.
1421 * io/fxstatat64.c: Likewise.
1422 * io/getcwd.c: Likewise.
1423 * io/isatty.c: Likewise.
1424 * io/lchmod.c: Likewise.
1425 * io/lchown.c: Likewise.
1426 * io/link.c: Likewise.
1427 * io/linkat.c: Likewise.
1428 * io/lseek.c: Likewise.
1429 * io/lseek64.c: Likewise.
1430 * io/lxstat64.c: Likewise.
1431 * io/mkdir.c: Likewise.
1432 * io/mkdirat.c: Likewise.
1433 * io/mkfifo.c: Likewise.
1434 * io/mkfifoat.c: Likewise.
1435 * io/open.c: Likewise.
1436 * io/open64.c: Likewise.
1437 * io/openat.c: Likewise.
1438 * io/openat64.c: Likewise.
1439 * io/pipe.c: Likewise.
1440 * io/pipe2.c: Likewise.
1441 * io/poll.c: Likewise.
1442 * io/posix_fadvise.c: Likewise.
1443 * io/posix_fadvise64.c: Likewise.
1444 * io/posix_fallocate.c: Likewise.
1445 * io/posix_fallocate64.c: Likewise.
1446 * io/read.c: Likewise.
1447 * io/readlink.c: Likewise.
1448 * io/readlinkat.c: Likewise.
1449 * io/rmdir.c: Likewise.
1450 * io/sendfile.c: Likewise.
1451 * io/sendfile64.c: Likewise.
1452 * io/statfs.c: Likewise.
1453 * io/statfs64.c: Likewise.
1454 * io/statvfs.c: Likewise.
1455 * io/statvfs64.c: Likewise.
1456 * io/symlink.c: Likewise.
1457 * io/symlinkat.c: Likewise.
1458 * io/ttyname.c: Likewise.
1459 * io/ttyname_r.c: Likewise.
1460 * io/umask.c: Likewise.
1461 * io/unlink.c: Likewise.
1462 * io/unlinkat.c: Likewise.
1463 * io/utime.c: Likewise.
1464 * io/utimensat.c: Likewise.
1465 * io/write.c: Likewise.
1466 * io/xmknod.c: Likewise.
1467 * io/xmknodat.c: Likewise.
1468 * io/xstat.c: Likewise.
1469 * io/xstat64.c: Likewise.
1470 * login/getpt.c: Likewise.
1471 * login/grantpt.c: Likewise.
1472 * login/unlockpt.c: Likewise.
1473 * math/e_acoshl.c: Likewise.
1474 * math/e_acosl.c: Likewise.
1475 * math/e_asinl.c: Likewise.
1476 * math/e_atan2l.c: Likewise.
1477 * math/e_atanhl.c: Likewise.
1478 * math/e_coshl.c: Likewise.
1479 * math/e_expl.c: Likewise.
1480 * math/e_fmodl.c: Likewise.
1481 * math/e_gammal_r.c: Likewise.
1482 * math/e_hypotl.c: Likewise.
1483 * math/e_j0l.c: Likewise.
1484 * math/e_j1l.c: Likewise.
1485 * math/e_jnl.c: Likewise.
1486 * math/e_lgammal_r.c: Likewise.
1487 * math/e_log10l.c: Likewise.
1488 * math/e_log2l.c: Likewise.
1489 * math/e_logl.c: Likewise.
1490 * math/e_powl.c: Likewise.
1491 * math/e_rem_pio2l.c: Likewise.
1492 * math/e_sinhl.c: Likewise.
1493 * math/e_sqrtl.c: Likewise.
1494 * math/fclrexcpt.c: Likewise.
1495 * math/fedisblxcpt.c: Likewise.
1496 * math/feenablxcpt.c: Likewise.
1497 * math/fegetenv.c: Likewise.
1498 * math/fegetexcept.c: Likewise.
1499 * math/fegetround.c: Likewise.
1500 * math/feholdexcpt.c: Likewise.
1501 * math/fesetenv.c: Likewise.
1502 * math/fesetround.c: Likewise.
1503 * math/feupdateenv.c: Likewise.
1504 * math/fgetexcptflg.c: Likewise.
1505 * math/fraiseexcpt.c: Likewise.
1506 * math/fsetexcptflg.c: Likewise.
1507 * math/ftestexcept.c: Likewise.
1508 * math/k_cosl.c: Likewise.
1509 * math/k_rem_pio2l.c: Likewise.
1510 * math/k_sinl.c: Likewise.
1511 * math/k_tanl.c: Likewise.
1512 * math/s_asinhl.c: Likewise.
1513 * math/s_atanl.c: Likewise.
1514 * math/s_cbrtl.c: Likewise.
1515 * math/s_erfl.c: Likewise.
1516 * math/s_expm1l.c: Likewise.
1517 * math/s_log1pl.c: Likewise.
1518 * math/s_tanhl.c: Likewise.
1519 * misc/acct.c: Likewise.
1520 * misc/brk.c: Likewise.
1521 * misc/chflags.c: Likewise.
1522 * misc/chroot.c: Likewise.
1523 * misc/fchflags.c: Likewise.
1524 * misc/fgetxattr.c: Likewise.
1525 * misc/flistxattr.c: Likewise.
1526 * misc/fremovexattr.c: Likewise.
1527 * misc/fsetxattr.c: Likewise.
1528 * misc/fsync.c: Likewise.
1529 * misc/ftruncate.c: Likewise.
1530 * misc/futimes.c: Likewise.
1531 * misc/futimesat.c: Likewise.
1532 * misc/getdomain.c: Likewise.
1533 * misc/getdtsz.c: Likewise.
1534 * misc/gethostid.c: Likewise.
1535 * misc/gethostname.c: Likewise.
1536 * misc/getloadavg.c: Likewise.
1537 * misc/getpagesize.c: Likewise.
1538 * misc/getsysstats.c: Likewise.
1539 * misc/getxattr.c: Likewise.
1540 * misc/gtty.c: Likewise.
1541 * misc/ioctl.c: Likewise.
1542 * misc/lgetxattr.c: Likewise.
1543 * misc/listxattr.c: Likewise.
1544 * misc/llistxattr.c: Likewise.
1545 * misc/lremovexattr.c: Likewise.
1546 * misc/lsetxattr.c: Likewise.
1547 * misc/lutimes.c: Likewise.
1548 * misc/madvise.c: Likewise.
1549 * misc/mincore.c: Likewise.
1550 * misc/mlock.c: Likewise.
1551 * misc/mlockall.c: Likewise.
1552 * misc/mmap.c: Likewise.
1553 * misc/mprotect.c: Likewise.
1554 * misc/msync.c: Likewise.
1555 * misc/munlock.c: Likewise.
1556 * misc/munlockall.c: Likewise.
1557 * misc/munmap.c: Likewise.
1558 * misc/preadv.c: Likewise.
1559 * misc/preadv64.c: Likewise.
1560 * misc/ptrace.c: Likewise.
1561 * misc/pwritev.c: Likewise.
1562 * misc/pwritev64.c: Likewise.
1563 * misc/readv.c: Likewise.
1564 * misc/reboot.c: Likewise.
1565 * misc/remap_file_pages.c: Likewise.
1566 * misc/removexattr.c: Likewise.
1567 * misc/revoke.c: Likewise.
1568 * misc/select.c: Likewise.
1569 * misc/setdomain.c: Likewise.
1570 * misc/setegid.c: Likewise.
1571 * misc/seteuid.c: Likewise.
1572 * misc/sethostid.c: Likewise.
1573 * misc/sethostname.c: Likewise.
1574 * misc/setregid.c: Likewise.
1575 * misc/setreuid.c: Likewise.
1576 * misc/setxattr.c: Likewise.
1577 * misc/sstk.c: Likewise.
1578 * misc/stty.c: Likewise.
1579 * misc/swapoff.c: Likewise.
1580 * misc/swapon.c: Likewise.
1581 * misc/sync.c: Likewise.
1582 * misc/syncfs.c: Likewise.
1583 * misc/syscall.c: Likewise.
1584 * misc/truncate.c: Likewise.
1585 * misc/ualarm.c: Likewise.
1586 * misc/usleep.c: Likewise.
1587 * misc/ustat.c: Likewise.
1588 * misc/utimes.c: Likewise.
1589 * misc/vhangup.c: Likewise.
1590 * misc/writev.c: Likewise.
1591 * posix/_exit.c: Likewise.
1592 * posix/alarm.c: Likewise.
1593 * posix/execve.c: Likewise.
1594 * posix/fexecve.c: Likewise.
1595 * posix/fork.c: Likewise.
1596 * posix/fpathconf.c: Likewise.
1597 * posix/getaddrinfo.c: Likewise.
1598 * posix/getegid.c: Likewise.
1599 * posix/geteuid.c: Likewise.
1600 * posix/getgid.c: Likewise.
1601 * posix/getgroups.c: Likewise.
1602 * posix/getlogin.c: Likewise.
1603 * posix/getlogin_r.c: Likewise.
1604 * posix/getpgid.c: Likewise.
1605 * posix/getpid.c: Likewise.
1606 * posix/getppid.c: Likewise.
1607 * posix/getresgid.c: Likewise.
1608 * posix/getresuid.c: Likewise.
1609 * posix/getsid.c: Likewise.
1610 * posix/getuid.c: Likewise.
1611 * posix/glob64.c: Likewise.
1612 * posix/nanosleep.c: Likewise.
1613 * posix/pathconf.c: Likewise.
1614 * posix/pause.c: Likewise.
1615 * posix/posix_madvise.c: Likewise.
1616 * posix/pread.c: Likewise.
1617 * posix/pread64.c: Likewise.
1618 * posix/pwrite.c: Likewise.
1619 * posix/pwrite64.c: Likewise.
1620 * posix/sched_getaffinity.c: Likewise.
1621 * posix/sched_getp.c: Likewise.
1622 * posix/sched_gets.c: Likewise.
1623 * posix/sched_primax.c: Likewise.
1624 * posix/sched_primin.c: Likewise.
1625 * posix/sched_rr_gi.c: Likewise.
1626 * posix/sched_setaffinity.c: Likewise.
1627 * posix/sched_setp.c: Likewise.
1628 * posix/sched_sets.c: Likewise.
1629 * posix/sched_yield.c: Likewise.
1630 * posix/setgid.c: Likewise.
1631 * posix/setlogin.c: Likewise.
1632 * posix/setpgid.c: Likewise.
1633 * posix/setresgid.c: Likewise.
1634 * posix/setresuid.c: Likewise.
1635 * posix/setsid.c: Likewise.
1636 * posix/setuid.c: Likewise.
1637 * posix/sleep.c: Likewise.
1638 * posix/spawni.c: Likewise.
1639 * posix/sysconf.c: Likewise.
1640 * posix/times.c: Likewise.
1641 * posix/wait.c: Likewise.
1642 * posix/wait3.c: Likewise.
1643 * posix/wait4.c: Likewise.
1644 * posix/waitpid.c: Likewise.
1645 * resolv/gai_sigqueue.c: Likewise.
1646 * resource/getpriority.c: Likewise.
1647 * resource/getrlimit.c: Likewise.
1648 * resource/getrusage.c: Likewise.
1649 * resource/nice.c: Likewise.
1650 * resource/setpriority.c: Likewise.
1651 * resource/setrlimit.c: Likewise.
1652 * resource/ulimit.c: Likewise.
1653 * rt/aio_cancel.c: Likewise.
1654 * rt/aio_fsync.c: Likewise.
1655 * rt/aio_read.c: Likewise.
1656 * rt/aio_sigqueue.c: Likewise.
1657 * rt/aio_suspend.c: Likewise.
1658 * rt/aio_write.c: Likewise.
1659 * rt/clock_getres.c: Likewise.
1660 * rt/clock_gettime.c: Likewise.
1661 * rt/clock_nanosleep.c: Likewise.
1662 * rt/clock_settime.c: Likewise.
1663 * rt/lio_listio.c: Likewise.
1664 * rt/mq_close.c: Likewise.
1665 * rt/mq_getattr.c: Likewise.
1666 * rt/mq_notify.c: Likewise.
1667 * rt/mq_open.c: Likewise.
1668 * rt/mq_receive.c: Likewise.
1669 * rt/mq_send.c: Likewise.
1670 * rt/mq_setattr.c: Likewise.
1671 * rt/mq_timedreceive.c: Likewise.
1672 * rt/mq_timedsend.c: Likewise.
1673 * rt/mq_unlink.c: Likewise.
1674 * rt/shm_open.c: Likewise.
1675 * rt/shm_unlink.c: Likewise.
1676 * rt/timer_create.c: Likewise.
1677 * rt/timer_delete.c: Likewise.
1678 * rt/timer_getoverr.c: Likewise.
1679 * rt/timer_gettime.c: Likewise.
1680 * rt/timer_settime.c: Likewise.
1681 * setjmp/__longjmp.c: Likewise.
1682 * setjmp/setjmp.c: Likewise.
1683 * signal/kill.c: Likewise.
1684 * signal/killpg.c: Likewise.
1685 * signal/raise.c: Likewise.
1686 * signal/sigaction.c: Likewise.
1687 * signal/sigaltstack.c: Likewise.
1688 * signal/sigblock.c: Likewise.
1689 * signal/sigignore.c: Likewise.
1690 * signal/sigintr.c: Likewise.
1691 * signal/signal.c: Likewise.
1692 * signal/sigpause.c: Likewise.
1693 * signal/sigpending.c: Likewise.
1694 * signal/sigqueue.c: Likewise.
1695 * signal/sigreturn.c: Likewise.
1696 * signal/sigset.c: Likewise.
1697 * signal/sigsetmask.c: Likewise.
1698 * signal/sigstack.c: Likewise.
1699 * signal/sigsuspend.c: Likewise.
1700 * signal/sigtimedwait.c: Likewise.
1701 * signal/sigvec.c: Likewise.
1702 * signal/sigwait.c: Likewise.
1703 * signal/sigwaitinfo.c: Likewise.
1704 * signal/sysv_signal.c: Likewise.
1705 * socket/accept.c: Likewise.
1706 * socket/accept4.c: Likewise.
1707 * socket/bind.c: Likewise.
1708 * socket/connect.c: Likewise.
1709 * socket/getpeername.c: Likewise.
1710 * socket/getsockname.c: Likewise.
1711 * socket/getsockopt.c: Likewise.
1712 * socket/isfdtype.c: Likewise.
1713 * socket/listen.c: Likewise.
1714 * socket/recv.c: Likewise.
1715 * socket/recvfrom.c: Likewise.
1716 * socket/recvmsg.c: Likewise.
1717 * socket/send.c: Likewise.
1718 * socket/sendmsg.c: Likewise.
1719 * socket/sendto.c: Likewise.
1720 * socket/setsockopt.c: Likewise.
1721 * socket/shutdown.c: Likewise.
1722 * socket/sockatmark.c: Likewise.
1723 * socket/socket.c: Likewise.
1724 * socket/socketpair.c: Likewise.
1725 * stdio-common/ctermid.c: Likewise.
1726 * stdio-common/cuserid.c: Likewise.
1727 * stdio-common/remove.c: Likewise.
1728 * stdio-common/rename.c: Likewise.
1729 * stdio-common/renameat.c: Likewise.
1730 * stdio-common/tempname.c: Likewise.
1731 * stdlib/getcontext.c: Likewise.
1732 * stdlib/makecontext.c: Likewise.
1733 * stdlib/setcontext.c: Likewise.
1734 * stdlib/swapcontext.c: Likewise.
1735 * stdlib/system.c: Likewise.
1736 * streams/fattach.c: Likewise.
1737 * streams/fdetach.c: Likewise.
1738 * streams/getmsg.c: Likewise.
1739 * streams/getpmsg.c: Likewise.
1740 * streams/putmsg.c: Likewise.
1741 * streams/putpmsg.c: Likewise.
1742 * sysdeps/unix/bsd/getpt.c: Likewise.
1743 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1744 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1745 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1747 Likewise.
1748 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1750 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1751 * sysvipc/msgctl.c: Likewise.
1752 * sysvipc/msgget.c: Likewise.
1753 * sysvipc/msgrcv.c: Likewise.
1754 * sysvipc/msgsnd.c: Likewise.
1755 * sysvipc/semctl.c: Likewise.
1756 * sysvipc/semget.c: Likewise.
1757 * sysvipc/semop.c: Likewise.
1758 * sysvipc/semtimedop.c: Likewise.
1759 * sysvipc/shmat.c: Likewise.
1760 * sysvipc/shmctl.c: Likewise.
1761 * sysvipc/shmdt.c: Likewise.
1762 * sysvipc/shmget.c: Likewise.
1763 * termios/tcdrain.c: Likewise.
1764 * termios/tcflow.c: Likewise.
1765 * termios/tcflush.c: Likewise.
1766 * termios/tcgetattr.c: Likewise.
1767 * termios/tcgetpgrp.c: Likewise.
1768 * termios/tcsendbrk.c: Likewise.
1769 * termios/tcsetattr.c: Likewise.
1770 * termios/tcsetpgrp.c: Likewise.
1771 * time/adjtime.c: Likewise.
1772 * time/clock.c: Likewise.
1773 * time/getitimer.c: Likewise.
1774 * time/gettimeofday.c: Likewise.
1775 * time/setitimer.c: Likewise.
1776 * time/settimeofday.c: Likewise.
1777 * time/stime.c: Likewise.
1778 * time/time.c: Likewise.
1779
17802012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1781
a20492cf
PT
1782 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1783 /usr/old/bin.
1784
72e182e3
PT
1785 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1786 instead of spaces.
1787 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1788
fbeafede
JM
17892012-11-03 Joseph Myers <joseph@codesourcery.com>
1790
5b5b04d6
JM
1791 [BZ #14796]
1792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1793 FE_TONEAREST before applying Dekker multiplication and Knuth
1794 addition. Clear inexact exceptions and check for exact zero
1795 results afterwards.
1796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1797 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1799 * math/libm-test.inc (fma_test): Add more tests.
1800 (fma_test_towardzero): Likewise.
1801 (fma_test_downward): Likewise.
1802 (fma_test_upward): Likewise.
1803 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1804 function.
1805 (libc_fesetround): New macro.
1806 (libc_fesetroundf): Likewise.
1807 (libc_fesetroundl): Likewise.
1808 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1809 function.
1810 (libc_fesetround_387): Likewise.
1811 (libc_fesetroundf): New macro.
1812 (libc_fesetround): Likewise.
1813 (libc_fesetroundl): Likewise.
1814 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1815 function.
1816 (libc_fesetroundf): New macro.
1817 (libc_fesetround): Likewise.
1818 (libc_fesetroundl): Likewise.
1819 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1820 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1821 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1822 libm_hidden_ver.
1823 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1824 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1825 libm_hidden_def.
1826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1827 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1828 libm_hidden_ver.
1829 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1830 libm_hidden_def.
1831
fbeafede
JM
1832 [BZ #3439]
1833 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1834 integer constant usable in #if and use that to give value to enum
1835 constant.
1836 (FE_DIVBYZERO): Likewise.
1837 (FE_UNDERFLOW): Likewise.
1838 (FE_OVERFLOW): Likewise.
1839 (FE_INVALID): Likewise.
1840 (FE_INVALID_SNAN): Likewise.
1841 (FE_INVALID_ISI): Likewise.
1842 (FE_INVALID_IDI): Likewise.
1843 (FE_INVALID_ZDZ): Likewise.
1844 (FE_INVALID_IMZ): Likewise.
1845 (FE_INVALID_COMPARE): Likewise.
1846 (FE_INVALID_SOFTWARE): Likewise.
1847 (FE_INVALID_SQRT): Likewise.
1848 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1849 (FE_TONEAREST): Likewise.
1850 (FE_TOWARDZERO): Likewise.
1851 (FE_UPWARD): Likewise.
1852 (FE_DOWNWARD): Likewise.
1853 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1854 (FE_DIVBYZERO): Likewise.
1855 (FE_OVERFLOW): Likewise.
1856 (FE_UNDERFLOW): Likewise.
1857 (FE_INEXACT): Likewise.
1858 (FE_TONEAREST): Likewise.
1859 (FE_DOWNWARD): Likewise.
1860 (FE_UPWARD): Likewise.
1861 (FE_TOWARDZERO): Likewise.
1862 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1863 (FE_UNDERFLOW): Likewise.
1864 (FE_OVERFLOW): Likewise.
1865 (FE_DIVBYZERO): Likewise.
1866 (FE_INVALID): Likewise.
1867 (FE_TONEAREST): Likewise.
1868 (FE_TOWARDZERO): Likewise.
1869 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1870 (FE_OVERFLOW): Likewise.
1871 (FE_UNDERFLOW): Likewise.
1872 (FE_DIVBYZERO): Likewise.
1873 (FE_INEXACT): Likewise.
1874 (FE_TONEAREST): Likewise.
1875 (FE_TOWARDZERO): Likewise.
1876 (FE_UPWARD): Likewise.
1877 (FE_DOWNWARD): Likewise.
1878 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1879 (FE_DIVBYZERO): Likewise.
1880 (FE_OVERFLOW): Likewise.
1881 (FE_UNDERFLOW): Likewise.
1882 (FE_INEXACT): Likewise.
1883 (FE_TONEAREST): Likewise.
1884 (FE_DOWNWARD): Likewise.
1885 (FE_UPWARD): Likewise.
1886 (FE_TOWARDZERO): Likewise.
1887
105ca950
CM
18882012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1889
1890 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1891
a542b389
AS
18922012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1893
1894 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1895 commands. Quote $PWD.
1896 (blacklist_exports): Don't use remove_newlines. Replace "declare
1897 -x" by "export".
1898 (remove_newlines): Remove.
1899
f62c8abc
L
19002012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1903 * stdlib/stdlib.h (atof): Moved to ...
1904 * include/bits/stdlib-float.h: Here. New file.
1905 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1906 * stdlib/bits/stdlib-float.h: New file.
1907 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1908 -mno-sse -mno-mmx.
1909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1910 <xmmintrin.h>.
1911
0155d5b2
JM
19122012-11-02 Joseph Myers <joseph@codesourcery.com>
1913
a68d0680
JM
1914 * conform/conformtest.pl (@headers): Add fenv.h.
1915 * conform/data/fenv.h-data: New file.
1916 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1917 include of <math/fenv.h>.
1918
caf7f573
JM
1919 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1920 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1921 && !UNIX98]. Enables tests for XOPEN2K8.
1922 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1923 POSIX2008]: Likewise.
1924
6c073ad6
JM
1925 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1926 (struct rusage): Do not expect type or its members.
1927
0155d5b2
JM
1928 [BZ #3439]
1929 * math/math.h (FP_NAN): Define macro to integer constant usable in
1930 #if and use that to give value to enum constant.
1931 (FP_INFINITE): Likewise.
1932 (FP_ZERO): Likewise.
1933 (FP_SUBNORMAL): Likewise.
1934 (FP_NORMAL): Likewise.
1935
b5dcacb4
AS
19362012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1939 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1940 arguments.
1941
f7934be8
RM
19422012-11-02 Roland McGrath <roland@hack.frob.com>
1943
1944 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1945 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1946 autoconf-time if not.
1947 * configure.in: Remove AC_PREREQ.
1948
d7d08bde
TMQMF
19492012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1950
1951 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1952 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1953 of the internal implementation.
1954
dcdae19a
JM
19552012-11-02 Joseph Myers <joseph@codesourcery.com>
1956
1957 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1958 except include of <misc/sys/syslog.h>.
1959
d6cffd3e
AS
19602012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1961
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1963 function returns with a NULL context exit with zero.
1964
b3563932
TMQMF
19652012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1966
1967 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1968
b288a93d
L
19692012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1972 (run_program_cmd): This.
1973 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1974 (tst_langinfo): New variable. Use it.
1975
a2421a68
SAS
19762012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1977
1978 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1979 floating point opcodes.
1980
6f796e1b
TS
19812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1982
7402596b
TS
1983 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1984 variable.
1985
d0d4f868
TS
1986 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1987
6f796e1b
TS
1988 * sysdeps/mach/hurd/powerpc: Remove directory.
1989 * sysdeps/mach/powerpc: Likewise.
1990
4da224a2
AS
19912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1992
1993 * scripts/check-local-headers.sh: Ignore c++ headers.
1994
341dd673
TS
19952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1996
1997 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1998 __libc_cleanup_region_start argument.
1999
473611b2
JM
20002012-11-01 Joseph Myers <joseph@codesourcery.com>
2001
2002 [BZ #14784]
2003 [BZ #14785]
2004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2005 x * y using scaling, not as x * y + z.
2006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2008 * math/libm-test.inc (fma_test): Add more tests.
2009 (fma_test_towardzero): Likewise.
2010 (fma_test_downward): Likewise.
2011 (fma_test_upward): Likewise.
2012
4078da3d
TS
20132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2014
2015 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2016
903252aa
JM
20172012-10-31 Joseph Myers <joseph@codesourcery.com>
2018
2019 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2020 New variable.
2021
cbc818d0
TS
20222012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2023
2024 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2025
5a03cb1e
AS
20262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2027
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2029 Fix sort order.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2031 Likewise.
2032
90aff2ff
TMQMF
20332012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2034
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2036 Fix the order of the list for glibc 2.17.
2037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2038 Likewise.
2039
1818fcb7
AS
20402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2041
2042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2043
ef82f4da
JM
20442012-10-31 Joseph Myers <joseph@codesourcery.com>
2045
16a0e2ec
JM
2046 [BZ #14610]
2047 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2048 for low part of x being zero before using __atanl (y).
2049 * math/libm-test.inc (atan2_test): Add another test.
2050
0eb69512
JM
2051 * manual/install.texi (Configuring and compiling): Document
2052 general use of test-wrapper and test-wrapper-env.
2053 * INSTALL: Regenerated.
2054
ef82f4da
JM
2055 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2056 (__fma): Do not extract and scale down low bits on after-rounding
2057 systems when result rounded to normal precision would have normal
2058 exponent.
2059 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2060 (__fmal): Do not extract and scale down low bits on after-rounding
2061 systems when result rounded to normal precision would have normal
2062 exponent.
2063 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2064 (__fmal): Do not extract and scale down low bits on after-rounding
2065 systems when result rounded to normal precision would have normal
2066 exponent.
2067 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2068 macro.
2069 (fma_test): Add more tests.
2070 (fma_test_towardzero): Likewise.
2071 (fma_test_downward): Likewise.
2072 (fma_test_upward): Likewise.
2073
954ef0d9
L
20742012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2075
2076 * sysdeps/i386/tininess.h: Renamed to ...
2077 * sysdeps/x86/tininess.h: This.
2078 * sysdeps/x86_64/tininess.h: Removed.
2079
df61ffb2
JM
20802012-10-30 Joseph Myers <joseph@codesourcery.com>
2081
2082 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2083 input. Use $(build-program-cmd).
2084 ($(objpfx)tst-array1-static.out): Likewise.
2085 ($(objpfx)tst-array2.out): Likewise.
2086 ($(objpfx)tst-array3.out): Likewise.
2087 ($(objpfx)tst-array4.out): Likewise.
2088 ($(objpfx)tst-array5.out): Likewise.
2089 ($(objpfx)tst-array5-static.out): Likewise.
2090
01767843
CM
20912012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2092
47cc1490
CM
2093 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2094 if defined.
2095
01767843
CM
2096 * nss/nsswitch.h (nss_interface_function): Provide new
2097 macro for use with NSS functions.
2098 * grp/initgroups.c: Use new macro.
2099 * nss/getXXbyYY.c: Likewise.
2100 * nss/getXXbyYY_r.c: Likewise.
2101 * nss/getXXent.c: Likewise.
2102 * nss/getXXent_r.c: Likewise.
2103 * sysdeps/posix/getaddrinfo.c: Likewise.
2104
8321aa97
AJ
21052012-10-30 Andreas Jaeger <aj@suse.de>
2106
2107 * po/ru.po: Update Russion translation from translation project.
2108
2a27fd6d
JM
21092012-10-30 Joseph Myers <joseph@codesourcery.com>
2110
8627a232
JM
2111 [BZ #14152]
2112 [BZ #14783]
2113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2114 result and shift together with sticky bit instead of replicating
2115 round-to-nearest rounding.
2116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2117 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2118 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2119 missing underflow exceptions.
2120 (fma_test_towardzero): Add more tests.
2121 (fma_test_downward): Likewise.
2122 (fma_test_upward): Likewise.
2123
2a27fd6d
JM
2124 [BZ #14047]
2125 * sysdeps/generic/tininess.h: New file.
2126 * sysdeps/i386/tininess.h: Likewise.
2127 * sysdeps/sh/tininess.h: Likewise.
2128 * sysdeps/x86_64/tininess.h: Likewise.
2129 * stdlib/tst-strtod-underflow.c: Likewise.
2130 * stdlib/tst-tininess.c: Likewise.
2131 * stdlib/strtod_l.c: Include <tininess.h>.
2132 (round_and_return): Do not set errno for exact underflow cases.
2133 Force an underflow exception when setting errno for underflow.
2134 Determine underflow based on rounding to normal precision if
2135 TININESS_AFTER_ROUNDING.
2136 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2137 ERANGE for exact underflow cases.
2138 * stdlib/Makefile (tests): Add tst-tininess and
2139 tst-strtod-underflow.
2140 ($(objpfx)tst-tininess): Use $(link-libm).
2141 ($(objpfx)tst-strtod-underflow): Likewise.
2142
e7170363
AJ
21432012-10-30 Andreas Jaeger <aj@suse.de>
2144
e5088dc6
AJ
2145 [BZ#14767]
2146 * elf/Makefile (tests): Remove conditional for have-initfini-array
2147 since this is now always required and the variable does not exist
2148 anymore.
2149 (tests-static): Likewise.
2150 (modules-names): Likewise.
2151
e7170363 2152 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2153
2154 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2155 merged with constructor/destructor.
2156 (init_array): Likewise.
2157 * elf/tst-array2dep.c (fini_array): Likewise.
2158 (init_array): Likewise.
2159
60457d8a
MF
21602012-10-29 Mike Frysinger <vapier@gentoo.org>
2161
2162 * manual/message.texi: Delete @cartouche tags.
2163
8bece752
PT
21642012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2165
94ce799f
PT
2166 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2167 EOPNOTSUPP.
2168 * sysdeps/mach/hurd/fsync.c: Likewise.
2169
8bece752
PT
2170 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2171 [_POSIX_REALTIME_SIGNALS]: Change condition to
2172 [_POSIX_REALTIME_SIGNALS > 0].
2173
86ebe6b1
AJ
21742012-10-27 Andreas Jaeger <aj@suse.de>
2175
2176 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2177 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2178 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2179 [__WORDSIZE != 64]: Likewise.
2180
54399c08
L
21812012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2182
2183 * iconvdata/tst-table.sh: Remove ${SHELL}.
2184 * iconvdata/tst-tables.sh: Likewise.
2185
e2211bed
DM
21862012-10-25 David S. Miller <davem@davemloft.net>
2187
2188 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2189 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2190 of strtoull.
2191
f303f97c
DM
2192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2193 ifunc-impl-list.c
2194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2195 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2196 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2197 file.
2198
1e9d84cd
RM
21992012-10-25 Roland McGrath <roland@hack.frob.com>
2200
2201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2202 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2203 __getdirentries.
2204
df381762
JM
22052012-10-25 Joseph Myers <joseph@codesourcery.com>
2206 Jim Blandy <jimb@codesourcery.com>
2207
2208 * scripts/cross-test-ssh.sh: New file.
2209 * manual/install.texi (Configuring and compiling): Document use of
2210 cross-test-ssh.sh.
2211 * INSTALL: Regenerated.
2212
bff64913
PT
22132012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2214
2215 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2216 EOPNOTSUPP.
2217
25fe8932
JM
22182012-10-25 Joseph Myers <joseph@codesourcery.com>
2219
2220 * Makeconfig (run-program-prefix): Fix comment.
2221
cc1290d0
JM
22222012-10-24 Joseph Myers <joseph@codesourcery.com>
2223 Jim Blandy <jimb@codesourcery.com>
2224
2225 * Makeconfig (test-wrapper): New variable,
2226 (test-wrapper-env): Likewise.
2227 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2228 (run-built-tests): Define to yes.
2229 (run-program-prefix): Use $(test-wrapper).
2230 (built-program-cmd): Likewise.
2231 * Rules (make-test-out): Use $(test-wrapper-env) and
2232 $(host-built-program-cmd).
2233 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2234 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2235 tst-pathopt.sh.
2236 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2237 $(test-wrapper-env) to tst-rtld-load-self.sh.
2238 ($(objpfx)order2.out): Use $(test-wrapper).
2239 ($(objpfx)tst-initorder.out): Likewise.
2240 ($(objpfx)tst-initorder2.out): Likewise.
2241 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2242 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2243 (test_wrapper_env): New variable. Use it to run ld.so.
2244 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2245 Use it to run ld.so.
2246 (test_wrapper_env): Likewise.
2247 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2248 $(test-wrapper) to run-iconv-test.sh.
2249 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2250 (ICONV): Use $test_wrapper.
2251 * posix/Makefile ($(objpfx)globtest.out): Pass
2252 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2253 globtest.sh, not $(run-program-prefix).
2254 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2255 (test_wrapper): Likewise.
2256 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2257 set together with run_via_rtld_prefix.
2258 (run_program_prefix): Define in terms of test_wrapper and
2259 run_via_rtld_prefix.
2260
6e6249d0
RM
22612012-10-24 Roland McGrath <roland@hack.frob.com>
2262
2263 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2264 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2265 Targets removed.
2266
2267 [BZ #14743]
2268 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2269 Declare __clock_getres, __clock_gettime, __clock_settime,
2270 __clock_nanosleep, and __clock_getcpuclockid.
2271 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2272 Remove librt_hidden_def (clock_gettime).
2273 * sysdeps/unix/clock_gettime.c: Likewise.
2274 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2275 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2276 * rt/clock_getres.c: Define __clock_getres as an alias.
2277 * sysdeps/posix/clock_getres.c: Likewise.
2278 * rt/clock_settime.c: Define __clock_settime as an alias.
2279 * sysdeps/unix/clock_settime.c: Likewise.
2280 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2281 * sysdeps/unix/clock_nanosleep.c: Likewise.
2282 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2283 * rt/clock-compat.c: New file.
2284 * rt/Makefile (librt-routines): Add clock-compat and move
2285 $(clock-routines) to ...
2286 (routines): ... here, new variable.
2287 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2288 Don't add get_clockfreq here.
2289 * rt/Versions (libc: GLIBC_2.17): New version set.
2290 Add clock_* symbols here.
2291 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2293 (GLIBC_2.17): Add clock_* symbols.
2294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2298 Likewise.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2300 Likewise.
2301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2305 * NEWS: Mention the move.
2306
2307 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2308 Use __open, __read, __close rather than their public counterparts.
2309 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2310 (__get_clockfreq_via_cpuinfo): Likewise.
2311 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2312 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2313
2314 * config.h.in (HAVE_IFUNC): New #undef.
2315 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2316 was successful.
2317 * configure: Regenerated.
2318
0cae3f4b
MF
23192012-10-24 Mike Frysinger <vapier@gentoo.org>
2320
2321 * configure.in: Move READELF check to start of file.
2322 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2323 libc_cv_asm_gnu_indirect_function in the process.
2324 * configure: Regenerated.
2325
8175a253
MF
23262012-10-24 Mike Frysinger <vapier@gentoo.org>
2327
2328 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2329 send the output to /dev/null.
2330 (libc_cv_cc_with_libunwind): Likewise.
2331 (libc_cv_as_noexecstack): Likewise.
2332 * configure: Regenerate.
2333
0708a7d1
JM
23342012-10-24 Joseph Myers <joseph@codesourcery.com>
2335
10b40d85
JM
2336 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2337
0708a7d1
JM
2338 * posix/globtest.sh (TMPDIR): Do not set.
2339 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2340 (testout): Likewise.
2341
9fddec1a
AJ
23422012-10-24 Andreas Jaeger <aj@suse.de>
2343
3a8db22f
AJ
2344 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2345 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2346 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2347 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2348 posix_fadvise64, posix_fallocate64.
2349
9fddec1a
AJ
2350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2351 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2352 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2353 Likewise.
2354 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2355 Likewise.
2356 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2357
2358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2359 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2360 <bits/fcntl-linux.h>.
2361 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2362
2363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2364 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2365 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2366 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2367 [__WORDSIZE != 64]: Likewise.
2368
ebfd1bbd
JM
23692012-10-23 Joseph Myers <joseph@codesourcery.com>
2370
03ac099f
JM
2371 * Makeconfig (run-built-tests): New variable.
2372 * Rules [$(cross-compiling) = yes]: Change condition to
2373 [$(run-built-tests) = no].
2374 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2375 to [$(run-built-tests) = yes].
2376 * elf/Makefile [$(cross-compiling) = no]: Likewise
2377 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2378 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2379 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2380 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2381 * io/Makefile [$(cross-compiling) = no]: Likewise.
2382 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2383 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2384 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2385 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2386 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2387 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2388 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2389 * string/Makefile [$(cross-compiling) = no]: Likewise.
2390
ebfd1bbd
JM
2391 * posix/Makefile ($(objpfx)globtest.out): Pass
2392 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2393 $(rtld-installed-name).
2394 * posix/globtest.sh (elf_objpfx): Remove variable.
2395 (rtld_installed_name): Likewise.
2396 (library_path): Likewise.
2397 (run_program_prefix): New variable. Use for running globtest
2398 binary.
2399
166bca24
JB
24002012-10-23 Jim Blandy <jimb@codesourcery.com>
2401 Joseph Myers <joseph@codesourcery.com>
2402
2403 * Makeconfig (host-built-program-cmd): New variable.
2404 * elf/Makefile (tst-stackguard1-ARGS): Use
2405 $(host-built-program-cmd).
2406 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2407 (tst-spawn-ARGS): Likewise.
2408 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2409
88866099
JM
24102012-10-23 Joseph Myers <joseph@codesourcery.com>
2411 Jim Blandy <jimb@codesourcery.com>
2412
2413 * Makeconfig (run-via-rtld-prefix): New variable.
2414 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2415 (built-program-cmd): Likewise.
2416
b4b4c296
AJ
24172012-10-22 Andreas Jaeger <aj@suse.de>
2418
2419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2420 __O_RSYNC if it exists, otherwise to O_SYNC.
2421
6fb54a22
JB
24222012-10-22 Jim Blandy <jimb@codesourcery.com>
2423 Joseph Myers <joseph@codesourcery.com>
2424
2425 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2426 /dev/null.
2427 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2428 from /dev/null
2429 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2430 /dev/null.
2431
481b90b9
AJ
24322012-10-22 Andreas Jaeger <aj@suse.de>
2433
2a0e2669
AJ
2434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2435 Define always.
2436 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2437
76e38f9a
AJ
2438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2439 bits/fcntl-linux.h.
2440
7cd37b43
AJ
2441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2442 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2443
481b90b9
AJ
2444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2445 to __O_LARGEFILE.
2446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2447 to __O_LARGEFILE.
2448
aba75984
JB
24492012-10-21 Jim Blandy <jimb@codesourcery.com>
2450 Joseph Myers <joseph@codesourcery.com>
2451
2452 * config.make.in (NM): New variable.
2453
88d4247f
AJ
24542012-10-21 Andreas Jaeger <aj@suse.de>
2455
2456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2457 definitions and declarations that are provided by
2458 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2459
f2eed205
L
24602012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2461
2462 [BZ #14683]
2463 * elf/Makefile (tests-static): Add tst-leaks1-static.
2464 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2465 ($(objpfx)tst-leaks1-static): New rule.
2466 ($(objpfx)tst-leaks1-static-mem): Likewise.
2467 (tst-leaks1-static-ENV): New macro.
2468 * elf/dl-open.c (dl_open_worker): Check the main application
2469 only if SHARED is defined.
2470 * elf/tst-leaks1-static.c: New file.
2471
335e6931
AJ
24722012-10-20 Andreas Jaeger <aj@suse.de>
2473
2474 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2475 generic values for Linux.
2476 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2477 and declarations that are provided by <bits/fcntl-linux.h> and
2478 include <bits/fcntl-linux.h>.
2479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2481
ac5c94d3
RM
24822012-10-20 Roland McGrath <roland@hack.frob.com>
2483
2484 * io/fcntl.h: Move include of <bits/types.h> to the top and
2485 include it unconditionally.
2486
de54b33a
L
24872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2488
228cfb01
L
2489 * wcsmbs/Makefile (tests-ifunc): New variable.
2490 (tests): Add $(tests-ifunc).
2491 * wcsmbs/test-wcschr-ifunc.c: New file.
2492 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2493 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2494 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2495 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2496 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2497
69f07e5f
L
2498 * string/Makefile (tests-ifunc): New variable.
2499 (tests): Add $(tests-ifunc).
2500 * string/test-memccpy.c (TEST_NAME): New macro.
2501 * string/test-memchr.c (TEST_NAME): Likewise.
2502 * string/test-memcmp.c (TEST_NAME): Likewise.
2503 * string/test-memcpy.c (TEST_NAME): Likewise.
2504 * string/test-memmem.c (TEST_NAME): Likewise.
2505 * string/test-memmove.c (TEST_NAME): Likewise.
2506 * string/test-memset.c (TEST_NAME): Likewise.
2507 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2508 * string/test-stpcpy.c (TEST_NAME): Likewise.
2509 * string/test-stpncpy.c (TEST_NAME): Likewise.
2510 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2511 * string/test-strcasestr.c (TEST_NAME): Likewise.
2512 * string/test-strcat.c (TEST_NAME): Likewise.
2513 * string/test-strchr.c (TEST_NAME): Likewise.
2514 * string/test-strcmp.c(TEST_NAME): Likewise.
2515 * string/test-strcpy.c (TEST_NAME): Likewise.
2516 * string/test-strcspn.c (TEST_NAME): Likewise.
2517 * string/test-strlen.c (TEST_NAME): Likewise.
2518 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2519 * string/test-strncmp.c (TEST_NAME): Likewise.
2520 * string/test-strncpy.c (TEST_NAME): Likewise.
2521 * string/test-strnlen.c (TEST_NAME): Likewise.
2522 * string/test-strpbrk.c (TEST_NAME): Likewise.
2523 * string/test-strrchr.c (TEST_NAME): Likewise.
2524 * string/test-strspn.c (TEST_NAME): Likewise.
2525 * string/test-strstr.c (TEST_NAME): Likewise.
2526 * string/test-bcopy-ifunc.c: New file.
2527 * string/test-bzero-ifunc.c: Likewise.
2528 * string/test-memccpy-ifunc.c: Likewise.
2529 * string/test-memchr-ifunc.c: Likewise.
2530 * string/test-memcmp-ifunc.c: Likewise.
2531 * string/test-memcpy-ifunc.c: Likewise.
2532 * string/test-memmem-ifunc.c: Likewise.
2533 * string/test-memmove-ifunc.c: Likewise.
2534 * string/test-mempcpy-ifunc.c: Likewise.
2535 * string/test-memset-ifunc.c: Likewise.
2536 * string/test-rawmemchr-ifunc.c: Likewise.
2537 * string/test-stpcpy-ifunc.c: Likewise.
2538 * string/test-stpncpy-ifunc.c: Likewise.
2539 * string/test-strcasecmp-ifunc.c: Likewise.
2540 * string/test-strcasestr-ifunc.c: Likewise.
2541 * string/test-strcat-ifunc.c: Likewise.
2542 * string/test-strchr-ifunc.c: Likewise.
2543 * string/test-strchrnul-ifunc.c: Likewise.
2544 * string/test-strcmp-ifunc.c: Likewise.
2545 * string/test-strcpy-ifunc.c: Likewise.
2546 * string/test-strcspn-ifunc.c: Likewise.
2547 * string/test-strlen-ifunc.c: Likewise.
2548 * string/test-strncasecmp-ifunc.c: Likewise.
2549 * string/test-strncat-ifunc.c: Likewise.
2550 * string/test-strncmp-ifunc.c: Likewise.
2551 * string/test-strncpy-ifunc.c: Likewise.
2552 * string/test-strnlen-ifunc.c: Likewise.
2553 * string/test-strpbrk-ifunc.c: Likewise.
2554 * string/test-strrchr-ifunc.c: Likewise.
2555 * string/test-strspn-ifunc.c: Likewise.
2556 * string/test-strstr-ifunc.c: Likewise.
2557
de54b33a
L
2558 * debug/Makefile (tests-ifunc): New variable.
2559 (tests): Add $(tests-ifunc).
2560 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2561 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2562 * debug/test-stpcpy_chk-ifunc.c: New file.
2563 * debug/test-strcpy_chk-ifunc.c: Likewise.
2564
88481c16
SP
25652012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2566
2567 [BZ #13601]
2568 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2569 header is not read in.
2570
135948bd
JM
25712012-10-19 Joseph Myers <joseph@codesourcery.com>
2572
89f1c388
JM
2573 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2574 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2575 directly. Pass built executable to script as
2576 $(built-program-cmd).
2577 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2578 $testprogram without using LD_LIBRARY_PATH and $ldso.
2579
e40a0d21
JM
2580 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2581 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2582 $(rtld-installed-name).
2583 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2584 (rtld_installed_name): Likewise.
2585 (library_path): Likewise.
2586 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2587 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2588 $(run-program-prefix) to tst-tables.sh.
2589 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2590 it to run tst-table-from and tst-table-to.
2591 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2592 Pass it to tst-table.sh.
2593 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2594 $(run-program-prefix) to tst-gettext.sh.
2595 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2596 tst-translit.sh.
2597 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2598 tst-gettext2.sh.
2599 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2600 to run tst-gettext.
2601 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2602 to run tst-gettext2.
2603 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2604 to run tst-translit.
2605 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2606 $(run-program-prefix) to tst-mtrace.sh.
2607 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2608 to run tst-mtrace.
2609 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2610 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2611 $(rtld-installed-name).
2612 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2613 (rtld_installed_name): Likewise.
2614 (run_program_prefix): New variable. Use it to run wordexp-test.
2615
728e272a
JM
2616 * Makeconfig (ARCH): Remove all definitions.
2617 (machine): Likewise.
2618 [ARCH]: Remove conditional code.
2619 [!objdir]: Give error.
2620 [!objdir] (objpfx): Remove.
2621 [!objdir] (common-objpfx): Likewise.
2622 [!objdir] (common-objdir): Likewise.
2623 * configure.in (config_makefile): Remove. Hardcode Makefile in
2624 AC_CONFIG_FILES call.
2625 * configure: Regenerated.
2626
d528cdcf
JM
2627 [BZ #13888]
2628 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2629 or TMPDIR.
2630 (testout): Likewise.
2631
135948bd
JM
2632 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2633 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2634 $(rtld-installed-name).
2635 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2636 (rtld_installed_name): Likwise.
2637 (runit): Remove function.
2638 (run_getconf): New variable, Use it for running getconf binary.
2639
38c78296
L
26402012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2641
2642 [BZ #14716]
2643 * string/test-memmem.c (check_result): New function.
2644 (do_one_test): Use it.
2645 (check1): New function.
2646 (test_main): Use it.
2647
d077f65f
MT
26482012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2649
2650 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2651
ced52c71
JM
26522012-10-18 Joseph Myers <joseph@codesourcery.com>
2653
2654 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2655 (_G_LSEEK64): Likewise.
2656 (_G_MMAP64): Likewise.
2657 (_G_FSTAT64): Likewise.
2658 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2659 (_G_LSEEK64): Likewise.
2660 (_G_MMAP64): Likewise.
2661 (_G_FSTAT64): Likewise.
2662 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2663 unconditional. Call __mmap64 directly.
2664 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2665 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2666 __lseek64 directly.
2667 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2668 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2669 __mmap64 directly.
2670 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2671 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2672 __lseek64 directly.
2673 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2674 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2675 __lseek64 directly.
2676 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2677 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2678 __lseek64 directly.
2679 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2680 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2681 __fxstat64 directly.
2682 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2683 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2684 unconditional.
2685 (freopen64) [!_G_OPEN64]: Remove conditional code.
2686 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2687 unconditional.
2688 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2689 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2690 unconditional.
2691 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2692 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2693 unconditional.
2694 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2695 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2696 unconditional.
2697 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2698 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2699 unconditional.
2700 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2701 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2702 unconditional.
2703 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2704 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2705 unconditional.
2706 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2707
b741de23
SP
27082012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2709
2710 [BZ #12140]
2711 * manual/memory.texi (Malloc Tunable Parameters): Add note
2712 about free list pointers overwriting some perturb bytes.
2713 Wording suggested by Roland McGrath.
2714
f9b9d9c9
JM
27152012-10-17 Joseph Myers <joseph@codesourcery.com>
2716
2717 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2718 (lgamma_test): Likewise.
2719 (tgamma_test): Likewise.
2720
172a631a
FW
27212012-10-16 Florian Weimer <fweimer@redhat.com>
2722
2723 [BZ #14700]
2724 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2725 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2726
e9f37252
MK
27272012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2728
2729 * NEWS: Mention BZ #14716.
2730 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2731 when removing AVAILABLE1_USES_J macro.
2732
d394eb74
L
27332012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2736 (__bswap_64): __uint64_t for unsigned 64-bit int.
2737
ca38dc17
AS
27382012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2739
2740 * include/string.h (memmem): Declare libc hidden alias.
2741 * string/memmem.c (memmem): Define libc hidden alias.
2742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2743 __read, __close instead of open, read, close.
2744
9a387d1f
L
27452012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2746
ac49ecaf
L
2747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2748 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2749 global and hidden.
2750 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2751 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2752 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2753 Likewise.
2754 (__rawmemchr_sse2): Likewise.
2755 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2756 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2757 (__strchr_sse2): Likewise.
2758 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2759 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2760 (__strcasecmp_sse2): Likewise.
2761 (__strncasecmp_sse2): Likewise.
2762 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2763 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2764 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2765 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2766 (__strrchr_sse2): Likewise.
2767 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2768 ifunc-impl-list.c.
2769 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2770 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2771 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2772 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2773 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2774 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2775 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2776 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2777 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2778 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2779 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2780 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2781 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2782 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2783 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2784 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2785 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2786 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2787 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2788 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2789 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2790 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2791 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2792 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2793 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2794 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2795 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2796 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2797 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2798 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2799
b090e8ea
L
2800 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2801 global and hidden.
2802 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2803 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2804 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2805 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2806 Likewise.
2807 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2808 Likewise.
2809 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2810 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2811 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2812 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2813 ifunc-impl-list.c.
2814 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2815 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2816 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2824 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2825 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2826 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2827 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2828 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2830 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2831 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2832 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2834 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2835 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2836 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2837 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2839 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2844 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2846 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2847 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2848 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2850 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2851 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2852 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2855
11dd4af6
L
2856 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2857 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2858 * include/ifunc-impl-list.h: New file.
2859 * misc/ifunc-impl-list.c: Likewise.
2860 * misc/Makefile (routines): Add ifunc-impl-list.
2861 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2862 * string/test-string.h: Include <ifunc-impl-list.h>.
2863 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2864 impl_array): New variables.
2865 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2866 are defined.
2867 (test_init): Call __libc_ifunc_impl_list to initialize
2868 func_list if TEST_IFUNC and TEST_NAME are defined.
2869
9a387d1f
L
2870 * string/Makefile (strop-tests): Add bcopy and bzero.
2871 * string/test-bcopy.c: New file.
2872 * string/test-bzero.c: Likewise.
2873 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2874 defined.
2875 * string/test-memset.c: Support bzero test if TEST_BZERO is
2876 defined.
2877 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2878 __libc_memmove.
2879 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2880 __libc_memset.
2881 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2882 of memset.
2883
472371b9
JM
28842012-10-10 Joseph Myers <joseph@codesourcery.com>
2885
1e4a9536
JM
2886 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2887 * configure: Regenerated.
2888
d173d12e
JM
2889 * Makeconfig (+link-static-before-libc): Don't include
2890 $(link-static-libc).
2891
472371b9
JM
2892 * libio/libio.h (_IO_pos_t): Remove.
2893
89a3ad0b
AO
28942012-10-10 Alexandre Oliva <aoliva@redhat.com>
2895
2896 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2897 McGrath.
2898
e7451425
AO
28992012-10-10 Alexandre Oliva <aoliva@redhat.com>
2900
2901 * crypt/crypt-entry.c: Include fips-private.h.
2902 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2903 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2904 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2905 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2906
4ba74a35
AO
29072012-10-10 Alexandre Oliva <aoliva@redhat.com>
2908
2909 * crypt/crypt-private.h: Include stdbool.h.
2910 (_ufc_setup_salt_r): Return bool.
2911 * crypt/crypt-entry.c: Include errno.h.
2912 (__crypt_r): Return NULL with EINVAL for bad salt.
2913 * crypt/crypt_util.c (bad_for_salt): New.
2914 (_ufc_setup_salt_r): Check that salt is long enough and within
2915 the specified alphabet.
2916 * crypt/badsalttest.c: New file.
2917 * crypt/Makefile (tests): Add it.
2918 ($(objpfx)badsalttest): New.
2919
f96f1242
MK
29202012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2921
2922 * NEWS: Add entry for BZ #14602.
2923
0e8e0c1c
JM
29242012-10-09 Joseph Myers <joseph@codesourcery.com>
2925
2926 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2927 type-generic.
2928 * math/libm-test.inc: Update comment listing what functions and
2929 macros are tested.
2930 (isgreater_test): New function.
2931 (isgreaterequal_test): Likewise.
2932 (isless_test): Likewise.
2933 (islessequal_test): Likewise.
2934 (islessgreater_test): Likewise.
2935 (isunordered_test): Likewise.
2936 (main): Call the new functions.
2937
273edc5e
RM
29382012-10-09 Roland McGrath <roland@hack.frob.com>
2939
b8493de0
RM
2940 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2941 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2942 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2943 * sysdeps/i386/configure: Regenerated.
2944 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2945 * sysdeps/mach/configure: Regenerated.
2946 * sysdeps/mach/hurd/configure: Regenerated.
2947 * sysdeps/powerpc/configure: Regenerated.
2948 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2949 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2950 * sysdeps/s390/s390-32/configure: Regenerated.
2951 * sysdeps/s390/s390-64/configure: Regenerated.
2952 * sysdeps/sh/configure: Regenerated.
2953 * sysdeps/sparc/configure: Regenerated.
2954 * sysdeps/unix/sysv/linux/configure: Regenerated.
2955 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2956 * sysdeps/x86_64/configure: Regenerated.
2957
273edc5e
RM
2958 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2959 defined. Don't check if MAP is NULL.
2960
c8450f70
JM
29612012-10-09 Joseph Myers <joseph@codesourcery.com>
2962
2963 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2964 (_G_stat64): Likewise.
2965 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2966 (_G_stat64): Likewise.
2967 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2968 instead of struct _G_stat64.
2969 * libio/fileops.c (mmap_remap_check): Likewise.
2970 (decide_maybe_mmap): Likewise.
2971 (_IO_new_file_seekoff): Likewise.
2972 (_IO_file_stat): Likewise.
2973 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2974 _G_off64_t.
2975 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2976 instead of struct _G_stat64.
2977 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2978
57e605ba
MK
29792012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2980
2981 [BZ #14602]
2982 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2983 Replace with ...
2984 (CHECK_EOL): New macro.
2985 (two_way_short_needle): Check beginning of haystack for EOL. Use
2986 CHECK_EOL.
2987 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2988 Replace with CHECK_EOL.
2989 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2990 Replace with CHECK_EOL.
2991
ef1bb361
JM
29922012-10-08 Joseph Myers <joseph@codesourcery.com>
2993
2994 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2995 type-generic.
2996 * math/libm-test.inc: Update comment listing what functions and
2997 macros are tested.
2998 (finite_test): New function.
2999 (isinf_test): Likewise.
3000 (isnan_test): Likewise.
3001 (fpclassify_test): Test subnormal input.
3002 (isfinite_test): Likewise.
3003 (isnormal_test): Likewise.
3004 (main): Call the new functions.
3005
55f11534
JN
30062012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3007
3008 [BZ #14660]
3009 * Makerules (%.dynsym): Force C locale when running
3010 $(OBJDUMP) --dynamic-syms.
3011
1ab29350
AS
30122012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3013
3014 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3015 <stdint.h>.
3016
f1ecb7ef
DM
30172012-10-06 David S. Miller <davem@davemloft.net>
3018
3019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3020 upper 32-bits of the length value in %o2 since we use branch-on-register
3021 tests which consider the entire 64-bit register.
3022
5d41d91a
L
30232012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 * string/test-strstr.c (check2): Add a test for page boundary.
3026
3baddb72
DM
30272012-10-05 David S. Miller <davem@davemloft.net>
3028
3029 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3031 file.
3032 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3033 sysdep_routines.
3034 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3035 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3036 and bzero when HWCAP_SPARC_CRYPTO is present.
3037
9cee5585
L
30382012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3039
d7e0dab9
L
3040 [BZ #14602]
3041 * string/test-strstr.c (check2): New function.
3042 (test_main): Call check2.
3043
03759f47
L
3044 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3045 and bug-strchr1.
3046 * string/bug-strcasestr1.c (do_test): Moved to ...
3047 * string/test-strcasestr.c (check1): Here. New function.
3048 (do_one_test): Break out result checking code into ...
3049 (check_result): This. New function.
3050 (do_one_test): Call check_result.
3051 (test_main): Call check1.
3052 * string/bug-strchr1.c (do_test): Moved to ...
3053 * string/test-strchr.c (check1): Here. New function.
3054 (do_one_test): Break out result checking code into ...
3055 (check_result): This. New function.
3056 (do_one_test): Call check_result.
3057 (test_main): Call check1.
3058 * string/bug-strstr1.c (main): Moved to ...
3059 * string/test-strchr.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-strcasestr1.c: Removed.
3065 * string/bug-strchr1.c: Likewise.
3066 * string/bug-strstr1.c: Likewise.
3067
53cea63e
L
3068 * elf/Makefile (dl-routines): Add hwcaps.
3069 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3070 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3071 (_dl_important_hwcaps): Moved to ...
3072 * elf/dl-hwcaps.c: Here. New file.
3073 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3074
9cee5585 3075 [BZ #14557]
bb859b06
L
3076 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3077 if IS_IN_rtld isn't defined.
3078
9cee5585
L
3079 * elf/dl-support.c (_dl_sysinfo_map): New.
3080 Include "get-dynamic-info.h" and "setup-vdso.h".
3081 (_dl_non_dynamic_init): Call setup_vdso.
3082 * elf/dynamic-link.h: Don't include <assert.h>.
3083 (elf_get_dynamic_info): Moved to ...
3084 * elf/get-dynamic-info.h: Here. New file.
3085 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3086 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3087 * elf/setup-vdso.h: Here. New file.
3088 * elf/rtld.c: Include "setup-vdso.h".
3089 (dl_main): Call setup_vdso.
3090
23c31b76
JM
30912012-10-05 Joseph Myers <joseph@codesourcery.com>
3092
28234b07
JM
3093 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3094 creal in comment listing functions tested. List finite, isinf,
3095 isnan, isless, islessequal, isgreater, isgreaterequal,
3096 islessgreater, isunordered, lgamma_r and pow10 as functions and
3097 macros not tested. Mention which functions not tested are aliases
3098 for other functions. Fix typo. Note that signs of NaNs are not
3099 tested.
3100
23c31b76
JM
3101 * scripts/config.guess: Update from config.git.
3102 * scripts/config.sub: Likewise.
3103
9043e228
RM
31042012-10-04 Roland McGrath <roland@hack.frob.com>
3105
3106 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3107 * misc/madvise.c (madvise): Renamed to __madvise.
3108 Make madvise a weak alias.
3109 * include/sys/mman.h: Declare __madvise.
3110 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3111 * sysdeps/unix/syscalls.list
3112 (madvise): Make __madvise the strong name, and madvise a weak alias.
3113 * sysdeps/unix/sysv/linux/syscalls.list
3114 (madvise, mmap): Remove redundant entries.
3115 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3116 * malloc/malloc.c (mtrim): Likewise.
3117 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3118
f57f8055
RM
31192012-10-03 Roland McGrath <roland@hack.frob.com>
3120
3121 * sysdeps/mach/hurd/dl-cache.c: File removed.
3122 * config.h.in (USE_LDCONFIG): New #undef.
3123 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3124 * configure: Regenerated.
3125 * elf/Makefile (dl-routines): Add dl-cache only under
3126 [$(use-ldconfig) = yes].
3127 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3128 cache on [USE_LDCONFIG].
3129 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3130 [USE_LDCONFIG].
3131 * elf/rtld.c (dl_main): Likewise.
3132
5bb0c10a
PT
31332012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3134
3135 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3136 _SC_LEVEL4_CACHE_LINESIZE.
3137
010188c6
RM
31382012-10-03 Roland McGrath <roland@hack.frob.com>
3139
3140 * sysdeps/unix/bsd/confstr.h: File removed.
3141
b6c5ec07
AO
31422012-10-02 Alexandre Oliva <aoliva@redhat.com>
3143
3144 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3145 sys/sdt-config.h.
3146
408223d4
RM
31472012-10-02 Roland McGrath <roland@hack.frob.com>
3148
3149 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3150 Make 'mapoff' field ElfW(Off) rather than off_t.
3151
bb9510dc
DL
31522012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3153
fc997c6e
DL
3154 * nscd/Makefile: Remove nscd-cflags and all its users.
3155 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3156 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3157
bb9510dc
DL
3158 [BZ #10631]
3159 * malloc.c (malloc_printerr): Clarify error message.
3160
05699367
L
31612012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3162
3163 [BZ #14648]
3164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3165 Set bit_FMA_Usable if FMA is supported.
3166 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3167 macro.
3168 (bit_FMA4_Usable): Updated.
3169 (index_FMA_Usable): New macro.
3170 (CPUID_FMA): Likewise
3171 (HAS_FMA): Defined with bit_FMA_Usable.
3172
51367701
RM
31732012-10-01 Roland McGrath <roland@hack.frob.com>
3174
3175 * bits/types.h (__swblk_t): Type removed.
3176 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3177 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3178 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3179 (__SWBLK_T_TYPE): Likewise.
3180 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3181 (__SWBLK_T_TYPE): Likewise.
3182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3183 (__SWBLK_T_TYPE): Likewise.
3184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3185 (__SWBLK_T_TYPE): Likewise.
3186
4d57bf63 31872012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3188 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3189
3190 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3191 (xdr_mapname): Use YPMAXMAP as maxsize.
3192 (xdr_peername): Use YPMAXPEER as maxsize.
3193 (xdr_keydat): Use YPAXRECORD as maxsize.
3194 (xdr_valdat): Use YPMAXRECORD as maxsize.
3195
93c65d43
RM
31962012-10-01 Roland McGrath <roland@hack.frob.com>
3197
497a03d6
RM
3198 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3199
93c65d43
RM
3200 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3201 * csu/init-first.c: ... here.
3202 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3203 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3204 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3205 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3206 * sysdeps/i386/init-first.c: File removed.
3207 * sysdeps/sh/init-first.c: File removed.
3208
bec749fd
JM
32092012-10-01 Joseph Myers <joseph@codesourcery.com>
3210
3211 [BZ #14645]
3212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3213 if x * y might underflow to zero and z is zero.
3214 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3215 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3216 * math/libm-test.inc (min_subnorm_value): New variable.
3217 (fma_test): Add more tests.
3218 (fma_test_towardzero): Likewise.
3219 (fma_test_downward): Likewise
3220 (fma_test_upward): Likewise.
3221 (initialize): Set min_subnorm_value.
3222
8ec5b013
JM
32232012-09-29 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #14638]
3226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3227 0 + 0.
3228 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3229 mode for addition resulting in exact zero.
3230 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3232 exact 0 + 0.
3233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3235 * math/libm-test.inc (fma_test): Add more tests.
3236 (fma_test_towardzero): New function.
3237 (fma_test_downward): Likewise.
3238 (fma_test_upward): Likewise.
3239 (main): Call the new functions.
3240
b1fa802e
DM
32412012-09-28 David S. Miller <davem@davemloft.net>
3242
3243 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3244
d3b9fd9e
RM
32452012-09-28 Roland McGrath <roland@hack.frob.com>
3246
ea4d37b3
RM
3247 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3248 instead of SIGALRM.
3249
ac51c949
RM
3250 * sysdeps/gnu/_G_config.h: Moved to ...
3251 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3252 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3253 * sysdeps/generic/_G_config.h: ... here.
3254
28c195f7
RM
3255 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3256
848917f9
RM
3257 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3258
6bacf05b
RM
3259 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3260 Conditionalize target on [libnss_test1.so-version].
3261
91363dbb
RM
3262 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3263
cc87f7d8
RM
3264 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3265 (elfobjdir): Move out of conditionals.
3266
b1c608fe
RM
3267 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3268 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3269 (__nss_lookup_function): Conditionalize label remove_from_tree on
3270 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3271
1d9a6d96
DM
32722012-09-28 David S. Miller <davem@davemloft.net>
3273
3274 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3276 file.
3277 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3278 sysdep_routines.
3279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3281 when HWCAP_SPARC_CRYPTO is present.
3282
72581615
PT
32832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3284
3285 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3286
715a900c
JL
32872012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3288
3289 [BZ #6530]
3290 * stdio-common/vfprintf.c (process_string_arg): Revert
3291 2000-07-22 change.
3292
32932011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3294
3295 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3296 for testcase.
3297 * stdio-common/tst-sprintf.c: Include <locale.h>
3298 (main): Test sprintf's handling of incomplete multibyte
3299 characters.
3300
9bac1d86
L
33012012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3302
3303 * elf/dl-runtime.c (VERSYMIDX): Removed.
3304 * elf/dl-version.c (VERSYMIDX): Likewise.
3305 * elf/do-rel.h (VERSYMIDX): Likewise.
3306 (VALIDX): Likewise.
3307 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3308 * elf/rtld.c (VALIDX): Likewise.
3309 (ADDRIDX): Likewise.
9bac1d86
L
3310 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3311 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3312 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3313 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3314 (VALIDX): Likewise.
3315 (ADDRIDX): Likewise.
9bac1d86 3316
b31606c0
PT
33172012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3318
3319 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3320
11541177
JL
33212012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3322
3323 [BZ #11438]
3324 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3325 to global scope.
3326 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3327 addresses are in the same scope as 192.0.2/24.
3328 * posix/gai.conf: Document new scope table defaults.
3329
adb26fae
SP
33302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3331
3332 [BZ #5298]
3333 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3334 for ftell. Compute offsets from write pointers instead.
3335 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3336
4573c6b0
SP
33372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3338
3339 [BZ #14543]
3340 * libio/Makefile (tests): New test case tst-fseek.
3341 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3342 combination works in wide mode.
3343 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3344 state when the external buffer state changes.
3345
aa9bbfe6
DM
33462012-09-27 David S. Miller <davem@davemloft.net>
3347
3348 [BZ #14376]
3349 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3350 pass reloc->r_addend in as the 'high' argument to
3351 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3352
784421e7
DM
3353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3354
c39bc8b8
PT
33552012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3356
3357 * rt/tst-aio2.c: Include <pthread.h>.
3358 * rt/tst-aio3.c: Likewise.
3359
1ccc2399
SE
33602012-09-27 Steve Ellcey <sellcey@mips.com>
3361
3362 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3363
31ed4153
L
33642012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3365
25f5f885
L
3366 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3367 contents on [SHARED].
31ed4153 3368
b7bfe116
MP
33692012-09-26 Marek Polacek <polacek@redhat.com>
3370
3371 [BZ #14530]
3372 [BZ #13741]
3373 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3374 for C++ and GCC <4.3 as well as for non GCC compilers.
3375
43c4edba
MT
33762012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3377
3378 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3379
6a1bf82f
RM
33802012-09-25 Roland McGrath <roland@hack.frob.com>
3381
3382 * Makefile.in (all, install): Declare with .PHONY.
3383 Reported by Michael Hope <michael.hope@linaro.org>.
3384
8ad11b9a
TMQMF
33852012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3386
3387 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3388 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3389 system header.
3390 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3391 Likewise.
3392 (sydep_routines): Add the new and the internal functions.
3393 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3394 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3396 (GLIBC_2.17): Add the new function.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3398 (GLIBC_2.17): Likewise.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3400 (GLIBC_2.17): Likewise.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3402 (GLIBC_2.17): Likewise.
3403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3404
7e2fca8d
AM
34052012-09-25 Alan Modra <amodra@gmail.com>
3406
3407 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3408 Add release barrier before setting once_control to say
3409 initialisation is done. Add hints on lwarx. Use macro in
3410 place of isync.
3411 (clear_once_control): Add release barrier.
3412
b87c4b24
JM
34132012-09-25 Joseph Myers <joseph@codesourcery.com>
3414
d032e0d2
JM
3415 [BZ #13629]
3416 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3417 specially.
3418 * math/s_clog10.c (__clog10): Likewise.
3419 * math/s_clog10f.c (__clog10f): Likewise.
3420 * math/s_clog10l.c (__clog10l): Likewise.
3421 * math/s_clogf.c (__clogf): Likewise.
3422 * math/s_clogl.c (__clogl): Likewise.
3423 * math/Makefile (libm-calls): Add x2y2m1.
3424 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3425 (__x2y2m1): Likewise.
3426 (__x2y2m1l): Likewise.
3427 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3428 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3429 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3430 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3431 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3432 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3433 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3434 * sysdeps/i386/fpu/libm-test-ulps: Update.
3435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3436
b87c4b24
JM
3437 [BZ #14621]
3438 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3439 int as type of variable DEPTH.
3440 (glob): Use size_t instead of int as type of variables NEWCOUNT
3441 and OLD_PATHC.
3442
6d3bf199
LD
34432012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3444
22bf5c17
LD
3445 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3446 Add s_sincosf-sse2.
3447 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3448 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3449 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3450 macros for using routine as __sincosf_ia32.
3451 Use macro for function declaration and weak_alias.
3452 * sysdeps/i386/fpu/libm-test-ulps: Update.
3453
3454 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3456
3457 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3458 subnormal argument.
3459 * math/s_cexpf.c (__cexpf): Likewise.
3460 * math/s_csinf.c (__csinf): Likewise.
3461 * math/s_csinhf.c (__csinhf): Likewise.
3462 * math/s_ctanf.c (__ctanf): Likewise.
3463 * math/s_ctanhf.c (__ctanhf): Likewise.
3464 * math/s_ccosh.c (__ccoshf): Likewise.
3465 * math/s_cexp.c (__cexpl): Likewise.
3466 * math/s_csin.c (__csin): Likewise.
3467 * math/s_csinh.c (__csinh): Likewise.
3468 * math/s_ctan.c (__ctan): Likewise.
3469 * math/s_ctanh.c (ctanh): Likewise.
3470 * math/s_ccoshl.c (__ccoshl): Likewise.
3471 * math/s_cexpl.c (__cexpl): Likewise.
3472 * math/s_csinl.c (__csinl): Likewise.
3473 * math/s_csinhl.c (__csinhl): Likewise.
3474 * math/s_ctanl.c (__ctanl): Likewise.
3475 * math/s_ctanhl.c (__ctanhl): Likewise.
3476
203e5603
JM
34772012-09-25 Joseph Myers <joseph@codesourcery.com>
3478
3479 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3480 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3481 (_IO_off_t): Define to __off_t, not _G_off_t.
3482 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3483 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3484 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3485 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3486 type of __dummy and __dummy2 fields.
3487 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3488 (_G_ssize_t): Likewise.
3489 (_G_off_t): Likewise.
3490 (_G_pid_t): Likewise.
3491 (_G_uid_t): Likewise.
3492 (_G_wchar_t): Likewise.
3493 (_G_wint_t): Likewise.
3494 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3495 (_G_ssize_t): Likewise.
3496 (_G_off_t): Likewise.
3497 (_G_pid_t): Likewise.
3498 (_G_uid_t): Likewise.
3499 (_G_wchar_t): Likewise.
3500 (_G_wint_t): Likewise.
3501 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3502 (_G_ssize_t): Likewise.
3503 (_G_off_t): Likewise.
3504 (_G_pid_t): Likewise.
3505 (_G_uid_t): Likewise.
3506 (_G_wchar_t): Likewise.
3507 (_G_wint_t): Likewise.
3508
9fab36eb
SP
35092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3510
3511 * malloc/arena.c: Include malloc-sysdep.h.
3512 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3513 is sufficient to shrink the heap or an unmap is needed.
3514 * sysdeps/generic/malloc-sysdep.h: New file. Define
3515 new function check_may_shrink_heap.
3516 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3517 new function check_may_shrink_heap.
3518
2b4f00d1
SP
35192012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3520
3521 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3522 comments.
3523
9a9028b1
DL
35242012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3525
57c69bef
DL
3526 * catgets/test-gencat.sh: Add "set -e".
3527 * elf/tst-pathopt.sh: Likewise.
3528 * grp/tst_fgetgrent.sh: Likewise.
3529 * iconvdata/run-iconv-test.sh: Likewise.
3530 * intl/tst-gettext.sh: Likewise.
3531 * intl/tst-gettext2.sh: Likewise.
3532 * intl/tst-gettext4.sh: Likewise.
3533 * intl/tst-gettext6.sh: Likewise.
3534 * intl/tst-translit.sh: Likewise.
3535 * io/ftwtest-sh: Likewise.
3536 * libio/test-freopen.sh: Likewise.
3537 * malloc/tst-mtrace.sh: Likewise.
3538 * posix/globtest.sh: Likewise.
3539 * posix/tst-getconf.sh: Likewise.
3540 * posix/wordexp-tst.sh: Likewise.
3541 * stdio-common/tst-printf.sh: Likewise.
3542 * stdio-common/tst-unbputc.sh: Likewise.
3543 * stdlib/tst-fmtmsg.sh: Likewise.
3544 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3545 * catgets/Makefile: Do not specify -e option when running
3546 testsuite shell scripts.
3547 * elf/Makefile: Likewise.
3548 * grp/Makefile: Likewise.
3549 * iconvdata/Makefile: Likewise.
3550 * intl/Makefile: Likewise.
3551 * io/Makefile: Likewise.
3552 * libio/Makefile: Likewise.
3553 * malloc/Makefile: Likewise.
3554 * posix/Makefile: Likewise.
3555 * stdio-common/Makefile: Likewise.
3556 * stdlib/Makefile: Likewise.
3557 * sysdeps/x86_64/Makefile: Likewise.
3558
9a9028b1
DL
3559 * io/ftwtest-sh: Add copyright header.
3560 * posix/globtest.sh: Likewise.
3561 * posix/tst-getconf.sh: Likewise.
3562 * posix/wordexp-tst.sh: Likewise.
3563 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3564
ced6f16e
L
35652012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3566
94b32c39
L
3567 [BZ #13679]
3568 * Makeconfig (+link): Defined as $(+link-static) if
3569 $(build-shared) isn't yes.
3570 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3571 isn't yes.
3572 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3573
189e935b
L
3574 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3575
ced6f16e
L
3576 [BZ #14562]
3577 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3578 new chunk size with MALLOC_ALIGN_MASK.
3579
a9f8e53a
JM
35802012-09-24 Joseph Myers <joseph@codesourcery.com>
3581
3582 [BZ #5044]
3583 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3584 <rounding-mode.h>.
3585 (__printf_fphex): Determine rounding using get_rounding_mode and
3586 round_away.
3587 * stdio-common/tst-printf-round.c (struct hex_test): New
3588 structure.
3589 (hex_tests): New variable.
3590 (test_hex_in_one_mode): New function.
3591 (do_test): Also run tests for hex float output.
3592
43153109
JM
35932012-09-21 Joseph Myers <joseph@codesourcery.com>
3594
3595 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3596 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3597 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3598 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3599 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3600 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3601 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3602 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3603
8a26625d
JM
36042012-09-20 Joseph Myers <joseph@codesourcery.com>
3605
3606 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3607 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3608 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3609 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3610
f3fd569c
DL
36112012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3612
3613 [BZ #14579]
3614 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3615 mode only.
3616 * elf/tst-rtld-load-self.sh: New test.
3617 * elf/Makefile: Run it.
3618
63bbedd4
JM
36192012-09-18 Joseph Myers <joseph@codesourcery.com>
3620
3621 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3622 (tst-writev-ENV): Remove.
3623 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3624
626f8b6a
CM
36252012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3626
3627 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3628
b7aaa4d6
JM
36292012-09-17 Joseph Myers <joseph@codesourcery.com>
3630
3631 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3632 unconditional.
3633 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3634 Likewise.
3635 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3636 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3637 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3638 Likewise.
3639
65513990
L
36402012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 [BZ #14587]
3643 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3644 * config.make.in (have-cpp-asm-debuginfo): Removed.
3645 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3646 * configure: Regenerated.
3647
784761be
JM
36482012-09-14 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #5044]
3651 * stdio-common/printf_fp.c: Include <stdbool.h> and
3652 <rounding-mode.h>.
3653 (___printf_fp): Determine rounding using get_rounding_mode and
3654 round_away.
3655 * stdio-common/tst-printf-round.c: New file.
3656 * stdio-common/Makefile (tests): Add tst-printf-round.
3657 (link-libm): New variable.
3658 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3659
9503345f
L
36602012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 [BZ #14576]
3663 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3664 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3665 Likewise.
3666 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3667 Likewise.
3668
ad35fc00
JM
36692012-09-13 Joseph Myers <joseph@codesourcery.com>
3670
3671 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3672 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3673 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3674 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3675
6c9b0f68
JM
36762012-09-12 Joseph Myers <joseph@codesourcery.com>
3677
3678 [BZ #14518]
3679 * include/rounding-mode.h: New file.
3680 * sysdeps/generic/get-rounding-mode.h: Likewise.
3681 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3682 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3683 (MAX_VALUE): New macro.
3684 (MIN_VALUE): Likewise.
3685 (overflow_value): New function.
3686 (underflow_value): Likewise.
3687 (round_and_return): Use overflow_value and underflow_value to
3688 determine return values in overflow and underflow cases. Use
3689 round_away to determine rounding depending on rounding mode.
3690 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3691 determine return values in overflow and underflow cases.
3692 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3693 (struct test_results): New structure.
3694 (struct test): Use struct test_results to store expected results
3695 for all rounding modes.
3696 (TEST): Include expected results for all rounding modes.
3697 (test_in_one_mode): New function.
3698 (do_test): Use test_in_one_mode to compute and check results.
3699 Check results for all rounding modes.
3700 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3701 $(link-libm).
3702
19fcedd5
AM
37032012-12-09 Allan McRae <allan@archlinux.org>
3704
1e9d84cd 3705 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3706
8bbfd2f1
JM
37072012-09-11 Joseph Myers <joseph@codesourcery.com>
3708
3709 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3710 (_G_int32_t): Likewise.
3711 (_G_uint16_t): Likewise.
3712 (_G_uint32_t): Likewise.
3713 (_G_HAVE_BOOL): Likewise.
3714 (_G_HAVE_ATEXIT): Likewise.
3715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3716 (_G_HAVE_IO_FILE_OPEN): Likewise.
3717 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3718 (_G_int32_t): Likewise.
3719 (_G_uint16_t): Likewise.
3720 (_G_uint32_t): Likewise.
3721 (_G_HAVE_BOOL): Likewise.
3722 (_G_HAVE_ATEXIT): Likewise.
3723 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3724 (_G_HAVE_IO_FILE_OPEN): Likewise.
3725 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3726 (_G_int32_t): Likewise.
3727 (_G_uint16_t): Likewise.
3728 (_G_uint32_t): Likewise.
3729 (_G_HAVE_BOOL): Likewise.
3730 (_G_HAVE_ATEXIT): Likewise.
3731 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3732 (_G_HAVE_IO_FILE_OPEN): Likewise.
3733
b1dc5912
L
37342012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3735
3736 * csu/libc-tls.c: Update copyright years.
3737
0e886ef9
JM
37382012-09-10 Joseph Myers <joseph@codesourcery.com>
3739
28361c5e
JM
3740 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3741 [!_G_USING_THUNKS]: Remove conditional code.
3742 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3743 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3744
0e886ef9
JM
3745 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3746 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3747 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3748 (_G_VTABLE_LABEL_PREFIX): Likewise.
3749 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3750 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3751 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3752 (_G_VTABLE_LABEL_PREFIX): Likewise.
3753 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3754 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3755 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3756 (_G_VTABLE_LABEL_PREFIX): Likewise.
3757 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3758
bcba7aa2
L
37592012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 * libio/Makefile: Include ../Makeconfig before tests.
3762 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3763 only if $(build-shared) is yes.
3764
06585ee8
L
3765 * iconv/gconv_db.c: Update copyright years.
3766
80ccd52c
LD
37672012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3768
3769 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3770 unwind info if defined PIC. Fix special cases description.
3771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3772
3773 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3774 DP_HI_MASK entry.
3775 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3776
691bc9c1
L
37772012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3778
3d9b46b3
L
3779 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3780
de2139a9
L
3781 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3782 is NULL.
3783
5ca78dd0
L
3784 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3785 (LDLIBS-tst-chk4): This.
3786 (LDFLAGS-tst-chk5): Renamed to ...
3787 (LDLIBS-tst-chk5): This.
3788 (LDFLAGS-tst-chk6): Renamed to ...
3789 (LDLIBS-tst-chk6): This.
3790 (LDFLAGS-tst-lfschk4): Renamed to ...
3791 (LDLIBS-tst-lfschk4): This.
3792 (LDFLAGS-tst-lfschk5): Renamed to ...
3793 (LDLIBS-tst-lfschk5): This.
3794 (LDFLAGS-tst-lfschk6): Renamed to ...
3795 (LDLIBS-tst-lfschk6): This.
3796
691bc9c1
L
3797 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3798 on $(common-objpfx)soversions.mk.
3799
65cafb1c
JM
38002012-09-07 Joseph Myers <joseph@codesourcery.com>
3801
3802 [BZ #10014]
3803 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3804 example host name.
3805
c78ab094
SP
38062012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3807
3808 * malloc/arena.c (arena_get_retry): New function that gets
3809 another arena for the caller to try its request on.
3810 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3811 current arena cannot fulfill the request.
3812 (__libc_memalign): Likewise.
3813 (__libc_memalign): Likewise.
3814 (__libc_pvalloc): Likewise.
3815 (__libc_calloc): Likewise.
3816
01f49f59
JT
38172012-09-05 John Tobey <john.tobey@gmail.com>
3818
3819 [BZ #13542]
3820 * manual/arith.texi (Operations on Complex): Fix description
3821 of carg branch cut.
3822
4c23fed5
JM
38232012-09-06 Joseph Myers <joseph@codesourcery.com>
3824
1d3c8572
JM
3825 [BZ #10014]
3826 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3827 host name.
3828
4c23fed5
JM
3829 [BZ #10038]
3830 * manual/memory.texi (Memory): Make order of menu items match
3831 order of sections.
3832
04570aaa
L
38332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3834
3835 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3836 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3837 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3838
b80af2f4
L
38392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * csu/libc-tls.c (static_dtv): Renamed to ...
3842 (_dl_static_dtv): This. Make it global.
3843 (_dl_initial_dtv): Removed.
3844 (__libc_setup_tls): Updated.
3845 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3846 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3847 DL_INITIAL_DTV.
3848
2abe9f15
PM
38492012-09-06 Petr Machata <pmachata@redhat.com>
3850
3851 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3852 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3853 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3854 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3855
0948c3af
L
38562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 [BZ #14545]
3859 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3860 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3861 freeing dtv[-1].
3862
a5055ad1
L
38632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 [BZ #14544]
3866 * Makeconfig (link-static-before-libc): Replace $(+prector)
3867 with $(+prectorT).
3868 (link-static-after-libc): Replace $(+postctor) with
3869 $(+postctorT).
3870 (link-bounded): Replace $(+prector)/$(+postctor) with
3871 $(+prectorT)/$(+postctorT).
3872 (+prectorT): New macro.
3873 (+postctorT): Likewise.
3874
ed8c2ecd
JM
38752012-09-06 Joseph Myers <joseph@codesourcery.com>
3876
3877 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3878 (round_str): Handle values above the maximum for IBM long double
3879 as inexact.
3880 * stdlib/tst-strtod-round.c (tests): Regenerated.
3881
14c996c8
AK
38822012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3883
3884 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3885 assembler flag.
3886 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3887 zarch_nohighgprs around the zarch optimized routines.
3888 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3889 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3890 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3891 for zarch.
3892
430d6ce6
DM
38932012-09-05 David S. Miller <davem@davemloft.net>
3894
3895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3896
ff04dda4
DM
3897 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3898 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3899 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3900 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3901 entries.
3902
24d4e01b
AO
39032012-09-05 Alexandre Oliva <aoliva@redhat.com>
3904
3905 * malloc/arena.c: Fold copyright years.
3906 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3907
61d58174
AO
39082012-09-05 Alexandre Oliva <aoliva@redhat.com>
3909
3910 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3911
20196a5e
AO
39122012-09-05 Alexandre Oliva <aoliva@redhat.com>
3913
3914 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3915
5c447383
AO
39162012-09-05 Alexandre Oliva <aoliva@redhat.com>
3917
3918 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3919 change internal state upon failure.
3920
fad64255
AO
39212012-09-05 Alexandre Oliva <aoliva@redhat.com>
3922
3923 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3924 * malloc/memusage.c (mmap): Likewise.
3925 (mmap64, mremap): Likewise. Adjust name in comment.
3926
1ffb8c90
SP
39272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3928
3929 * libio/fileops.c: Fix typos in comments.
3930 * libio/oldfileops.c: Likewise.
3931 * libio/wfileops.c: Likewise.
3932
6ef9cc37
SP
39332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3934
3935 [BZ #1349]
3936 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3937 (tst-malloc-usable-ENV): Set environment for test case.
3938 * malloc/hooks.c (malloc_check_get_size): New function to get
3939 requested size.
3940 * malloc/malloc.c (musable): Use malloc_check_get_size.
3941 * malloc/tst-malloc-usable.c: New test case.
3942
4d038ae3
AS
39432012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3944
3945 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3946
c4e85184
AM
39472012-09-05 Allan McRae <allan@archlinux.org>
3948
b9dafc56 3949 [BZ #13966]
c4e85184
AM
3950 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3951 determine header location.
3952 * configure: Regenerated.
3953
e1343020
AS
39542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3955
3956 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3957 float format.
3958 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3959 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3960 format.
e1343020
AS
3961 (test): Regenerate.
3962
0a9f1987
DM
39632012-09-04 David S. Miller <davem@davemloft.net>
3964
3965 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3966 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3967 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3968
29237804
FW
39692012-09-04 Florian Weimer <fweimer@redhat.com>
3970
3971 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3972 failures.
3973
edb3cb88
FW
3974 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3975
60160d83
JM
39762012-09-04 Joseph Myers <joseph@codesourcery.com>
3977
3978 [BZ #9914]
3979 * libio/iogetdelim.c: Include <limits.h>.
3980 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3981 + len + 1 would overflow.
3982
bcd6c8dc
AJ
39832012-09-03 Andreas Jaeger <aj@suse.de>
3984
3985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3986 * sysdeps/i386/fpu/libm-test-ulps: Update.
3987
4ffffbd2
LD
39882012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3989
3990 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3991 Add s_sinf-sse2, s_conf-sse2.
3992
3993 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3994 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3995 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3996 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3997
3998 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3999 for using routine as __sinf_ia32.
4000 Use macro for function declaration and weak_alias.
4001 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4002 for using routine as __cosf_ia32.
4003 Use macro for function declaration and weak_alias.
4004
4005 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4006 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4007
4008 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4009 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4011
4012 * math/libm-test.inc (cos_test): Add more test cases.
4013 (sin_test): Likewise.
4014 (sincos_test): Likewise.
4015
511fa286
AK
40162012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4017
4018 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4019 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4020 hidden.
4021 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4022
5f30cfec
L
40232012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4024
4025 [BZ #14538]
4026 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4027 first element of the GOT.
4028 (elf_machine_load_address): Return the difference between
4029 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4030
0786794f
AM
40312012-09-01 Allan McRae <allan@archlinux.org>
4032
5f30cfec
L
4033 [BZ #13412]
4034 * configure.in (AWK): Require gawk version 3.0 or later.
4035 * configure: Regenerated.
0786794f 4036
26889eac
JM
40372012-09-01 Joseph Myers <joseph@codesourcery.com>
4038
4039 * sysdeps/unix/sysv/linux/kernel-features.h
4040 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4041 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4042 [__NR_clock_getres]: Make code unconditional.
4043 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4044 (clock_getcpuclockid): Remove code left unreachable by removal of
4045 conditionals.
4046 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4047 code unconditional.
4048 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4049 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4050 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4051 Make code unconditional.
4052 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4053 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4054 * sysdeps/unix/sysv/linux/clock_settime.c
4055 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4056 conditional code.
4057 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4058 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4059
d22e28b0
L
40602012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4061
4062 [BZ #14476]
4063 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4064 scripts/test-installation.pl.
4065
4066 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4067 and $ld_so_version if it is set.
4068
050af9c4
SP
40692012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4070
4071 [BZ #14516]
4072 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4073 failure if reading from procfs failed.
4074 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4075
ad845c0b
JM
40762012-08-27 Joseph Myers <joseph@codesourcery.com>
4077
4078 * sysdeps/unix/sysv/linux/kernel-features.h
4079 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4080 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4081 Remove conditional code.
4082 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4083 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4084 Remove conditional code.
4085 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4086 * sysdeps/unix/sysv/linux/i386/fxstat.c
4087 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4088 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4089 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4090 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4092 * sysdeps/unix/sysv/linux/i386/lxstat.c
4093 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4094 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4095 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4096 Remove conditional code.
4097 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4098 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4099 Remove conditional code.
4100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4101 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4102 <kernel-features.h>.
4103 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4104 Remove.
4105 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4106 Remove conditional code.
4107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4108 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4109 Remove conditional.
4110
5dbf56af
MF
41112012-08-27 Mike Frysinger <vapier@gentoo.org>
4112
4113 [BZ #5400]
4114 * NEWS: Add fixed bug number.
4115
d6e70f43
JM
41162012-08-27 Joseph Myers <joseph@codesourcery.com>
4117
7efb4737
JM
4118 [BZ #14519]
4119 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4120 underflowing exponent in case of negative sign.
4121 * stdlib/tst-strtod-round-data: Add more tests.
4122 * stdlib/tst-strtod-round.c (tests): Regenerated.
4123
af92131a
JM
4124 [BZ #3479]
4125 * stdlib/strtod_l.c (NDIG): Remove.
4126 (HEXNDIG): Likewise.
4127 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4128 smallest representable value.
4129 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4130 lie within an exact representation of 1/2 ulp of the result.
4131 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4132 unconditionally.
4133 (TENS_P9_IDX): Define unconditionally.
4134 (TENS_P9_SIZE): Likewise.
4135 (TENS_P10_IDX): Likewise.
4136 (TENS_P10_SIZE): Likewise.
4137 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4138 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4139 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4140 entries for 10^2^13 and 10^2^14.
4141 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4142 (TENS_P13_IDX): Define.
4143 (TENS_P13_SIZE): Likewise.
4144 (TENS_P14_IDX): Likewise.
4145 (TENS_P14_SIZE): Likewise.
4146 (_fpioconst_pow10): Change array size to
4147 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4148 unconditional.
4149 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4150 1024]: Add entries for 10^2^13 and 10^2^14.
4151 [LAST_POW10 > _LAST_POW10]: Remove #error.
4152 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4153 (_fpioconst_pow10): Change array size to
4154 FPIOCONST_POW10_ARRAY_SIZE.
4155 * stdlib/gen-fpioconst.c: New file.
4156 * stdlib/gen-tst-strtod-round.c: Likewise.
4157 * stdlib/tst-strtod-round-data: Likewise.
4158 * stdlib/tst-strtod-round.c: Likewise.
4159 * stdlib/Makefile (tests): Add tst-strtod-round.
4160
d6e70f43
JM
4161 [BZ #14459]
4162 * stdlib/strtod_l.c: Include <stdint.h>.
4163 (NDEBUG): Do not define.
4164 (round_and_return): Change EXPONENT parameter to type intmax_t.
4165 Rearrange calculations to avoid internal overflow possibilities.
4166 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4167 Rearrange calculations to avoid internal overflow possibilities.
4168 Assert that number fits inside MPNSIZE limbs.
4169 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4170 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4171 calculations and add assertions to avoid internal overflow
4172 possibilities. Add casts to avoid signed/unsigned operations.
4173 * stdlib/tst-strtod-overflow.c: New file.
4174 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4175
1f529f7d
MP
41762012-08-25 Marek Polacek <polacek@redhat.com>
4177
4178 * time/time.h: Fix some typos in comments.
4179
59a629f1
RM
41802012-08-23 Roland McGrath <roland@hack.frob.com>
4181
4182 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4183 * posix/tst-rfc3484-2.c: Likewise.
4184 * posix/tst-rfc3484-3.c: Likewise.
4185
d3bafbc9
SM
41862012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4187
4188 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4189 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4190
4efcc022
JM
41912012-08-23 Joseph Myers <joseph@codesourcery.com>
4192
4193 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4194 #include of fxstatat64.c.
4195
3cc3ef96
RM
41962012-08-22 Roland McGrath <roland@hack.frob.com>
4197
f04e2132
RM
4198 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4199 * shadow/getspent_r.c: Likewise.
4200 * shadow/getspnam.c: Likewise.
4201 * shadow/getspnam_r.c: Likewise.
4202 * gshadow/getsgent.c: Likewise.
4203 * gshadow/getsgent_r.c: Likewise.
4204 * gshadow/getsgnam.c: Likewise.
4205 * gshadow/getsgnam_r.c: Likewise.
4206 * inet/getnetbyad.c: Likewise.
4207 * inet/getnetbyad_r.c: Likewise.
4208 * inet/getnetbynm.c: Likewise.
4209 * inet/getnetbynm_r.c: Likewise.
4210 * inet/getnetent.c: Likewise.
4211 * inet/getnetent_r.c: Likewise.
4212 * inet/getproto.c: Likewise.
4213 * inet/getproto_r.c: Likewise.
4214 * inet/getprtent.c: Likewise.
4215 * inet/getprtent_r.c: Likewise.
4216 * inet/getprtname.c: Likewise.
4217 * inet/getprtname_r.c: Likewise.
4218 * inet/getrpcbyname.c: Likewise.
4219 * inet/getrpcbyname_r.c: Likewise.
4220 * inet/getrpcbynumber.c: Likewise.
4221 * inet/getrpcbynumber_r.c: Likewise.
4222 * inet/getrpcent.c: Likewise.
4223 * inet/getrpcent_r.c: Likewise.
4224 * inet/getaliasent.c: Likewise.
4225 * inet/getaliasent_r.c: Likewise.
4226 * inet/getaliasname.c: Likewise.
4227 * inet/getaliasname_r.c: Likewise.
4228 * nscd/getgrgid_r.c: Likewise.
4229 * nscd/getgrnam_r.c: Likewise.
4230 * nscd/gethstbyad_r.c: Likewise.
4231 * nscd/gethstbynm3_r.c: Likewise.
4232 * nscd/getpwnam_r.c: Likewise.
4233 * nscd/getpwuid_r.c: Likewise.
4234 * nscd/getsrvbynm_r.c: Likewise.
4235 * nscd/getsrvbypt_r.c: Likewise.
4236 * nscd/gai.c: Likewise.
4237
c53d909c
RM
4238 * configure.in (build_nscd): New substituted variable, set
4239 by --disable-build-nscd and defaults to $use_nscd.
4240 * configure: Regenerated.
4241 * config.make.in (build-nscd): New substituted variable.
4242 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4243 Change conditional to require [$(build-nscd) = yes] as well.
4244 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4245
3cc3ef96
RM
4246 [BZ# 13696]
4247 * configure.in (use_nscd): New substituted variable, set by
4248 --disable-nscd. If enabled, define USE_NSCD.
4249 * configure: Regenerated.
4250 * config.h.in: Add USE_NSCD.
4251 * config.make.in (use-nscd): New substituted variable.
4252 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4253 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4254 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4255 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4256 (CFLAGS-getgrnam_r.c): Likewise.
4257 (CFLAGS-initgroups.c): Likewise.
4258 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4259 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4260 Variables removed.
4261 * inet/getnetgrent_r.c
4262 (nscd_setnetgrent): New function, broken out of ...
4263 (setnetgrent): ... here. Call it.
4264 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4265 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4266 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4267 * nscd/Makefile (routines, aux): Move definitions after include of
4268 Makeconfig. Conditionalize on [$(use-nscd) != no].
4269 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4270 Conditionalize on [USE_NSCD].
4271 (is_nscd, nscd_init_cb): Likewise.
4272 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4273 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4274 * nss/nss_db/db-init.c: Likewise.
4275 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4276 [USE_NSCD].
4277 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4278 (make_request): Use it.
4279 (cache_valid_p): New function.
4280 (__check_pf): Use it.
4281 * NEWS: Add item for --disable-nscd.
4282
07e51550
DL
42832012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4284
4285 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4286 to support sed >= 4.2.1-20-ga9bf076.
4287 * configure: Regenerated.
4288
35a5b08b
RM
42892012-08-22 Roland McGrath <roland@hack.frob.com>
4290
4291 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4292 Conditionalize whole body on [IREL].
4293
8479f23a
JL
42942012-08-22 Jeff Law <law@redhat.com>
4295
4296 [BZ #14505]
4297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4298 if the family is PF_UNSPEC.
4299
48da0b21
MF
43002012-08-22 Mike Frysinger <vapier@gentoo.org>
4301
4302 * Makerules (lib-version): Rename from V.
4303 (install-lib-nosubdir): Change V to lib-version.
4304
15d0da8c
WS
43052012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4306
4307 [BZ #14252]
4308 * powerpc32/power6/wcschr.c: New file.
4309 * powerpc32/power6/wcscpy.c: New file.
4310 * powerpc32/power6/wcsrchr.c: New file.
4311 * powerpc64/power6/wcschr.c: New file.
4312 * powerpc64/power6/wcscpy.c: New file.
4313 * powerpc64/power6/wcsrchr.c: New file.
4314
bcca0895
MK
43152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4316
4317 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4318 (two_way_short_needle): Use it.
5a4aaa33
RM
4319 * string/strstr.c (AVAILABLE1_USES_J): Define.
4320 * string/strcasestr.c: Likewise.
99677e57
MK
4321
4322 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4323 array references.
4324 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4325
400726de
MK
4326 [BZ #11607]
4327 * NEWS: Add an entry.
4328 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4329 define their defaults.
4330 (two_way_short_needle): Detect end-of-string on-the-fly.
4331 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4332 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4333 * string/bug-strcasestr1.c: New test.
4334 * string/Makefile: Run it.
4335
20a71f2c
MK
43362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4337
4338 [BZ #11607]
4339 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4340 the first character.
4341
21ad0558
RM
43422012-08-21 Roland McGrath <roland@hack.frob.com>
4343
4344 * csu/elf-init.c (__libc_csu_irel): Function removed.
4345 * csu/libc-start.c (apply_irel): New function.
4346 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4347
0e1d9911
JM
43482012-08-21 Joseph Myers <joseph@codesourcery.com>
4349
4350 * sysdeps/unix/sysv/linux/kernel-features.h
4351 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4352 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4353 <kernel-features.h>.
4354 [__NR_fadvise64_64]: Make code unconditional.
4355 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4356 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4357 !__NR_fadvise64_64)]: Likewise.
4358 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4359 !__NR_fadvise64_64))]: Likewise.
4360 [__NR_fadvise64]: Make code unconditional.
4361 [!__NR_fadvise64]: Remove conditional code.
4362 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4363 <kernel-features.h>.
4364 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4365 unconditional.
4366 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4367 conditional code.
4368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4369 not include <kernel-features.h>.
4370 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4371 unconditional.
4372 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4373 conditional code.
4374 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4375 include <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
14a50c9d
WS
43812012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4382
4383 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4384 slight instruction rearrangements per scrollpipe analysis.
4385 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4386
c0f4faf0
RM
43872012-08-20 Roland McGrath <roland@hack.frob.com>
4388
696da859
RM
4389 * manual/syslog.texi (syslog; vsyslog, closelog):
4390 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4391 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4392
c0f4faf0
RM
4393 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4394 DSOCAPS to match condition on defining it.
4395
348363b2
JM
43962012-08-20 Joseph Myers <joseph@codesourcery.com>
4397
a35cbf28
JM
4398 * sysdeps/unix/sysv/linux/kernel-features.h
4399 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4401 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4402 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4404 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4405 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4407 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4408 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4409
445f7ecd
JM
4410 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4411 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4412
348363b2
JM
4413 * sysdeps/unix/sysv/linux/kernel-features.h
4414 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4415 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4416 unconditional.
4417 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4418 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4419 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4420 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4421 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4422 Make code unconditional.
4423 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4424 (__mmap64) [!__NR_mmap2]: Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4426 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4427 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4429 [__NR_mmap2]: Make code unconditional.
4430 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4431 (__mmap64) [!__NR_mmap2]: Likewise.
4432
bc5bc0e5
AK
44332012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4434
4435 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4436
88d506de
AJ
44372012-08-18 Andreas Jaeger <aj@suse.de>
4438
4439 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4440
493387d2
MF
44412012-08-18 Mike Frysinger <vapier@gentoo.org>
4442
4443 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4444 * include/unistd.h (__have_sock_cloexec): Likewise.
4445 (__have_pipe2): Likewise.
4446 (__have_dup3): Likewise.
4447
a277af22
MF
44482012-08-18 Mike Frysinger <vapier@gentoo.org>
4449
4450 [BZ #9685]
4451 * include/unistd.h (__have_pipe2): Change define into an extern int.
4452 (__have_dup3): Likewise.
4453 * socket/have_sock_cloexec.c: Include fcntl.h.
4454 (__have_pipe2): New variable.
4455 (__have_dup3): Likewise.
4456
fdab8fd3
MF
44572012-08-17 Mike Frysinger <vapier@gentoo.org>
4458
4459 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4460
31035e80
MP
44612012-08-17 Marek Polacek <polacek@redhat.com>
4462
4463 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4464 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4465
3bd9e993
RM
44662012-08-17 Roland McGrath <roland@hack.frob.com>
4467
c91c505f
RM
4468 * configure.in: Add AC_SUBST for sysheaders.
4469 * configure: Regenerated.
4470 * config.make.in (sysheaders): New substituted variable.
4471
7c6f9d53
RM
4472 * sysdeps/unix/mkfifo.c: Moved ...
4473 * sysdeps/posix/mkfifo.c: ... here.
4474 * sysdeps/unix/mkfifoat.c: Moved ...
4475 * sysdeps/posix/mkfifoat.c: ... here.
4476
4477 * sysdeps/unix/utime.c: Moved ...
4478 * sysdeps/posix/utime.c: ... here.
4479
4480 * sysdeps/unix/time.c: Moved ...
4481 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4482 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4483 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4484
4485 * sysdeps/unix/nice.c: Moved ...
4486 * sysdeps/posix/nice.c: ... here.
4487
4488 * sysdeps/unix/alarm.c: Moved ...
4489 * sysdeps/posix/alarm.c: ... here.
4490
3bd9e993
RM
4491 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4492
d1f09384
JL
44932012-08-17 Jeff Law <law@redhat.com>
4494
4495 * intl/Makefile (codeset_mo): New variable.
4496 ($(codeset_mo)): New target.
4497 (tst-codeset.out): Depend on that. Remove explicit rule.
4498 (tst-gettext3.out, tst-gettext5.out): Likewise.
4499 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4500 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4501 * intl/tst-codeset.sh: Remove.
4502 * intl/tst-gettext3.sh: Likewise.
4503 * intl/tst-gettext5.sh: Likewise.
4504
2ae1ae5c
RM
45052012-08-17 Roland McGrath <roland@hack.frob.com>
4506
c31fdb83
RM
4507 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4508 * sysdeps/unix/syscalls.list: ... here.
4509
a0844057
RM
4510 * sysdeps/posix/getaddrinfo.c
4511 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4512 (gaiconf_init, gaiconf_reload): Use them.
4513 [!_STATBUF_ST_NSEC]
4514 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4515 Define using time_t rather than struct timespec.
4516
750c1f2a
RM
4517 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4518 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4519 Macros removed.
4520 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4521 [!NO_THREADS].
4522 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4523 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4524 Likewise.
4525
2ae1ae5c
RM
4526 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4527 __libc_cleanup_push argument.
4528
e66a42f5
RM
4529 * bits/param.h: New file.
4530 * misc/sys/param.h: New file.
4531 * include/sys/param.h: New file.
4532 * misc/Makefile (headers): Add bits/param.h.
4533 * sysdeps/generic/sys/param.h: File removed.
4534 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4535 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4536 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4537 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4538
b7c08a66
RM
4539 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4540 last change.
4541
b2e1c562
RM
4542 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4543 [_IO_MTSAFE_IO].
4544 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4545 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4546 New macros.
4547
c75ccd4c
RM
4548 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4549 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4550 rather than -D_IO_MTSAFE_IO conditionally.
4551 * stdio-common/Makefile (CPPFLAGS): Likewise.
4552 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4553 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4554 Use $(libio-mtsafe).
4555 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4556 of -D_IO_MTSAFE_IO.
4557 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4558 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4559 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4560 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4561 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4562 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4563 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4564 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4565 (CFLAGS-fread_u_chk.c): Likewise.
4566 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4567 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4568 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4569 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4570 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4571 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4572 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4573 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4574 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4575
4576 * libio/Makefile: Test [$(libc-reentrant) = yes]
4577 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4578
4579 * Makeconfig
4580 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4581 * sysdeps/pthread/configure: File removed.
4582 * sysdeps/pthread/Makeconfig: New file.
4583 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4584 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4585
d9195db8
GB
45862012-08-16 Gary Benson <gbenson@redhat.com>
4587
4588 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4589 unmapping the first object in a namespace.
4590
86466cd9
RM
45912012-08-16 Roland McGrath <roland@hack.frob.com>
4592
4593 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4594 (__internal_setnetgrent): ... this. Add internal_function to
4595 definition. Add libc_hidden_def.
4596 (setnetgrent): Update caller.
4597 (internal_endnetgrent): Renamed to ...
4598 (__internal_endnetgrent): ... this. Add internal_function to
4599 definition. Add libc_hidden_def.
4600 (endnetgrent): Update caller.
4601 (internal_getnetgrent_r): Renamed to ...
4602 (__internal_getnetgrent_r): ... this. Add internal_function to
4603 definition. Add libc_hidden_def.
4604 (__getnetgrent_r): Update caller.
4605 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4606
c3c8283c
JM
46072012-08-16 Joseph Myers <joseph@codesourcery.com>
4608
4609 * stdlib/longlong.h: Update from GCC.
4610
db1ee0a8
RM
46112012-08-16 Roland McGrath <roland@hack.frob.com>
4612
4613 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4614 on _QL, which is set by umul_ppmm but never used.
4615 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4616 variables, which are set by GMP macros but never used.
4617 * stdio-common/_itowa.c (_itowa): Likewise.
4618 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4619 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4620
30f69637
CD
46212012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4622
4623 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4624 struct La_sh_regs is not constant.
4625 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4626 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4627 and struct La_sparc64_regs are not constant.
4628
93a78ac4
JM
46292012-08-16 Joseph Myers <joseph@codesourcery.com>
4630
4631 * sysdeps/unix/sysv/linux/kernel-features.h
4632 (__ASSUME_POSIX_TIMERS): Remove.
4633 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4634 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4635 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4636 Make code unconditional.
4637 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4638 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4639 Make code unconditional.
4640 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4641 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4642 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4643 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4644 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4645 Make code unconditional.
4646 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4647 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4648 (__libc_missing_posix_timers): Remove.
4649
dd924cd7
RM
46502012-08-15 Roland McGrath <roland@hack.frob.com>
4651
4b4f2771
RM
4652 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4653 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4654
601c888b
RM
4655 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4656
176790a7
RM
4657 * elf/dl-sym.c: Include <stdlib.h>.
4658
329bc018
RM
4659 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4660 constants, which avoids warnings in 32-bit builds.
4661
e04e272d
RM
4662 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4663 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4664
952bf94a
RM
4665 * misc/lseek.c: File moved to ...
4666 * io/lseek.c: ... here.
4667
7c99b50a
RM
4668 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4669
dd924cd7
RM
4670 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4671 shifting LEN more than 31 bits at once.
4672
b3f479a8
LD
46732012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4674
4675 [BZ #14195]
8c4ae0d4
RM
4676 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4677 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4678 * string/test-strncasecmp.c (check1): Renamed to...
4679 (bz12205): ...this.
4680 (bz14195): Add new testcase for two empty input strings and N > 0.
4681 (test_main): Call new testcase, adapt for renamed function.
4682
9c55864e
AJ
46832012-08-15 Andreas Jaeger <aj@suse.de>
4684
4685 [BZ #14090]
4686 * crypt/md5test2.c: New test, based on test supplied by Serge
4687 Belyshev <belyshev@depni.sinp.msu.ru>.
4688 * crypt/Makefile (xtests): Add md5test-giant..
4689 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4690
02dcb6c5
PE
46912012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4692
4693 [BZ #14090]
4694 * crypt/md5.c (md5_process_block): Don't assume the buffer
4695 length is less than 2**32.
4696 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4697 length is less than 2**64.
4698
a3f95dcc
RM
46992012-08-15 Roland McGrath <roland@hack.frob.com>
4700
be75d758
RM
4701 * string/str-two-way.h: Include <sys/param.h>.
4702 (MAX): Macro removed.
4703
7312ca90
RM
4704 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4705 Move #define and #undef of memmove to just before and after
4706 including <string.h>.
4707
9a0a5486
RM
4708 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4709 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4710 and after including <string.h>. Move declarations of
4711 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4712 to before #include "string/memmove.c".
4713
67cc348d
RM
4714 * include/dirent.h: Declare __getdirentries.
4715
a3f95dcc
RM
4716 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4717 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4718
ca98e171
MF
47192012-08-14 Mike Frysinger <vapier@gentoo.org>
4720
4721 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4722 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4723 * sysdeps/i386/configure: Regenerated.
4724 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4725 STABS_CURRENT_FILE, and STABS_FUN.
4726 (END): Remove call to STABS_FUN_END.
4727 (STABS_CURRENT_FILE1): Delete.
4728 (STABS_CURRENT_FILE): Likewise.
4729 (STABS_FUN): Likewise.
4730 (STABS_FUN_END): Likewise.
4731 (STABS_FUN2): Likewise.
4732 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4733 * sysdeps/x86_64/configure: Regenerated.
4734
5908bf46
RM
47352012-08-14 Roland McGrath <roland@hack.frob.com>
4736
4737 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4738 * elf/dl-lookup.c: Likewise.
5908bf46 4739
f2c05b9e
JM
47402012-08-14 Joseph Myers <joseph@codesourcery.com>
4741
4742 * sysdeps/unix/sysv/linux/kernel-features.h
4743 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4744 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4745 unconditionally.
4746 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4747 unconditionally.
4748 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4749 condition on __ASSUME_CLONE_THREAD_FLAGS.
4750
e11f5155
AJ
47512012-08-14 Andreas Jaeger <aj@suse.de>
4752
4753 * sysdeps/i386/fpu/libm-test-ulps: Update.
4754
51a9ba86
MK
47552012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4756
2fdd4f78
AJ
4757 * include/atomic.h (atomic_exchange_and_add): Split into ...
4758 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4759 New atomic macros.
51a9ba86 4760
ba6cba9e
MT
47612012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4762
4763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4764
42443a47
JL
47652012-08-13 Jeff Law <law@redhat.com>
4766
4767 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4768 null byte in the output string.
4769
121dce05
JM
47702012-08-10 Joseph Myers <joseph@codesourcery.com>
4771
4772 * sysdeps/unix/sysv/linux/kernel-features.h
4773 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4774 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4775 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4776 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4777 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4778 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4779 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4780
bf51f568
JL
47812012-08-09 Jeff Law <law@redhat.com>
4782
4783 [BZ #13939]
4784 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4785 When avoid_arena is set, don't retry in the that arena. Pick the
4786 next one, whatever it might be.
4787 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4788 (arena_lock): Pass in new parameter to arena_get2.
4789 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4790 arena_get2.
4791 (__libc_malloc): Unify retrying after main arena failure with
4792 __libc_memalign version.
4793 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4794
f85fa270
L
47952012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4796
4797 [BZ #14166]
4798 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4799 to __redirect_strstr.
4800 (__strstr_sse42): Use typeof __redirect_strstr.
4801 (__strstr_ia32): Likewise.
4802 (__libc_strstr): New prototype.
4803 (strstr): Renamed to ...
4804 (__libc_strstr): This.
4805 (strstr): New strong alias of __libc_strstr.
4806 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4807 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4808 __redirect_time.
4809 Include <time.h>.
4810 (__libc_time): New prototype.
4811 (time_ifunc): Replace time with __libc_time.
4812 (time): New strong alias and hidden definition of __libc_time.
4813 (__GI_time): Remove strong alias.
4814 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4815 Include <stddef.h>.
4816 (memmove): Redefined to __redirect_memmove.
4817 (__memmove_sse2): Use typeof __redirect_memmove.
4818 (__memmove_ssse3): Likewise.
4819 (__memmove_ssse3_back): Likewise.
4820 (__libc_memmove): New prototype.
4821 (memmove): Renamed to ...
4822 (__libc_memmove): This.
4823 (memmove): New strong alias of __libc_memmove.
4824
33b4a91e
MS
48252012-08-08 Mark Salter <msalter@redhat.com>
4826
4827 * elf/elf.h
4828 (R_MN10300_TLS_GD): Define.
4829 (R_MN10300_TLS_LD): Likewise.
4830 (R_MN10300_TLS_LDO): Likewise.
4831 (R_MN10300_TLS_GOTIE): Likewise.
4832 (R_MN10300_TLS_IE): Likewise.
4833 (R_MN10300_TLS_LE): Likewise.
4834 (R_MN10300_TLS_DTPMOD): Likewise.
4835 (R_MN10300_TLS_DTPOFF): Likewise.
4836 (R_MN10300_TLS_TPOFF): Likewise.
4837 (R_MN10300_SYM_DIFF): Likewise.
4838 (R_MN10300_ALIGN): Likewise.
4839 (R_MN10300_NUM): Update.
4840
b36137f1
JM
48412012-08-08 Joseph Myers <joseph@codesourcery.com>
4842
4843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4844 Remove.
4845
cdd915fd
RM
48462012-08-08 Roland McGrath <roland@hack.frob.com>
4847
a2433aac
RM
4848 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4849
cdd915fd
RM
4850 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4851 sysdeps/unix -> sysdeps/posix move.
4852 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4853
bf9b740a
AM
48542012-08-07 Allan McRae <allan@archlinux.org>
4855
4856 [BZ #14303]
4857 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4858 (SUNOS_CPP): Likewise.
4859 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4860 not found.
4861 (open_input): Call CPP using execvp.
4862
93df14ee
JM
48632012-08-07 Joseph Myers <joseph@codesourcery.com>
4864
4865 * sysdeps/unix/sysv/linux/kernel-features.h
4866 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4867 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4868 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4869 (__ASSUME_WAITID_SYSCALL): Likewise.
4870 * sysdeps/unix/sysv/linux/dl-execstack.c
4871 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4872 code unconditional.
4873 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4874 conditional code.
4875 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4876 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4877 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4878 code.
4879 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4880 unconditional.
4881 [__ASSUME_WAITID_SYSCALL]: Likewise.
4882 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4883
d34689de
RM
48842012-08-07 Roland McGrath <roland@hack.frob.com>
4885
a281decc
RM
4886 * sysdeps/unix/closedir.c: Renamed to ...
4887 * sysdeps/posix/closedir.c: ... here.
4888 * sysdeps/unix/dirfd.c: Renamed to ...
4889 * sysdeps/posix/dirfd.c: ... here.
4890 * sysdeps/unix/dirstream.h: Renamed to ...
4891 * sysdeps/posix/dirstream.h: ... here.
4892 * sysdeps/unix/fdopendir.c: Renamed to ...
4893 * sysdeps/posix/fdopendir.c: ... here.
4894 * sysdeps/unix/opendir.c: Renamed to ...
4895 * sysdeps/posix/opendir.c: ... here.
4896 * sysdeps/unix/readdir.c: Renamed to ...
4897 * sysdeps/posix/readdir.c: ... here.
4898 * sysdeps/unix/readdir_r.c: Renamed to ...
4899 * sysdeps/posix/readdir_r.c: ... here.
4900 * sysdeps/unix/rewinddir.c: Renamed to ...
4901 * sysdeps/posix/rewinddir.c: ... here.
4902 * sysdeps/unix/seekdir.c: Renamed to ...
4903 * sysdeps/posix/seekdir.c: ... here.
4904 * sysdeps/unix/telldir.c: Renamed to ...
4905 * sysdeps/posix/telldir.c: ... here.
4906 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4907 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4908 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4909 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4910
22895b47
RM
4911 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4912 * bits/fcntl.h: ... here.
4913
707a53b6
RM
4914 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4915 not 0.
4916 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4917 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4918 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4919 (struct flock): Move l_start, l_len to the beginning.
4920 Use __pid_t for l_pid.
4921 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4922 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4923 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4924 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4925 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4926 [__USE_LARGEFILE64] (struct flock64): New type.
4927 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4928
f0bd3e25
RM
4929 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4930 * bits/dirent.h: ... here.
4931
d34689de
RM
4932 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4933 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4934
6dad2c06
JM
49352012-08-07 Joseph Myers <joseph@codesourcery.com>
4936
4937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4938 Change from 2.6.0 to 2.6.16.
4939 * sysdeps/unix/sysv/linux/configure: Regenerated.
4940 * sysdeps/unix/sysv/linux/kernel-features.h
4941 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4942 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4943 version.
4944 (__ASSUME_UTIMES): Likewise.
4945 (__ASSUME_CLONE_STOPPED): Remove.
4946 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4947 architectures, not kernel version.
4948 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4949 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4950 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4951 (__ASSUME_WAITID_SYSCALL): Likewise.
4952 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4953 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4954 * README: State 2.6.16 as minimum Linux kernel version. Do not
4955 refer to older versions.
4956
03af9520
RM
49572012-08-06 Roland McGrath <roland@hack.frob.com>
4958
8e49df1d
RM
4959 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4960 Define alphasort64 as an alias.
4961 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4962 Define versionsort64 as an alias.
4963 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4964 Define scandir64 as an alias.
4965 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4966 Define scandirat64 as an alias.
4967 * dirent/alphasort64.c (alphasort64):
4968 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4969 * dirent/versionsort64.c: Likewise.
4970 * dirent/scandir64.c: Likewise.
4971 * dirent/scandirat64.c: Likewise.
4972 * sysdeps/wordsize-64/alphasort.c: File removed.
4973 * sysdeps/wordsize-64/alphasort64.c: File removed.
4974 * sysdeps/wordsize-64/scandir.c: File removed.
4975 * sysdeps/wordsize-64/scandir64.c: File removed.
4976 * sysdeps/wordsize-64/scandirat.c: File removed.
4977 * sysdeps/wordsize-64/scandirat64.c: File removed.
4978 * sysdeps/wordsize-64/versionsort.c: File removed.
4979 * sysdeps/wordsize-64/versionsort64.c: File removed.
4980 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4981 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4988
4989 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4990 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4991 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4993 [defined __arch64__ || defined __sparcv9]
4994 (__INO_T_MATCHES_INO64_T): New macro.
4995 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4996 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4997 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4998 * sysdeps/unix/sysv/linux/bits/dirent.h
4999 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5000 (_DIRENT_MATCHES_DIRENT64): New macro.
5001
03af9520
RM
5002 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5003 Define lockf64 as an alias.
5004 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5005 Define fseeko64 as an alias.
5006 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5007 Define ftello64 as an alias.
5008 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5009 Define _IO_fgetpos64 and fgetpos64 as aliases.
5010 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5011 Define _IO_fsetpos64 and fsetpos64 as aliases.
5012 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5013 Conditionalize body on this.
5014 * libio/fseeko64.c: Likewise.
5015 * libio/ftello64.c: Likewise.
5016 * libio/iofgetpos64.c: Likewise.
5017 * libio/iofsetpos64.c: Likewise.
5018 * sysdeps/wordsize-64/lockf.c: File removed.
5019 * sysdeps/wordsize-64/lockf64.c: File removed.
5020 * sysdeps/wordsize-64/fseeko.c: File removed.
5021 * sysdeps/wordsize-64/fseeko64.c: File removed.
5022 * sysdeps/wordsize-64/ftello.c: File removed.
5023 * sysdeps/wordsize-64/ftello64.c: File removed.
5024 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5025 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5026 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5027 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5030 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5031 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5032 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5033 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5034 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5037 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5038
5039 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5041 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5043 [defined __arch64__ || defined __sparcv9]
5044 (__OFF_T_MATCHES_OFF64_T): New macro.
5045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5046 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5048 (__OFF_T_MATCHES_OFF64_T): New macro.
5049
c5757acd
L
50502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5051
5052 * stdlib/secure-getenv.c (__secure_getenv): Replace
5053 GLIBC_2_16 with GLIBC_2_17.
5054
3a31811e
L
50552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5056
5057 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5058 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5059
faa2bccb
DM
50602012-08-03 David S. Miller <davem@davemloft.net>
5061
5062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5063
85fe1997
JM
50642012-08-03 Joseph Myers <joseph@codesourcery.com>
5065
5066 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5067 Remove.
5068 (__ASSUME_CORRECT_SI_PID): Likewise.
5069 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5070 (__ASSUME_TMPFS_NAME): Likewise.
5071 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5072 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5073 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5074 (HAVE_AUX_SECURE): Make definition unconditional.
5075 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5076 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5077
4f75b7a0
RM
50782012-08-03 Roland McGrath <roland@hack.frob.com>
5079
5080 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5081 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5082 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5083 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5084 __eloop_threshold instead of SYMLOOP_MAX.
5085
5086 * sysdeps/generic/eloop-threshold.h: New file.
5087 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5088 of MAXSYMLINKS.
5089 * elf/chroot_canon.c (chroot_canon): Likewise.
5090
7aab07e4
JM
50912012-08-03 Joseph Myers <joseph@codesourcery.com>
5092
5093 [BZ #13717]
5094 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5095 Change to 2.6.0 everywhere.
5096 * sysdeps/unix/sysv/linux/configure: Regenerated.
5097 * sysdeps/unix/sysv/linux/kernel-features.h
5098 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5099 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5100 kernel versions.
5101 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5102 (__ASSUME_FUTEX_REQUEUE): Remove.
5103 (__ASSUME_STATFS64): Define unconditionally.
5104 (__ASSUME_AT_SECURE): Likewise.
5105 (__ASSUME_CORRECT_SI_PID): Likewise.
5106 (__ASSUME_TGKILL): Define without depending on kernel version for
5107 i386.
5108 (__ASSUME_UTIMES): Likewise.
5109 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5110 kernel version.
5111 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5112 (__ASSUME_TMPFS_NAME): Likewise.
5113 * README: Update reference to Linux kernel versions.
5114
b67e9372
MP
51152012-08-02 Marek Polacek <polacek@redhat.com>
5116
1f529f7d 5117 [BZ# 14150]
b67e9372
MP
5118 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5119 libc_cv_asm_type_prefix with %.
5120 * configure: Regenerated.
d2441631
RM
5121 * include/libc-symbols.h: Remove comment about
5122 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5123 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5124 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5125 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5126 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5127 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5128 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5129 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5130 * elf/tst-unique2mod1.c: Likewise.
5131 * elf/tst-unique1mod2.c: Likewise.
5132 * elf/tst-unique1mod1.c: Likewise.
5133 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5134 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5135 Replace ASM_TYPE_DIRECTIVE with .type.
5136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5137 * sysdeps/i386/sysdep.h: Likewise.
5138 * sysdeps/x86_64/sysdep.h: Likewise.
5139 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5141 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5142 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5143 * sysdeps/powerpc/powerpc32/sysdep.h:
5144 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5145 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5146 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5147 * sysdeps/i386/fpu/e_powf.S: Likewise.
5148 * sysdeps/i386/fpu/e_expl.S: Likewise.
5149 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5150 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5151 * sysdeps/i386/fpu/e_pow.S: Likewise.
5152 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5153 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5154 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5155 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5156 * sysdeps/i386/fpu/e_log2.S: Likewise.
5157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5158 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5159 * sysdeps/i386/fpu/e_powl.S: Likewise.
5160 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5161 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5162 * sysdeps/i386/fpu/e_logl.S: Likewise.
5163 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5164 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5165 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5166 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5167 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5168 * sysdeps/i386/fpu/e_log.S: Likewise.
5169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5170 * sysdeps/i386/fpu/e_logf.S: Likewise.
5171 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5172 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5173 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5174 * sysdeps/i386/fpu/e_log10.S: Likewise.
5175 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5177 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5178 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5179 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5180 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5181 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5182 * sysdeps/i386/i686/strtok.S: Likewise.
5183 * sysdeps/i386/i386-mcount.S: Likewise.
5184 * sysdeps/i386/strtok.S: Likewise.
5185 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5188 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5189 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5191 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5192 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5193 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5194 * sysdeps/x86_64/_mcount.S: Likewise.
5195 * sysdeps/x86_64/strtok.S: Likewise.
5196 * sysdeps/sh/_mcount.S: Likewise.
5197
2747bf9a
RM
51982012-08-01 Roland McGrath <roland@hack.frob.com>
5199
5200 * libio/iofopen.c: Include <fcntl.h>.
5201 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5202 (_IO_fopen64, fopen64): Define as aliases.
5203 * libio/iofopen64.c: Include <fcntl.h>.
5204 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5205 Conditionalize body on this.
5206 * sysdeps/wordsize-64/iofopen.c: File removed.
5207 * sysdeps/wordsize-64/iofopen64.c: File removed.
5208
3fb791b8
MP
52092012-08-01 Marek Polacek <polacek@redhat.com>
5210
5211 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5212 Use dlfcn directly instead of a variable.
5213 (binfmt-subdir): Do not define.
5214 (dlfcn): Likewise.
5215
a9f1039f
JM
52162012-08-01 Joseph Myers <joseph@codesourcery.com>
5217
23bddc06
JM
5218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5219 Remove all definitions.
5220 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5221 <kernel-features.h>.
5222 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5223 (miss_F_GETOWN_EX): Remove all definitions.
5224 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5225 macro definition.
5226 [!__ASSUME_FCNTL64]: Remove conditional code.
5227 [__ASSUME_FCNTL64]: Make code unconditional.
5228 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5229 <kernel-features.h>.
5230 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5231 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5232 (lockf64) [__NR_fcntl64]: Make code unconditional.
5233 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5234
a9f1039f
JM
5235 * sysdeps/unix/sysv/linux/kernel-features.h
5236 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5237 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5238 Make code unconditional.
5239 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5240 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5242 [__NR_vfork]: Make code unconditional.
5243 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5244 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5246 [__NR_vfork]: Make code unconditional.
5247 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5248 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5249
09c0ee5f
RM
52502012-08-01 Roland McGrath <roland@hack.frob.com>
5251
48aec5b9
RM
5252 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5253 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5254
cd97c966
RM
5255 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5256 Define mkstemp64 as an alias.
3f55550c
RM
5257 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5258 Define mkstemps64 as an alias.
cd97c966
RM
5259 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5260 Define mkostemp64 as an alias.
b8625cfc
RM
5261 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5262 Define mkostemps64 as an alias.
cd97c966
RM
5263 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5264 Conditionalize body on this.
5265 * misc/mkostemp64.c: Likewise.
b8625cfc 5266 * misc/mkostemps64.c: Likewise.
3f55550c 5267 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5268 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5269 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5270 * sysdeps/wordsize-64/mkostemp.c: File removed.
5271 * sysdeps/wordsize-64/mkstemp.c: File removed.
5272 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5274 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5276
09c0ee5f
RM
5277 [BZ #14138]
5278 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5279 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5280 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5281 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5282
5283 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5284 compat_symbol macros from <shlib-compat.h> rather than the underlying
5285 default_symbol_version and symbol_version macros, so that DEFAULT
5286 lines in shlib-versions are respected.
5287 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5288
7e66ee51
FW
52892012-08-01 Florian Weimer <fweimer@redhat.com>
5290
5291 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5292 Declare with warn_unused_result.
5293 (setgid, setregid, setegid, setresgid): Likewise.
5294 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5295 Likewise.
5296 * WUR-REPORT: Remove set*id functions.
5297
d2a54255
PT
52982012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5299
5300 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5301
7ecdb005
RM
53022012-07-31 Roland McGrath <roland@hack.frob.com>
5303
789bd351
RM
5304 * include/sys/socket.h (__libc_accept, __libc_accept4):
5305 Add attribute_hidden.
5306 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5307
40ce302d
RM
5308 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5309 use of PTR_MANGLE.
5310 * inet/getnetgrent_r.c (setup): Likewise.
5311
7ecdb005
RM
5312 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5313
e2eabb2c
DM
53142012-07-31 David S. Miller <davem@davemloft.net>
5315
5316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5317
d0419dbf
JM
53182012-07-31 Joseph Myers <joseph@codesourcery.com>
5319
5320 [BZ #13629]
5321 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5322 value between 1.0 and 2.0 and smaller part has absolute value less
5323 than 1.0.
5324 * math/s_clog10.c (__clog10): Likewise.
5325 * math/s_clog10f.c (__clog10f): Likewise.
5326 * math/s_clog10l.c (__clog10l): Likewise.
5327 * math/s_clogf.c (__clogf): Likewise.
5328 * math/s_clogl.c (__clogl): Likewise.
5329 * math/libm-test.inc (clog_test): Add more tests.
5330 (clog10_test): Likewise.
5331 * sysdeps/i386/fpu/libm-test-ulps: Update.
5332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5333
2bc13872
FW
53342012-07-31 Florian Weimer <fweimer@redhat.com>
5335
5336 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5337 Exit with zero in case no suitable GID is found, and write a
5338 message to standard error.
5339
bea9b193
RM
53402012-07-30 Roland McGrath <roland@hack.frob.com>
5341
5342 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5343 rather than to 1.
5344 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5345 (MAXPATHLEN): Removed.
5346 (NOGROUP, NODEV): New macros.
5347 (setbit, clrbit, isset, isclr): New macros.
5348 (howmany, roundup, powerof2): New macros.
5349 (DEV_BSIZE): New macro.
5350
5351 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5352 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5353
5354 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5355 definition on [!__NO_LONG_DOUBLE_MATH].
5356
5357 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5358 PTR_MANGLE and PTR_DEMANGLE.
5359
5360 * socket/accept4.c (accept4): Rename to __libc_accept4.
5361 Define accept4 as a weak alias.
5362
5363 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5364 on [_DIRENT_HAVE_D_TYPE].
5365 * io/ftw.c (ftw_dir): Likewise.
5366
5367 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5368
5369 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5370
5371 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5372 Use the BSD numbers rather than the arbitrary ones we had.
5373 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5374 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5375 (SIGXCPU, SIGXFSZ): New macros.
5376 (_NSIG): Now 32.
5377
5378 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5379 initializer on [_LIBC_REENTRANT].
5380
5381 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5382 definitions inside [_POSIX_MAPPED_FILES].
5383
5384 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5385
5386 * dirent/opendir.c: Include <fcntl.h>.
5387
5388 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5389 (__libc_getspecific): Likewise.
5390 (__libc_key_create): Likewise.
5391
5392 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5393 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5394 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5395 (tmpfile64): Define as alias.
5396 * sysdeps/wordsize-64/tmpfile.c: File removed.
5397 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5398 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5400
5401 * stdio-common/vfscanf.c: Include <stdbool.h>.
5402 * nss/makedb.c: Likewise.
5403 * stdio-common/_i18n_number.h: Likewise.
5404 * argp/argp-help.c: Likewise.
5405 * posix/wordexp.c: Likewise.
5406 * sysdeps/posix/spawni.c: Likewise.
5407 * nss/nss_files/files-initgroups.c: Likewise.
5408 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5409 * nss/nss_files/files-initgroups.c: Likewise.
5410 * nss/nss_db/db-netgrp.c: Likewise.
5411 * nss/nss_db/db-initgroups.c: Likewise.
5412 * io/fchmodat.c: Include <sys/stat.h>.
5413
5414 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5415 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5416
5417 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5418 [HAVE_MMAP].
5419
5420 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5421 Add multiple inclusion protection.
5422
e5abc686
DM
54232012-07-27 David S. Miller <davem@davemloft.net>
5424
5425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5426
815e6fa3
GB
54272012-07-27 Gary Benson <gbenson@redhat.com>
5428
5429 [BZ #14298]
5430 * elf/rtld.c: Include <stap-probe.h>.
5431 (dl_main): Added static probes "init_start" and "init_complete".
5432 * elf/dl-load.c: Include <stap-probe.h>.
5433 (lose): Take new parameter "nsid".
5434 Added static probe "map_failed".
5435 (_dl_map_object_from_fd): Pass namespace id to lose.
5436 Added static probe "map_start".
5437 (open_verify): Pass namespace id to lose.
5438 * elf/dl-open.c: Include <stap-probe.h>.
5439 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5440 and "reloc_complete".
5441 * elf/dl-close.c: Include <stap-probe.h>.
5442 (_dl_close_worker): Added static probes "unmap_start" and
5443 "unmap_complete".
5444 * elf/rtld-debugger-interface.txt: New file documenting the above.
5445
9f98c16c
RM
54462012-07-26 Roland McGrath <roland@hack.frob.com>
5447
5448 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5449 rather than a string variable.
5450 * sunrpc/rpc_main.c (h_output): Likewise.
5451 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5452
f3c22df3
PT
54532012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5454
5455 * inet/check_native.c: New file.
5456
3129cfc6
JM
54572012-07-26 Joseph Myers <joseph@codesourcery.com>
5458
da865e95
JM
5459 [BZ #13629]
5460 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5461 if larger part has absolute value 1.0.
5462 * math/s_clog10.c (__clog10): Likewise.
5463 * math/s_clog10f.c (__clog10f): Likewise.
5464 * math/s_clog10l.c (__clog10l): Likewise.
5465 * math/s_clogf.c (__clogf): Likewise.
5466 * math/s_clogl.c (__clogl): Likewise.
5467 * math/libm-test.inc (clog_test): Add more tests.
5468 (clog10_test): Likewise.
5469 * sysdeps/i386/fpu/libm-test-ulps: Update.
5470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5471
3129cfc6
JM
5472 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5473 (pltexit): Likewise.
5474 (La_regs): Likewise.
5475 (La_retval): Likewise.
5476 (int_retval): Likewise.
5477 Update #error for removed macros to refer only to definitions in
5478 tst-audit.h.
5479 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5480 macro.
5481 (pltexit): Likewise.
5482 (La_regs): Likewise.
5483 (La_retval): Likewise.
5484 (int_retval): Likewise.
5485 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5486 macro.
5487 (pltexit): Likewise.
5488 (La_regs): Likewise.
5489 (La_retval): Likewise.
5490 (int_retval): Likewise.
5491 * elf/tst-auditmod5b.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-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
5510 macro.
5511 (pltexit): Likewise.
5512 (La_regs): Likewise.
5513 (La_retval): Likewise.
5514 (int_retval): Likewise.
5515 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5516 macro definitions in tst-audit.h.
5517 * sysdeps/i386/tst-audit.h: New file.
5518 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5519 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5520 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5521 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5522 * sysdeps/sh/tst-audit.h: Likewise.
5523 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5524 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5525 * sysdeps/x86_64/tst-audit.h: Likewise.
5526
bfc07087
AJ
55272012-07-26 Andreas Jaeger <aj@suse.de>
5528
b1b2aaf8
AJ
5529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5530 ptrace.
5531
5532 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5533 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5534 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5535 PTRACE_O_MASK.
5536 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5537 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5538 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5539
bfc07087
AJ
5540 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5541 value.
5542
5543 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5544 _sigsys.
5545 (si_call_addr, si_syscall, si_arch): Define new macro.
5546 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5547 _sigsys.
5548 (si_call_addr, si_syscall, si_arch): Define new marcro.
5549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5550 _sigsys.
5551 (si_call_addr, si_syscall, si_arch): Define new macro.
5552 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5553 _sigsys.
5554 (si_call_addr, si_syscall, si_arch): Define new macro.
5555
89b4b02f
JM
55562012-07-25 Joseph Myers <joseph@codesourcery.com>
5557
5558 [BZ #13717]
5559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5560 Change to 2.4.21 where previously 2.4.1.
5561 * sysdeps/unix/sysv/linux/configure: Regenerated.
5562 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5563 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5564 Linux kernel version.
5565 (__ASSUME_STD_AUXV): Remove.
5566 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5567 kernel version.
5568 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5569 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5570 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5571 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5572 (__ASSUME_NETLINK_SUPPORT): Likewise.
5573 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5574 (__no_netlink_support): Remove conditional definition.
5575 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5576 Remove.
5577 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5578 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5579 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5580 (if_nameindex_ioctl): Remove.
5581 (if_nameindex_netlink): Do not handle __no_netlink_support.
5582 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5583 code.
5584 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5585 Remove conditional code.
5586 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5587 code.
5588 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5589 unconditional.
5590 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5591 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5592 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5593 Remove.
5594 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5595 [!__ASSUME_STD_AUXV]: Remove conditional code.
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5597 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5598 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5600 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5601 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5602 code.
5603 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5605 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5606 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5607 conditional code.
5608 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5610 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5611 code.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5613 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5614 conditional code.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5616 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5617 code unconditional.
5618 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5619 conditional code.
5620 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5621 unconditional.
5622 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5623 conditional code.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5625 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5626 unconditional.
5627 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5628 conditional code.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5630 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5631 code unconditional.
5632 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5633 conditional code.
5634 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5635 unconditional.
5636 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5637 conditional code.
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5639 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5640 code unconditional.
5641 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5642 conditional code.
5643 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5644 unconditional.
5645 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5646 conditional code.
5647
842a39cd
AS
56482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5649
5650 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5651 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5652 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5653 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5654 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5655 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5656 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5657 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5658 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5659 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5660 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5661 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5662 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5663 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5665 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5666 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5667 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5670 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5671 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5672 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5673
84b3fd84
FW
56742012-07-25 Florian Weimer <fweimer@redhat.com>
5675
5676 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5677 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5678 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5679 Introduce __libc_secure_getenv.
0c7936d5
FW
5680 * stdlib/Versions (2.17): Add secure_getenv
5681 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5682 * stdlib/secure-getenv.c: Rename __secure_getenv to
5683 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5684 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5685 * stdlib/tst-secure-getenv.c: New.
5686 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5687 * manual/startup.texi (Environment Access): Document
5688 secure_getenv.
84b3fd84
FW
5689 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5690 __libc_secure_getenv.
5691 * inet/ruserpass.c (ruserpass): Likewise.
5692 * malloc/mtrace.c (mtrace): Likewise.
5693 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5694 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5695 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5696 * sysdeps/posix/tempname.c: Likewise. Evaluate
5697 HAVE_SECURE_GETENV.
5698 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5699 __secure_getenv to __libc_secure_getenv.
84b3fd84 5700 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5702 Likewise.
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5704 Likewise.
5705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5712
56e49b71
JM
57132012-07-25 Joseph Myers <joseph@codesourcery.com>
5714
5715 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5716 (struct La_i86_retval): Likewise.
5717 (struct La_x86_64_regs): Likewise.
5718 (struct La_x86_64_retval): Likewise.
5719 (struct La_x32_regs): Likewise.
5720 (struct La_x32_retval): Likewise.
5721 (struct La_ppc32_regs): Likewise.
5722 (struct La_ppc32_retval): Likewise.
5723 (struct La_ppc64_regs): Likewise.
5724 (struct La_ppc64_retval): Likewise.
5725 (struct La_sh_regs): Likewise.
5726 (struct La_sh_retval): Likewise.
5727 (struct La_s390_32_regs): Likewise.
5728 (struct La_s390_32_retval): Likewise.
5729 (struct La_s390_64_regs): Likewise.
5730 (struct La_s390_64_retval): Likewise.
5731 (struct La_sparc32_regs): Likewise.
5732 (struct La_sparc32_retval): Likewise.
5733 (struct La_sparc64_regs): Likewise.
5734 (struct La_sparc64_retval): Likewise.
5735 (struct audit_ifaces): Remove architecture-specific pltenter and
5736 pltexit members.
5737 * sysdeps/i386/ldsodefs.h: New file.
5738 * sysdeps/powerpc/ldsodefs.h: Likewise.
5739 * sysdeps/s390/ldsodefs.h: Likewise.
5740 * sysdeps/sh/ldsodefs.h: Likewise.
5741 * sysdeps/sparc/ldsodefs.h: Likewise.
5742 * sysdeps/x86_64/ldsodefs.h: Likewise.
5743
354691b7
MP
57442012-07-25 Marek Polacek <polacek@redhat.com>
5745
5746 [BZ #6808]
5747 * math/libm-test.inc (yn_test): Add another test.
5748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5749 to ERANGE when the result is +-Inf.
5750 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5751 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5752 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5753 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5754
bf9e2071
JM
57552012-07-24 Joseph Myers <joseph@codesourcery.com>
5756
5757 * conform/data/time.h-data (NULL): Use macro-constant. Require
5758 equal to 0.
5759 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5760 clock_t.
5761 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5762
57633811
TS
57632012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5764
5765 * configure.in <sysdeps resolving>: Correct printing
5766 Implies_before.
5767 * configure: Regenerate.
5768
c23c33b0
TS
57692012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5770
5771 * math/w_ilogb.c: Include <limits.h>.
5772 * math/w_ilogbl.c: Likewise.
5773
b5982523
JM
57742012-07-20 Joseph Myers <joseph@codesourcery.com>
5775
5776 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5777 va_copy. Document allowing for unavailable va_copy only as
5778 pre-C99 compatibility.
5779 * manual/string.texi (Copying and Concatenation): Use va_copy
5780 instead of __va_copy in concat example.
5781
ac4ea442
PT
57822012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5783
5784 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5785 (__sendto): Use create_address_port. Initialize APORT and deallocate
5786 it if not null.
5787
f98eafbd
PT
5788 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5789 with O_NOLINK passed to __file_name_lookup.
5790
898c7aab
PT
5791 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5792 with O_NOLINK passed to __file_name_lookup.
5793
0ced335a
PT
5794 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5795 negative N or less than NGIDS.
5796
b3404dbd
PT
5797 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5798 type to string_t. Set ERANGE as errno and return it if NAME is not big
5799 enough. Use memcpy instead of strncpy.
5800
0f48659e
JM
58012012-07-20 Joseph Myers <joseph@codesourcery.com>
5802
5803 * elf/Makefile (check-data): Remove.
5804 (localplt.data): New vpath directive.
5805 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5806 instead of $(check-data).
5807 * scripts/data/localplt-generic.data: Move to ...
5808 * sysdeps/generic/localplt.data: ... here.
5809 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5810 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5811 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5813 ... here.
5814 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5816 ... here.
5817 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5819 ... here.
5820 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5822 ... here.
5823 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5825 ... here.
5826 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5828 ... here.
5829
d37cbdaa
AZ
58302012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5833 PPC32 and PPC64 files.
5834 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5835 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5836
46f85fc2
AK
58372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5838
5839 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5840 __makecontext_ret to ...
5841 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5842 ... here and call exit if uc_link is NULL. New file.
5843 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5844 __makecontext_ret.S.
5845 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5846 __makecontext_ret to ...
5847 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5848 ... here and call exit if uc_link is NULL. New file.
5849 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5850 __makecontext_ret.S.
5851
08f43f9b
AK
58522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5853
5854 * elf/elf.h (R_390_IRELATIVE): New definition.
5855 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5856 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5857 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5858 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5859 (elf_machine_lazy_rel): Likewise.
5860 * sysdeps/s390/dl-irel.h: New file.
5861 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5862 * sysdeps/s390/s390-64/memset.S: New asm code.
5863 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5864 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5865 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5866 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5867 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5868 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5869 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5870 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5871 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5872 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5873 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5874 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5875 * sysdeps/s390/s390-32/memset.S: New asm code.
5876 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5877
3b05db33
MP
58782012-07-17 Marek Polacek <polacek@redhat.com>
5879
5880 [BZ #14349]
5881 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5882 * sysdeps/s390/s390-64/configure.in: Likewise.
5883 * sysdeps/sparc/configure.in: Likewise.
5884 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5885 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5886 * sysdeps/i386/configure.in: Likewise.
5887 * sysdeps/x86_64/configure.in: Likewise.
5888 * sysdeps/sh/configure.in: Likewise.
5889 * sysdeps/s390/s390-32/configure: Regenerated.
5890 * sysdeps/s390/s390-64/configure: Likewise.
5891 * sysdeps/x86_64/configure: Likewise.
5892 * sysdeps/sh/configure: Likewise.
5893 * sysdeps/powerpc/powerpc64/configure: Likewise.
5894 * sysdeps/powerpc/powerpc32/configure: Likewise.
5895 * sysdeps/sparc/configure: Likwise.
5896 * sysdeps/i386/configure: Likewise.
5897
a66877c6
MP
5898 * elf/dl-open.c: Comment fixes.
5899
cfc82fd8
JM
59002012-07-17 Joseph Myers <joseph@codesourcery.com>
5901
bd29910a
JM
5902 * Makefile [CXX] (check-data): Remove.
5903 [CXX] (c++-types.data): New vpath directive.
5904 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5905 vpath. Do not allow for C++ type data being missing.
5906 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5907 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5908 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5909 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5910 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5911 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5912 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5914 ... here.
5915 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5917 ... here.
5918 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5920 ... here.
5921 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5923 ... here.
5924 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5926 ... here.
5927 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5929 ... here.
5930 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5932 ... here.
5933 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5934 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5935
cfc82fd8
JM
5936 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5937 definitions to architecture-specific files.
5938 (TLS_IE): Likewise.
5939 (TLS_LD): Likewise.
5940 (TLS_GD): Likewise.
5941 * sysdeps/i386/tls-macros.h: New file.
5942 * sysdeps/powerpc/tls-macros.h: Likewise.
5943 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5944 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5945 * sysdeps/sh/tls-macros.h: Likewise.
5946 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5947 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5948 * sysdeps/x86_64/tls-macros.h: Likewise.
5949
f7db3170
TS
59502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5951
07cbfc23
TS
5952 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5953 zero value for regular exit case.
5954
f7db3170
TS
5955 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5956 (__start_context): Preserve zero value for regular exit case.
5957
dc97c227
TS
59582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5959 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5960
5961 * manual/setjmp.texi (setcontext): Clarify normal process
5962 termination when uc_link is the null pointer.
5963 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5964 exit call.
5965
d0cd7d02
AS
59662012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5967
5968 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5969 preprocessor. Test for each exception mask separately.
5970
dd318934
AJ
59712012-07-16 Andreas Jaeger <aj@suse.de>
5972
5973 * po/ru.po: Update from translation team.
5974
8048311a
JM
59752012-07-15 Joseph Myers <joseph@codesourcery.com>
5976
5977 * conform/data/string.h-data (NULL): Use macro-constant. Require
5978 equal to 0.
5979 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5980 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5981 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5982 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5984
b637d46e
AJ
59852012-07-13 Andreas Jaeger <aj@suse.de>
5986
5987 * po/fr.po: Update from translation team.
5988
541428fe
MP
59892012-07-12 Marek Polacek <polacek@redhat.com>
5990
5991 [BZ #14173]
5992 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5993 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5994 loop condition.
5995
ec332e94
JM
59962012-07-12 Joseph Myers <joseph@codesourcery.com>
5997
5998 [BZ #13717]
5999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6000 Change to 2.4.1 where previously 2.4.0.
6001 * sysdeps/unix/sysv/linux/configure: Regenerated.
6002 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6003 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6004 version.
6005 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6006 (__ASSUME_AT_CLKTCK): Remove.
6007 (__ASSUME_AT_PAGESIZE): Likewise.
6008 (__ASSUME_AT_XID): Likewise.
6009 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6010 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6011 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6012 unconditionally.
6013 (HAVE_AUX_PAGESIZE): Likewise.
6014 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6015 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6016 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6017
7b6e99be
JB
60182012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6019
6020 [BZ #14307]
6021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6022 the temporary buffer used to invoke __gethostbyname2_r,
6023 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6024 host_data / struct gaih_addrtuple.
6025 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6026 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6027 header file nss/nsswitch.h.
6028 * nss/nsswitch.h (global scope): Add definition of implementation
6029 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6030 resolv/nss_dns/dns-host.c).
6031
608404eb
AJ
60322012-07-11 Andreas Jaeger <aj@suse.de>
6033
6034 * po/fr.po: Update from translation team.
6035
71220aca
AJ
6036 * po/sv.po: Update from translation team
6037 * po/fr.po: Another update from translation team.
6038
28cfe843
AZ
60392012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6040
6041 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6042 for subnormals or multiply small sinh result by itself.
6043 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6045
6b90f981
DM
60462012-07-11 David S. Miller <davem@davemloft.net>
6047
6048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6049
c6825772
AS
60502012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6051
6052 [BZ #14347]
6053 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6054 (INTERNAL_MARK): Shift it here.
6055
7b8e0d49
MP
60562012-07-10 Marek Polacek <polacek@redhat.com>
6057
6058 [BZ #14151]
6059 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6060 libc_cv_asm_global_directive with .globl.
6061 * configure: Regenerated.
6062 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6063 with .globl.
6064 * sysdeps/i386/configure: Regenerated.
6065 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6066 with .globl.
6067 * sysdeps/x86_64/configure: Regenerated.
6068 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6069 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6070 * elf/tst-unique2mod2.c: Likewise.
6071 * elf/tst-unique2mod1.c: Likewise.
6072 * elf/tst-unique1mod2.c: Likewise.
6073 * elf/tst-unique1mod1.c: Likewise.
6074 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6075 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6077 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6078 * sysdeps/mach/sysdep.h: Likewise.
6079 * sysdeps/i386/sysdep.h: Likewise.
6080 * sysdeps/i386/i386-mcount.S: Likewise.
6081 * sysdeps/x86_64/_mcount.S: Likewise.
6082 * sysdeps/x86_64/sysdep.h: Likewise.
6083 * sysdeps/sh/_mcount.S: Likewise.
6084 * sysdeps/sh/sysdep.h: Likewise.
6085 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6086 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6087 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6088 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6089 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6090 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6091 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6092 * locale/localeinfo.h: Likewise.
6093 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6094 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6095
6c55cda3
RM
60962012-07-09 Roland McGrath <roland@hack.frob.com>
6097
6098 [BZ #14336]
6099 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6100 system".
6101 * manual/message.texi (The Uniforum approach): Likewise.
6102 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6103 (glibc iconv Implementation): Likewise.
6104
638a572e
JM
61052012-07-09 Joseph Myers <joseph@codesourcery.com>
6106
6107 [BZ #14337]
6108 * math/s_clog.c (__clog): Avoid scaling a value down where that
6109 could result in underflow.
6110 * math/s_clog10.c (__clog10): Likewise.
6111 * math/s_clog10f.c (__clog10f): Likewise.
6112 * math/s_clog10l.c (__clog10l): Likewise.
6113 * math/s_clogf.c (__clogf): Likewise.
6114 * math/s_clogl.c (__clogl): Likewise.
6115 * math/libm-test.inc (clog_test): Add more tests.
6116 (clog10_test): Likewise.
6117 * sysdeps/i386/fpu/libm-test-ulps: Update.
6118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119
261f4859
AS
61202012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6121
0abaf3e4
AS
6122 [BZ #14283]
6123 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6124 by 7 not 8 to examine high bit of fractional part.
6125
261f4859
AS
6126 [BZ #14042]
6127 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6128 for call to __mcount_internal.
6129 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6130 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6131 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6132
f17ac40d
JM
61332012-07-06 Joseph Myers <joseph@codesourcery.com>
6134
9ad63c23
JM
6135 [BZ #14154]
6136 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6137 approximation for values within 0x1p-13f of an odd multiple of
6138 pi/4.
6139 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6140 exception. Add more tests.
6141 * sysdeps/i386/fpu/libm-test-ulps: Update.
6142
f17ac40d
JM
6143 [BZ #6778]
6144 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6145 inputs and return -1 for them. Do not check for +Inf in case not
6146 reachable for +Inf.
6147 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6148 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6149 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6150 and return -1 for them. Do not check for +Inf in case not
6151 reachable for +Inf.
6152 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6153 define.
6154 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6155 and return -1 for them. Do not check for +Inf in case not
6156 reachable for +Inf.
6157 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6158 spurious underflow.
6159 * sysdeps/i386/fpu/libm-test-ulps: Update.
6160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6161
fb21f89b
MF
61622012-07-06 Mike Frysinger <vapier@gentoo.org>
6163
6164 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6165
cdfe2c5e
JM
61662012-07-05 Joseph Myers <joseph@codesourcery.com>
6167
6168 [BZ #14157]
6169 [BZ #14331]
6170 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6171 could result in spurious underflow. Scale down values above
6172 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6173 * math/s_csqrtf.c (__csqrtf): Likewise.
6174 * math/s_csqrtl.c (__csqrtl): Likewise.
6175 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6176 spurious underflow.
6177 * sysdeps/i386/fpu/libm-test-ulps: Update.
6178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6179
70d35b67
AS
61802012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6181
704bc459
AS
6182 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6183 xopen-msg.sed.
6184 * catgets/xopen-msg.awk: New file.
6185 * catgets/xopen-msg.sed: Removed.
6186
70d35b67
AS
6187 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6188 po2text.sed.
6189 * intl/po2test.awk: New file.
6190 * intl/po2test.sed: Removed.
6191
ca61cf32
JM
61922012-07-04 Joseph Myers <joseph@codesourcery.com>
6193
6194 [BZ #14328]
6195 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6196 or multiply small sinh result by itself.
6197 * math/s_ctanf.c (__ctanf): Likewise.
6198 * math/s_ctanh.c (__ctanh): Likewise.
6199 * math/s_ctanhf.c (__ctanhf): Likewise.
6200 * math/s_ctanhl.c (__ctanhl): Likewise.
6201 * math/s_ctanl.c (__ctanl): Likewise.
6202 * math/libm-test.inc (ctan_test_tonearest): New function.
6203 (ctan_test_towardzero): Likewise.
6204 (ctan_test_downward): Likewise.
6205 (ctan_test_upward): Likewise.
6206 (ctanh_test_tonearest): Likewise.
6207 (ctanh_test_towardzero): Likewise.
6208 (ctanh_test_downward): Likewise.
6209 (ctanh_test_upward): Likewise.
6210 (main): Call these new functions.
6211 * sysdeps/i386/fpu/libm-test-ulps: Update.
6212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6213
ca48a46a
MF
62142012-07-03 Mike Frysinger <vapier@gentoo.org>
6215
6216 * .gitignore: Delete /ports entry.
6217
9d63d37d
AJ
62182012-07-03 Andreas Jaeger <aj@suse.de>
6219
6220 * po/bg.po: Update from translation team.
6221 * po/cs.po: Likewise.
6222 * po/de.po: Likewise.
6223 * po/hr.po: Likewise.
6224 * po/nl.pl: Likewise.
6225 * po/pl.po: Likewise.
6226 * po/vi.po: Likewise.
6227
370ca3d2
JM
62282012-07-03 Joseph Myers <joseph@codesourcery.com>
6229
95f5a9a8
JM
6230 * Makeconfig [!+link] (+link-before-libc): New variable.
6231 [!+link] (+link-after-libc): Likewise.
6232 [!+link] (+link-tests): Likewise.
6233 [!+link] (+link): Define in terms of $(+link-before-libc) and
6234 $(+link-after-libc).
6235 [!+link-static] (+link-static-before-libc): New variable.
6236 [!+link-static] (+link-static-after-libc): Likewise.
6237 [!+link-static] (+link-static-tests): Likewise.
6238 [!+link-static] (+link-static): Define in terms of
6239 $(+link-static-before-libc) and $(+link-static-after-libc).
6240 [build-shared] (link-libc-before-gnulib): New variable.
6241 [build-shared] (link-libc-tests): Likewise.
6242 [build-shared] (link-libc): Define in terms of
6243 $(link-libc-before-gnulib).
6244 [!build-shared] (link-libc-tests): New variable.
6245 (link-libc-static-tests): New variable.
6246 [!gnulib] (gnulib-arch): New variable.
6247 [!gnulib] (gnulib-tests): Likewise.
6248 [!gnulib] (static-gnulib-arch): Likewise.
6249 [!gnulib] (static-gnulib-tests): Likewise.
6250 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6251 Define with "=" instead of ":=".
6252 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6253 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6254 * Rules (binaries-all-notests): New variable.
6255 (binaries-all-tests): Likewise.
6256 (binaries-static-notests): Likewise.
6257 (binaries-static-tests): Likewise.
6258 (binaries-all): Define using $(binaries-all-notests) and
6259 $(binaries-all-tests).
6260 (binaries-static): Define using $(binaries-static-notests) and
6261 $(binaries-static-tests).
6262 (binaries-shared-tests): New variable.
6263 (binaries-shared-notests): Likewise.
6264 (binaries-shared): Remove variable.
6265 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6266 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6267 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6268 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6269 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6270 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6271 * elf/Makefile (sln-modules): New variable.
6272 (extra-objs): Add $(sln-modules:=.o).
6273 (ldconfig-modules): Add static-stubs.
6274 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6275 * elf/static-stubs.c: New file.
6276
7a845b2c
JM
6277 [BZ #14283]
6278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6279 by 7 not 8 to examine high bit of fractional part. Use volatile
6280 variables when splitting into final array of floats if
6281 __FLT_EVAL_METHOD__ != 0.
6282 * math/libm-test.inc (cos_test): Add another test.
6283 (sin_test): Likewise.
6284 * sysdeps/i386/fpu/libm-test-ulps: Update.
6285
e2283f38
JM
6286 [BZ #14273]
6287 * math/libm-test.inc (cosh_test): Add more tests.
6288
370ca3d2
JM
6289 * version.h (RELEASE): Set to "development".
6290 (VERSION): Set to "2.16.90".
6291
ee9247c3
CD
62922012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6293
6294 * NEWS: Update copyright. Remove last-updated date.
6295 Mention math library bug fixes and timezone data changes.
6296 * README: Mention GNU/Hurd, x32, and HPPA support status.
6297
4648c381
TS
62982012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6299
6300 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6301
aac78a43
AJ
63022012-06-27 Andreas Jaeger <aj@suse.de>
6303
6304 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6305
ed3dbfad
AJ
63062012-06-25 Andreas Jaeger <aj@suse.de>
6307
6308 * sysdeps/s390/fpu/libm-test-ulps: Update.
6309
4d0ee855
AS
63102012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6311 Thomas Schwinge <thomas@codesourcery.com>
6312
6313 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6314 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6316 fanotify_mark.
6317
af1bce34
TS
63182012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6319
a9fa33ba
TS
6320 * sysdeps/mach/start.c: Remove file.
6321 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6322 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6323 * sysdeps/sh/init-first.c: Likewise.
6324
58f902b8
TS
6325 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6326 registers for frame unwinding purposes, add CFI directives.
6327 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6328 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6329 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6330 Likewise.
6331
1518f58b
TS
6332 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6333 __fortify_fail returning.
6334 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6335
db9b5059
TS
6336 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6337 sysdeps/sh/____longjmp_chk.S.
6338 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6339 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6340 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6341 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6342
967705fe
TS
6343 * sysdeps/sh/abort-instr.h: New file.
6344 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6345 process in case exit returns.
6346
a9def8c4
TS
6347 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6348 initialize the GOT register before use.
6349
2a649725
TS
6350 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6351 calculation of ARGC > 4.
6352
af1bce34
TS
6353 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6354 meaningful names to some local labels.
6355
d230f50a
KK
63562012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6357 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6358
6359 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6360 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6361 (__arch_compare_and_exchange_val_16_acq): Likewise.
6362 (__arch_compare_and_exchange_val_32_acq): Likewise.
6363 (atomic_exchange_and_add): Fix gUSA sequence.
6364 (atomic_add): Likewise.
6365 (atomic_add_negative): Likewise.
6366 (atomic_add_zero): Likewise.
6367 (atomic_bit_test_set): Likewise.
6368
0479b305
AS
63692012-06-22 Andreas Schwab <schwab@redhat.com>
6370
6371 [BZ #13579]
6372 * include/link.h (struct link_map): Add l_free_initfini.
6373 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6374 l_initfini.
6375 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6376 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6377 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6378 set.
6379
0e3933b9
CD
63802012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6381
6382 * configure.in: Use AC_LANG_SOURCE.
6383 * configure: Regenerate.
6384
4248b1b1
RM
63852012-06-22 Roland McGrath <roland@hack.frob.com>
6386
6387 * configure.in (libc_cv_localstatedir): New substituted variable.
6388 * configure: Regenerated.
6389 * config.make.in (localstatedir): New variable, substituted from
6390 libc_cv_localstatedir.
6391 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6392 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6393 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6394 * sysdeps/gnu/configure: Regenerated.
6395
006dd861
JL
63962012-06-21 Jeff Law <law@redhat.com>
6397
6398 [BZ #14277]
6399 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6400 free. Simplify list management for _LIBC case.
6401
79662d42
JM
64022012-06-21 Joseph Myers <joseph@codesourcery.com>
6403
b7abb4bf
JM
6404 [BZ #14273]
6405 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6406 Clear sign bit of 64-bit integer value before comparing against
6407 overflow value.
6408
79662d42
JM
6409 * sysdeps/mach/configure: Regenerated.
6410
1f150908
L
64112012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6412
6413 [BZ #14278]
6414 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6415
28363bbf
JL
64162012-06-21 Jeff Law <law@redhat.com>
6417
6418 [BZ #13882]
6419 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6420 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6422 * elf/dl-open.c (dl_open_worker): Likewise.
6423
09615db4
CD
64242012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6425
6426 * scripts/list-sources.sh: Scan PORTS for translations.
6427 * po/libc.pot: Regenerated.
6428
2174c6dd
AJ
64292012-06-21 Andreas Jaeger <aj@suse.de>
6430
6431 [BZ #12194]
6432 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6433 warning.
6434 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6435 * bits/byteswap-16.h (__bswap_16): Likewise.
6436 * bits/byteswap.h (__bswap_constant_16): Likewise.
6437
3ee947b1
L
64382012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6439
6440 [BZ #14117]
a2f34833
L
6441 * sysdeps/i386/fpu_control.h: Removed.
6442 * sysdeps/x86_64/fpu_control.h: Moved to ...
6443 * sysdeps/x86/fpu_control.h: Here.
6444
3ee947b1
L
6445 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6446 (_FPU_SETCW): Likewise.
6447
ed1825f8
L
64482012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6449
25f1282a
L
6450 [BZ #14117]
6451 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6452 * sysdeps/x86/fpu/bits/mathinline.h: This.
6453 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6454
ed1825f8
L
6455 [BZ #14050]
6456 [BZ #14117]
6457 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6458 functions if __x86_64__ is defined.
6459
36d54b74
CLT
64602012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6461
6462 * string/endian.h: Add !__ASSEMBLER__ condition for including
6463 conversion interfaces.
6464
10285c21
JM
64652012-06-15 Joseph Myers <joseph@codesourcery.com>
6466
6467 [BZ #14241]
6468 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6469 of ABS(x) in calculating zero to negative powers other than odd
6470 integers.
6471 * math/libm-test.inc (pow_test): Add more tests.
6472
06c5abbd
AJ
64732012-06-15 Andreas Jaeger <aj@suse.de>
6474
6475 * manual/contrib.texi (Contributors): Update entry of Liubov
6476 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6477 Machado Filho.
6478
a3aeac40
CH
64792012-06-15 Cyril Hrubis <metan@ucw.cz>
6480
6481 * string/string.h: Add __wur to GNU version of strerror_r.
6482
49bdf4c1
L
64832012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6484
6485 [BZ #14229]
6486 * string/Makefile (tests): Add tst-strtok_r.
6487 * string/tst-strtok_r.c: New file.
6488 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6489 RAX_LP/RDX_LP on SAVE_PTR.
6490
834f9b8d
RM
64912012-06-14 Roland McGrath <roland@hack.frob.com>
6492
6493 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6494
75fa1921
JM
64952012-06-14 Joseph Myers <joseph@codesourcery.com>
6496
6497 * libm_test.inc (csqrt_test): Allow more spurious underflow
6498 exceptions.
6499 (j0_test): Likewise.
6500 (j1_test): Likewise.
6501 (y0_test): Likewise.
6502 (y1_test): Likewise.
6503
771766df
CD
65042012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6505
6506 * po/Makefile (libc.pot): Use UTF-8 charset.
6507
ceb9e56b
PP
65082012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6509
6510 [BZ #14210]
6511 Suppress sign-conversion warning from FD_SET.
6512 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6513 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6514 not unsigned long int.
6515 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6516
ddb28975
L
65172012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6518
6519 [BZ #14050]
6520 [BZ #14117]
6521 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6522 __extern_always_inline instead of __extern_inline.
6523 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6524 (__signbit): Likewise.
6525 (__signbitl): Support C++ namespace.
6526 (lrintf): New inline function.
6527 (lrint): Likewise.
6528 (llrintf): Likewise.
6529 (llrint): Likewise.
6530 (fmaxf): Likewise.
6531 (fmax): Likewise.
6532 (fminf): Likewise.
6533 (fmin): Likewise.
6534 (rint): Likewise.
6535 (rintf): Likewise.
6536 (ceil): Likewise.
6537 (ceilf): Likewise.
6538 (floor): Likewise.
6539 (floorf): Likewise.
6540 (nearbyint): Likewise.
6541 (nearbyintf): Likewise.
6542
d7b4fb26
TS
65432012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6544
6545 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6546 non-default versions.
6547
eb55f5c2
RM
65482012-06-11 Roland McGrath <roland@hack.frob.com>
6549
6550 [BZ #14218]
6551 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6552
366af02c
TS
65532012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6554
99ff6e5c
TS
6555 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6556 (FE_UPWARD, FE_DOWNWARD): Don't define.
6557 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6558 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6559
366af02c
TS
6560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6561 reading it.
6562 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6563 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6564
793ea851
KK
65652012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6566
6567 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6569 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6570 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6571
a728a38f
L
65722012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6573
6574 [BZ #14117]
c08010c7
L
6575 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6576 * sysdeps/i386/fpu/Implies: New file.
6577 * sysdeps/x86_64/fpu/Implies: Likewise.
6578 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6579 * sysdeps/x86/fpu/bits/fenv.h: This.
6580
a728a38f
L
6581 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6582 __SSE_MATH__.
6583
6e230d11
SP
65842012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6585
6586 [BZ #14134]
6587 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6588 character 0xffff that matches the last element of the
6589 conversion table.
6590
1b671feb
AZ
65912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6592
6593 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6594 fmodl commit.
6595
6043738b
AZ
65962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597
6598 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6599 values higher than 25.6283.
6600
34ae0b32
AZ
66012012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6602
6603 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6604 subnormal exponent extraction and add some __builtin_expect.
6605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6606 Fix for subnormal mantissa calculation.
6607
1214ec8f
MF
66082012-06-04 Mike Frysinger <vapier@gentoo.org>
6609
6610 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6611 cpu2 is -1 and errno is not ENOSYS.
6612
f3d1f93c
L
66132012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6614
6615 [BZ #14117]
0e4a3cd7
L
6616 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6617 * sysdeps/x86/bits/string.h: This.
6618 * sysdeps/x86_64/bits/string.h: Removed.
6619
6704c645
L
6620 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6621 if not compiling for x86-64, but compiling for >= i486.
6622
48495318
L
6623 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6624 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6625
14adcbfc
L
6626 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6627 New macro from Linux kernel 3.4.0.
6628 (FP_XSTATE_MAGIC2): Likewise.
6629 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6630 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6631 (struct _fpx_sw_bytes): New struct.
6632 (struct _xsave_hdr): Likewise.
6633 (struct _ymmh_state): Likewise.
6634 (struct _xstate): Likewise.
6635
68e408ab
L
6636 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6637 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6639 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6640 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6641 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6642
f3d1f93c
L
6643 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6644 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6645 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6646 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6647 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6648 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6649
d9dc34cd
TMQMF
66502012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6651
6652 [BZ #13743]
6653 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6654 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6655 (sysdep_headers): Include sys/platform/ppc.h.
6656 * sysdeps/powerpc/test-gettimebase.c: Test for
6657 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6658 * manual/Makefile (appendices): Include platform.texi.
6659 * manual/contrib.texi (Contributors): Update @node pointers.
6660 * manual/maint.texi (Maintenance): Likewise.
6661 (Platform): New node.
6662 * manual/platform.texi: New file. Document the new features.
6663
4af3879c
SP
66642012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6665 Jakub Jelinek <jakub@redhat.com>
6666
6667 [BZ #14188]
6668 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6669 where __builtin_expect is unavailable.
6670
2fd6ff13
DM
66712012-06-03 David S. Miller <davem@davemloft.net>
6672
6673 * stdlib/longlong.h: Updated from GCC.
6674
173f7220
AS
66752012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6676
6677 [BZ #14042]
6678 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6679 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6680 __mcount_internal.
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6682 (GLIBC_2.16): Likewise.
6683
f34a1c6f
L
66842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6685
6686 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6687
88a4576f
JM
66882012-06-01 Joseph Myers <joseph@codesourcery.com>
6689
ea32bcdd
JM
6690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6691 (default-abi): New variable.
6692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6693 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6694 variable.
6695 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6696 Likewise.
6697 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6698 Likewise.
6699 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6700 Likewise.
6701
88a4576f
JM
6702 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6703 definition. Document in comment.
6704
402fe938
DM
67052012-06-01 David S. Miller <davem@davemloft.net>
6706
6707 * stdlib/longlong.h: Updated from GCC.
6708
3553723f
L
67092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6710
6711 [BZ #14117]
3bd872c4
L
6712 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6713 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6714 sys/debugreg.h sys/io.h here.
6715 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6716 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6717 sys/io.h.
6718 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6719 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6720 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6721 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6722 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6723 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6724
3553723f
L
6725 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6726 Define only if __x86_64__ is defined.
6727
4842e4fe
JM
67282012-06-01 Joseph Myers <joseph@codesourcery.com>
6729
c5bfe3d5
JM
6730 [BZ #14048]
6731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6732 Use int64_t for variable i.
6733 * math/libm-test.inc (fmod_test): Add more tests.
6734
4842e4fe
JM
6735 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6736 z computation is not scheduled after fetestexcept.
6737 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6738 Use math_force_eval instead of asm to ensure calculation scheduled
6739 before exception test.
6740 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6741 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6742
efb73488
AJ
67432012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6744
6745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6746 computation is not scheduled after fetestexcept.
6747
29bcce7c
L
67482012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6749
6750 [BZ #14117]
6751 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6752 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6753
73a68f94
AZ
67542012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6757 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6758
67b6df78
L
67592012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6760
edf2933a 6761 [BZ #14117]
ebc64a18
L
6762 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6763 <bits/wordsize.h>.
6764 (__WCHAR_MIN): Support __WORDSIZE == 64.
6765 (__WCHAR_MAX): Likewise.
6766
edf2933a
L
6767 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6768 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6769
57c6cf40
L
6770 [BZ #14183]
6771 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6772 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6773
67b6df78 6774 [BZ #14117]
8eb6281e
L
6775 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6776 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6777
aac639f4
L
6778 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6779 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6780
67b6df78
L
6781 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6782 Defined to 1 if __x86_64__ isn't defined.
6783 (_STAT_VER_LINUX_OLD): New.
6784 (st_atime): Remove duplicate.
6785 (st_mtime): Likewise.
6786 (st_ctime): Likewise.
6787
1c2cfe81
DM
67882012-05-31 David S. Miller <davem@davemloft.net>
6789
6790 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6791 entries.
6792
5be8418c
AS
67932012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6794
e7725326
AS
6795 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6796 gen-libm-test.pl.
6797
5be8418c
AS
6798 [BZ #14132]
6799 * elf/dl-reloc.c: Include <_itoa.h>.
6800 (_dl_reloc_bad_type): Remove use of INTUSE.
6801 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6802 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6803 * stdio-common/psiginfo.c (psiginfo): Likewise.
6804 * stdio-common/psignal.c (psignal): Likewise.
6805 * string/strsignal.c (strsignal): Likewise.
6806 * include/signal.h (_sys_siglist): Declare hidden proto.
6807 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6808 INTVARDEF with libc_hidden_data_def.
6809 * stdio-common/itoa-udigits.c: Likewise.
6810 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6811 (_itoa_lower_digits_internal): Remove declaration.
6812 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6813 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6814 (_sys_sigabbrev_internal): Remove aliases.
6815 (_sys_siglist): Define hidden alias.
6816
507352f1
MT
68172012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6818
6819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6820 bits/sysctl.h.
6821
42bbb1c3
L
68222012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6823
6824 [BZ #14117]
6bd784b6
L
6825 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6826 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6827
8bca20f0
L
6828 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6829 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6830 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6831 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6832 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6833 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6834
f9e890a9
L
6835 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6836 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6837 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6838
471101a1
L
6839 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6840 with __addr.
6841 (insw): Likewise.
6842 (insl): Likewise.
6843 (outsb): Likewise.
6844 (outsw): Likewise.
6845 (outsl): Likewise.
6846
6451c862
L
6847 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6848 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6849 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6850
a254b8c9
L
6851 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6852 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6853 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6854 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6855 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6856 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6857
b8dfdd92
L
6858 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6859 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6860
578cd270
L
6861 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6862 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6863
de662f5f
L
6864 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6867
25653439
L
6868 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6869 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6870 to ...
6871 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6872
6bad24a0
L
6873 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6874 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6875 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6876
42bbb1c3
L
6877 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6878 for x86-64.
6879 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6880
2d10d547
JM
68812012-05-31 Joseph Myers <joseph@codesourcery.com>
6882
6883 * math/math.h (M_El): Use two more decimal places.
6884 (M_LOG2El): Likewise.
6885 (M_LOG10El): Likewise.
6886 (M_LN2l): Likewise.
6887 (M_LN10l): Likewise.
6888 (M_PIl): Likewise.
6889 (M_PI_2l): Likewise.
6890 (M_PI_4l): Likewise.
6891 (M_1_PIl): Likewise.
6892 (M_2_PIl): Likewise.
6893 (M_2_SQRTPIl): Likewise.
6894 (M_SQRT2l): Likewise.
6895 (M_SQRT1_2l): Likewise.
6896
f230c29b
DM
68972012-05-31 David S. Miller <davem@davemloft.net>
6898
6899 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6900 values between float registers.
6901 * sysdeps/sparc/sparc64/memset.S: Likewise.
6902 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6903
fed806c3
MF
69042012-05-31 Mike Frysinger <vapier@gentoo.org>
6905
6906 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6907 -D_FORTIFY_SOURCE=1.
6908 (CPPFLAGS-tst-longjmp_chk.c): Define.
6909 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6910 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6911 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6912 CFLAGS-tst-wchar-h.c.
6913
30917259
MP
69142012-05-31 Marek Polacek <polacek@redhat.com>
6915
6916 [BZ #14132]
6917 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6918 __endmntent_internal): Remove declaration.
6919 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6920 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6921 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6922
1c58d5dc
DM
69232012-05-30 David S. Miller <davem@davemloft.net>
6924
6925 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6926 (___Q_simulate_exceptions): Use real FP ops rather than writing
6927 into the %fsr.
6928 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6929 Likewise.
6930
7dc00e0d
L
69312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6932
6933 [BZ #14117]
0bd53985
L
6934 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6935 * sysdeps/x86/bits/xtitypes.h: This.
6936
3a257e66
L
6937 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6938 * sysdeps/x86/bits/wordsize.h: This.
6939
62f62904
L
6940 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6941 * sysdeps/x86/bits/huge_vall.h: This.
6942
404fe9d9
L
6943 * sysdeps/i386/bits/select.h: Removed.
6944 * sysdeps/x86_64/bits/select.h: Renamed to ...
6945 * sysdeps/x86/bits/select.h: This.
6946
d48d0446
L
6947 * sysdeps/i386/bits/setjmp.h: Removed.
6948 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6949 * sysdeps/x86/bits/setjmp.h: This.
6950
7dc00e0d
L
6951 * sysdeps/i386/bits/mathdef.h: Removed.
6952 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6953 * sysdeps/x86/bits/mathdef.h: This.
6954
03277f8f
AS
69552012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6956
6957 [BZ #14132]
6958 * include/sys/socket.h (__connect_internal)
6959 (__libc_sa_len_internal): Remove declaration.
6960 (__connect, __libc_sa_len): Declare hidden_proto.
6961 (SA_LEN): Remove use of INTUSE.
6962 * socket/connect.c: Add libc_hidden_def.
6963 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6964 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6965 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6966 alias.
6967 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6968 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6969 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6970 of adding _internal alias.
6971
13764867
L
69722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6973
6974 [BZ #14117]
6bd97696
L
6975 * sysdeps/i386/bits/link.h: Removed.
6976 * sysdeps/i386/bits/linkmap.h: Likewise.
6977 * sysdeps/x86_64/bits/link.h: Renamed to ...
6978 * sysdeps/x86/bits/link.h: This.
6979 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6980 * sysdeps/x86/bits/linkmap.h: This.
6981
f726f0bb
L
6982 * sysdeps/i386/bits/endian.h: Removed.
6983 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6984 * sysdeps/x86/bits/endian.h: This.
6985
13764867
L
6986 * sysdeps/i386/bits/byteswap.h: Removed.
6987 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6988 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6989 * sysdeps/x86/bits/byteswap.h: This.
6990 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6991 * sysdeps/x86/bits/byteswap-16.h: This.
6992 * sysdeps/i386/Implies: Add x86.
6993 * sysdeps/x86_64/Implies: Likewise.
6994
ae251b0b
DM
69952012-05-30 David S. Miller <davem@davemloft.net>
6996
6997 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6998 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6999 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7000 (FP_TRAPPING_EXCEPTIONS): Define.
7001 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7002 (FP_TRAPPING_EXCEPTIONS): Define.
7003 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7004 subnormals only when inexact has been signalled or underflow
7005 exceptions are enabled.
7006 (_FP_PACK_CANONICAL): Likewise.
7007
d5c90867
L
70082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7009
7010 [BZ #14183]
7011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7012 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7013
63f1549e
RH
70142012-05-30 Richard Henderson <rth@twiddle.net>
7015
8d8f2279
RH
7016 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7017 with #ifndef NOT_IN_libc.
7018
63f1549e
RH
7019 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7020 marked to avoid plt entry.
7021
0ab0291b
L
70222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7023
7024 [BZ #14112]
7025 * Makeconfig (default-abi): New macro.
7026 (abi-includes): Likewise.
7027 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7028 $(abi-$(default-abi)-lib-soname) for soname if defined.
7029 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7030 abi-variants.
7031 * Makefile (installed-stubs): Likewise.
7032 * include/stubs-biarch.h: Removed.
7033 * scripts/lib-names.awk: Only handle one library at a time.
7034 * scripts/soversions.awk: Remove WORDSIZE support.
7035 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7036 entries.
7037 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7038 Removed.
7039 (syscall-list-default-condition): Likewise.
7040 (syscall-list-default-condition): Likewise.
7041 (syscall-list-includes): Likewise.
7042 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7043 syscall-list-* with abi-*. Handle undefined abi-variants.
7044 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7045 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7046 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7047 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7048 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7049 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7050 Removed.
7051 (syscall-list-32-options): Likewise.
7052 (syscall-list-32-condition): Likewise.
7053 (syscall-list-64-options): Likewise.
7054 (syscall-list-64-condition): Likewise.
7055 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7056 macro.
7057 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7058 Renamed to ...
7059 (abi-*): This.
7060 (abi-64-ld-soname): New macro.
7061 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7062 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7063 Renamed to ...
7064 (abi-*): This.
7065 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7066 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7067
4da0431d
JM
70682012-05-30 Joseph Myers <joseph@codesourcery.com>
7069
3a85279c
JM
7070 * sysdeps/unix/sysv/linux/kernel-features.h
7071 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7072 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7073 include <kernel-features.h>.
7074 [!__NR_ftruncate64]: Remove conditional code.
7075 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7076 [__NR_ftruncate64]: Make code unconditional.
7077 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7078 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7079 include <kernel-features.h>.
7080 [!__NR_ftruncate64]: Remove conditional code.
7081 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7082 [__NR_ftruncate64]: Make code unconditional.
7083 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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
4da0431d
JM
7097 * configure.in (libc_cv_fpie): Weaken to a compile test using
7098 LIBC_TRY_CC_OPTION.
7099 * configure: Regenerated.
7100
11ef492c
AK
71012012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7102
7103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7107 Refreshed.
7108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7114 Refreshed.
7115
d66ef399
DM
71162012-05-27 David S. Miller <davem@davemloft.net>
7117
7118 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7119 (___Q_zero): New.
7120 (__Q_simulate_exceptions): Return void. Change to simulate
7121 exceptions by writing into the %fsr.
7122 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7123 (__Qp_handle_exceptions): Likewise.
7124 (numbers): Delete.
7125 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7126 __Qp_handle_exceptions.
7127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7128 __Qp_handle_exceptions.
7129 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7130 as unused and give dummy FP_RND_NEAREST initializer.
7131 (FP_INHIBIT_RESULTS): Define.
7132 (___Q_simulate_exceptions): Update declaration.
7133 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7134 formatting.
7135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7136 as unused and give dummy FP_RND_NEAREST initializer.
7137 (__Qp_handle_exceptions): Update declaration.
7138 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7139 formatting.
7140
04fb54b5
TS
71412012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7142
7143 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7144 the temporary FPU control word.
7145 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7146 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7147 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7148 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7149 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7150 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7151 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7152 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7153 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7154 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7155 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7156
3f99608f
KK
71572012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7158
7159 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7160 fields.
7161
65a4de4e
CLT
71622012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7163
7164 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7165 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7166 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7167 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7168 Likewise.
7169 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7170 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7171 Likewise.
7172
15749d40
UD
71732012-05-27 Ulrich Drepper <drepper@gmail.com>
7174
7175 * po/h.po: Update from translation team.
7176
25dbcb27
AS
71772012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7178
3d3f8e55
AS
7179 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7180
25dbcb27
AS
7181 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7182 handling of denormals.
7183 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7184 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7185 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7186 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7187 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7188 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7189 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7190 Likewise.
7191
7ad47a80 71922012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7193
7194 [BZ #14152]
7195 * math/libm-test.inc (fma_test): Don't always expect underflow
7196 exception.
7197
9c6ea9fa
SP
71982012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7199
7200 [BZ #12416]
7201 * elf/tst-execstack.c: Include stackinfo.h.
7202 (do_test): Adjust test case to ensure that pthread_getattr_np
7203 behaviour remains the same after marking stack executable.
7204
a8239222
JM
72052012-05-25 Joseph Myers <joseph@codesourcery.com>
7206
7207 * sysdeps/unix/sysv/linux/kernel-features.h
7208 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7209 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7210 kernel-features.h.
7211 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7212 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7213 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7214 kernel-features.h.
7215 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7216 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7217
918b5606
L
72182012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7219
7220 * configure.in: Define the default includes to being none.
7221 * configure: Regenerated.
7222
3a097cc7
RM
72232012-05-25 Roland McGrath <roland@hack.frob.com>
7224
8422c9a5
RM
7225 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7226 * sysdeps/x86_64/setjmp.S: Likewise.
7227 * sysdeps/i386/bsd-setjmp.S: Likewise.
7228 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7229 * sysdeps/i386/setjmp.S: Likewise.
7230 * sysdeps/i386/__longjmp.S: Likewise.
7231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7232 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7233
3a097cc7
RM
7234 * include/stap-probe.h: New file.
7235 * configure.in: Handle --enable-systemtap.
7236 * configure: Regenerated.
7237 * config.h.in (USE_STAP_PROBE): New #undef.
7238 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7239 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7240 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7241
21708942
JM
72422012-05-25 Joseph Myers <joseph@codesourcery.com>
7243
7244 [BZ #13717]
7245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7246 to 2.4.0 where earlier.
7247 * sysdeps/unix/sysv/linux/configure: Regenerated.
7248 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7249 <kernel-features.h>.
7250 [__ASSUME_32BITUIDS]: Make code unconditional.
7251 [!__ASSUME_32BITUIDS]: Remove conditional code.
7252 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7253 <kernel-features.h>.
7254 [__ASSUME_32BITUIDS]: Make code unconditional.
7255 [!__ASSUME_32BITUIDS]: Remove conditional code.
7256 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7257 [__ASSUME_32BITUIDS]: Make code unconditional.
7258 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7259 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7260 <kernel-features.h>.
7261 [__ASSUME_32BITUIDS]: Make code unconditional.
7262 [!__ASSUME_32BITUIDS]: Remove conditional code.
7263 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7264 <kernel-features.h>.
7265 [__ASSUME_32BITUIDS]: Make code unconditional.
7266 [!__ASSUME_32BITUIDS]: Remove conditional code.
7267 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7268 <kernel-features.h>.
7269 [__ASSUME_32BITUIDS]: Make code unconditional.
7270 [!__ASSUME_32BITUIDS]: Remove conditional code.
7271 * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
7300 <kernel-features.h>.
7301 [__NR_setresgid] (__setresgid): Do not declare.
7302 [__ASSUME_32BITUIDS]: Make code unconditional.
7303 [!__ASSUME_32BITUIDS]: Remove conditional code.
7304 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7305 <kernel-features.h>.
7306 [__NR_setresuid] (__setresuid): Do not declare.
7307 [__ASSUME_32BITUIDS]: Make code unconditional.
7308 [!__ASSUME_32BITUIDS]: Remove conditional code.
7309 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7310 <kernel-features.h>.
7311 [__ASSUME_32BITUIDS]: Make code unconditional.
7312 [!__ASSUME_32BITUIDS]: Remove conditional code.
7313 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7314 <kernel-features.h>.
7315 [__ASSUME_32BITUIDS]: Make code unconditional.
7316 [!__ASSUME_32BITUIDS]: Remove conditional code.
7317 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7318 <kernel-features.h>.
7319 [__ASSUME_32BITUIDS]: Make code unconditional.
7320 [!__ASSUME_32BITUIDS]: Remove conditional code.
7321 * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
7350 (__ASSUME_SETRESUID_SYSCALL): Remove.
7351 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7352 (__ASSUME_32BITUIDS): Likewise.
7353 (__ASSUME_LDT_WORKS): Likewise.
7354 (__ASSUME_O_DIRECTORY): Likewise.
7355 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7356 architecture but not kernel version.
7357 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7358 (__ASSUME_MMAP2_SYSCALL): Likewise.
7359 (__ASSUME_STAT64_SYSCALL): Likewise.
7360 (__ASSUME_IPC64): Likewise.
7361 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7362 <kernel-features.h>.
7363 [__ASSUME_32BITUIDS]: Make code unconditional.
7364 [!__ASSUME_32BITUIDS]: Remove conditional code.
7365 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7366 <kernel-features.h>.
7367 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7368 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7369 132096]: Remove conditional code.
7370 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7371 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7372 <kernel-features.h>.
7373 [__ASSUME_32BITUIDS]: Make code unconditional.
7374 [!__ASSUME_32BITUIDS]: Remove conditional code.
7375 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7376 <kernel-features.h>.
7377 [__ASSUME_32BITUIDS]: Make code unconditional.
7378 [!__ASSUME_32BITUIDS]: Remove conditional code.
7379 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7380 <kernel-features.h>.
7381 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7382 unconditional.
7383 (__setresgid): Do not declare.
7384 [__ASSUME_32BITUIDS]: Make code unconditional.
7385 [!__ASSUME_32BITUIDS]: Remove conditional code.
7386 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7387 <kernel-features.h>.
7388 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7389 unconditional.
7390 (__setresuid): Do not declare.
7391 [__ASSUME_32BITUIDS]: Make code unconditional.
7392 [!__ASSUME_32BITUIDS]: Remove conditional code.
7393 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7394 <kernel-features.h>.
7395 [__ASSUME_32BITUIDS]: Make code unconditional.
7396 [!__ASSUME_32BITUIDS]: Remove conditional code.
7397 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7398 <kernel-features.h>.
7399 [__ASSUME_32BITUIDS]: Make code unconditional.
7400 [!__ASSUME_32BITUIDS]: Remove conditional code.
7401
a386f1cc
RH
74022012-05-25 Richard Henderson <rth@twiddle.net>
7403
7404 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7405 dl_hwcap to ifunc resolver.
7406 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7407 elf_ifunc_invoke.
7408 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7409 dl_hwcap to ifunc resolver.
7410 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7411
b6550497
JM
74122012-05-24 Joseph Myers <joseph@codesourcery.com>
7413
7414 [BZ #14153]
7415 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7416 for |x| <= 2**-26, not 2**-57.
7417 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7418 exception.
7419
b0bc23a1
JL
74202012-05-24 Jeff Law <law@redhat.com>
7421
7422 * stdio-common/Makefile (tests): Add bug25.
7423 * stdio-common/bug25.c: New test.
7424
347c92e9
L
74252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7426
7427 [BZ #13576]
7428 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7429 multiple of MALLOC_ALIGNMENT in size.
7430 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7431
6bcc8b3f
JM
74322012-05-24 Joseph Myers <joseph@codesourcery.com>
7433
7434 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7435 Require >= 256.
7436 (FILENAME_MAX): Use macro-int-constant.
7437 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7438 (_IOFBF): Use macro-int-constant.
7439 (_IOLBF): Likewise.
7440 (_IONBF): Likewise.
7441 (SEEK_CUR): Likewise.
7442 (SEEK_END): Likewise.
7443 (SEEK_SET): Likewise.
7444 (TMP_MAX): Likewise.
7445 (EOF): Use macro-int-constant. Require < 0.
7446 (NULL): Use macro-constant. Require == 0.
7447 (stdin): Require type to be FILE *.
7448 (stdout): Likewise.
7449 (stderr): Likewise.
7450 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7451 macro-int-constant.
7452 (EXIT_SUCCESS): Likewise.
7453 (NULL): Use macro-constant. Require == 0.
7454 (RAND_MAX): Use macro-int-constant.
7455 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7456 [C99-based standards] (strtof): Require function.
7457 [C99-based standards] (strtold): Likewise.
7458 [C99-based standards] (strtoll): Likewise.
7459 [C99-based standards] (strtoull): Likewise.
7460 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7461 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7462 [ISO || ISO99 || ISO11] (math.h): Likewise.
7463 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7464 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7466
d18ea0c5
AS
74672012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7468
7469 [BZ #14132]
56d25bb8
AS
7470 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7471 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7472 * intl/dgettext.c (DCGETTEXT): Likewise.
7473 * intl/gettext.c (DCGETTEXT): Likewise.
7474 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7475 * posix/regex_internal.h (gettext): Likewise.
7476 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7477 Remove declaration.
7478 * include/argz.h (__argz_count_internal)
7479 (__argz_stringify_internal): Remove declaration.
7480 (__argz_count, __argz_stringify): Declare hidden proto.
7481 * intl/dcgettext.c: Remove use of INTDEF.
7482 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7483 * string/argz-stringify.c: Likewise.
7484 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7485 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7486 Declare hidden proto.
d18ea0c5
AS
7487 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7488 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7489 Declare hidden proto.
7490 * include/stdio.h (__asprintf_internal): Don't declare.
7491 (__asprintf): Don't define as macro. Declare hidden proto.
7492 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7493 (__fsetlocking): Declare hidden proto.
7494 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7495 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7496 hidden proto.
7497 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7498 (_IO_setlinebuf): Remove use of INTUSE.
7499 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7500 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7501 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7502 Remove declaration.
7503 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7504 (_IO_do_flush): Remove use of INTUSE.
7505 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7506 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7507 (_IO_adjust_column, _IO_least_wmarker)
7508 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7509 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7510 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7511 (_IO_default_doallocate, _IO_wdefault_doallocate)
7512 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7513 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7514 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7515 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7516 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7517 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7518 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7519 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7520 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7521 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7522 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7523 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7524 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7525 proto.
7526 (_IO_flush_all_internal, _IO_adjust_column_internal)
7527 (_IO_default_uflow_internal, _IO_default_finish_internal)
7528 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7529 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7530 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7531 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7532 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7533 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7534 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7535 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7536 (_IO_file_close_internal, _IO_file_close_it_internal)
7537 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7538 (_IO_file_init_internal, _IO_file_attach_internal)
7539 (_IO_file_fopen_internal, _IO_file_read_internal)
7540 (_IO_file_sync_internal, _IO_file_seek_internal)
7541 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7542 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7543 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7544 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7545 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7546 (_IO_list_all_internal, _IO_link_in_internal)
7547 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7548 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7549 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7550 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7551 (_IO_do_write_internal, _IO_padn_internal)
7552 (_IO_getline_info_internal, _IO_getline_internal)
7553 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7554 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7555 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7556 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7557 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7558 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7559 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7560 with libc_hidden_ver, remove use of INTUSE.
7561 * libio/genops.c: Likewise.
7562 * libio/freopen.c: Likewise.
7563 * libio/freopen64.c: Likewise.
7564 * libio/iofclose.c: Likewise.
7565 * libio/iofdopen.c: Likewise.
7566 * libio/iofflush.c: Likewise.
7567 * libio/iofflush_u.c: Likewise.
7568 * libio/iofgets.c: Likewise.
7569 * libio/iofgets_u.c: Likewise.
7570 * libio/iofopen.c: Likewise.
7571 * libio/iofopncook.c: Likewise.
7572 * libio/iofread.c: Likewise.
7573 * libio/iofread_u.c: Likewise.
7574 * libio/ioftell.c: Likewise.
7575 * libio/iofwrite.c: Likewise.
7576 * libio/iogetline.c: Likewise.
7577 * libio/iogets.c: Likewise.
7578 * libio/iogetwline.c: Likewise.
7579 * libio/iopadn.c: Likewise.
7580 * libio/iopopen.c: Likewise.
7581 * libio/ioseekoff.c: Likewise.
7582 * libio/ioseekpos.c: Likewise.
7583 * libio/iosetbuffer.c: Likewise.
7584 * libio/iosetvbuf.c: Likewise.
7585 * libio/ioungetc.c: Likewise.
7586 * libio/ioungetwc.c: Likewise.
7587 * libio/iovdprintf.c: Likewise.
7588 * libio/iovsprintf.c: Likewise.
7589 * libio/iovsscanf.c: Likewise.
7590 * libio/memstream.c: Likewise.
7591 * libio/obprintf.c: Likewise.
7592 * libio/oldfileops.c: Likewise.
7593 * libio/oldiofclose.c: Likewise.
7594 * libio/oldiofdopen.c: Likewise.
7595 * libio/oldiofopen.c: Likewise.
7596 * libio/oldiopopen.c: Likewise.
7597 * libio/oldstdfiles.c: Likewise.
7598 * libio/putc.c: Likewise.
7599 * libio/setbuf.c: Likewise.
7600 * libio/setlinebuf.c: Likewise.
7601 * libio/stdfiles.c: Likewise.
7602 * libio/strops.c: Likewise.
7603 * libio/vasprintf.c: Likewise.
7604 * libio/vscanf.c: Likewise.
7605 * libio/vsnprintf.c: Likewise.
7606 * libio/vswprintf.c: Likewise.
7607 * libio/wfiledoalloc.c: Likewise.
7608 * libio/wfileops.c: Likewise.
7609 * libio/wgenops.c: Likewise.
7610 * libio/wmemstream.c: Likewise.
7611 * libio/wstrops.c: Likewise.
7612 * libio/__fpurge.c: Likewise.
7613 * libio/__fsetlocking.c: Likewise.
7614 * assert/assert.c: Likewise.
7615 * debug/fgets_chk.c: Likewise.
7616 * debug/fgets_u_chk.c: Likewise.
7617 * debug/fread_chk.c: Likewise.
7618 * debug/fread_u_chk.c: Likewise.
7619 * debug/gets_chk.c: Likewise.
7620 * debug/obprintf_chk.c: Likewise.
7621 * debug/vasprintf_chk.c: Likewise.
7622 * debug/vdprintf_chk.c: Likewise.
7623 * debug/vsnprintf_chk.c: Likewise.
7624 * debug/vsprintf_chk.c: Likewise.
7625 * malloc/mtrace.c: Likewise.
7626 * misc/error.c: Likewise.
7627 * misc/syslog.c: Likewise.
7628 * stdio-common/asprintf.c: Likewise.
7629 * stdio-common/fxprintf.c: Likewise.
7630 * stdio-common/getw.c: Likewise.
7631 * stdio-common/isoc99_fscanf.c: Likewise.
7632 * stdio-common/isoc99_scanf.c: Likewise.
7633 * stdio-common/isoc99_vfscanf.c: Likewise.
7634 * stdio-common/isoc99_vscanf.c: Likewise.
7635 * stdio-common/isoc99_vsscanf.c: Likewise.
7636 * stdio-common/printf-prs.c: Likewise.
7637 * stdio-common/printf_fp.c: Likewise.
7638 * stdio-common/printf_fphex.c: Likewise.
7639 * stdio-common/printf_size.c: Likewise.
7640 * stdio-common/putw.c: Likewise.
7641 * stdio-common/scanf.c: Likewise.
7642 * stdio-common/sprintf.c: Likewise.
7643 * stdio-common/tmpfile.c: Likewise.
7644 * stdio-common/vfprintf.c: Likewise.
7645 * stdio-common/vfscanf.c: Likewise.
7646 * stdlib/strfmon_l.c: Likewise.
7647 * sunrpc/openchild.c: Likewise.
7648 * sunrpc/xdr_stdio.c: Likewise.
7649 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7650 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7651
d6c33fda
RM
76522012-05-24 Roland McGrath <roland@hack.frob.com>
7653
c1487492
RM
7654 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7655
7656 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7657 in the third column, to generate for the shared library an IFUNC
7658 that uses _dl_vdso_vsym.
7659 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7660 * Makeconfig (object-suffixes-noshared): New variable.
7661
7662 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7663 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7664 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7665 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7666
d6c33fda
RM
7667 [BZ #14132]
7668 * include/sys/time.h (__gettimeofday): Remove macro.
7669 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7670 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7671 Remove INTDEF.
7672 (__gettimeofday): Add libc_hidden_def.
7673 (gettimeofday): Add libc_hidden_weak.
7674 * sysdeps/mach/gettimeofday.c: Likewise.
7675 * sysdeps/posix/gettimeofday.c: Likewise.
7676 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7677 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7679 (__gettimeofday_internal): Remove strong_alias.
7680 (__gettimeofday): Add libc_hidden_def.
7681 (gettimeofday): Add libc_hidden_weak.
7682 * sysdeps/unix/syscalls.list (gettimeofday):
7683 Remove __gettimeofday_internal alias.
7684
b5a2bbe6
L
76852012-05-24 Daniel Jacobowitz <drow@false.org>
7686 H.J. Lu <hongjiu.lu@intel.com>
7687
7688 [BZ #12495]
7689 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7690 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7691 (largebin_index_32_big): New.
7692 (largebin_index): Use it for 16-byte alignment.
7693 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7694 correction with front_misalign.
7695
cfba4fda
L
76962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7697
7f907421
L
7698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7700 Likewise.
7701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7702 Likewise.
7703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7704 Likewise.
7705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7706 Likewise.
7707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7708 Likewise.
7709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7710 Likewise.
7711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7712 Likewise.
7713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7714 Likewise.
7715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7716 Likewise.
7717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7718 Likewise.
7719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7720 Likewise.
7721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7722 Likewise.
7723
cfba4fda
L
7724 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7725 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7726
80bad0cc
JM
77272012-05-24 Joseph Myers <joseph@codesourcery.com>
7728
7a25eb06
JM
7729 [BZ #10846]
7730 [BZ #14036]
7731 * math/libm-test.inc (exp_test): Add test from bug 14036.
7732 (pow_test): Add test from bug 10846.
7733
795405f9
JM
7734 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7735 and other flags.
7736 (special_function): Do not include flags in test name.
7737 (parse_args): Likewise.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7740 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7741 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7743
80bad0cc
JM
7744 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7745 exceptions.
7746 * math/libm-test.inc ("Philosophy"): Update comment about
7747 exception testing.
7748 (UNDERFLOW_EXCEPTION): New macro.
7749 (UNDERFLOW_EXCEPTION_OK): Likewise.
7750 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7751 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7752 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7753 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7754 (INVALID_EXCEPTION_OK): Update value.
7755 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7756 (OVERFLOW_EXCEPTION_OK): Likewise.
7757 (IGNORE_ZERO_INF_SIGN): Likewise.
7758 (test_exceptions): Handle underflow exceptions.
7759 (acos_test): Update for underflow exception expectations.
7760 (cexp_test): Likewise.
7761 (clog_test): Likewise.
7762 (clog10_test): Likewise.
7763 (csqrt_test): Likewise.
7764 (ctan_test): Likewise.
7765 (ctanh_test): Likewise.
7766 (exp_test): Likewise.
7767 (exp10_test): Likewise.
7768 (exp2_test): Likewise.
7769 (expm1_test): Likewise.
7770 (fma_test): Likewise.
7771 (j0_test): Likewise.
7772 (jn_test): Likewise.
7773 (nexttoward_test): Likewise.
7774 (pow_test): Likewise.
7775 (scalbn_test): Likewise.
7776 (scalbln_test): Likewise.
7777 (tan_test): Likewise.
7778 (y1_test): Likewise.
7779 * sysdeps/i386/fpu/libm-test-ulps: Update.
7780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7781
9e0e3d0b
DM
77822012-05-23 David S. Miller <davem@davemloft.net>
7783
7784 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7785 (__libc_sigaction): Remove unused local variables.
7786
ccd0a08f
L
77872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7788
7789 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7790
62bdf9a6
PE
77912012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7792
f8591f80
PE
7793 mktime: avoid signed integer overflow
7794 * time/mktime.c (__mktime_internal): Do not mishandle the case
7795 where diff == INT_MIN.
7796
94c7d826
PE
7797 mktime: simplify computation of average
7798 * time/mktime.c (ranged_convert): Use new time_t_avg function
7799 instead of rolling our own (probably-slower) code.
7800
ce73d683
PE
7801 mktime: do not assume signed right shift propagates sign bit
7802 * time/mktime.c (isdst_differ): New static function.
7803 (__mktime_internal): No need to normalize tm_isdst now.
7804 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7805 tm_isdst values.
7806
72a22e59
PE
7807 mktime: merge another wrapv change from gnulib
7808 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7809 from some compilers.
7810
68605433
PE
7811 mktime: remove incorrect attempt at unusual arithmetics
7812 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7813 The code didn't really work on such machines anyway.
7814 (TYPE_MINIMUM): Assume two's complement.
7815 (twos_complement_arithmetic): Verify that long_int and time_t
7816 are two's complement (or unsigned, in the latter case).
7817
03cf7fe3
PE
7818 mktime: check signed shifts on long_int and time_t, too
7819 * time/mktime.c (SHR): Check that shifts work as desired
7820 on the types long_int and time_t too, as SHR is used on
7821 such types.
7822
f04dfbc2
PE
7823 mktime: do not assume 'long' is wide enough
7824 * time/mktime.c (verify): Move decl up.
7825 (long_int): New type.
7826 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7827 to remove assumption in the code that 'long' is wide enough to
7828 store year values. This assumption is not true on x32 and on
7829 some non-glibc platforms.
7830
62bdf9a6
PE
7831 mktime: merge wrapv change from gnulib
7832 * time/mktime.c (WRAPV): New macro.
7833 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7834 (guess_time_tm, __mktime_internal): Do not assume that signed
7835 integer overflow wraps around; modern compilers generate code
7836 where this assumption is no longer valid.
7837
5e292e4f
L
78382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7839
7840 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7841 Replace "jmp L(pseudo_end)" with "ret".
7842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7843 Likewise.
7844
8caf8c87
AJ
78452012-05-23 Andreas Jaeger <aj@suse.de>
7846
7847 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7848 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7849
1a09dc56
AJ
78502012-05-23 Andreas Jaeger <aj@suse.de>
7851 Maximilian Attems <max@stro.at>
7852
7853 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7854 New macros.
7855
1c87aba0
L
78562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7859 code so that pseudo_end is just ret and the stack pointer is
7860 correct also for static library in error case.
7861
40e45bd5
JM
78622012-05-23 Joseph Myers <joseph@codesourcery.com>
7863
c2670533
JM
7864 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7865 move to syscalls.list.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7870
40e45bd5
JM
7871 * manual/install.texi (Running make install): Do not mention Linux
7872 kernel version for which pt_chown is not needed.
7873 (Linux): Do not mention problems with nscd with 2.0 kernels.
7874 * INSTALL: Regenerated.
7875
be08eda5
AJ
78762012-05-23 Andreas Jaeger <aj@suse.de>
7877
7878 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7879 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7880 macro.
7881 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7882 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7883 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7884 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7885 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7886 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7891 * sysdeps/unix/sysv/linux/bits/in.h
7892 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7893
a6a056bb
RM
78942012-05-22 Roland McGrath <roland@hack.frob.com>
7895
7896 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7897 (PREPARE_VERSION): Just use assert instead, it will be elided
7898 under [NDEBUG] anyway.
7899
c9009328
L
79002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7901
7902 * sysdeps/unix/sysv/linux/Makefile: Include
7903 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7904 (sysdep_routines): Remove sysctl.
c9009328
L
7905 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7906 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7907 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7909 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7910
73338355
AJ
79112012-05-22 Andreas Jaeger <aj@suse.de>
7912
7913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7914 that pseudo_end is just ret and the stack pointer is correct also
7915 for static library in error case.
7916
d44638b0
PP
79172012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7918
7919 [BZ #14122]
7920 * nss/nsswitch.c (defconfig_entries): New variable.
7921 (__nss_database_lookup): Don't leak defconfig entries.
7922 (nss_parse_service_list): Don't leak on error paths.
7923 (free_database_entries): New function.
7924 (free_defconfig): New function.
7925 (free_mem): Move common code to free_database_entries.
7926
31a39bd8
L
79272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7928
da0331a8
L
7929 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7930 Add arch_prctl.
7931 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7932
31a39bd8
L
7933 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7934 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7936 New macro.
7937 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7938 (INTERNAL_SYSCALL_TYPES): Likewise.
7939 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7940 (LOAD_REGS_TYPES_[1-6]): Likewise.
7941 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7942 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7943
45470df3
AZ
79442012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7945
7946 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7947 copysignl for GLIBC_2_0.
7948 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7949 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7951 logbl for GLIBC_2_0.
7952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7953 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7954
98a61bcb
L
79552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7956
a4f6e481
L
7957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7958 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7959
f63d5db6
L
7960 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7961 Use "neg %eax".
7962
98a61bcb
L
7963 * time/mktime.c: Update copyright years.
7964
95770f14
PE
79652012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7966
6226efbd
PE
7967 mktime: merge comment-quoting-style change from gnulib
7968 * time/mktime.c: Quote 'like this' in comments.
7969 The GNU coding standards suggest that we no longer quote `like this',
7970 as "`" and "'" are typically rendered asymmetrically nowadays.
7971 The typical gnulib style is to quote 'like this' when quoting
7972 code, and "like this" when quoting English.
7973
b99e4f78
PE
7974 * time/mktime.c (compile-command): Add "-I.".
7975
643e01e6
PE
7976 mktime: merge mktime-internal.h change from gnulib
7977 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7978
2554247d
PE
7979 mktime: merge time_r change from gnulib
7980 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7981
826dd0ab
PE
7982 mktime: merge DEBUG change from gnulib
7983 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7984 case system <time.h> has a #define.
7985
bd83aabe
PE
7986 mktime: merge <sys/types.h> change from gnulib
7987 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7988 since <time.t> is now guaranteed to define time_t.
7989
95770f14
PE
7990 mktime: merge HAVE_CONFIG_H change from gnulib
7991 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7992
5e1a27a9
L
79932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7994
0e44a77e
L
7995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7996 Use "neg %eax".
7997
5e1a27a9
L
7998 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7999 __rlim_t cast.
8000 (struct rusage): Use anonymous union to pad each field to
8001 __syscall_slong_t.
8002
46259bec
DM
80032012-05-21 David S. Miller <davem@davemloft.net>
8004
8005 * Makefules (o-iterator): Remove .s cases.
8006 (compile-command.s): Delete.
8007 (COMPILE.s): Delete.
8008 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8009
59f0c22e
JM
80102012-05-21 Joseph Myers <joseph@codesourcery.com>
8011
8012 * configure.in (libc_cv_predef_stack_protector): Only consider
8013 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8014 * configure: Regenerated.
8015
20c07380
L
80162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8017
bbb3154b
L
8018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8019 New macro. Use R*LP on int and pointer.
8020 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
8021 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8022 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
8023 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8024
20c07380
L
8025 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8026 [__WORDSIZE_TIME64_COMPAT32] instead of
8027 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8028 (struct utmp): Likewise.
8029 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8030 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8031 Renamed to ...
8032 (__WORDSIZE_TIME64_COMPAT32): This.
8033 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8034 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8035 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8036 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8037 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8038 (__WORDSIZE_TIME64_COMPAT32): New macro.
8039
d8d1017e
AJ
80402012-05-21 Andreas Jaeger <aj@suse.de>
8041
8042 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8043 only if [SHARED]. Add prototype for __wcschr_ia32.
8044
6c7fb145
RM
80452012-05-21 Roland McGrath <roland@hack.frob.com>
8046
8047 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8048 of %rbp unmolested in the jmp_buf while mangling the low bits.
8049 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8050 unmolested high bits of %rbp while demangling the low bits.
8051 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8052
66274218
AJ
80532012-05-21 Andreas Jaeger <aj@suse.de>
8054
07c58f8f
AJ
8055 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8056 * sunrpc/svc_simple.c: Use it for registerrpc.
8057 * sunrpc/xcrypt.c: Use it for passwd2des.
8058
66274218
AJ
8059 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8060
61f65140
L
80612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8062
8063 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8064 Don't define if [__SYSCALL_WORDSIZE != 32].
8065 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8066 New macro.
8067
5fefb436
AJ
80682012-05-21 Bruno Haible <bruno@clisp.org>
8069 Andreas Jaeger <aj@suse.de>
8070
8071 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8072 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8073 inptr and inend for must_buffer_ch.
8074 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8075 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8076 * stdio-common/Makefile (tests): Remove bug15.
8077 (bug15-ENV): Remove macro.
8078 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8079 anymore.
8080
d8e272ab
AJ
80812012-05-19 Andreas Jaeger <aj@suse.de>
8082 Roland McGrath <roland@hack.frob.com>
8083
8084 * manual/contrib.texi: Completely rewritten. It contains now an
8085 alphabetical list of contributors and their contributions.
8086
4a56a162
RH
80872012-05-21 Richard Henderson <rth@twiddle.net>
8088
8089 * misc/getauxval.c (__getauxval): Use unsigned long int.
8090 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8091 (getauxval): Use unsigned long int.
8092
d024d23c
L
80932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8094
8095 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8096
cbc00a03
RM
80972012-05-21 Roland McGrath <roland@hack.frob.com>
8098
8099 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8100 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8101 __alignof__ (long double).
8102
478143fa
AZ
81032012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8104
8105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8106
c7683a6d
RH
81072012-05-20 Richard Henderson <rth@twiddle.net>
8108
8109 * misc/getauxval.c: New file.
8110 * misc/sys/auxv.h: New file.
8111 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8112 (routines): Add getauxval.
8113 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8114 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8115 * elf/dl-sysdep.c (_dl_auxv): Remove.
8116 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8117 * elf/dl-support.c (_dl_auxv): New variable.
8118 (_dl_aux_init): Initialize it.
8119 * manual/startup.texi (Auxiliary Vector): New node.
8120 * sysdeps/generic/bits/hwcap.h: New file.
8121 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8122 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8123 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8124 * sysdeps/sparc/sysdep.h: ... here. Include it.
8125 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8126 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8128 Update.
c7683a6d
RH
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8132 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8137
a6f1845d
AZ
81382012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139
8140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8141
cbcbe830
DM
81422012-05-19 David S. Miller <davem@davemloft.net>
8143
8144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8145
e0b16cc2
JM
81462012-05-19 Joseph Myers <joseph@codesourcery.com>
8147
8148 [BZ #14123]
8149 * math/s_ccosh.c: Include <float.h>
8150 (__ccosh): Avoid internal overflow calculating sinh and cosh
8151 values before multiplying by sin and cos values.
8152 * math/s_ccoshf.c: Likewise.
8153 * math/s_ccoshl.c: Likewise.
8154 * math/s_csin.c: Likewise.
8155 * math/s_csinf.c: Likewise.
8156 * math/s_csinl.c: Likewise.
8157 * math/s_csinh.c: Likewise.
8158 * math/s_csinhf.c: Likewise.
8159 * math/s_csinhl.c: Likewise.
8160 * math/libm-test.inc (ccos_test): Add more tests.
8161 (ccosh_test): Likewise.
8162 (csin_test): Likewise.
8163 (csinh_test): Likewise.
8164 * sysdeps/i386/fpu/libm-test-ulps: Update.
8165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8166
6ad13e08
L
81672012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8168
f66f0ce8
L
8169 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8170 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8171
6ad13e08
L
8172 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8173
b1d072a7
JM
81742012-05-19 Joseph Myers <joseph@codesourcery.com>
8175
8176 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8177 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8178 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8179 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8180 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8181 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8182 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8183 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8184 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8185 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8186 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8187 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8188 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8189 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8190 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8191 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8192 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8193 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8194 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8195 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8196 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8197 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8198 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8199 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8200 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8201 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8202 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8203 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8204 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8205 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8206 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8207
9eae47cb
AJ
82082012-05-18 Andreas Jaeger <aj@suse.de>
8209
8210 * csu/.gitignore: Delete.
8211
bb07f69f
L
82122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8213
8214 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8215 (timex): Use __syscall_slong_t.
8216
e6bdb741
AJ
82172012-05-18 Andreas Jaeger <aj@suse.de>
8218 Carlos O'Donell <carlos_odonell@mentor.com>
8219
8220 * manual/install.texi (Configuring and compiling): Update
8221 description about files modified in the source directory.
d6c33fda 8222 * INSTALL: Regenerated.
e6bdb741 8223
1b74487e
L
82242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8225
8226 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8227 value. Use "or" to set return value to -1.
8228 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8229 negate return value.
8230
a88b64b9
TMQMF
82312012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8232
8233 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8234 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8235 failure if the compiler has Graphite support disabled.
8236 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8237 Likewise.
8238 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8239 CFLAGS-memmove.c): Likewise.
8240 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8241 Likewise.
8242
3707636e
L
82432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8244
610b8622
L
8245 * sysdeps/x86_64/x32/_itoa.h: New file.
8246
7cd195df
L
8247 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8248 getdents system call only if kernel and user dirents have the
8249 same d_ino and d_off.
8250
94b07d20
L
8251 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8252 LLONG_MAX != LONG_MAX.
8253 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8254 (_fitoa_word): Likewise.
8255
18298070
L
8256 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8257 years.
8258 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8259 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8260 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8261
553c7ea4
L
8262 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8263 include <bits/wordsize.h>. Check __x86_64__ instead of
8264 __WORDSIZE.
8265 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8266 if __x86_64__ is defined. Use anonymous union on fpstate.
8267
3707636e
L
8268 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8269 anonymous union.
8270
b53ef01a
AS
82712012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8272
37fb1dc0
AS
8273 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8274 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8275 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8276 Refer to _rtld_local_ro instead of _rtld_global_ro.
8277 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8278 Likewise.
8279 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8280 Likewise.
8281 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8282 Likewise.
8283 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8284 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8285 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8286
b53ef01a
AS
8287 * sysdeps/powerpc/powerpc32/dl-machine.c
8288 (__elf_machine_runtime_setup) [PROF]: Don't reference
8289 _dl_prof_resolve.
8290
7a185db2
AJ
82912012-05-18 Andreas Jaeger <aj@suse.de>
8292
8293 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8294 function only available for GCCs before 3.4 since GCC 3.4
8295 introduced a builtin.
8296 (lrint): Likewise.
8297 (llrintf): Likewise.
8298 (llrint): Likewise.
8299 (fmaxf): Likewise.
8300 (fmax): Likewise.
8301 (fminf): Likewise.
8302 (fmin): Likewise.
8303 (rint): Likewise.
8304 (rintf): Likewise.
8305 (nearbyint): Likewise.
8306 (nearbyintf): Likewise.
8307 (ceil): Likewise.
8308 (ceilf): Likewise.
8309 (floor): Likewise.
8310 (floorf): Likewise.
8311
3e5aef87
L
83122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8313
428bd707
L
8314 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8315 on both fields and cast pointer to __syscall_ulong_t.
8316
3e5aef87
L
8317 * bits/types.h (__fsword_t): New type.
8318 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8319 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8321 (__FSWORD_T_TYPE): Likewise.
8322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8323 (__FSWORD_T_TYPE): Likewise.
8324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8325 (__FSWORD_T_TYPE): Likewise.
8326 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8327 (__FSWORD_T_TYPE): Likewise.
8328 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8329 __SWORD_TYPE with __fsword_t.
8330 (statfs64): Likewise.
8331
1ba7c3dc
DM
83322012-05-17 David S. Miller <davem@davemloft.net>
8333
8334 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8335
59910343
AJ
83362012-05-17 Andreas Jaeger <aj@suse.de>
8337
8338 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8339 warning.
8340
2e4c1e9e
L
83412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8342
8343 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8344
de7f5ce7
AJ
83452012-05-17 Andreas Jaeger <aj@suse.de>
8346
8347 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8348 when it is used.
8349
286abc3d
CM
83502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8351
8352 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8353
477cc68e
L
83542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8355
8356 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8357 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8358
1a0994f5
CD
83592012-05-17 Andreas Jaeger <aj@suse.de>
8360 Carlos O'Donell <carlos_odonell@mentor.com>
8361
8362 [BZ #14059]
8363 * sysdeps/x86_64/multiarch/init-arch.h
8364 (bit_YMM_Usable): Rename to...
8365 (bit_AVX_Usable): ... this.
8366 (bit_FMA4_Usable): New macro.
8367 (bit_XMM_state): New macro.
8368 (bit_YMM_state): New macro.
8369 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8370 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8371 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8372 (CPUID_OSXSAVE): New macro.
8373 (CPUID_AVX): New macro.
8374 (CPUID_FMA4): New macro.
8375 (index_YMM_Usable): Rename to...
8376 (index_AVX_Usable): ... this.
8377 (HAS_AVX): Use HAS_ARCH_FEATURE.
8378 (HAS_FMA4): Likewise.
8379 (HAS_YMM_USABLE): Remove.
8380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8381 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8382 are present.
8383 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8384 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8385 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8386 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8387 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8388
0af797de
CM
83892012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8390
8391 * math/libm-test.c: Support platforms without multiple rounding modes.
8392 * math/bug-nextafter.c: Support platforms without FP exceptions.
8393 * math/bug-nexttoward.c: Likewise.
8394 * math/test-fenv.c: Likewise.
8395 * math/test-misc.c: Likewise.
8396 * stdlib/bug-getcontext.c: Likewise.
8397
e39745ff
AJ
83982012-05-17 Andreas Jaeger <aj@suse.de>
8399
8400 * manual/examples/search.c (critter_cmp): Change signature to
8401 avoid warnings.
8402 * manual/string.texi (Collation Functions): Likewise.
8403
48970aba
L
84042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8405
8406 * bits/types.h: Fold copyright years.
8407 * bits/typesizes.h: Likewise.
8408 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8409 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8410 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8412 * time/time.h: Likewise.
8413
bedee953
PP
84142012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8415
8416 [BZ #208]
8417 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8418 in instead of returning them. Return void.
8419 (__libc_mallinfo): Accumulate over all arenas.
8420 (__malloc_stats): Adjust for change in int_mallinfo interface.
8421
61653dfb
RM
84222012-05-16 Roland McGrath <roland@hack.frob.com>
8423
30b99d79
RM
8424 [BZ #10375]
8425 * configure.in (NM): Add AC_CHECK_TOOL for it.
8426 (libc_extra_cflags): New substituted variable.
8427 Check for -fstack-protector being used implicitly.
8428 * configure: Regenerated.
8429 * config.make.in (config-extra-cflags): New variable,
8430 gets @libc_extra_cflags@.
8431 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8432
61653dfb
RM
8433 [BZ #10375]
8434 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8435 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8436 * configure: Regenerated.
8437 * config.make.in (CPPUNDEFS): New substituted variable.
8438 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8439 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8440 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8441
661768bb
L
84422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8443
8444 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8445 (mq_attr): Use __syscall_slong_t.
8446
d4261567
L
84472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8448
8449 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8450 Check __x86_64__ instead of __WORDSIZE.
8451 (_STAT_VER_LINUX): Likewise.
8452 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8453 __syscall_ulong_t and __syscall_slong_t.
8454 (stat64): Likewise.
8455
cf3ff365
L
84562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8459
76cf3e4d
L
84602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8461
8462 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8463
a637753a
L
84642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8465
8466 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8467 __syscall_ulong_t.
8468
d5e05119
L
8469 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8470 include <bits/wordsize.h>. Check __x86_64__ instead of
8471 __WORDSIZE.
8472 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8473 defined.
8474 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8475
f62ee380
L
8476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8477 include <bits/wordsize.h>. Check __x86_64__ instead of
8478 __WORDSIZE.
8479 (user_regs_struct): Use "__extension__ unsigned long long"
8480 instead of "unsigned long" if __x86_64__ is defined.
8481 (user): Likewise. Pad after pointer field if __ILP32__ is
8482 defined.
8483
4e124ced
JM
84842012-05-16 Joseph Myers <joseph@codesourcery.com>
8485
6a3951a0
JM
8486 * configure.in (makeinfo): Require version 4.5 or later. Allow
8487 versions 5 to 9.
8488 * configure: Regenerated.
8489 * manual/install.texi (texinfo): Increase version requirement to
8490 4.5 or later.
8491 * INSTALL: Regenerated.
8492
4e124ced
JM
8493 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8494
953ca31a
L
84952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8498
617aca05
L
8499 * sysdeps/x86_64/x32/ffs.c: New file.
8500
5762f7ae
L
8501 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8502 __syscall_ulong_t.
8503 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8504 defined. Use __syscall_ulong_t.
8505 (shminfo): Use __syscall_ulong_t.
8506 (shm_info): Likewise.
8507
a26b6856
L
8508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8509 __syscall_ulong_t.
8510
cb2b9ef7
L
8511 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8512 <bits/wordsize.h>.
8513 (msgqnum_t): Use __syscall_ulong_t.
8514 (msglen_t): Likewise.
8515 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8516 __syscall_ulong_t.
8517
34683bb0
L
8518 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8519 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8520
84a68786
L
8521 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8522
48baa5f1
L
8523 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8524 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8525
180be88b
L
8526 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8527 __syscall_slong_t.
8528
5e90c8ad
L
8529 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8530 include <bits/wordsize.h>. Check __x86_64__ instead of
8531 __WORDSIZE.
8532
23dfb58b
L
8533 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8534 "unsigned long long int" if __x86_64__ is defined.
8535 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8536
ce5d54b0
L
8537 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8538 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8539 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8540
13dc9eac
L
8541 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8542 <stdint.h>.
8543 (GET_PC): Cast to uintptr_t first.
8544 (GET_FRAME): Likewise.
8545 (GET_STACK): Likewise.
8546
a7895d15
L
8547 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8548 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8549 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8550 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8551 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8552 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8553 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8554 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8555 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8557 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8558 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8560 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8561 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8564 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8567 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8570 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8571 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8572 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8574 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8575 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8576
656416c9
AS
85772012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8578
5bd66283
AS
8579 * Makerules (+depfiles): Also collect depfiles from .oS in
8580 $(extra-objs).
8581 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8582 .oS, $(libnldbl-routines)).
8583
656416c9
AS
8584 * Makerules (native-compile-mkdep-flags): Define.
8585 * sunrpc/Makefile (extra-objs): Add $(addprefix
8586 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8587 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8588 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8589 calling $(make-target-directory).
8590
a46f2169
L
85912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * bits/types.h (__snseconds_t): Removed.
8594 * time/time.h (struct timespec): Replace __snseconds_t with
8595 __syscall_slong_t.
8596 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8597 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8598 Likewise.
8599 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8600 (__SNSECONDS_T_TYPE): Likewise.
8601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8602 (__SNSECONDS_T_TYPE): Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8604 (__SNSECONDS_T_TYPE): Likewise.
8605
6af6528b
L
86062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8607
8608 * sysdeps/mach/hurd/bits/typesizes.h
8609 (__SYSCALL_SLONG_TYPE): New macro.
8610 (__SYSCALL_ULONG_TYPE): Likewise.
8611
de986b56
L
86122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8613
8614 * bits/types.h (__syscall_slong_t): New type.
8615 (__syscall_ulong_t): Likewise.
8616
8617 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8618 (__SYSCALL_ULONG_TYPE): Likewise.
8619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8620 (__SYSCALL_SLONG_TYPE): Likewise.
8621 (__SYSCALL_ULONG_TYPE): Likewise.
8622 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8623 (__SYSCALL_SLONG_TYPE): Likewise.
8624 (__SYSCALL_ULONG_TYPE): Likewise.
8625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8626 (__SYSCALL_SLONG_TYPE): Likewise.
8627 (__SYSCALL_ULONG_TYPE): Likewise.
8628
85736dc7
L
86292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8630
8631 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8632 Add sigaltstack-offsets.sym.
8633 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8634 <sigaltstack-offsets.h>.
8635 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8636 longjmp_msg pointer.
8637 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8638 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8639 signal stack.
8640 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8641
cc03b296
JM
86422012-05-15 Joseph Myers <joseph@codesourcery.com>
8643
a9538892
JM
8644 * elf/stackguard-macros.h: Remove file.
8645 * sysdeps/generic/stackguard-macros.h: New file.
8646 * sysdeps/i386/stackguard-macros.h: Likewise.
8647 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8648 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8649 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8650 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8651 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8652 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8653 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8654 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8655 <elf/stackguard-macros.h>.
8656
cc03b296
JM
8657 [BZ #14109]
8658 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8659 __aligned__ in attribute.
8660 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8661 (gregset_t): Likewise.
8662
93171016
L
86632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8664
8665 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8666 * sysdeps/x86_64/64/Implies-after: Here. New file.
8667 * sysdeps/x86_64/x32/Implies-after: New file.
8668
d86813a0
L
86692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8672 and access return value for _dl_profile_fixup. Use R10_LP to
8673 load frame size.
8674
2953ec75
L
86752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8676
8677 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8678
3b550e9e
L
86792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8682 * sysdeps/x86_64/x32/sysdep.h: New file.
8683
eda41706
L
86842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8687 * sysdeps/x86_64/setjmp.S: Likewise.
8688
9ea01d93
AZ
86892012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8690
8691 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8692 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8693 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8694 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8695 remove unused global constant.
8696
02a91938
CM
86972012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8698
8699 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8700 include of <not-cancel.h>.
8701
6540185f
RM
87022012-05-15 Roland McGrath <roland@hack.frob.com>
8703
8704 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8705
509072a0
AJ
87062012-05-15 Jeff Law <law@redhat.com>
8707 Andreas Jaeger <aj@suse.de>
8708
8709 [BZ #13594]
8710 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8711 out from...
8712 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8713 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8714 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8715 code changing __hst_map_handle.map.
8716
ba75122d
RM
87172012-05-15 Roland McGrath <roland@hack.frob.com>
8718
8719 * configure.in (sysnames): Look for Implies-before and Implies-after
8720 files.
8721 * configure: Regenerated.
8722
890d8bd8
L
87232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8726 8-byte data alignment with LP_SIZE alignment.
8727
f6ee6623
L
87282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8731 into R10_LP.
8732
ea2626f6
L
87332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8736
085f715e
L
87372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8738
8739 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8740 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8741 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8742 Likewise.
8743 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8744
be8498fc
L
87452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8746
8747 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8748 (stackinfo_sub_sp): Likewise.
8749
70bc83b9
L
87502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8753 RAX_LP.
8754
9bc0b730
L
87552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8758 into R*_LP.
8759
6d2850e7
L
87602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8761
8762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8763 sizes into R*_LP.
8764
3cb84561
L
87652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8766
8767 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8768
54e2ed81
L
87692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8770
8771 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8772 into R11_LP and load __x86_64_shared_cache_size_half into
8773 R8_LP.
8774
8a17f349
L
87752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8776
8777 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8778 R8_LP.
8779
777b1eea
AZ
87802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8781
8782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8783 logb for POWER7.
8784 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8785 logbf for POWER7.
8786 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8787 logbl for POWER7.
8788 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8789 powerpc32/power7/fpu/s_logb.c via #include.
8790 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8791 powerpc32/power7/fpu/s_logbf.c via #include.
8792 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8793 powerpc32/power7/fpu/s_logbl.c via #include.
8794
d20d4ac2
JM
87952012-05-15 Joseph Myers <joseph@codesourcery.com>
8796
8797 * README.libm: Remove file.
8798
6cdef1ab
L
87992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8800
8801 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8802 count for x32. Use R*_LP and omit operand-size suffix.
8803
0b254d8f
L
88042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8807 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8808 * sysdeps/x86_64/x32/shlib-versions: New file.
8809
ceb809dc
RM
88102012-05-14 Roland McGrath <roland@hack.frob.com>
8811
8812 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8813 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8814 Use _dl_fatal_printf instead.
8815
37f1abd4
JM
88162012-05-14 Joseph Myers <joseph@codesourcery.com>
8817
8818 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8819 set if not set by the user. Do not allow for being unset.
8820 * sysdeps/unix/sysv/linux/configure: Regenerated.
8821
11de3a33
L
88222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8823
8824 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8825 the `q' suffix from lea and replace .quad with ASM_ADDR.
8826
e02f153a
L
88272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8828
8829 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8830 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8831 instead of $17.
8832 (PTR_DEMANGLE): Likewise.
8833
520ae0fd
L
88342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8837 (LP_OP): Likewise.
8838 (ASM_ADDR): Likewise.
8839 (RAX_LP): Likewise.
8840 (RBP_LP): Likewise.
8841 (RBX_LP): Likewise.
8842 (RCX_LP): Likewise.
8843 (RDI_LP): Likewise.
8844 (RSI_LP): Likewise.
8845 (RSP_LP): Likewise.
8846 (R8_LP): Likewise.
8847 (R9_LP): Likewise.
8848 (R10_LP): Likewise.
8849 (R10_LP): Likewise.
8850 (R11_LP): Likewise.
8851 (R12_LP): Likewise.
8852 (R13_LP): Likewise.
8853 (R14_LP): Likewise.
8854 (R15_LP): Likewise.
8855
b985be81
L
88562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8857
8858 * sysdeps/x86_64/x32/dl-machine.h: New file.
8859
6a4888ff
AJ
88602012-05-14 Andreas Jaeger <aj@suse.de>
8861
8862 * manual/Makefile (subdir): Remove export of subdir.
8863 (all): Remove target.
8864 (.PHONY): Remove all from list.
8865 (mkinstalldirs): Remove.
8866 (.PHONY): Remove installdirs from list.
8867 ($(inst_infodir)/libc.info): Use make-target-directory.
8868 (installdirs): Remove.
8869 (subdir_%): Remove.
8870 (glibc-targets): Remove.
8871 (lib): Remove.
8872 (stubs): Remove.
8873 ($(objpfx)stubs ../po/manual.pot): Remove.
8874 ($(objpfx)stamp%): Remove.
8875 (make-target-directory): Remove.
8876 (subdir_install): Remove.
8877 (routines): Remove.
8878 (aux): Remove.
8879 (sources): Remove.
8880 (objects): Remove.
8881 (headers): Remove.
8882
8883 [BZ #13750]
8884 * manual/.gitignore: Remove, it's not needed anymore.
8885 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8886 all files in it.
8887 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8888 directory.
8889 (texis): Renamed to $(objpfx)texis.
8890 (texis-path): New, contains path to generated files.
8891 (chapters.%): Use texis-path for complete path, add extra argument
8892 libc-texinfo.sh.
8893 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8894 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8895 (summary,texi, stamp-summary): Use complete path of
8896 files. Generate files in build dir.
8897 (dir-add.texi): Build in build dir.
8898 (libm-err.texi,stamp-libm-err): Likewise.
8899 (version.texi, stamp-version): Likewise.
8900 (.%c.texi): Likewise.
8901 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8902 (mostlyclean): Remove target.
8903 (realclean): Remove target.
8904 (generated): Add new variable with contents from mostlyclean and
8905 realclean, remove entries duplicated in common-mostlyclean, add
8906 stamp-libm-err and stamp-version.
8907 (generated-dirs): Add libc directory.
8908 ($(inst_infodir)/libc.info): Install files from build dir.
8909
8910 * manual/install.texi (Configuring and compiling): Adjust since
8911 the info files are not part of the tar ball anymore.
8912
7ac77294
AJ
89132012-05-14 Andreas Jaeger <aj@suse.de>
8914
8915 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8916 variable.
8917
ffb7875d
JM
89182012-05-14 Joseph Myers <joseph@codesourcery.com>
8919
8920 [BZ #13717]
8921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8922 to 2.2.0 where earlier.
8923 * sysdeps/unix/sysv/linux/configure: Regenerated.
8924 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8925 Remove conditional code.
8926 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8927 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8928 Remove conditional code.
8929 [!__NR_lchown]: Likewise.
8930 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8931 [__NR_lchown]: Likewise.
8932 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8933 comment referencing __ASSUME_LCHOWN_SYSCALL.
8934 * sysdeps/unix/sysv/linux/i386/sigaction.c
8935 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8936 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8937 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8938 Remove conditional code.
8939 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8940 (__protocol_available): Remove #if 0 code.
8941 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8942 conditional code.
8943 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8944 * sysdeps/unix/sysv/linux/kernel-features.h
8945 (__ASSUME_GETCWD_SYSCALL): Don't define.
8946 (__ASSUME_REALTIME_SIGNALS): Likewise.
8947 (__ASSUME_PREAD_SYSCALL): Likewise.
8948 (__ASSUME_PWRITE_SYSCALL): Likewise.
8949 (__ASSUME_POLL_SYSCALL): Likewise.
8950 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8951 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8952 non-SPARC.
8953 (__ASSUME_SIOCGIFNAME): Don't define.
8954 (__ASSUME_MSG_NOSIGNAL): Likewise.
8955 (__ASSUME_SENDFILE): Define unconditionally.
8956 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8957 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8958 conditional code.
8959 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8960 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8961 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8962 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8963 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8964 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8965 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8967 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8970 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8971 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8973 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8974 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8976 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8977 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8979 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8980 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8982 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8983 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8985 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8988 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8990 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8991 Remove conditional code.
8992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8993 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8994 Remove conditional code.
8995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8996 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8997 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8998 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8999 Remove conditional code.
9000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9001 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9002 Remove conditional code.
9003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9004 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9005 Remove conditional code.
9006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9007 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9008 Remove conditional code.
9009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9010 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9011 Remove conditional code.
9012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9013 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9016 * sysdeps/unix/sysv/linux/sigaction.c
9017 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9018 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9019 * sysdeps/unix/sysv/linux/sigpending.c
9020 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9021 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9022 * sysdeps/unix/sysv/linux/sigprocmask.c
9023 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9024 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9025 * sysdeps/unix/sysv/linux/sigsuspend.c
9026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9028 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9029 (__libc_missing_rt_sigs): Remove.
9030 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9031 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9032 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9033 Remove conditional code.
9034 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9035 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9036 return 1.
9037 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9038 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9039 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9040 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9041
1bfb7291
AJ
90422012-05-14 Andreas Jaeger <aj@suse.de>
9043
caae5a81
AJ
9044 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9045 it's not used in glibc.
9046 (__coshm1): Likewise.
9047 (__acosh1p): Likewise.
9048 (__sgn): Likewise.
9049
1bfb7291
AJ
9050 * manual/string.texi (Copying and Concatenation): Add missing
9051 variable in concat example.
9052 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9053
c044d724
L
90542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9055
144c5467 9056 [BZ #14103]
c044d724
L
9057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9058 __builtin_clzl with __builtin_clzll.
9059
2523c62b
L
90602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9061
9062 [BZ #14104]
9063 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9064 libc_freeres_ptr.
9065
d7bb4c42
LD
90662012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9067
9068 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9069 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9070 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9071 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9072
9dc4e1fb
MF
90732012-05-14 Mike Frysinger <vapier@gentoo.org>
9074
9075 * NEWS: Update ia64 info.
9076
c7df0112
AS
90772012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9078
9079 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9080 used as bcopy.
9081
dc70356c
TS
90822012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9083
9084 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9085 * sysdeps/unix/syscalls.list (dup3): Likewise.
9086 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9087 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9088
9fb1a21f
L
90892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9092 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9093
4822a2a5
L
90942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9095
9096 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9097 thread pointer.
9098 (TLS_IE): Use mov/add instead of movq/addq to load thread
9099 pointer.
9100 (TLS_GD_PREFIX): New.
9101 (TLS_GD): Use it.
9102
842b81d6
DM
91032012-05-11 David S. Miller <davem@davemloft.net>
9104
9105 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9106 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9107 (_FPU_SETCW): Likewise.
9108
1cf463cd
L
91092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9110
9111 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9112 is 32-byte aligned.
9113
60cc4a18
AS
91142012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9115
9116 [BZ #11837]
9117 * iconvdata/gb18030.c: Update tables.
9118 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9119 characters specially.
9120 (BODY for TO_LOOP): Add encoding of missing ranges.
9121
febb44a4
TS
91222012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9123
9124 [BZ #13673]
9125 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9126 * sysdeps/mach/hurd/dup3.c: Likewise.
9127 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9128 * sysdeps/powerpc/memmove.c:: Likewise.
9129
0a10fb9e
L
91302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9133 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9134
df8a552f
L
91352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9136
9137 * elf/elf.h (R_X86_64_RELATIVE64): New.
9138 (R_X86_64_NUM): Updated.
9139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9140 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9141 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9142 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9143 tst-quad1pie tst-quad2pie
9144 (modules-names): Add tst-quadmod1 tst-quadmod2.
9145 ($(objpfx)tst-quad1): New dependency.
9146 ($(objpfx)tst-quad2): Likewise.
9147 ($(objpfx)tst-quad1pie): Likewise.
9148 ($(objpfx)tst-quad2pie): Likewise.
9149 * sysdeps/x86_64/tst-quad1.c: New file.
9150 * sysdeps/x86_64/tst-quad1pie.c: New file.
9151 * sysdeps/x86_64/tst-quad2.c: Likewise.
9152 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9153 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9154 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9155 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9156 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9157
f34d6f84
ST
91582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9159
f42d41d1
ST
9160 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9161 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9162 * streams/stropts.h (t_scalar_t): Define type.
9163
3c3571fc
ST
9164 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9165 (_PATH_PRESERVE): Set to "/var/lib".
9166 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9167
61f06bd3
ST
9168 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9169 instead of int.
9170
918d4d71
ST
9171 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9172 if __dir_mkfile succeeded.
9173
f34d6f84
ST
9174 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9175 checking for _hurd_dtablesize. Unlock it right after having
9176 finished _hurd_dtable allocation.
9177
10589b4a
TS
91782012-05-10 Thomas Schwinge <thomas@schwinge.name>
9179
674cdbc7
TS
9180 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9181 * sysdeps/mach/hurd/configure: Regenerated.
9182 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9183 special-casing to...
9184 * sysdeps/gnu/configure.in: ... this new file.
9185 * sysdeps/unix/sysv/linux/configure: Regenerated.
9186 * sysdeps/gnu/configure: New generated file.
9187
8e41b99f
TS
9188 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9189 for Linux: use nsec instead of usec, as well as:
9190 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9191 members of type struct timespec.
9192 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9193 New macros.
9194 (struct stat64): Likewise.
9195 (_STATBUF_ST_NSEC): New macro.
9196 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9197
10589b4a
TS
9198 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9199 __strtoul_internal rather than strtoul.
9200
63643c85
PT
92012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9202
9203 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9204 and reject them.
9205
3faebe6a
ST
92062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9207
9208 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9209 which preserves existing values.
9210 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9211
c6474b07
PT
92122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9213
9214 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9215 TIMEOUT values. Return EINVAL for NFDS values either negative or
9216 greater than FD_SETSIZE.
9217
1043890b
ST
92182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9219
9220 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9221 allocated, call __vm_protect to finish enabling the existing space, and
9222 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9223 allocate the remainder.
9224
37ed8b9b
PT
92252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9226
9227 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9228 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9229
db653660
ST
92302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9231
37ed8b9b
PT
9232 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9233 sysdeps/mach/hurd/readlink.c.
b29d4053 9234
db653660
ST
9235 * posix/tst-sysconf.c (posix_options): Only use
9236 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9237 _POSIX_SYNCHRONIZED_IO when they are defined
9238 * sysdeps/mach/hurd/bits/posix_opt.h:
9239 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9240 (_XOPEN_REALTIME): Undefine macro.
9241 (_XOPEN_REALTIME_THREADS): Undefine macro.
9242 (_XOPEN_SHM): Undefine macro.
9243 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9244 macro to -1.
9245 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9246 macro to -1.
9247 (_POSIX_ASYNC_IO): Undefine macro.
9248 (_POSIX_PRIORITIZED_IO): Undefine macro.
9249 (_POSIX_SPIN_LOCKS): Define macro to -1.
9250
ee16e894
ST
9251 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9252 SA_NODEFER, SA_RESETHAND.
9253 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9254 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9255 F_DUPFD_CLOEXEC.
9256
6103ae3b
TS
92572012-05-10 Thomas Schwinge <thomas@schwinge.name>
9258
9259 * elf/Makefile (pldd-modules): Define unconditionally.
9260
80b4e5f3
TS
92612012-05-10 Thomas Schwinge <thomas@schwinge.name>
9262
9263 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9264
edadcbd6
ST
92652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9266
9267 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9268 Return ENOENT when name is empty.
9269 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9270
80694780
TS
92712012-05-10 Thomas Schwinge <thomas@schwinge.name>
9272
1792c087
TS
9273 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9274
80694780
TS
9275 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9276
6b645f0d
ST
92772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9278
80694780
TS
9279 Fix mlock in all cases except non-readable pages.
9280 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9281 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9282
6b645f0d
ST
9283 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9284 (__mkdir): When path is `/', just fail with EEXIST.
9285 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9286
e468f8a3
TS
92872012-05-10 Thomas Schwinge <thomas@schwinge.name>
9288
9289 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9290 <sys/uio.h> (for writev).
9291 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9292 and <sys/param.h> (for MIN).
9293
a4186cff
PT
92942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9295
9296 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9297 REQUESTED_TIME. Properly set the remaining time and return EINTR
9298 if interrupted.
9299
510bbf14
TS
93002012-05-10 Thomas Schwinge <thomas@schwinge.name>
9301
9302 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9303 Depend on against $(link-rpcuserlibs).
9304
5d5722e8
ST
93052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9306
a4186cff
PT
9307 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9308 (__libc_stack_end): Do not use attribute_relro.
9309 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9310 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9311 to libthread-provided value.
a4186cff
PT
9312 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9313 attribute_relro.
5d5722e8 9314
37233df9
TS
93152012-05-10 Thomas Schwinge <thomas@schwinge.name>
9316
be971a2b
TS
9317 [BZ #3748]
9318 * bits/libc-lock.h (__libc_once_get): New macro.
9319 * sysdeps/mach/bits/libc-lock.h: Likewise.
9320 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9322 instead of using implementation details.
9323
37233df9
TS
9324 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9325 * libio/freopen.c: Likewise.
9326 * libio/freopen64.c: Likewise.
9327 * misc/syslog.c: Likewise.
9328 * nscd/connections.c: Likewise.
9329 * nscd/netgroupcache.c: Likewise.
9330 * sysdeps/posix/getcwd.c: Likewise.
9331
38de94a5
RM
93322012-05-10 Roland McGrath <roland@hack.frob.com>
9333
9334 * math/w_ilogbf.c: Add #include <limits.h>.
9335
67530489
ST
93362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9337
a4186cff 9338 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9339 path instead of returning without unlocking.
9340
67530489
ST
9341 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9342 immediate-write ioctls.
9343 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9344
5aa3a74a
TS
93452012-05-10 Thomas Schwinge <thomas@schwinge.name>
9346
18bad2ae
TS
9347 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9348 __builtin_frame_address instead of making assumptions about the
9349 location of the return address relative to DATA. Force early load of
9350 the return address.
9351 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9352 __builtin_frame_address.
9353
5aa3a74a
TS
9354 dup3 for GNU Hurd.
9355 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9356 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9357 implement dup3 and do some further code clean-ups.
9358 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9359 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9360
ecd0de9a
ST
93612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9362
cd9fa985
ST
9363 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9364
a4186cff
PT
9365 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9366 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9367 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9368 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9369 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9370 d->port.lock.
802ca5a5 9371
a4186cff
PT
9372 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9373 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9374 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9375
bcf55240
TS
93762012-05-10 Thomas Schwinge <thomas@schwinge.name>
9377
6960eb42
TS
9378 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9379 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9380 definitions.
9381
eb43375f
TS
9382 accept4 for GNU Hurd.
9383 * include/sys/socket.h (__libc_accept4): New prototype.
9384 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9385 to implement __libc_accept4.
9386 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9387 __libc_accept4.
9388 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9389
bcf55240
TS
9390 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9391 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9392 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9393 signal-defines.sym.
9394
6178c55b
ST
93952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9396
a4186cff 9397 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9398
6f080c2f
TS
93992012-05-10 Thomas Schwinge <thomas@schwinge.name>
9400
9401 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9402 assertion on O_CLOEXEC flag.
9403 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9404 * hurd/intern-fd.c: Likewise.
9405 * hurd/port2fd.c: Likewise.
9406
bcfe3a54
ST
94072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9408
9409 [BZ #3906]
9410 * bits/in.h (IPV6_PKTINFO): Define new macro.
9411 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9412
89c9aa49
AZ
94132012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9414
9415 [BZ #13954]
9416 [BZ #13955]
9417 [BZ #13956]
9418 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9419 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9420 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9421 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9422 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9423 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9424 * math/libm-test.inc (logb_test) : Additional logb tests.
9425
021db4be
AJ
94262012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9427 Andreas Jaeger <aj@suse.de>
9428
9429 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9430 * configure: Regenerated.
9431 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9432 * config.make.in (link-obsolete-rpc): New substituted variable.
9433 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9434 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9435 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9436 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9437 so that libc.a contains the symbols.
9438 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9439 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9440 * sunrpc/auth_none.c: Likewise.
9441 * sunrpc/auth_unix.c: Likewise.
9442 * sunrpc/authdes_prot.c: Likewise.
9443 * sunrpc/authuxprot.c: Likewise.
9444 * sunrpc/clnt_gen.c: Likewise.
9445 * sunrpc/clnt_perr.c: Likewise.
9446 * sunrpc/clnt_raw.c: Likewise.
9447 * sunrpc/clnt_simp.c: Likewise.
9448 * sunrpc/clnt_tcp.c: Likewise.
9449 * sunrpc/clnt_udp.c: Likewise.
9450 * sunrpc/clnt_unix.c: Likewise.
9451 * sunrpc/des_crypt.c: Likewise.
9452 * sunrpc/des_soft.c: Likewise.
9453 * sunrpc/get_myaddr.c: Likewise.
9454 * sunrpc/key_call.c: Likewise.
9455 * sunrpc/key_prot.c: Likewise.
9456 * sunrpc/netname.c: Likewise.
9457 * sunrpc/pm_getmaps.c: Likewise.
9458 * sunrpc/pm_getport.c: Likewise.
9459 * sunrpc/pmap_clnt.c: Likewise.
9460 * sunrpc/pmap_prot.c: Likewise.
9461 * sunrpc/pmap_prot2.c: Likewise.
9462 * sunrpc/pmap_rmt.c: Likewise.
9463 * sunrpc/publickey.c: Likewise.
9464 * sunrpc/rpc_cmsg.c: Likewise.
9465 * sunrpc/rpc_common.c: Likewise.
9466 * sunrpc/rpc_dtable.c: Likewise.
9467 * sunrpc/rpc_prot.c: Likewise.
9468 * sunrpc/rpc_thread.c: Likewise.
9469 * sunrpc/rtime.c: Likewise.
9470 * sunrpc/svc.c: Likewise.
9471 * sunrpc/svc_auth.c: Likewise.
9472 * sunrpc/svc_raw.c: Likewise.
9473 * sunrpc/svc_run.c: Likewise.
9474 * sunrpc/svc_tcp.c: Likewise.
9475 * sunrpc/svc_udp.c: Likewise.
9476 * sunrpc/svc_unix.c: Likewise.
9477 * sunrpc/svcauth_des.c: Likewise.
9478 * sunrpc/xcrypt.c: Likewise.
9479 * sunrpc/xdr.c: Likewise.
9480 * sunrpc/xdr_array.c: Likewise.
9481 * sunrpc/xdr_float.c: Likewise.
9482 * sunrpc/xdr_intXX_t.c: Likewise.
9483 * sunrpc/xdr_mem.c: Likewise.
9484 * sunrpc/xdr_rec.c: Likewise.
9485 * sunrpc/xdr_ref.c: Likewise.
9486 * sunrpc/xdr_sizeof.c: Likewise.
9487 * sunrpc/xdr_stdio.c: Likewise.
9488
b5c086a2
RM
94892012-05-10 Roland McGrath <roland@hack.frob.com>
9490
9491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9492 change. Update copyright years.
9493
6d74dd09
JM
94942012-05-10 Joseph Myers <joseph@codesourcery.com>
9495
9496 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9497
28e72501
MK
94982012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9499 Joseph Myers <joseph@codesourcery.com>
9500 Paul Pluzhnikov <ppluzhnikov@google.com>
9501
9502 [BZ #14012]
9503 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9504 requiring rpcgen.
9505 [cross-compiling] (extra-libs): Likewise.
9506 [cross-compiling] (extra-libs-others): Likewise.
9507 [cross-compiling] (librpcsvc-routines): Likewise.
9508 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9509 [cross-compiling] (omit-deps): Likewise.
9510 (sunrpc-CPPFLAGS): New variable.
9511 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9512 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9513 (cross-rpcgen-objs): New variable.
9514 (extra-objs): Append $(cross-rpcgen-objs).
9515 ($(cross-rpcgen-objs)): New rule.
9516 ($(objpfx)cross-rpcgen): Likewise.
9517 (rpcgen-cmd): Define to use $(built-program-file). Expand
9518 comment.
9519 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9520 ($(objpfx)x%.stmp): Likewise.
9521 * sunrpc/proto.h [IS_IN_build] (_): Define.
9522 [IS_IN_build] (_libc_intl_domainname): Likewise.
9523
c8c59454
L
95242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9525
9526 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9527 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9528 and R_X86_64_TPOFF64.
9529
6f27cd16
JM
95302012-05-10 Joseph Myers <joseph@codesourcery.com>
9531
9532 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9533 sysdeps/unix/sysv/syscalls.list.
9534 (stime): Likewise.
9535 (utime): Likewise.
9536 * sysdeps/unix/sysv/syscalls.list: Remove file.
9537
02467e1c
PE
95382012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9539
9540 [BZ #3440]
9541 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9542 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9543 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9544 (__LC_IDENTIFICATION): Make these macros useful in #if
9545 expressions, as required by C99.
9546
da392631
AS
95472012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9548
9549 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9550 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9551 after this.
9552
8115f29b
L
95532012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9554
9555 * stdlib/longlong.h: Updated from GCC.
9556
bdd74070
AJ
95572012-05-09 Andreas Jaeger <aj@suse.de>
9558
edfe0dbe
AJ
9559 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9560 default is first entry.
9561 (run_mode): Set type.
9562 (main): Remove informal message about syslog.
9563 (options): Fix typo.
9564
bcfe3a54
ST
9565 [BZ #14053]
9566 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9567 to asm.
bcfe3a54
ST
9568 (lrint): Likewise.
9569 (llrintf): Likewise.
9570 (llrint): Likewise.
9571 (rint): Likewise.
9572 (rintf): Likewise.
9573 (nearbyint): Likewise.
9574 (nearbyintf): Likewise.
bdd74070 9575
91d8d69e
AJ
95762012-05-09 Andreas Jaeger <aj@suse.de>
9577 Pedro Alves <palves@redhat.com>
9578
9579 * nscd/nscd.c (run_mode): Use enum.
9580 (main): Cleanup coding style issue.
9581
bb90b80b
AJ
95822012-05-09 Alexandre Oliva <aoliva@redhat.com>
9583 Andreas Jaeger <aj@suse.de>
9584
bcfe3a54
ST
9585 * nscd/nscd.c (go_background): Replaced with...
9586 (run_mode): ... this.
bb90b80b 9587 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9588 (options): Add -F --foreground.
9589 (main): Implement it.
9590 (parse_opt): Parse it.
bb90b80b 9591
1a4b75a1
AJ
95922012-05-09 Andreas Jaeger <aj@suse.de>
9593
9594 [BZ #14083]
9595 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9596 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9597 -Wconversion warning.
9598 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9599 Likewise.
9600
b1cc2472
JM
96012012-05-09 Joseph Myers <joseph@codesourcery.com>
9602
9603 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9604 == 0.
9605 (LC_ALL): Use macro-int-constant.
9606 (LC_COLLATE): Likewise.
9607 (LC_CTYPE): Likewise.
9608 (LC_MESSAGES): Likewise.
9609 (LC_MONETARY): Likewise.
9610 (LC_NUMERIC): Likewise.
9611 (LC_TIME): Likewise.
9612 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9613 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9614 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9615 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9616 Specify type.
9617 [C99-based standards] (float_t): Expect type.
9618 [C99-based standards] (double_t): Expect type.
9619 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9620 type.
9621 [C99-based standards] (HUGE_VALL): Likewise.
9622 [C99-based standards] (INFINITY): Likewise.
9623 [C99-based standards] (NAN): Likewise.
9624 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9625 [C99-based standards] (FP_NAN): Likewise.
9626 [C99-based standards] (FP_NORMAL): Likewise.
9627 [C99-based standards] (FP_SUBNORMAL): Likewise.
9628 [C99-based standards] (FP_ZERO): Likewise.
9629 [C99-based standards] (FP_FAST_FMA): Use
9630 optional-macro-int-constant. Specify type. Require == 1.
9631 [C99-based standards] (FP_FAST_FMAF): Likewise.
9632 [C99-based standards] (FP_FAST_FMAL): Likewise.
9633 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9634 [C99-based standards] (FP_ILOGBNAN): Likewise.
9635 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9636 Specify type.
9637 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9638 [C99-based standards] (math_errhandling): Specify type.
9639 [ISO99 || ISO11] (signgam): Do not allow.
9640 [non-C99-based standards] (copysignf): Do not allow.
9641 [non-C99-based standards] (exp2f): Likewise.
9642 [non-C99-based standards] (log2f): Likewise.
9643 [non-C99-based standards] (modff): Allow.
9644 [non-C99-based standards] (erff): Do not allow.
9645 [non-C99-based standards] (erfcf): Likewise.
9646 [non-C99-based standards] (gammaf): Likewise.
9647 [non-C99-based standards] (hypotf): Likewise.
9648 [non-C99-based standards] (j0f): Likewise.
9649 [non-C99-based standards] (j1f): Likewise.
9650 [non-C99-based standards] (jnf): Likewise.
9651 [non-C99-based standards] (lgammaf): Likewise.
9652 [non-C99-based standards] (tgammaf): Likewise.
9653 [non-C99-based standards] (y0f): Likewise.
9654 [non-C99-based standards] (y1f): Likewise.
9655 [non-C99-based standards] (ynf): Likewise.
9656 [non-C99-based standards] (isnanf): Likewise.
9657 [non-C99-based standards] (acoshf): Likewise.
9658 [non-C99-based standards] (asinhf): Likewise.
9659 [non-C99-based standards] (atanhf): Likewise.
9660 [non-C99-based standards] (cbrtf): Likewise.
9661 [non-C99-based standards] (expm1f): Likewise.
9662 [non-C99-based standards] (ilogbf): Likewise.
9663 [non-C99-based standards] (log1pf): Likewise.
9664 [non-C99-based standards] (logbf): Likewise.
9665 [non-C99-based standards] (nextafterf): Likewise.
9666 [non-C99-based standards] (remainderf): Likewise.
9667 [non-C99-based standards] (rintf): Likewise.
9668 [non-C99-based standards] (scalbf): Likewise.
9669 [non-C99-based standards] (copysignl): Likewise.
9670 [non-C99-based standards] (exp2l): Likewise.
9671 [non-C99-based standards] (log2l): Likewise.
9672 [non-C99-based standards] (modfl): Allow.
9673 [non-C99-based standards] (erfl): Do not allow.
9674 [non-C99-based standards] (erfcl): Likewise.
9675 [non-C99-based standards] (gammal): Likewise.
9676 [non-C99-based standards] (hypotl): Likewise.
9677 [non-C99-based standards] (j0l): Likewise.
9678 [non-C99-based standards] (j1l): Likewise.
9679 [non-C99-based standards] (jnl): Likewise.
9680 [non-C99-based standards] (lgammal): Likewise.
9681 [non-C99-based standards] (tgammal): Likewise.
9682 [non-C99-based standards] (y0l): Likewise.
9683 [non-C99-based standards] (y1l): Likewise.
9684 [non-C99-based standards] (ynl): Likewise.
9685 [non-C99-based standards] (isnanl): Likewise.
9686 [non-C99-based standards] (acoshl): Likewise.
9687 [non-C99-based standards] (asinhl): Likewise.
9688 [non-C99-based standards] (atanhl): Likewise.
9689 [non-C99-based standards] (cbrtl): Likewise.
9690 [non-C99-based standards] (expm1l): Likewise.
9691 [non-C99-based standards] (ilogbl): Likewise.
9692 [non-C99-based standards] (log1pl): Likewise.
9693 [non-C99-based standards] (logbl): Likewise.
9694 [non-C99-based standards] (nextafterl): Likewise.
9695 [non-C99-based standards] (remainderl): Likewise.
9696 [non-C99-based standards] (rintl): Likewise.
9697 [non-C99-based standards] (scalbl): Likewise.
9698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9699 [non-C99-based standards] (FP_*): Do not allow.
9700 [C99-based standards] (FP_*): Change to
9701 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9702 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9703 allow.
9704 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9705 (SIG_ERR): Likewise.
9706 [X/Open-based standards] (SIG_HOLD): Likewise.
9707 (SIG_IGN): Likewise.
9708 (SIGABRT): Use macro-int-constant. Specify type. Require
9709 positive value.
9710 (SIGFPE): Likewise.
9711 (SIGILL): Likewise.
9712 (SIGINT): Likewise.
9713 (SIGSEGV): Likewise.
9714 (SIGTER): Likewise.
9715 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9716 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9717 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9718 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9719 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9720 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9721 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9722 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9723 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9724 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9725 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9726 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9727 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9728 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9729 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9730 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9731 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9732 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9733 [X/Open-based standards] (SIGTRAP): Likewise.
9734 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9735 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9736 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9737 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9738 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9739 allow.
9740
b9f1922d
IW
97412012-05-08 Ian Wienand <ianw@vmware.com>
9742
9743 [BZ #14080]
9744 * time/tzset.c (__tzset_parse_tz): Update default rules for
9745 daylight time changes in the Energy Policy Act of 2005.
9746
1db86e88
AJ
97472012-05-09 Andreas Jaeger <aj@suse.de>
9748
9749 [BZ #13983]
9750 * elf/ldconfig.c (parse_conf): Change string to make clear that
9751 ldconfig only issued a warning if ld.so.conf does not exist.
9752
dee4a4e3
DM
97532012-05-08 David S. Miller <davem@davemloft.net>
9754
ee0db190
DM
9755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9756 movxtod instead of popping the value on the stack.
9757
dee4a4e3
DM
9758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9759
6a43ec98
CD
97602012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9761
9762 * config.h.in: Add HAVE_ARM_PCS_VFP.
9763
05c2c961
RMG
97642012-05-08 Roland Mc Grath <roland@hack.frob.com>
9765
bcfe3a54
ST
9766 [BZ #13979]
9767 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9768 checking but the checks are disabled for any reason.
05c2c961 9769
4b30f61a
L
97702012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9771
9772 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9773 and ELF64_R_TYPE with ELFW(R_TYPE).
9774
eee2bc67
JM
97752012-05-08 Joseph Myers <joseph@codesourcery.com>
9776
7ea5391a
JM
9777 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9778 (ulimit): Likewise.
9779
eee2bc67
JM
9780 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9781 (settimeofday): Likewise.
9782
abb66a67
MF
97832012-05-08 Mike Frysinger <vapier@gentoo.org>
9784
9785 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9786 a struct th_u2 inside the union, and move tu_block/tu_code into
9787 a new th_u3 union of tu_block/tu_code inside of that. Move
9788 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9789 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9790 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9791 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9792 (th_stuff): Change to th_u1.tu_stuff.
9793 (th_data): Define.
9794 (th_msg): Change to th_u1.th_u2.tu_data.
9795
7f18b530
DM
97962012-05-07 David S. Miller <davem@davemloft.net>
9797
05760585
DM
9798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9799
7f18b530
DM
9800 [BZ #14074]
9801 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9802 (SETUP_PIC_REG): Use it.
9803 (SETUP_PIC_REG_LEAF): Use it.
9804
495fd99f
JM
98052012-05-07 Joseph Myers <joseph@codesourcery.com>
9806
9807 [BZ #13885]
9808 [BZ #13923]
9809 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9810 USE_AS_EXPM1L.
9811 (EXPL_FINITE): Likewise.
9812 (FLDLOG): Likewise.
9813 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9814 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9815 e_expl.S.
9816 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9817 USE_AS_EXPM1L.
9818 (EXPL_FINITE): Likewise.
9819 (FLDLOG): Likewise.
9820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9821 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9822 e_expl.S.
9823 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9824 test of -max_value argument for long double.
9825 * sysdeps/i386/fpu/libm-test-ulps: Update.
9826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9827
6693d694
DM
98282012-05-06 David S. Miller <davem@davemloft.net>
9829
9830 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9831 quad soft-float symbols whose references which are compiler
9832 generated.
9833 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9834
6c23e11c
JM
98352012-05-06 Joseph Myers <joseph@codesourcery.com>
9836
d8b82cad
JM
9837 [BZ #13884]
9838 [BZ #13914]
9839 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9840 USE_AS_EXP10L.
9841 (EXPL_FINITE): Likewise.
9842 (FLDLOG): Likewise.
9843 (c0): Likewise.
9844 (c1): Likewise.
9845 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9846 Adjust comments for base varying.
9847 (__expl_finite): Change alias to EXPL_FINITE.
9848 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9849 e_expl.S.
9850 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9851 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9853 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9854 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9855 USE_AS_EXP10L.
9856 (EXPL_FINITE): Likewise.
9857 (FLDLOG): Likewise.
9858 (c0): Likewise.
9859 (c1): Likewise.
9860 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9861 Adjust comments for base varying.
9862 (__expl_finite): Change alias to EXPL_FINITE.
9863 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9864 tests for bugs.
9865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9866
6c23e11c
JM
9867 [BZ #14064]
9868 * math/libm-test.inc (check_float_internal): Correct ulp
9869 calculation for subnormal expected results.
9870
29ba805c
AJ
98712012-05-06 Andreas Jaeger <aj@suse.de>
9872
9873 * Makeconfig (+math-flags): New, set to -frounding-math.
9874 (+cflags): Add +math-flags so that all of glibc gets compiled with
9875 it.
9876
9877 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9878
7b17aeda
JM
98792012-05-05 Joseph Myers <joseph@codesourcery.com>
9880
5779f134
JM
9881 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9882 Disable one test.
9883
41498f4d
JM
9884 [BZ #13787]
9885 [BZ #13922]
9886 [BZ #14036]
9887 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9888 (__ieee754_expl): Allow for and saturate large arguments.
9889 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9890 (u_threshold): Likewise.
9891 (__exp): Call __ieee754_exp before checking for overflow and
9892 underflow.
9893 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9894 (u_threshold): Likewise.
9895 (__expf): Call __ieee754_expf before checking for overflow and
9896 underflow.
9897 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9898 (u_threshold): Likewise.
9899 (__expl): Call __ieee754_expl before checking for overflow and
9900 underflow.
9901 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9902 (__ieee754_expl): Allow for and saturate large arguments.
9903 * math/libm-test.inc (exp_test): Add another test. Do not allow
9904 missing overflow exception on overflow.
9905 (expm1_test): Do not allow missing overflow exception on overflow.
9906
6698b8bf
JM
9907 * sysdeps/i386/fpu/e_expl.c: Move to ...
9908 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9909 rather than using inline asm.
9910 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9911 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9912 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9913
7b17aeda
JM
9914 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9915 (nice): Likewise.
9916 (poll): Likewise.
9917 (signal): Likewise.
9918 (time): Likewise.
9919 (times): Likewise.
9920
f7c85819
JM
99212012-05-04 Joseph Myers <joseph@codesourcery.com>
9922
9923 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9924 sysdeps/unix/common/syscalls.list.
9925 (fchmod): Likewise.
9926 (fchown): Likewise.
9927 (ftruncate): Likewise.
9928 (getrusage): Likewise.
9929 (gettimeofday): Likewise.
9930 (setpgid): Likewise.
9931 (setregid): Likewise.
9932 (setreuid): Likewise.
9933 (sigaction): Likewise.
9934 (truncate): Likewise.
9935 (vhangup): Likewise.
9936 * sysdeps/unix/common/syscalls.list: Remove file.
9937 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9938 * sysdeps/unix/sysv/linux/Implies: Likewise.
9939
336270d0
L
99402012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9941
9942 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9944 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9945 Moved to ...
9946 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9947 Here.
9948 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9949 to ...
9950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9951 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9952 to ...
9953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9954 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9955 to ...
9956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9957 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9958 to ...
9959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9960 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9961 to ...
9962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9963 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9964 to ...
9965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9966 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9967 to ...
9968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9969 Here.
9970 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9971 to ...
9972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9973 Here.
9974 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9975 to ...
9976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9977 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9978 Moved to ...
9979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9980 Here.
9981 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9982 to ...
9983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9984
d128e450
JM
99852012-05-04 Joseph Myers <joseph@codesourcery.com>
9986
fa8ee516
JM
9987 * sysdeps/unix/common/bits/dirent.h: Remove file.
9988 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9989
d128e450
JM
9990 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9991 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9992 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9993 * sysdeps/unix/bsd/isatty.c: Likewise.
9994 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9995 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9996 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9997
ff8faaf0 99982012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9999
62881be4 10000 [BZ #13563]
31dc8730
AZ
10001 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10002 long double comparison inaccuracies.
10003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10005
6fef930c
AS
100062012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10007
10008 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10010
8f203e6c
JM
100112012-05-04 Joseph Myers <joseph@codesourcery.com>
10012
10013 [BZ #14049]
10014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10015 nonzero digits before rounding a hex value.
10016 * stdlib/tst-strtod.c (tests): Add another test.
10017
5197d9c2
AK
100182012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10019
10020 * sysdeps/s390/fpu/libm-test-ulps: Update.
10021
f0c1dedf
AJ
100222012-05-03 Andreas Jaeger <aj@suse.de>
10023
10024 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10025 does not get optimized out.
10026 (malloc_opt_barrier): New.
10027
a65ef2ae 100282012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 10029 Roland McGrath <roland@hack.frob.com>
a65ef2ae 10030
2b942cb7 10031 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 10032 intermediate file deletion.
2b942cb7 10033 (generated): Add .symlist files.
a65ef2ae 10034
54b71e02
JM
100352012-05-03 Joseph Myers <joseph@codesourcery.com>
10036
10037 [BZ #13775]
10038 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10039 Redirect under this condition.
10040 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10041 [__USE_GNU] (__dprintf_chk): Not under this condition.
10042 [__USE_GNU] (__vdprintf_chk): Likewise.
10043 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10044 under this condition.
10045 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10046 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10047 [__USE_XOPEN2K8] (vdprintf): Likewise.
10048 [__USE_GNU] (__dprintf_chk): Not under this condition.
10049 [__USE_GNU] (__vdprintf_chk): Likewise.
10050 [__USE_GNU] (dprintf): Likewise.
10051 [__USE_GNU] (vdprintf): Likewise.
10052
d3dfcc41
RM
100532012-05-03 Roland McGrath <roland@hack.frob.com>
10054
10055 * elf/Makefile (common-generated): Set this instead of generated for
10056 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10057 $(all-built-dso)-derived lists.
10058
7ac30cc5
AJ
100592012-05-03 Andreas Jaeger <aj@suse.de>
10060
0c51e550
AJ
10061 * sysdeps/i386/fpu/libm-test-ulps: Update.
10062
7ac30cc5
AJ
10063 * FAQ: Removed.
10064 * FAQ.in: Likewise.
10065 * scripts/gen-FAQ.pl: Likewise.
10066 * manual/install.texi (Installation): Point to online location of
10067 FAQ.
10068 * Makefile (files-for-dist): Remove FAQ.
10069 (FAQ): Remove.
10070
d4c2917f
AM
100712012-05-02 Allan McRae <allan@archlinux.org>
10072
10073 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10074 (LDFLAGS-reldepmod5.so): Likewise.
10075 (LDFLAGS-reldep6mod1.so): Likewise.
10076 (LDFLAGS-reldep6mod4.so): Likewise.
10077 (LDFLAGS-reldep8mod3.so): Likewise.
10078 (LDFLAGS-unload4mod1.so): Likewise.
10079 (LDFLAGS-unload4mod2.so): Likewise.
10080 (LDFLAGS-tst-initorder): Likewise.
10081 (LDFLAGS-tst-initordera2.so): Likewise.
10082 (LDFLAGS-tst-initordera3.so): Likewise.
10083 (LDFLAGS-tst-initordera4.so): Likewise.
10084 (LDFLAGS-tst-initorderb2.so): Likewise.
10085 (LDFLAGS-noload): Likewise.
10086 (LDFLAGS-next): Likewise.
10087 (LDFLAGS-order2mod1.so): Likewise.
10088 (LDFLAGS-order2mod2.so): Likewise.
10089 (LDFLAGS-tst-initorder2): Likewise.
10090 (LDFLAGS-tst-initorder2a.so): Likewise.
10091 (LDFLAGS-tst-initorder2b.so): Likewise.
10092 (LDFLAGS-tst-initorder2c.so): Likewise.
10093 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10094
d77f993f
DM
100952012-05-02 David S. Miller <davem@davemloft.net>
10096
10097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10098
171a70b4
PP
100992012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10100
10101 [BZ #14055]
10102 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10103
0be196ad
AJ
101042012-05-02 Andreas Jaeger <aj@suse.de>
10105
10106 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10107 since we manipulate rounding mode.
10108 (CPPFLAGS-test-idouble.c): Likewise.
10109 (CPPFLAGS-test-ifloat.c): Likewise.
10110 (CFLAGS-test-ldouble.c): Likewise.
10111 (CFLAGS-test-double.c): Likewise.
10112 (CFLAGS-test-float.c): Likewise.
10113 (CFLAGS-test-misc.c): Likewise.
10114 (CFLAGS-test-test-fenv.c): Likewise.
10115
4f9d04aa
AZ
101162012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10117
2b942cb7
RM
10118 [BZ #2550]
10119 [BZ #2570]
10120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10121 comparisons to determine direction to adjust input.
4f9d04aa 10122
82a79e7d
RM
101232012-05-01 Roland McGrath <roland@hack.frob.com>
10124
f5a01ca9
RM
10125 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10126 output to the target.
10127
90fe4186
RM
10128 * scripts/localplt.awk: New file.
10129 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10130 (check-localplt-CFLAGS): Variable removed.
10131 ($(all-built-dso:=.jmprel)): New static pattern rule.
10132 (generated): Add those targets.
10133 (localplt-built-dso): New variable.
10134 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10135
10136 * elf/check-localplt.c: File removed.
10137
82397ed6
RM
10138 * scripts/check-execstack.awk: New file.
10139 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10140 (check-execstack-CFLAGS): Variable removed.
10141 ($(objpfx)check-execstack.h): Target removed.
10142 ($(objpfx)execstack-default): New target.
10143 (generated): Add that instead of check-execstack.h.
10144 ($(all-built-dso:=.phdr)): New static pattern rule.
10145 (generated): Add those targets.
10146 * elf/check-execstack.c: File removed.
10147
82a79e7d
RM
10148 * scripts/check-textrel.awk: New file.
10149 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10150 (check-textrel-CFLAGS): Variable removed.
10151 (all-built-dso): Use := to define.o
10152 ($(all-built-dso:=.dyn)): New static pattern rule.
10153 (generated): Add those targets.
10154 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10155 * config.make.in (READELF): New substituted variable.
10156 * elf/check-textrel.c: File removed.
10157
62fde54f 101582012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10159
615605c9
JM
10160 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10161 allow.
10162 * conform/data/ctype.h-data [C99-based standards] (isblank):
10163 Expect function.
10164 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10165 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10166 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10167 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10168 Specify type. Require positive value.
10169 (EILSEQ): Likewise.
10170 (ERANGE): Likewise.
10171 [ISO || POSIX] (EILSEQ): Do not expect.
10172 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10173 Specify type. Require positive value.
10174 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10176 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10177 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10178 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10179 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10180 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10181 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10182 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10183 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10185 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10187 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10188 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10189 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10190 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10191 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10192 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10193 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10194 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10195 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10196 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10197 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10198 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10199 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10200 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10201 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10202 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10203 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10205 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10206 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10207 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10208 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10209 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10210 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10211 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10212 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10213 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10214 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10215 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10216 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10217 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10218 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10219 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10220 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10222 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10223 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10229 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10230 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10231 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10232 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10233 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10234 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10248 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10249 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10250 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10251 Require >= 2.
10252 (FLT_ROUNDS): Expect as macro, not constant.
10253 (FLT_MANT_DIG): Use macro-int-constant.
10254 (DBL_MANT_DIG): Likewise.
10255 (LDBL_MANT_DIG): Likewise.
10256 (FLT_DIG): Likewise.
10257 (DBL_DIG): Likewise.
10258 (LDBL_DIG): Likewise.
10259 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10260 (DBL_MIN_EXP): Likewise.
10261 (LDBL_MIN_EXP): Likewise.
10262 (FLT_MAX_EXP): Use macro-int-constant.
10263 (DBL_MAX_EXP): Likewise.
10264 (LDBL_MAX_EXP): Likewise.
10265 (FLT_MAX_10_EXP): Likewise.
10266 (DBL_MAX_10_EXP): Likewise.
10267 (LDBL_MAX_10_EXP): Likewise.
10268 (FLT_MAX): Use macro-constant.
10269 (DBL_MAX): Likewise.
10270 (LDBL_MAX): Likewise.
10271 (FLT_EPSILON): Use macro-constant. Give upper bound.
10272 (DBL_EPSILON): Likewise.
10273 (LDBL_EPSILON): Likewise.
10274 (FLT_MIN): Likewise.
10275 (DBL_MIN): Likewise.
10276 (LDBL_MIN): Likewise.
10277 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10278 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10279 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10280 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10281 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10282 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10283 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10284 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10285 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10286 [ISO11] (FLT_TRUE_MIN): Likewise.
10287 [ISO11] (LDBL_TRUE_MIN): Likewise.
10288 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10289 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10290 (SCHAR_MIN): Use macro-int-constant. Specify type.
10291 (SCHAR_MAX): Likewise.
10292 (UCHAR_MAX): Likewise.
10293 (CHAR_MIN): Likewise.
10294 (CHAR_MAX): Likewise.
10295 (MB_LEN_MAX): Use macro-int-constant.
10296 (SHRT_MIN): Use macro-int-constant. Specify type.
10297 (SHRT_MAX): Likewise.
10298 (USHRT_MAX): Likewise.
10299 (INT_MAX): Likewise.
10300 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10301 bound negative.
10302 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10303 bound with "U".
10304 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10305 bound with "L".
10306 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10307 bound negative. Suffix upper bound with "L".
10308 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10309 bound with "UL".
10310 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10311 Specify type.
10312 [C99-based standards] (LLONG_MAX): Likewise.
10313 [C99-based standards] (ULLONG_MAX): Likewise.
10314 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10315 == 0.
10316 [ISO11] (max_align_t): Require type.
10317 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10318
c9140a62
JM
10319 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10320 from $CFLAGS, without defining away __attribute__ calls.
10321 (checknamespace): Use $CFLAGS_namespace.
10322
9af0bf29
JM
10323 * conform/conformtest.pl (@keywords): Only include C99 keywords
10324 for standards based on C99 or C11.
10325
343222a2
JM
10326 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10327 Disable tests.
10328 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10329 UNIX98]: Likewise.
10330
661f8cf0
JM
10331 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10332 usability of symbols in #if.
10333
ee74b9cb
JM
10334 * conform/conformtest.pl: If macro or constant types start
10335 "promoted:", expect the symbol to be of the following type
10336 promoted by the integer promotions.
62fde54f 10337
aafc49b3
JM
10338 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10339 in one place. Also handle "macro-constant".
10340
fefdf574
JM
10341 * conform/conformtest.pl: Only accept expected macro values with
10342 "==". Parse all "macro" lines in one place.
10343 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10344
f2d922fe
JM
10345 * conform/conformtest.pl: Handle braced types on "constant" lines
10346 instead of handling "typed-constant".
10347 * conform/data/signal.h-data: Use "constant" instead of
10348 "typed-constant".
10349
d22956c9
JM
10350 * conform/conformtest.pl: Handle "optional-" at start of lines in
10351 one place rather than duplicating several cases. Handle each
10352 format of "macro" line with initial "optional-".
10353
028e2e38
JM
10354 * conform/conformtest.pl: Only accept expected constant or
10355 optional-constant values with "==". Parse all "constant" lines in
10356 one place. Parse all "optional-constant" lines in one place.
10357 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10358 * conform/data/fmtmsg.h-data: Likewise.
10359 * conform/data/netinet/in.h-data: Likewise.
10360 * conform/data/tar.h-data: Likewise.
10361 * conform/data/limits.h-data: Use "==" form on "constant" and
10362 "optional-constant" lines.
10363
1b8f2850
JM
10364 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10365 Use -std=c99 for XOPEN2K.
10366 (@knownproblems): Remove.
10367 (newtoken): Don't check %isknown.
10368
a05a144b
JM
10369 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10370 Do not expect macro.
10371 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10383 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10384 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10401 [XPG3] (acosh): Likewise.
10402 [XPG3] (asinh): Likewise.
10403 [XPG3] (atanh): Likewise.
10404 [XPG3] (cbrt): Likewise.
10405 [XPG3] (expm1): Likewise.
10406 [XPG3] (ilogb): Likewise.
10407 [XPG3] (log1p): Likewise.
10408 [XPG3] (logb): Likewise.
10409 [XPG3] (nextafter): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10412 [XPG3] (remainder): Likewise.
10413 [XPG3] (rint): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10421 [UNIX98 || XOPEN2K] (scalb): Expect.
10422 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10423 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10483 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10484 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10485 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10486 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10487 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10488 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10489 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10490 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10491 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10492 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10493 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10494 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10495 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10496 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10497 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10498 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10499 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10500 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10501 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10502 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10503 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10504 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10505 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10506 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10507 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10508 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10509 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10510 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10511 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10512 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10513 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10514 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10515 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10516 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10517 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10518 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10519 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10520 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10521 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10522 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10523 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10524 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10525 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10526 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10527 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10528 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10529 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10530 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10531 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10532 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10533 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10534 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10535 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10536 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10537 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10538 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10539 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10540 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10541 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10542 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10543 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10544 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10545 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10546 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10547 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10548 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10549 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10550 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10551 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10552 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10553 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10554 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10555 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10556 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10557 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10558 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10559
73c5ebe3
JM
10560 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10561 _XOPEN_SOURCE_EXTENDED for XPG4.
10562
39c33b6c
JM
10563 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10564
62fde54f
JM
10565 * Makeconfig (localtime): Remove variable.
10566 (inst_localtime-file): Likewise.
10567
0741d64c
AS
105682012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10569
10570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10571 Update.
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10573 Update.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10575 Update.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10577 Update.
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10579 Update.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10581 Update.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10583 Update.
10584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10585 Update.
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10587 Update.
10588
7cb029ee
JM
105892012-05-01 Joseph Myers <joseph@codesourcery.com>
10590
10591 [BZ #2550]
10592 [BZ #2570]
10593 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10594 comparisons to determine direction to adjust input.
10595 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10596 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10597 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10598 Likewise.
10599 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10600 Likewise.
10601 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10602 Likewise.
10603 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10604 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10605 Likewise.
10606 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10607 Likewise.
10608 * math/libm-test.inc (nexttoward_test): Add more tests.
10609
412bd966
AS
106102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10611
10612 [BZ #14040]
10613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10614 in version GLIBC_2.1, not GLIBC_2.0.
10615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10616 Likewise.
10617
9568c0c2
JM
106182012-04-30 Joseph Myers <joseph@codesourcery.com>
10619
adfbc8ac
JM
10620 [BZ #13942]
10621 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10622 (1 - x) * (1 + x).
10623 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10624 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10625 * math/libm-test.inc (acos_test): Add more tests.
10626 (asin_test): Likewise.
10627 * sysdeps/i386/fpu/libm-test-ulps: Update.
10628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629
5ba3cc69
JM
10630 [BZ #14034]
10631 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10632 of square root.
10633 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10634 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10635 * math/libm-test.inc (acos_test_tonearest): New function.
10636 (acos_test_towardzero): Likewise.
10637 (acos_test_downward): Likewise.
10638 (acos_test_upward): Likewise.
10639 (asin_test_tonearest): Likewise.
10640 (asin_test_towardzero): Likewise.
10641 (asin_test_downward): Likewise.
10642 (asin_test_upward): Likewise.
10643 (main): Call the new functions.
10644 * sysdeps/i386/fpu/libm-test-ulps: Update.
10645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10646
9568c0c2
JM
10647 [BZ #13884]
10648 [BZ #13924]
10649 * math/e_exp10.c: Include <float.h>.
10650 (__ieee754_exp10): Handle underflow here rather than multiplying
10651 large negative argument by M_LN10.
10652 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10653 of __ieee754_expf.
10654 * math/e_exp10l.c: Include <float.h>.
10655 (__ieee754_exp10l): Handle underflow here rather than multiplying
10656 large negative argument by M_LN10l.
10657 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10658 spurious overflow exception on underflow.
10659
5ac3ea17
MP
106602012-04-29 Marek Polacek <polacek@redhat.com>
10661
10662 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10663 (__fortify_function): New macro.
10664 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10665 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10666 __extern_always_inline.
10667 * libio/bits/stdio2.h: Likewise.
10668 * libio/bits/stdio.h: Likewise.
10669 * string/string.h: Likewise.
10670 * string/bits/string3.h: Likewise.
10671 * include/stdio.h: Likewise.
10672 * stdlib/bits/stdlib.h: Likewise.
10673 * stdlib/stdlib.h: Likewise.
10674 * rt/bits/mqueue2.h: Likewise.
10675 * rt/mqueue.h: Likewise.
10676 * posix/bits/unistd.h: Likewise.
10677 * posix/unistd.h: Likewise.
10678 * io/bits/poll2.h: Likewise.
10679 * io/bits/fcntl2.h: Likewise.
10680 * io/fcntl.h: Likewise.
10681 * io/sys/poll.h: Likewise.
10682 * misc/bits/syslog.h: Likewise.
10683 * misc/bits/syslog-ldbl.h: Likewise.
10684 * misc/sys/syslog.h: Likewise.
10685 * socket/bits/socket2.h: Likewise.
10686 * socket/sys/socket.h: Likewise.
10687 * debug/tst-chk1.c: Likewise.
10688 * wcsmbs/bits/wchar2.h: Likewise.
10689 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10690 * wcsmbs/wchar.h: Likewise.
10691
ecf0ebfb
AJ
106922012-04-29 Andreas Jaeger <aj@suse.de>
10693
10694 * Makerules (tests): Remove enable-check-abi protection.
10695 (check-abi-warn): Remove.
10696 (check-abi-%): Remove check-abi-warn usage.
10697
10698 * configure.in: Remove check-abi configure option.
10699 * configure: Regenerated.
10700 * config.make.in (enable-check-abi): Remove.
10701
6d5c57fa
AS
107022012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10703
24c5d07e 10704 [BZ #14033]
ded5180a
AS
10705 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10706 double functions to double *_finite functions.
10707
7e0d315d
AS
10708 [BZ #13941]
10709 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10710 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10711 LDBL_MIN_EXP.
10712 * stdio-common/Makefile (tests): Add tst-sprintf3.
10713 * stdio-common/tst-sprintf3.c: New file.
10714
6d5c57fa
AS
10715 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10716 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10717
0749ff8b
JM
107182012-04-28 Joseph Myers <joseph@codesourcery.com>
10719
10720 * conform/conformtest.pl: Remove duplicate typed-constant
10721 handling.
10722
8dbd5d7b
DM
107232012-04-28 David S. Miller <davem@davemloft.net>
10724
10725 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10726 (check-abi-%): Remove AWK script prerequisite and explicit
10727 abilist directory.
10728 (check-abi): Rewrite to just diff the symlist with the abilist.
10729 (config-tls, config-abi-config): Delete, no longer used.
10730 (update-abi-%): Remove AWK script and explicit abilist directory.
10731 (update-abi): Rewrite to simply compare and conditionally copy the
10732 symlist and the sysdep abilist file. Remove update-abi-config
10733 checks.
10734 * abilist/ld.abilist: Remove.
10735 * abilist/libBrokenLocale.abilist: Remove.
10736 * abilist/libanl.abilist: Remove.
10737 * abilist/libcrypt.abilist: Remove.
10738 * abilist/libdl.abilist: Remove.
10739 * abilist/librt.abilist: Remove.
10740 * abilist/libthread_db.abilist: Remove.
10741 * abilist/libutil.abilist: Remove.
10742 * scripts/extract-abilist.awk: Remove.
10743 * scripts/merge-abilist.awk: Remove.
10744 * sysdeps/generic/libcidn.abilist: New file.
10745 * sysdeps/generic/libnss_compat.abilist: New file.
10746 * sysdeps/generic/libnss_db.abilist: New file.
10747 * sysdeps/generic/libnss_dns.abilist: New file.
10748 * sysdeps/generic/libnss_files.abilist: New file.
10749 * sysdeps/generic/libnss_hesiod.abilist: New file.
10750 * sysdeps/generic/libnss_nis.abilist: New file.
10751 * sysdeps/generic/libnss_nisplus.abilist: New file.
10752 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10753 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10754 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10755 file.
10756 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10757 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10758 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10759 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10760 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10761 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10762 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10763 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10764 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10765 file.
10766 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10767 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10768 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10769 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10770 file.
10771 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10772 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10773 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10774 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10775 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10776 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10777 file.
10778 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10779 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10780 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10781 file.
10782 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10784 New file.
10785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10786 New file.
10787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10788 New file.
10789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10790 New file.
10791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10792 New file.
10793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10794 New file.
10795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10796 New file.
10797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10798 New file.
10799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10800 New file.
10801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10802 New file.
10803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10804 New file.
10805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10806 New file.
10807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10808 New file.
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10810 file.
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10812 New file.
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10814 New file.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10816 file.
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10818 New file.
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10820 New file.
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10822 file.
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10824 New file.
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10826 New file.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10828 New file.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10830 New file.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10832 New file.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10834 New file.
10835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10837 file.
10838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10839 New file.
10840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10841 file.
10842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10843 file.
10844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10845 file.
10846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10847 file.
10848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10849 file.
10850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10851 New file.
10852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10853 file.
10854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10855 file.
10856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10857 New file.
10858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10859 file.
10860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10862 file.
10863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10864 New file.
10865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10866 file.
10867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10868 file.
10869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10870 file.
10871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10872 file.
10873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10874 file.
10875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10876 New file.
10877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10878 file.
10879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10880 file.
10881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10882 New file.
10883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10884 file.
10885 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10886 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10887 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10888 file.
10889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10890 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10891 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10892 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10893 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10894 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10895 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10896 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10897 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10898 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10901 file.
10902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10903 New file.
10904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10905 file.
10906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10907 file.
10908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10909 file.
10910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10911 file.
10912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10913 file.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10915 New file.
10916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10917 New file.
10918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10919 file.
10920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10921 New file.
10922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10923 file.
10924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10926 file.
10927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10928 New file.
10929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10930 file.
10931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10932 file.
10933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10934 file.
10935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10936 file.
10937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10938 file.
10939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10940 New file.
10941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10942 New file.
10943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10944 file.
10945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10946 New file.
10947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10948 file.
10949
41d73a1b
JM
109502012-04-28 Joseph Myers <joseph@codesourcery.com>
10951
10952 * conform/conformtest.pl: Fix typo in handling typed-constant from
10953 allow-header.
10954
28aeeda4
JM
109552012-04-27 Joseph Myers <joseph@codesourcery.com>
10956
adae8f5e
JM
10957 * README: Cut down references to pre-2.6 Linux kernels and
10958 Linuxthreads. Update lists of configurations in libc and ports
10959 and sort alphabetically. Say "or newer" with Linux kernel version
10960 requirements.
10961
28aeeda4
JM
10962 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10963
a462cb63
RA
109642012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10965
10966 [BZ #887]
10967 * math/libm-test.inc (logb_test_downward): New test to expose
10968 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10969 rounding mode.
10970
6ad3493e
JM
109712012-04-27 Joseph Myers <joseph@codesourcery.com>
10972
10973 [BZ #14027]
10974 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10975 to be done.
10976 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10977 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10978
2ce4f015
JM
109792012-04-26 Joseph Myers <joseph@codesourcery.com>
10980
5aeb141a
JM
10981 * sysdeps/unix/i386/brk.S: Remove file.
10982 * sysdeps/unix/i386/dl-brk.S: Likewise.
10983 * sysdeps/unix/i386/pipe.S: Likewise.
10984 * sysdeps/unix/i386/sigreturn.S: Likewise.
10985 * sysdeps/unix/i386/syscall.S: Likewise.
10986 * sysdeps/unix/i386/vfork.S: Likewise.
10987 * sysdeps/unix/i386/wait.S: Likewise.
10988
7143acae
JM
10989 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10990 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10991
2ce4f015
JM
10992 * configure.in (arm*-none*): Do not allow without
10993 --enable-hacker-mode.
10994 (netbsd*): Remove case setting base_os.
10995 (386bsd*): Likewise.
10996 (freebsd*): Likewise.
10997 (bsdi*): Likewise.
10998 (osf*): Likewise.
10999 (sunos*): Likewise.
11000 (ultrix*): Likewise.
11001 (newsos*): Likewise.
11002 (dynix*): Likewise.
11003 (*bsd*): Likewise.
11004 (sysv*): Likewise.
11005 (isc*): Likewise.
11006 (esix*): Likewise.
11007 (sco*): Likewise.
11008 (minix*): Likewise.
11009 (irix4*): Likewise.
11010 (irix6*): Likewise.
11011 (solaris[2-9]*): Likewise.
11012 (none): Likewise.
11013 * configure: Regenerated.
11014
0ac229c8
AZ
110152012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11016
11017 [BZ #11521]
11018 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11019 overflow or cancellation in calculating denominator.
11020 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11022 down expression to avoid unexpected rounding in newer GCCs.
11023 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11024
33f244f4
DM
110252012-04-26 David S. Miller <davem@davemloft.net>
11026
11027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11028 long-double compat symbols.
11029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11042
cfa1f3e8
DM
110432012-04-25 David S. Miller <davem@davemloft.net>
11044
11045 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11046 HWCAP_* values only after the memory barriers have been defined.
11047 (atomic_full_barrier): Define.
11048 (atomic_read_barrier): Define.
11049 (atomic_write_barrier): Define.
11050
6e236b92
SP
110512012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11052
11053 * shlib-versions: Add libgcc_s version information.
11054 * sysdeps/generic/libgcc_s.h: Remove.
11055 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11056 libgcc_s.h.
11057 * sysdeps/gnu/unwind-resume.c: Likewise.
11058 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11059
aab39a09
DM
110602012-04-25 David S. Miller <davem@davemloft.net>
11061
11062 * sysdeps/unix/sparc/brk.S: Delete.
11063 * sysdeps/unix/sparc/dl-brk.S: Delete.
11064 * sysdeps/unix/sparc/pipe.S: Delete.
11065 * sysdeps/unix/sparc/sysdep.S: Delete.
11066 * sysdeps/unix/sparc/sysdep.h: Delete.
11067 * sysdeps/unix/sparc/vfork.S: Delete.
11068 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11069 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11070 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11071 ret_ERRVAL, r0, r1, MOVE): Define.
11072 (JUMPTARGET): Remove.
11073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11074 sysdeps/unix/sparc/sysdep.h
11075 (ENTRY, END): Remove.
11076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11077
a3cc4f48
JM
110782012-04-25 Joseph Myers <joseph@codesourcery.com>
11079
2ed8cda2
JM
11080 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11081 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11082 -DIS_IN_build.
11083
35d76d59
JM
11084 * timezone/README: Update upstream location and email address for
11085 tzcode and tzdata.
11086 * timezone/zdump.c: Update from tzcode 2012b.
11087 * timezone/zic.c: Likewise.
11088
a3cc4f48
JM
11089 * configure.in (libc_cv_as_needed): Remove test.
11090 * configure: Regenerated.
11091 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11092 conditional definition.
11093 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11094 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11095 * config.make.in (have-as-needed): Remove variable.
11096
ceab42c3
SP
110972012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11098 Paul Pluzhnikov <ppluzhnikov@google.com>
11099
11100 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11101 strings correctly.
11102
3ce2865f
CLT
111032012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11104
11105 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11106 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11107 * sysdeps/sh/strlen.S: Likewise.
11108
f37e0d68
JM
111092012-04-24 Joseph Myers <joseph@codesourcery.com>
11110
ae186e9a
JM
11111 * sysdeps/unix/fork.S: Remove file.
11112 * sysdeps/unix/i386/fork.S: Likewise.
11113 * sysdeps/unix/sparc/fork.S: Likewise.
11114
b96914af
JM
11115 * sysdeps/unix/system.c: Remove file.
11116 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11117
f37e0d68
JM
11118 * sysdeps/unix/getegid.S: Remove file.
11119 * sysdeps/unix/geteuid.S: Likewise.
11120
87ef29ca
RM
111212012-04-24 Roland McGrath <roland@hack.frob.com>
11122
83bcd236
RM
11123 * scripts/check-localplt.awk: New file.
11124 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11125 of diff.
11126 * scripts/data/localplt-generic.data: Add a comment.
11127
87ef29ca
RM
11128 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11129 NODE when __dir_mkfile failed.
11130 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11131 Reported by Ludovic Courtès <ludo@gnu.org>.
11132
e5a6e567
AJ
111332012-04-24 Andreas Jaeger <aj@suse.de>
11134
11135 * Makerules (common-clean): Also remove gen-as-const-headers
11136 files.
11137
c1820385
JM
111382012-04-24 Joseph Myers <joseph@codesourcery.com>
11139
11140 * Makerules (native-compile): Do not change working directory for
11141 build. Use $(OUTPUT_OPTION) in command.
11142 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11143
94e02fc4
AZ
111442012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11145
11146 [BZ #13886]
11147 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11148 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11149 * math/libm-test.inc (floor_test): Add more tests.
11150 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11151
3a533ca3
JM
111522012-04-24 Joseph Myers <joseph@codesourcery.com>
11153
940ab4b3
JM
11154 * sysdeps/unix/getdents.c: Remove file.
11155 * sysdeps/unix/sysv/getdents.c: Likewise.
11156 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11157
90e037bd
JM
11158 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11159 sysdeps/unix/mman/syscalls.list.
11160 (mmap): Likewise.
11161 (mprotect): Likewise.
11162 (msync): Likewise.
11163 (munmap): Likewise.
11164 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11165 * sysdeps/unix/mman/syscalls.list: Remove.
11166 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11167
3a533ca3
JM
11168 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11169 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11170 * configure: Regenerated.
11171 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11172 $(libgcc_s_suffix).
11173 * config.make.in (libgcc_s_suffix): Remove variable.
11174
1ad743de
JM
111752012-04-23 Joseph Myers <joseph@codesourcery.com>
11176
4ad451e2
JM
11177 * sysdeps/unix/sysv/gethostname.c: Move to ...
11178 * sysdeps/posix/gethostname.c: ... here.
11179
5e37ce39
JM
11180 * sysdeps/unix/execve.S: Remove file.
11181
1ad743de
JM
11182 * sysdeps/unix/_exit.S: Remove file.
11183
4e681b5b
AJ
111842012-04-23 Andreas Jaeger <aj@suse.de>
11185
11186 [BZ #13739]
11187 * manual/Makefile: Remove make dist support, there's no
11188 need for a stand-alone documentation tar ball.
11189 (TEXI2DVI): Define always, it's not in Makeconfig.
11190 (dist): Removed.
11191 (tar-it): Removed.
11192 (edition): Removed.
11193 (glibc-doc-$(edition).tar): Removed
11194 (%.Z): Removed.
11195 (%.gz): Removed.
11196 (%.uu): Removed.
11197 (ETAGS): Remove, it's in Makeconfig.
11198 (move-if-change): Remove, it's in Makeconfig.
11199
c0baea34
PE
112002013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11201
11202 [BZ #13970]
11203 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11204 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11205 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11206 (strtod_l, strtof_l, strtold_l): Remove __wur.
11207 It is not necessarily an error to ignore strtol's return value.
11208 One can reliably look at the stored endptr to decide whether
11209 the number had valid syntax.
11210
7c0616fa
AJ
112112012-04-21 Andreas Jaeger <aj@suse.de>
11212
803cb6b7 11213 [BZ #13739]
7c0616fa
AJ
11214 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11215
b0fe253f
JM
112162012-04-21 Joseph Myers <joseph@codesourcery.com>
11217
11218 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11219 * sysdeps/unix/sysv/Versions: Remove file.
11220
8280f22d
MT
112212012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11222
11223 [BZ #13927]
11224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11225
75ce411f 112262012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11227
11228 [BZ #7064]
11229 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11230 version from __vm86.
11231
097d59fa
JM
112322012-04-20 Joseph Myers <joseph@codesourcery.com>
11233
a90f3bcb
JM
11234 * sysdeps/unix/common/lxstat.c: Remove file.
11235 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11236
edc7ea78
JM
11237 * sysdeps/unix/sysv/Makefile: Remove file.
11238
cb78c221
JM
11239 * sysdeps/unix/sysv/direct.h: Remove file.
11240
efa6a45f
JM
11241 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11242 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11243 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11244 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11245 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11246 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11247 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11248
9c9f2d0c
JM
11249 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11250
4541c83b
JM
11251 * sysdeps/unix/xmknod.c: Remove file.
11252 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11253
f5d153a0
JM
11254 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11255
aa746595
JM
11256 * sysdeps/unix/sysv/i386/time.S: Remove file.
11257
cce5905e
JM
11258 * sysdeps/unix/fxstat.c: Remove file.
11259 * sysdeps/unix/xstat.c: Likewise.
11260 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11261
37fa3841
JM
11262 * sysdeps/unix/sysv/sigaction.c: Remove file.
11263
ff1962a3
JM
11264 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11265 (sysdep_headers): Remove variable.
11266 [termio.h not in sysdep_headers] (generated): Likewise.
11267 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11268 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11269 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11270 * sysdeps/unix/sysv/tcflow.c: Likewise.
11271 * sysdeps/unix/sysv/tcflush.c: Likewise.
11272 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11273 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11274 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11275 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11276 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11277
e7740d31
JM
11278 * sysdeps/unix/siglist.c: Remove file.
11279
ee06f18b
JM
11280 * sysdeps/unix/getppid.S: Remove file.
11281
097d59fa
JM
11282 * sysdeps/unix/mkdir.c: Remove file.
11283 * sysdeps/unix/rmdir.c: Likewise.
11284
ff3d51ec
AS
112852012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11288 ERR_MAX value.
11289 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11290 errlist-compat value.
11291
50f81fd7
DM
112922012-04-18 David S. Miller <davem@davemloft.net>
11293
11294 * sysdeps/generic/memcopy.h (reg_char): Delete.
11295 * debug/strcat_chk.c: Use char, not reg_char.
11296 * debug/strcpy_chk.c: Likewise.
11297 * debug/strncat_chk.c: Likewise.
11298 * debug/strncpy_chk.c: Likewise.
11299 * string/memchr.c: Likewise.
11300 * string/memrchr.c: Likewise.
11301 * string/rawmemchr.c: Likewise.
11302 * string/strcat.c: Likewise.
11303 * string/strchr.c: Likewise.
11304 * string/strchrnul.c: Likewise.
11305 * string/strcmp.c: Likewise.
11306 * string/strcpy.c: Likewise.
11307 * string/strncat.c: Likewise.
11308 * string/strncmp.c: Likewise.
11309 * string/strncpy.c: Likewise.
11310
8ff41c46
WS
113112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11312
11313 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11314 __builtin_memcopy is called when src and dest ranges are known to not
11315 overlap.
11316
6b652f46
WS
113172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11318
11319 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11320 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11321 fwd_align_merge macro call.
11322 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11323 bwd_align_merge macro call.
11324 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11325
b282631e
WS
113262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11327
11328 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11329 bwd_align_merge macros.
11330 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11331 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11332 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11333
95aa737c
DM
113342012-04-18 David S. Miller <davem@davemloft.net>
11335
11336 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11337
7a99a614
AJ
113382012-04-18 Andreas Jaeger <aj@suse.de>
11339
11340 [BZ# 6794]
11341 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11342 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11343 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11344
11345 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11346 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11347 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11348
11349 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11350 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11351 Adjust for changed ldbl-128 files.
11352
11353 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11354 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11355 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11356
e5270c23
DM
113572012-04-17 David S. Miller <davem@davemloft.net>
11358
11359 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11360
fb5e92c9
AS
113612012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11362
11363 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11364 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11365 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11366 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11367 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11368 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11369
76da7265
AZ
113702012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11371
11372 [BZ #6794]
11373 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11374 * math/libm-test.inc: Add ilogb errno and exception tests.
11375 * math/w_ilogb.c: New file: ilogb wrapper.
11376 * math/w_ilogbf.c: New file: ilogbf wrapper.
11377 * math/w_ilogbl.c: New file: ilogbl wrapper.
11378 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11379 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11380 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11381 exception being thrown with 0.0 as argument.
11382 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11383 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11384 exception being thrown with 0.0 as argument.
11385 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11386 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11387 exception being thrown with 0.0 as argument.
11388 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11389 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11390 exception being thrown with 0.0 as argument.
11391 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11392 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11393 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11394 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11396 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11397 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11398 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11399 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11400
0396e69d
PB
114012012-04-17 Petr Baudis <pasky@ucw.cz>
11402
11403 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11404 with altivec.
11405
750b5926
MP
114062012-04-16 Marek Polacek <polacek@redhat.com>
11407
11408 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11409
751728a1
MP
114102012-04-16 Marek Polacek <polacek@redhat.com>
11411
11412 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11413 operands of fdivp instruction.
11414
34a27407
L
114152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11416
11417 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11418 * elf/tst-auditmod3b.c: Likewise.
11419 * elf/tst-auditmod4b.c: Likewise.
11420 * elf/tst-auditmod5b.c: Likewise.
11421 * elf/tst-auditmod6b.c: Likewise.
11422 * elf/tst-auditmod6c.c: Likewise.
11423 * elf/tst-auditmod7b.c: Likewise.
11424 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11425 * sysdeps/x86_64/preconfigure.in: Likewise.
11426 * sysdeps/x86_64/preconfigure: Regenerated.
11427
7e73e17d
L
114282012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11429
11430 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11431 __ILP32__.
11432
c7a6ab72
AB
114332012-04-13 Antoine Balestrat <merkil33@gmail.com>
11434
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11436 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11437
a9e8e0e0
CL
114382012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11439
11440 [BZ #13973]
11441 * locale/iso-639.def: Fix gl language name. Spotted by
11442 Yaron Shahrabani.
11443
ec98af7d
RM
114442012-04-12 Roland McGrath <roland@hack.frob.com>
11445
11446 [BZ #2074]
11447 * libio/libio.h (__io_write_fn): Update comment.
11448
247c3ede
PB
114492012-04-12 Petr Baudis <pasky@ucw.cz>
11450
11451 [BZ #2074]
11452 * stdio.texi (Hook Functions): The user provided writer function
11453 is not allowed to return -1.
11454
55939d6d
DM
114552012-04-11 David S. Miller <davem@davemloft.net>
11456
11457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11458
90020f5a
MF
114592012-04-11 Mike Frysinger <vapier@gentoo.org>
11460
11461 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11462 Add a leading slash to rtkaio.
11463
288f9098
JM
114642012-04-11 Jim Meyering <meyering@redhat.com>
11465
90020f5a
MF
11466 [BZ #11959]
11467 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11468 It is not necessarily an error to ignore fwrite's return
11469 value. One can reliably use ferror to test for errors after
11470 the fact.
288f9098 11471
4be2b570
L
114722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 * bits/types.h (__snseconds_t): New type.
11475 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11476
11477 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11479 (__SNSECONDS_T_TYPE): Likewise.
11480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11481 (__SNSECONDS_T_TYPE): Likewise.
11482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11483 (__SNSECONDS_T_TYPE): Likewise.
11484
288f9098 114852012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11486
11487 [BZ #2636]
11488 * manual/time.texi (Processor Time): Return type of times is
11489 elapsed real time since an arbitrary point in the past.
11490 (CPU Time): Move CLK_TCK from here...
11491 (Processor Time): ...to here. Correct description.
11492 * manual/conf.texi (Constants for Sysconf): Correct description of
11493 _SC_CLK_TCK.
11494
d7dd4413
DM
114952012-04-10 David S. Miller <davem@davemloft.net>
11496
11497 [BZ #13967]
11498 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11499 where the is a gap between DT_REL(A) and DT_JMPREL.
11500
b46068fc
L
115012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11502
11503 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11504 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11505 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11506
73d65cc3
SP
115072012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11508
11509 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11510 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11511 (dl_main): Handle --inhibit-cache.
11512 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11513 _dl_inhibit_cache.
11514 * elf/dl-load.c (_dl_map_object): Use it.
11515 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11516
bcc8d661
JM
115172012-04-09 Joseph Myers <joseph@codesourcery.com>
11518
8f9a2fae
JM
11519 [BZ #13872]
11520 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11521 (__ieee754_powl): Saturate large exponents rather than testing for
11522 overflow of y*log2(x).
11523 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11524 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11525 exceptions.
11526
bcc8d661
JM
11527 [BZ #11521]
11528 * math/s_ctan.c: Include <float.h>.
11529 (__ctan): Avoid internal overflow or cancellation in calculating
11530 denominator.
11531 * math/s_ctanf.c: Likewise.
11532 * math/s_ctanl.c: Likewise.
11533 * math/s_ctanh.c: Likewise.
11534 * math/s_ctanhf.c: Likewise.
11535 * math/s_ctanhl.c: Likewise.
11536 * math/libm-test.inc (ctan_test): Add more tests.
11537 (ctanh_test): Likewise.
11538 * sysdeps/i386/fpu/libm-test-ulps: Update.
11539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11540
823fbbb4
AJ
115412012-04-09 Andreas Jaeger <aj@suse.de>
11542
03879793
AJ
11543 [BZ #6894]
11544 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11545 is an optional BSD extension.
11546
823fbbb4
AJ
11547 [BZ #10254]
11548 * manual/stdio.texi (Opening Streams): Document additional fopen
11549 parameters.
11550
8de131cb
RM
115512012-04-09 Roland McGrath <roland@hack.frob.com>
11552
11553 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11554 %eax without telling the compiler.
11555
c0ed9d7d
CD
115562012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11557
11558 [BZ # 13963]
11559 * manual/install.texi: Use sourceware.org.
11560
c483f6b4
JM
115612012-04-09 Joseph Myers <joseph@codesourcery.com>
11562
d7dd9453
JM
11563 [BZ #13873]
11564 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11565 (__ieee754_pow): Generate overflow and underflow using huge*huge
11566 and tiny*tiny rather than just returning constant infinity or zero
11567 for large exponents.
11568 * math/libm-test.inc (pow_test): Require overflow exceptions for
11569 applicable cases of large exponents.
11570
c483f6b4
JM
11571 [BZ #706]
11572 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11573 (__ieee754_pow): Use iterative multiplication algorithm only for
11574 integer exponents with absolute value below 1024. Check for odd
11575 integer exponents when using algorithm for real exponents.
11576 * math/libm-test.inc (pow_test): Add more tests.
11577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11578
d2de7579
JM
115792012-04-08 Joseph Myers <joseph@codesourcery.com>
11580
11581 [BZ #13705]
11582 * math/libm-test.inc (exp_test): Do not allow overflow exception
11583 on underflow test.
11584
f77f1232
AJ
115852012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11586
11587 [BZ #13705]
11588 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11589 instead of __kernel_standard_f.
11590
3884932b
MF
115912012-04-08 Mike Frysinger <vapier@gentoo.org>
11592
11593 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11594 * sysdeps/x86_64/memset_chk.S: Likewise.
11595
54472e9c
AJ
115962012-04-08 Andreas Jaeger <aj@suse.de>
11597
6ab0fbfc
AJ
11598 [BZ #10153]
11599 * manual/startup.texi (Environment Access): Describe return value
11600 for putenv and setenv.
11601
61efba8c
AJ
11602 [BZ #6895]
11603 * manual/filesys.texi (Directory Entries): Add description for
11604 DT_LNK.
11605
95c3f29a
AJ
11606 [BZ #6890]
11607 * manual/filesys.texi (Directory Entries): Clarify that it's file
11608 system not operating system in the description of DT_UNKNOWN.
11609
54472e9c
AJ
11610 [BZ #6578]
11611 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11612
624254b1
SC
116132012-04-08 Stephen Compall <s11@member.fsf.org>
11614
11615 [BZ #6649]
11616 * manual/llio.texi (Opening and Closing Files): Add cross
11617 reference to explain mode argument.
11618
1e4920e0
MF
116192012-04-07 Mike Frysinger <vapier@gentoo.org>
11620
11621 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11622 * sysdeps/x86_64/memset_chk.S: Likewise.
11623
5ed848f3
DM
116242012-04-07 David S. Miller <davem@davemloft.net>
11625
11626 * elf/elf.h (R_SPARC_WDISP10): Define.
11627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11628 R_SPARC_SIZE32.
11629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11630 R_SPARC_SIZE64 and R_SPARC_H34.
11631
96154cd8
CD
116322012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11633
11634 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11635 conditions and remove no longer applicable assertion.
11636
9904dc47
L
116372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 * bits/byteswap.h: Include <features.h>.
11640 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11641 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11642
f8887d0a
L
116432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11644
11645 * bits/byteswap.h (__bswap_16): Removed.
11646 Include <bits/byteswap-16.h> to get __bswap_16.
11647 * sysdeps/i386/bits/byteswap.h: Likewise.
11648 * sysdeps/s390/bits/byteswap.h: Likewise.
11649 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11650 * bits/byteswap-16.h: New file.
11651 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11652 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11653 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11654 * string/Makefile (headers): Add bits/byteswap-16.h.
11655
62470f60
PP
116562012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11657
11658 [BZ #13895]
11659 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11660 extra indirection.
11661 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11662 * nss/tst-nss-static.c: New.
11663
4dad7bab
RM
116642012-04-06 Robert Millan <rmh@gnu.org>
11665
11666 [BZ #6486]
11667 * manual/llio.texi (File Position Primitive): lseek
11668 refers to WHENCE when it really means OFFSET.
11669
e9142a17
AJ
116702012-04-06 Andreas Jaeger <aj@suse.de>
11671
2c040eff
AJ
11672 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11673 strncmp declarations.
11674
e9142a17
AJ
11675 * abilist/libc.abilist: Add __poll and __ppoll.
11676
ff9f1c5f
DM
116772012-04-05 David S. Miller <davem@davemloft.net>
11678
dcd2ae90
DM
11679 * scripts/check-local-headers.sh: Accept a host triplet in the
11680 path matched by the exclude regexp.
11681
993eb054
DM
11682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11683 definition.
11684 * sysdeps/powerpc/powerpc32/dl-machine.h
11685 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11686 * sysdeps/s390/s390-32/dl-machine.h
11687 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11688 * sysdeps/sparc/sparc32/dl-machine.h
11689 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11690 * sysdeps/sparc/sparc64/dl-machine.h
11691 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11692
ff9f1c5f
DM
11693 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11694 lazy binding.
48e2e132 11695 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11696 undefined symbol errors.
11697
48e2e132 11698 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11699 DT_NEEDED entries.
11700
e80d6f94
MM
117012012-04-05 Michael Matz <matz@suse.de>
11702
11703 [BZ #13592]
11704 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11705
349fa79f
AJ
117062012-04-05 Andreas Jaeger <aj@suse.de>
11707
11708 [BZ #13908]
11709 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11710 comment.
11711
f402708f
KK
117122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11713
11714 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11715 which ROUND is no valid rounding mode.
11716
2ecccfc9
KK
117172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11718
11719 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11720 read again.
11721 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11722
8a53f50f
KK
117232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11724
11725 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11726 an exception using FPU order intentionally.
11727
117282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11729
11730 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11731 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11732 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11733 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11734
d653abb7
SJ
117352012-04-05 Simon Josefsson <simon@josefsson.org>
11736
11737 [BZ #12340]
11738 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11739 EINVAL when BUFLEN is too smal.
11740
c3b1bf7d
TS
117412012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11742
11743 [BZ #13553]
11744 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11745 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11746
b1aa60f3
AJ
117472012-04-03 Andreas Jaeger <aj@suse.de>
11748
c3b1bf7d 11749 [BZ #13938]
67f60a26
AJ
11750 * manual/setjmp.texi (System V contexts): Fix sentence.
11751
b1aa60f3
AJ
11752 [BZ #13926]
11753 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11754 New macro for this case.
11755 [!__GNUC__] (__bswap_64): New inline function for this case.
11756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11757 * bits/byteswap.h: Likewise.
11758 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11759 ull, guard with __GLIBC_HAVE_LONG_LONG.
11760
11761 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11762 __GLIBC_HAVE_LONG_LONG.
11763
11764 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11765 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11766
39c59c35
TMQMF
117672012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11768
11769 [BZ #13691]
11770 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11771 inptr and inend, rather than using last_ch.
11772
135ffda8
DM
117732012-04-02 David S. Miller <davem@davemloft.net>
11774
11775 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11776 * stdio-common/printf-parse.h (read_int): Change return type to
11777 'int', return -1 on INT_MAX overflow.
11778 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11779 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11780 overflows INT_MAX. Check for overflow of in-format-string precision
11781 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11782 SIZE_MAX not INT_MAX for integer overflow test.
11783 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11784 skip the construct in the format string but do not record anything.
11785 * stdio-common/bug22.c: Adjust to test both width/prevision
11786 INT_MAX overflow as well as total length INT_MAX overflow. Check
11787 explicitly for proper errno values.
11788
228c019e
TS
117892012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11790
302cadd3
TS
11791 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11792 CHAR_MAX.
11793 * string/test-strcmp.c [! WIDE]: Likewise.
11794 * time/tst-mktime2.c: Likewise for INT_MAX.
11795 * string/test-string.h: #include <sys/param.h> for MIN.
11796
228c019e
TS
11797 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11798 * sysdeps/i386/init-first.c (init): Likewise.
11799 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11800 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11801 * sysdeps/sh/init-first.c (init): Likewise.
11802
cfa633f5
UD
118032012-04-01 Ulrich Drepper <drepper@gmail.com>
11804
11805 * po/ru.po: Update from translation team.
d1635ef8 11806 * po/vi.po: Likewise.
cfa633f5 11807
6cd0a5ea
SP
118082012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11809
11810 * resolv/nss_dns/dns-host.c: Merge copyright years.
11811
4b43400f
LD
118122012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11813
11814 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11815 Optimize memcpy with prefetch if
11816 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11817 src, dst pointers have unequal 16 byte alignments.
11818
48c41d04
SP
118192012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11820
11821 [BZ #13928]
11822 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11823 from a CNAME entry and return the minimum ttl for the query.
11824 (gaih_getanswer_slice): Likewise.
11825
b8dc394d
JL
118262012-03-30 Jeff Law <law@redhat.com>
11827
11828 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11829 due to long keys.
11830 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11831 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11832
2f5a5ed0
JL
11833 * resolv/nss_dns/dns-host.c: Update copyright year.
11834
1d39e359
UD
118352012-03-30 Ulrich Drepper <drepper@gmail.com>
11836
c030f70c 11837 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11838 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11839
1d39e359
UD
11840 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11841 comments for sendmmsg.
11842
118432012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11844
11845 [BZ #13691]
11846 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11847 with only 1 character between 0x0041 and 0x01b0.
11848 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11849 * wcsmbs/tst-mbsnrtowcs.c: New file.
11850
20fde227
DM
118512012-03-29 David S. Miller <davem@davemloft.net>
11852
11853 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11854 small copies by hand.
11855
984a4237
JL
118562012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11857
11858 [BZ #13761]
11859 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11860 _nss_compat_initgroups_dyn): Fall back to malloc/free
11861 for large group memberships.
11862
18c9d62b
DM
118632012-03-28 David S. Miller <davem@davemloft.net>
11864
88d85d4f
DM
11865 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11866 that branches into memcpy.
11867 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11868 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11869 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11870 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11871 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11872 bits.
11873 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11874 implementation too.
11875 * sysdeps/sparc/mempcpy.S: New file.
11876
e5aa83e1
DM
11877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11878 the IFUNC routine in the libc case.
11879 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11880
88570753
DM
11881 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11882 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11883 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11884 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11885 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11886 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11887 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11888 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11889
249d7567
DM
11890 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11891 loop to 256 bytes instead of 64 bytes and fix test signedness.
11892
18c9d62b
DM
11893 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11894 * sysdeps/sparc/sparc32/Makefile: rather than here...
11895 * sysdeps/sparc/sparc64/Makefile: and here.
11896
05f3d1f6
UD
118972012-03-28 Ulrich Drepper <drepper@gmail.com>
11898
11899 * malloc/mallocbug.c: Avoid warnings about unused variables.
11900
86ae07a8
JL
119012012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11902
11903 [BZ #13760]
11904 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11905 in the right place. Discard and retry query if response is
11906 larger than input buffer size.
11907
41bf21a1
JM
119082012-03-28 Joseph Myers <joseph@codesourcery.com>
11909
d6270972
JM
11910 [BZ #369]
11911 [BZ #2678]
11912 [BZ #3866]
11913 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11914 x for large integer exponent.
11915 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11916 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11917 sign of result as needed afterwards.
11918 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11919 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11920 result for underflowing pow the same as for overflow.
11921 (__kernel_standard_l): Handle powl overflow and underflow here
11922 rather than calling __kernel_standard.
11923 * math/libm-test.inc (pow_test): Add more tests.
11924
414fca03 11925 [BZ #3868]
41bf21a1
JM
11926 [BZ #13879]
11927 [BZ #13910]
11928 [BZ #13911]
11929 [BZ #13912]
11930 [BZ #13913]
11931 [BZ #13915]
11932 [BZ #13916]
11933 [BZ #13917]
11934 [BZ #13918]
11935 [BZ #13919]
11936 [BZ #13920]
11937 [BZ #13921]
11938 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11939 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11940 (__kernel_standard_l): New function.
11941 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11942 __kernel_standard.
11943 * math/w_acosl.c (__acosl): Likewise.
11944 * math/w_asinl.c (__asinl): Likewise.
11945 * math/w_atan2l.c (__atan2l): Likewise.
11946 * math/w_atanhl.c (__atanhl): Likewise.
11947 * math/w_coshl.c (__coshl): Likewise.
11948 * math/w_exp10l.c (__exp10l): Likewise.
11949 * math/w_exp2l.c (__exp2l): Likewise.
11950 * math/w_fmodl.c (__fmodl): Likewise.
11951 * math/w_hypotl.c (__hypotl): Likewise.
11952 * math/w_j0l.c (__j0l, __y0l): Likewise.
11953 * math/w_j1l.c (__j1l, __y1l): Likewise.
11954 * math/w_jnl.c (__jnl, __ynl): Likewise.
11955 * math/w_lgammal.c (__lgammal): Likewise.
11956 * math/w_log10l.c (__log10l): Likewise.
11957 * math/w_log2l.c (__log2l): Likewise.
11958 * math/w_logl.c (__logl): Likewise.
11959 * math/w_powl.c (__powl): Likewise.
11960 * math/w_remainderl.c (__remainderl): Likewise.
11961 * math/w_scalbl.c (sysv_scalbl): Likewise.
11962 * math/w_sinhl.c (__sinhl): Likewise.
11963 * math/w_sqrtl.c (__sqrtl): Likewise.
11964 * math/w_tgammal.c (__tgammal): Likewise.
11965 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11966 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11967 * math/libm-test.inc (acos_test): Add more tests.
11968 (acosh_test): Likewise.
11969 (asin_test): Likewise.
11970 (atanh_test): Likewise.
11971 (exp_test): Likewise.
11972 (exp10_test): Likewise.
11973 (exp2_test): Likewise.
11974 (expm1_test): Likewise.
11975 (lgamma_test): Likewise.
11976 (log_test): Likewise.
11977 (log10_test): Likewise.
11978 (log1p_test): Likewise.
11979 (log2_test): Likewise.
11980 (pow_test): Do not allow some spurious overflow exceptions.
11981 (sqrt_test): Add more tests.
11982 (tgamma_test): Likewise.
11983 (y0_test): Likewise.
11984 (y1_test): Likewise.
11985 (yn_test): Likewise.
11986
dd62fda6
AB
119872012-03-27 Anton Blanchard <anton@samba.org>
11988
11989 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11990 MAP_HUGETLB.
11991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11992 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11993 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11994
1e3cdfda
AJ
119952012-03-27 David S. Miller <davem@davemloft.net>
11996
b855ab85
DM
11997 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11998
1e3cdfda
AJ
11999 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12000 have-as-vis3 check.
12001
120022012-03-27 Andreas Jaeger <aj@suse.de>
12003
12004 * sysdeps/x86_64/elf/configure.in: Moved to ...
12005 * sysdeps/x86_64/configure.in: ... here.
12006 * sysdeps/x86_64/elf/start.S: Moved to ...
12007 * sysdeps/x86_64/start.S: ... here.
12008 * sysdeps/x86_64/elf/configure: Delete.
12009
12010 * sysdeps/x86_64/configure.in: Merge contents from
12011 sysdeps/i386/configure.in (without i686 check).
12012
12013 * sysdeps/i386/elf/Versions: Merge into ...
12014 * sysdeps/i386/Versions: ... this.
12015 * sysdeps/i386/elf/Versions: Delete file.
12016 * sysdeps/i386/elf/start.S: Moved to ...
12017 * sysdeps/i386/start.S: ...here.
12018 * sysdeps/i386/elf/configure.in: Merge into...
12019 * sysdeps/i386/configure.in: ...here.
12020 * sysdeps/i386/elf/configure.in: Delete file.
12021 * sysdeps/i386/elf/configure: Delete file.
12022
12023 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12024 * debug/backtracesyms.c: ... here.
12025 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12026 * debug/backtracesymsfd.c: ... here.
12027 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12028 * sysdeps/generic/ifunc-sel.h: ... here.
12029
12030 * sysdeps/unix/i386/start.c: Delete file.
12031 * sysdeps/unix/sparc/start.c: Delete file.
12032 * sysdeps/unix/start.c: Delete file.
12033
12034 * sysdeps/sh/elf/configure.in: Moved to ...
12035 * sysdeps/sh/configure.in: ... here.
12036 * sysdeps/sh/elf/start.S: Moved to ...
12037 * sysdeps/sh/start.S: ... here.
12038 * sysdeps/sh/elf/configure: Delete file.
12039
12040 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12041 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12042 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12043 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12044 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12045 * sysdeps/powerpc/powerpc64/start.S: here.
12046 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12047 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12048 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12049 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12050 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12051
12052 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12053 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12054 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12055 * sysdeps/powerpc/powerpc32/start.S: ... here.
12056 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12057 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12058 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12059
12060 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12061 * sysdeps/powerpc/ifunc-sel.h: ... here.
12062 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12063 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12064
12065 * sysdeps/sparc/elf/configure.in: Moved to ...
12066 * sysdeps/sparc/configure.in: ... here.
12067 * sysdeps/sparc/elf/configure: Delete file.
12068 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12069 * sysdeps/sparc/sparc32/start.S: ... here.
12070 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12071 * sysdeps/sparc/sparc64/start.S: ... here.
12072 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12073 * sysdeps/sparc/sparc32/Makefile: ... this.
12074 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12075 * sysdeps/sparc/sparc64/Makefile: ... this.
12076
12077 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12078 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12079 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12080 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12081 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12082 * sysdeps/s390/s390-32/setjmp.S: ... here.
12083 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12084 * sysdeps/s390/s390-32/configure.in: ... here.
12085 * sysdeps/s390/s390-32/elf/configure: Delete file.
12086 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12087 * sysdeps/s390/s390-32/start.S: ... here.
12088
12089 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12090 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12091 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12092 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12093 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12094 * sysdeps/s390/s390-64/setjmp.S: ... here.
12095 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12096 * sysdeps/s390/s390-64/configure.in: ... here
12097 * sysdeps/s390/s390-64/elf/configure: Delete file.
12098 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12099 * sysdeps/s390/s390-64/start.S: ... here.
12100 * sysdeps/s390/s390-64/elf/configure: Delete.
12101
12102 * configure.in: Remove support for elf directories in sysdeps.
12103
12104 * configure: Regenerated.
12105 * sysdeps/i386/configure: Regenerated.
12106 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12107 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12108 * sysdeps/s390/s390-32/configure: Regenerated.
12109 * sysdeps/s390/s390-64/configure: Regenerated.
12110 * sysdeps/sh/configure: Regenerated.
12111 * sysdeps/sparc/configure: Regenerated.
12112 * sysdeps/x86_64/configure: Regenerated.
12113
a3f61311
AS
121142012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12115
c876e002
AS
12116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12117
a3f61311
AS
12118 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12119 denormal result into account.
12120
ac4c54f0
RM
121212012-03-25 Roland McGrath <roland@hack.frob.com>
12122
12123 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12124 Reported by Allan McRae <allan@archlinux.org>.
12125
6a9b9c02
JL
121262012-03-23 Jeff Law <law@redhat.com>
12127
12128 * nss/getnssent.c (__nss_getent): Fix typo.
12129
4c42a0c1
DM
121302012-03-23 David S. Miller <davem@davemloft.net>
12131
12132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12133
1532c7ac
L
121342012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12135
12136 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12137 to pad to uint64_t for each field.
12138 (dl_tls_index): Replace unsigned long with uint64_t.
12139
3ff42526
PP
121402012-03-23 Daniel Jacobowitz <dmj@google.com>
12141 Paul Pluzhnikov <ppluzhnikov@google.com>
12142
12143 [BZ #6528]
12144 * grp/Makefile (otherlibs): Don't set it.
12145 * inet/Makefile (otherlibs): Likewise.
12146 * login/Makefile (otherlibs): Likewise.
12147 * nscd/Makefile (otherlibs): Likewise.
12148 * posix/Makefile (otherlibs): Likewise.
12149 * pwd/Makefile (otherlibs): Likewise.
12150 * rt/Makefile (otherlibs): Likewise.
12151 * sunrpc/Makefile (otherlibs): Likewise.
12152 * nss/Makefile (otherlibs): Likewise.
12153 Add libnss_files to routines and static-only-routines.
12154 ($(objpfx)getent): Remove rule.
12155 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12156 static-only-routines.
12157
7c69cd14
JM
121582012-03-22 Joseph Myers <joseph@codesourcery.com>
12159
12160 [BZ #13892]
12161 * math/s_cexp.c: Include <float.h>.
12162 (__cexp): Handle exp result overflowing not necessarily
12163 overflowing both real and imaginary parts of result.
12164 * math/s_cexpf.c: Likewise.
12165 * math/s_cexpl.c: Likewise.
12166 * math/libm-test.inc (cexp_test): Add more tests.
12167 * sysdeps/i386/fpu/libm-test-ulps: Update.
12168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12169
81b035fe
L
121702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 * include/link.h (ELFW): New macro.
12173 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12174 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12175
1da7940c
L
121762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12179 with uint64_t.
12180
b749dbb9
L
121812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12184 declaration.
12185 (struct La_x32_retval): Likewise.
12186
2ff87f3f
L
121872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12188
12189 * sysdeps/x86_64/preconfigure.in: New file.
12190 * sysdeps/x86_64/preconfigure: New generated file.
12191
c0df8e69
JM
121922012-03-22 Joseph Myers <joseph@codesourcery.com>
12193
48e44791
JM
12194 [BZ #13824]
12195 * math/e_exp2l.c: Include <float.h>.
12196 (__ieee754_exp2l): Handle overflow and underflow cases
12197 separately. Only pass fractional part of argument to
12198 __ieee754_expl.
12199 * math/libm-test.inc (exp2_test): Add more tests.
12200
c0df8e69
JM
12201 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12202 negating x to take absolute value.
12203 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12204 Likewise.
12205 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12206 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12207 Likewise.
12208 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12209 computing low part if x was negated.
12210 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12211
c8e43ba7
L
122122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12213
12214 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12215 la_x32_gnu_pltexit.
12216 (pltexit): Cast int_retval to ptrdiff_t.
12217 * elf/tst-auditmod3b.c: Likewise.
12218 * elf/tst-auditmod4b.c: Likewise.
12219 * elf/tst-auditmod5b.c: Likewise.
12220 * elf/tst-auditmod6b.c: Likewise.
12221 * elf/tst-auditmod6c.c: Likewise.
12222 * elf/tst-auditmod7b.c: Likewise.
12223
12224 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12225 and x32_gnu_pltexit.
12226
12227 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12228 __ELF_NATIVE_CLASS.
12229 (La_x32_regs): New macro.
12230 (La_x32_retval): Likewise.
12231 (la_x32_gnu_pltenter): New function prototype.
12232 (la_x32_gnu_pltexit): Likewise.
12233
7998fa78
AS
122342012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12235
dcb33988
AS
12236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12237 exponent.
12238
233fc563
AS
12239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12240
7998fa78
AS
12241 * configure.in (libc_cv_cc_nofma): Check for option to disable
12242 generation of FMA instructions.
12243 * configure: Regenerate.
12244 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12245 * sysdeps/ieee754/dbl-64/Makefile: New file.
12246 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12247 Remove brandred-fma4.
12248 (CFLAGS-brandred-fma4.c): Remove.
12249 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12250 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12251 define.
12252 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12253 define.
12254
8e95c99a
L
122552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12256
12257 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12258 LLONG_MAX != LONG_MAX.
12259 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12260 (_fitoa_word): Likewise.
12261 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12262 LLONG_MAX != LONG_MAX.
12263 * stdio-common/_itowa.h: Include <_itoa.h>.
12264 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12265 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12266 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12267 only if not defined.
12268 (_ITOA_WORD_TYPE): Likewise.
12269 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12270 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12271
6f4db457
DM
122722012-03-21 David S. Miller <davem@davemloft.net>
12273
12274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12275
7785fe5a
L
122762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12277
12278 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12279 of x86_64 when setting libc_cv_slibdir, libdir and
12280 libc_cv_localedir.
12281 * sysdeps/unix/sysv/linux/configure: Regenerated.
12282
4535cd55
JM
122832012-03-21 Joseph Myers <joseph@codesourcery.com>
12284
12285 * manual/lang.texi (Old Varargs): Remove section.
12286 (How Variadic): Update menu.
12287 (va_start): Do not mention varargs.h.
12288
17228132
TS
122892012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12290 Joseph Myers <joseph@codesourcery.com>
12291
12292 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12293 link test.
12294 * configure: Regenerated.
12295
8149f976
TS
122962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12297
05f3d1f6
UD
12298 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12299 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12300 conformtest.pl
8149f976 12301
1a4ac776
JM
123022012-03-21 Joseph Myers <joseph@codesourcery.com>
12303
be22ce65
JM
12304 * NOTES: Remove.
12305 * Makefile (files-for-dist): Remove NOTES.
12306 (NOTES): Remove rule.
12307 * README: Don't refer to NOTES.
12308 * manual/creature.texi: Don't include macros.texi.
12309 * manual/intro.texi (creature.texi): Remove comment referring to
12310 NOTES.
12311
40b601fb
JM
12312 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12313 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12314 * configure: Regenerated.
12315 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12316 LIBC_TRY_CC_OPTION.
12317 (libc_cv_as_i686): Likewise.
12318 (libc_cv_cc_avx): Likewise.
12319 (libc_cv_cc_sse2avx): Likewise.
12320 (libc_cv_cc_fma4): Likewise.
12321 (libc_cv_cc_novzeroupper): Likewise.
12322 * sysdeps/i386/configure: Regenerated.
12323
1a4ac776
JM
12324 [BZ #13883]
12325 * sysdeps/i386/fpu/s_cexp.S: Remove.
12326 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12327 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12328 * math/libm-test.inc (cexp_test): Add more tests.
12329 * sysdeps/i386/fpu/libm-test-ulps: Update.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331
a458e7fe
AM
123322012-03-21 Allan McRae <allan@archlinux.org>
12333
12334 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12335
0cb7efc5
JM
123362012-03-21 Joseph Myers <joseph@codesourcery.com>
12337
12338 [BZ #13871]
12339 * math/w_exp2.c: Do not include <float.h>.
12340 (o_threshold, u_threshold): Remove.
12341 (__exp2): Calculate result before checking finiteness and calling
12342 __kernel_standard.
12343 * math/w_exp2f.c: Likewise.
12344 * math/w_exp2l.c: Likewise.
12345 * math/libm-test.inc (exp2_test): Require overflow exception for
12346 1e6 input.
2460d3aa
JM
12347
12348 [BZ #3866]
12349 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12350 range of signed 64-bit integers before using fistpll. Remove
12351 checks for whether integers fit in mantissa bits.
12352 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12353 the range of signed 32-bit integers before using fistpl. Remove
12354 checks for whether integers fit in mantissa bits.
12355 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12356 (__ieee754_powl): Test for y outside the range of signed 64-bit
12357 integers before using fistpll. Reduce 64-bit values to 63-bit
12358 ones as needed.
12359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12360 divide-by-zero is raised for zero to large negative powers.
12361 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12362 (__ieee754_powl): Test for y outside the range of signed 64-bit
12363 integers before using fistpll. Reduce 64-bit values to 63-bit
12364 ones as needed.
12365 * math/libm-test.inc (pow_test): Add more tests.
12366
eb96ffb0
L
123672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12370 <stdio-common/_itoa.h>.
12371 * debug/segfault.c: Likewise.
12372 * elf/dl-cache.c: Likewise.
12373 * elf/dl-minimal.c: Likewise.
12374 * elf/dl-misc.c: Likewise.
12375 * elf/dl-sysdep.c: Likewise.
12376 * elf/dl-version.c: Likewise.
12377 * elf/rtld.c: Likewise.
12378 * hurd/hurdsock.c: Likewise.
12379 * hurd/lookup-retry.c: Likewise.
12380 * malloc/malloc.c: Likewise.
12381 * malloc/mtrace.c: Likewise.
12382 * nscd/nscd_getgr_r.c: Likewise.
12383 * nscd/nscd_getpw_r.c: Likewise.
12384 * nscd/nscd_getserv_r.c: Likewise.
12385 * posix/getopt_init.c: Likewise.
12386 * posix/wordexp.c: Likewise.
12387 * stdio-common/_itoa.c: Likewise.
12388 * stdio-common/printf_fphex.c: Likewise.
12389 * stdio-common/vfprintf.c: Likewise.
12390 * string/_strerror.c: Likewise.
12391 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12392 * sysdeps/i386/i686/hp-timing.h: Likewise.
12393 * sysdeps/mach/_strerror.c: Likewise.
12394 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12395 * sysdeps/mach/hurd/sethostid.c: Likewise.
12396 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12397 * sysdeps/mach/xpg-strerror.c: Likewise.
12398 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12399 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12400 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12401 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12402 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12403 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12404 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12405 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12406 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12407 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12408 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12409 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12410 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12412 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12413 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12414 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12416 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12417 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12419
12420 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12421
12422 * stdio-common/_itoa.h: Moved to ...
12423 * sysdeps/generic/_itoa.h: Here.
12424
12425 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12426
12427 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12428 instead of "_itoa.h" and "_itowa.h".
12429 * stdio-common/vfprintf.: Likewise.
12430
d1af992d
L
124312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12434 <bits/wordsize.h>.
12435 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12436 (__signbit): Likwise.
12437 (llrintf): Likwise.
12438 (llrint): Likwise.
12439
114883e0
L
124402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12441
12442 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12443 __WORDSIZE != 64.
12444
c135cc1b
JM
124452012-03-20 Joseph Myers <joseph@codesourcery.com>
12446
12447 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12448 OVERFLOW_EXCEPTION_OK.
12449 * math/libm-test.inc ("Philosophy"): Update comment about
12450 exception testing.
12451 (OVERFLOW_EXCEPTION): Define.
12452 (OVERFLOW_EXCEPTION_OK): Likewise.
12453 (INVALID_EXCEPTION_OK): Renumber.
12454 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12455 (IGNORE_ZERO_INF_SIGN): Likewise.
12456 (test_exceptions): Handle FE_OVERFLOW.
12457 (exp10_test): Expect overflow exceptions.
12458 (exp2_test): Likewise.
12459 (expm1_test): Likewise.
12460 (nextafter_test): Likewise.
12461 (pow_test): Likewise.
12462 (scalbn_test): Likewise.
12463 (scalbln_test): Likewise.
12464
95443d88
L
124652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12466
12467 * sysdeps/x86_64/bits/atomic.h
12468 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12469 64bit integer.
12470 (atomic_exchange_acq): Likewise.
12471 (__arch_exchange_and_add_body): Likewise.
12472 (__arch_add_body): Likewise.
12473 (atomic_add_negative): Likewise.
12474 (atomic_add_zero): Likewise.
12475
490df6c4
L
124762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12477
c2722551 12478 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12479 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12480
5e52b189
L
124812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12484 Check __x86_64__ instead of __WORDSIZE.
12485
a9879d4c
L
124862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12487
12488 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12489
5df98260
DM
124902012-03-19 David S. Miller <davem@davemloft.net>
12491
e1497744
DM
12492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12493
5df98260
DM
12494 * sysdeps/sparc/fpu/fenv_private.h: New file.
12495 * sysdeps/sparc/fpu/math_private.h: Use it.
12496 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12497 Remove.
12498 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12499 (libc_feholdexcept_setroundl): Remove.
12500 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12501 Remove.
12502 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12503 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12504
b4c35121
L
125052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12506
12507 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12508 int64_t instead of long int.
12509 (INSERT_WORDS64): Likwise.
12510
56965fd7
L
125112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12514 _Unwind_GetCFA return to _Unwind_Ptr first.
12515
83d1aec8
JM
125162012-03-19 Joseph Myers <joseph@codesourcery.com>
12517
1897ad44
JM
12518 [BZ #13629]
12519 * math/s_clog.c: Include <float.h>.
12520 (__clog): Scale large or subnormal inputs.
12521 * math/s_clogf.c: Likewise.
12522 * math/s_clogl.c: Likewise.
12523 * math/s_clog10.c: Include <float.h>.
12524 (M_LOG10_2): Define.
12525 (__clog10): Scale large or subnormal inputs.
12526 * math/s_clog10f.c: Likewise.
12527 * math/s_clog10l.c: Likewise.
12528 * math/libm-test.inc (clog_test): Add more tests.
12529 (clog10_test): Likewise.
12530 * sysdeps/i386/fpu/libm-test-ulps: Update.
12531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12532
7726d6a9
JM
12533 [BZ #11451]
12534 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12535 x and y.
12536 * math/libm-test.inc (atan2_test): Add another test.
12537
83d1aec8
JM
12538 * Makerules (common-objdir-compile): Remove.
12539 * sysdeps/unix/Makefile (config-generated): Do not add
12540 $(unix-generated) to variable.
12541 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12542 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12543 Remove rule.
12544 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12545 Likewise.
12546 [generic bits/local_lim.h] (before-compile): Do not append to
12547 variable.
12548 [generic bits/local_lim.h] (common-generated): Likewise.
12549 [generic sys/param.h] (before-compile): Do not append to variable.
12550 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12551 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12552 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12553 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12554 include.
12555 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12556 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12557 [generic sys/param.h] ($(addprefix
12558 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12559 [generic sys/param.h] (common-generated): Do not append to
12560 variable.
12561 [generic sys/param.h] (sysdep_headers): Likewise.
12562 [generic bits/errno.h] (before-compile): Do not append to
12563 variable.
12564 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12565 rule.
12566 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12567 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12568 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12569 [generic bits/errno.h] (common-generated): Do not append to
12570 variable.
12571 [generic bits/ioctls.h] (before-compile): Do not append to
12572 variable.
12573 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12574 rule.
12575 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12576 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12577 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12578 rule.
12579 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12580 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12581 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12582 [generic bits/ioctls.h] (common-generated): Do not append to
12583 variable.
12584 [generic sys/syscall.h] (syscall.h): Remove variable.
12585 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12586 rule.
12587 [generic sys/syscall.h] (before-compile): Do not append to
12588 variable.
12589 [generic sys/syscall.h] (common-generated): Likewise.
12590 * sysdeps/unix/errnos-tmpl.c: Remove file.
12591 * sysdeps/unix/errnos.awk: Likewise.
12592 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12593 * sysdeps/unix/ioctls.awk: Likewise.
12594 * sysdeps/unix/mk-local_lim.c: Likewise.
12595 * sysdeps/unix/snarf-ioctls: Likewise.
12596
4851a949
RH
125972012-03-19 Richard Henderson <rth@twiddle.net>
12598
bd37f2ee
RH
12599 * sysdeps/i386/fpu/fenv_private.h: New file.
12600 * sysdeps/i386/fpu/math_private.h: Use it.
12601 (math_opt_barrier, math_force_eval): Remove.
12602 (libc_feholdexcept_setround_53bit): Remove.
12603 (libc_feupdateenv_53bit): Remove.
12604 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12605 (math_opt_barrier, math_force_eval): Remove.
12606 (libc_feholdexcept): Remove.
12607 (libc_feholdexcept_setround): Remove.
12608 (libc_fetestexcept, libc_fesetenv): Remove.
12609 (libc_feupdateenv_test): Remove.
12610 (libc_feupdateenv, libc_feholdsetround): Remove.
12611 (libc_feresetround): Remove.
12612
d0adc922
RH
12613 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12614 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12615
0fe0f1f8
RH
12616 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12617 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12618 (libc_feupdateenv_testl): New.
12619 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12620 (libc_feupdateenv_testf): New.
12621 (libc_feupdateenv): Use libc_feupdateenv_test.
12622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12623 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12624
eb92c487
RH
12625 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12626 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12627 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12628 (libc_feresetround_noex): New.
12629 (libc_feresetround_noexf): New.
12630 (libc_feresetround_noexl): New.
12631 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12632 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12633 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12634 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12635 SET_RESTORE_ROUND.
12636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12637 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12638 (__cos): Likewise.
12639 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12641 SET_RESTORE_ROUND_NOEX.
12642 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12643 SET_RESTORE_ROUND_NOEXF.
12644 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12645 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12646 (libc_feholdsetroundf): New.
12647 (libc_feresetround, libc_feresetroundf): New.
12648
7d2e8012
RH
12649 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12650 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12651 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12652
b4dabbb4
RH
12653 * sysdeps/generic/math_private.h: Include <fenv.h>.
12654 (default_libc_feholdexcept): New.
12655 (default_libc_feholdexcept_setround): New.
12656 (default_libc_fesetenv, default_libc_feupdateenv): New.
12657 (libc_feholdexcept): Only define if undefined.
12658 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12659 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12660 (libc_feholdexcept_setroundl): Likewise.
12661 (libc_feholdexcept_setround_53bit): Likewise.
12662 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12663 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12664 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12665 (libc_feupdateenv_53bit): Likewise.
12666 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12667 (libc_feholdexcept): Convert from macro to inline function.
12668 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12669 (libc_fesetenv, libc_feupdateenv): Likewise.
12670
4851a949
RH
12671 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12672 not previously defined.
12673 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12674 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12675 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12676 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12677 * sysdeps/ieee754/flt-32/math_private.h: New file.
12678 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12679 math_private.h below SET_FLOAT_WORD.
12680 (__isnan, __isinf_ns, __finite): Remove.
12681 (__isnanf, __isinf_nsf, __finitef): Remove.
12682
e79d442e
AS
126832012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12684
12685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12686
90b80344
DM
126872012-03-17 David S. Miller <davem@davemloft.net>
12688
12689 [BZ #6471]
12690 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12691 for 2.16.
12692
edc21804
DM
126932012-03-16 David S. Miller <davem@davemloft.net>
12694
77e927af
DM
12695 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12696 warnings.
12697
374976dd
DM
12698 [BZ #6471]
12699 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12700 properly.
12701 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12702 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12703 sysdep_routines when subdir is sysvipc.
12704 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12705 __getshmlba helper.
12706
edc21804
DM
12707 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12708
473c3ef3
L
127092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12710
12711 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12712 [__LP64__].
12713
eb0f39b6
L
127142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12715
12716 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12717 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12718 (__lround): Renamed to ...
12719 (__llround): This. Replace long int with long long int.
12720 Define lround functions as aliases of llround functions.
12721 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12722
6b6cd74b
L
127232012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12724
12725 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12726 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12727 adresses to uintptr_t. Replace "long int" and "unsigned long
12728 int" with "greg_t" on va_arg.
12729
f1a77b01
L
127302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12731
12732 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12733 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12734
12735 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12736 Move e_machine check before EI_CLASS check. Handle x32
12737 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12738 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12739 SKIP_EM_IA_64 and include
12740 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12741
12742 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12743 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12744 (add_system_dir): New macro.
12745
12746 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12747 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12748
11b90b9f
JM
127492012-03-16 Joseph Myers <joseph@codesourcery.com>
12750
c36e1d23
JM
12751 [BZ #2551]
12752 [BZ #2552]
12753 [BZ #2553]
12754 [BZ #2554]
12755 [BZ #2562]
12756 [BZ #2563]
12757 [BZ #2565]
12758 [BZ #2566]
12759 [BZ #2576]
12760 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12761 (y0): Likewise.
12762 * math/w_j0f.c (j0f): Likewise.
12763 (y0f): Likewise.
12764 * math/w_j0l.c (__j0l): Likewise.
12765 (__y0l): Likewise.
12766 * math/w_j1.c (j1): Likewise.
12767 (y1): Likewise.
12768 * math/w_j1f.c (j1f): Likewise.
12769 (y1f): Likewise.
12770 * math/w_j1l.c (__j1l): Likewise.
12771 (__y1l): Likewise.
12772 * math/w_jn.c (jn): Likewise.
12773 (yn): Likewise.
12774 * math/w_jnf.c (jnf): Likewise.
12775 (ynf): Likewise.
12776 * math/w_jnl.c (__jnl): Likewise.
12777 (__ynl): Likewise.
12778 * math/libm-test.inc (j0_test): Add more tests.
12779 (j1_test): Likewise.
12780 (jn_test): Likewise. Add trailing semicolon to existing test.
12781 (y0_test): Likewise.
12782 (y1_test): Likewise.
12783 * sysdeps/i386/fpu/libm-test-ulps: Update.
12784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12785
11b90b9f
JM
12786 [BZ #13851]
12787 [BZ #13854]
12788 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12789 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12790 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12791 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12792 (__tanl): Set errno for infinite argument.
12793 * sysdeps/i386/fpu/mptan.c: Remove.
12794 * sysdeps/i386/fpu/s_tan.S: Likewise.
12795 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12796 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12797 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12798 * math/libm-test.inc (tan_test): Add more tests and enable more
12799 tests for double and long double.
12800 * sysdeps/i386/fpu/libm-test-ulps: Update.
12801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12802
6a1bd2a1
JK
128032012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12804
12805 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12806 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12807
10a803e0
RM
128082012-03-16 Roland McGrath <roland@hack.frob.com>
12809
12810 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12811 * configure.in: Use it for both main tree and add-ons.
12812 * configure: Regenerated.
12813
f196c7f7
L
128142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12815
12816 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12817
8848d99d
JM
128182012-03-16 Joseph Myers <joseph@codesourcery.com>
12819
96cbe7f4
JM
12820 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12821 in comment.
12822
8848d99d
JM
12823 [BZ #13851]
12824 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12825 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12829 infinite argument.
12830 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12831 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12832 != 0 for prec == 2.
12833 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12834 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12835 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12836 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12837 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12838 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12839 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12840 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12841 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12842 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12843 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12844 * math/libm-test.inc (cos_test): Add more tests and enable more
12845 tests for long double.
12846 (sin_test): Likewise.
12847 (sincos_test): Likewise.
12848 * sysdeps/i386/fpu/libm-test-ulps: Update.
12849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12850
dd7f4703
DM
128512012-03-16 David S. Miller <davem@davemloft.net>
12852
12853 * sysdeps/sparc/fpu/math_private.h: New file.
12854
006f1daa
DM
128552012-03-15 David S. Miller <davem@davemloft.net>
12856
c0c83bc8
DM
12857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12858 file.
e6a62e18 12859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12861 file.
e6a62e18
DM
12862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12868 sysdep routines.
12869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12870
88cb87d9
DM
12871 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12872 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12873
006f1daa 12874 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12876 sparc-ifunc.h
006f1daa 12877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12879 Likewise.
12880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12881 Likewise.
006f1daa
DM
12882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12886 Likewise.
006f1daa
DM
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12892 Likewise.
12893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12894 Likewise.
006f1daa
DM
12895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12919
11e0098e
AS
129202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12921
12922 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12923 scaling.
12924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12925
e85b09d0
AJ
129262012-03-15 Andreas Jaeger <aj@suse.de>
12927
12928 [BZ #13852]
12929 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12930 ieee754/flt-32 implementation for sin, cos and sincos.
12931 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12932 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12933 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12934 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12935 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12936 ieee754/flt-32 implementation for tan.
12937
12938 * math/libm-test.inc (cos_test): Enable some large input tests for
12939 float as well
12940 (sin_test): Likewise.
12941 (sincos_test): Likewise.
12942 (tan_test): Add tests for large input.
12943
12944 * sysdeps/i386/fpu/libm-test-ulps: Update.
12945
81c64153
AJ
129462012-03-15 Andreas Jaeger <aj@suse.de>
12947
12948 [BZ #13658]
12949 * math/libm-test.inc (cos_test): Add more test cases.
12950 (sin_test): Likewise.
12951 (sincos_test): Likewise.
12952
7bbfa5c6
AJ
129532012-03-15 Andreas Jaeger <aj@suse.de>
12954
12955 [BZ #13837]
12956 * math/libm-test.inc (cos_test): Add a test case for large input
12957 value.
12958 (sin_test): Likewise.
12959 (sincos_test): Likewise.
12960
129612012-03-15 Andreas Jaeger <aj@suse.de>,
12962 Joseph Myers <joseph@codesourcery.com>
12963
12964 [BZ #13658]
0671f479 12965 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12966 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12967 * sysdeps/i386/fpu/branred.c: Likewise.
12968 * sysdeps/i386/fpu/dosincos.c: Likewise.
12969 * sysdeps/i386/fpu/mpa.c: Likewise.
12970 * sysdeps/i386/fpu/s_cos.S: Likewise.
12971 * sysdeps/i386/fpu/s_sin.S: Likewise.
12972 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12973 * sysdeps/i386/fpu/sincos32.c: Likewise.
12974
12975 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12976 Define.
12977 (libc_feupdateenv_53bit): Define.
12978 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12979 Define.
12980 (libc_feupdateenv_53bit): Define.
12981
12982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12983 53 bit (without extend i386 double precision).
12984
12985 * math/libm-test.inc (sincos_test): Add tests for large input.
12986 (sin): Likewise.
12987 (cos): Likewise.
12988
12989 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12990
9cad04ea
AS
129912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12992
12993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12994
f7062b9a
DM
129952012-03-15 David S. Miller <davem@davemloft.net>
12996
12997 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12998 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12999 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13000 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
13012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13013 file.
f7062b9a 13014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
13015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13016 file.
f7062b9a 13017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
13018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13019 file.
f7062b9a 13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
13021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13022 file.
f7062b9a
DM
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13025 fmin/fmax sysdep routines.
13026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13027
7bd951ff
DM
130282012-03-14 David S. Miller <davem@davemloft.net>
13029
559398ab
DM
13030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13031 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13034 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13037 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13039 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13042 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13047 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13050 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13051 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13052 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13054 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13057 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13059 routines.
13060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13061 file.
559398ab 13062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
13063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13064 file.
559398ab 13065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
13066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13067 file.
559398ab 13068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
13069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13070 file.
559398ab 13071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
13072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13073 file.
559398ab 13074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
13075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13076 file.
13077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13078 file.
13079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13080 file.
13081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13082 file.
13083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13084 New file.
13085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13086 file.
13087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13088 file.
559398ab 13089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13091 file.
559398ab 13092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13094 file.
559398ab 13095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13097 file.
559398ab 13098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13100 VIS3 routines.
559398ab
DM
13101
13102 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13103 New file.
13104
5a1c1e32
DM
13105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13106
eae47a36
DM
13107 * sysdeps/sparc/configure.in: New file.
13108 * sysdeps/sparc/configure: Generate.
13109 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13110 * configure: Regenerate.
13111 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13112 * config.make.in (have-as-vis3): New.
13113 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13114 available use -Av9d instead of -Av9a.
13115 * sysdeps/sparc/sparc64/Makefile: Likewise.
13116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13118 New file.
13119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13120 file.
13121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13122 New file.
13123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13124 file.
eae47a36
DM
13125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13126 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13129 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13130
c0c83bc8
DM
13131 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13132 fzeros/fnegs to load 0x80000000 into a float register instead of
13133 using the stack.
7bd951ff
DM
13134 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13135
bd951ccb
JM
131362012-03-14 Joseph Myers <joseph@codesourcery.com>
13137
13138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13139 bits/syscall.h.
13140 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13141 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13142 ($(inst_includedir)/bits/syscall.h): Remove rule.
13143 ($(objpfx)bits/syscall.d): Include instead of
13144 $(objpfx)syscall-list.d.
13145 (generated): Change syscall-list.h and syscall-list.d to
13146 bits/syscall.h and bits/syscall.d.
13147
bb4e6db2
RM
131482012-03-14 Roland McGrath <roland@hack.frob.com>
13149
13150 [BZ #13846]
13151 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13152
aa4a2ae1
JM
131532012-03-14 Joseph Myers <joseph@codesourcery.com>
13154
e456826d
JM
13155 [BZ #13841]
13156 * math/s_csqrt.c: Include <float.h>.
13157 (__csqrt): Scale large or subnormal inputs.
13158 * math/s_csqrtf.c: Likewise.
13159 * math/s_csqrtl.c: Likewise.
13160 * math/libm-test.inc (csqrt_test): Add more tests.
13161 * sysdeps/i386/fpu/libm-test-ulps: Update.
13162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13163
aa4a2ae1
JM
13164 [BZ #13840]
13165 * math/libm-test.inc (hypot_test): Add more tests.
13166
7c10fd35
DM
131672012-03-13 David S. Miller <davem@davemloft.net>
13168
13169 [BZ #13840]
13170 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13171 double-precision for the calculation instead of scaling.
13172
f453b98b
JM
131732012-03-13 Joseph Myers <joseph@codesourcery.com>
13174
13175 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13176 manipulate bits before adding and subtracting TWO52[sx].
13177 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13178 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13179 Likewise.
13180 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13181
09a3453f
DM
131822012-03-13 David S. Miller <davem@davemloft.net>
13183
8e59da90
DM
13184 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13185 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13186 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13187 rtld-global-offsets.h
13188 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13189
2a8ab7f2
DM
13190 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13191 large parameters.
13192
10f62770
DM
13193 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13194
5f0bdb18
DM
13195 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13196 'err' in the ifdef scope in which it is actually used.
13197
09a3453f
DM
13198 * nss/nss_db/db-init.c: Include string.h
13199
b4b2eb5e
DM
132002012-03-12 David S. Miller <davem@davemloft.net>
13201
98bb2f1c
DM
13202 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13203 masking out of the most significant byte of random value used.
13204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13205 Fix coding style in previous change.
13206
b4b2eb5e
DM
13207 * sysdeps/unix/sysv/linux/kernel-features.h
13208 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13209 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13210 expression.
13211 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13212 later.
13213
6e226b09
DM
132142012-03-11 David S. Miller <davem@davemloft.net>
13215
a1bcbd40
DM
13216 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13217 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13218 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13219 for 'resultvar' otherwise things get truncated on 64-bit.
13220
cb9d6174
DM
13221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13222 Fix masking out of the most significant byte of random value used.
13223
6e226b09
DM
13224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13225
058c132d
AS
132262012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13227
13228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13229
2d2cd515
DM
132302012-03-09 David S. Miller <davem@davemloft.net>
13231
13232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13233 variables with appropriate CPP guards.
13234 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13235 frame pointer, not the stack pointer. Correct layout comments. Fix test
13236 on resulting framesize and the management of the outregs buffer for pltexit.
13237 Preserve floating point return values across _dl_call_pltexit call.
13238 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13239 framesize and the management of the outregs buffer for pltexit.
13240 Preserve floating point return values across _dl_call_pltexit
13241 call.
13242 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13243 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13244 (print_exit): Fix format string for return register value.
13245
9a07f9d0
JM
132462012-03-10 Joseph Myers <joseph@codesourcery.com>
13247
13248 * sunrpc/Makefile (others): Add rpcgen.
13249 ($(objpfx)rpcgen): Remove special build rule and dependency on
13250 libc.
13251 * sunrpc/rpcgen.c: New file.
13252
547b5e30
PE
132532012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13254
c524201a
PE
13255 [BZ #13673]
13256 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13257 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13258 * sysdeps/i386/crti.S: Likewise.
13259 * sysdeps/i386/crtn.S: Likewise.
13260 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13261 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13262 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13263 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13264 * sysdeps/sh/crti.S: Likewise.
13265 * sysdeps/sh/crtn.S: Likewise.
13266 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13267
7b6235f2
PE
13268 [BZ #13673]
13269 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13270 with URL.
13271 * locale/programs/locfile-kw.gperf: Likewise.
13272 * locale/programs/charmap-kw.h: Regenerated.
13273 * locale/programs/locfile-kw.h: Likewise.
13274
547b5e30
PE
13275 [BZ #13673]
13276 * intl/plural.y: Replace FSF snail mail address with URL.
13277 * intl/plural.c: Regenerated.
13278
5f0a5dae
RH
132792012-03-09 Richard Henderson <rth@twiddle.net>
13280
13281 * include/math_private.h: Remove file.
13282 * math/math_private.h: Move file ...
13283 * sysdeps/generic/math_private.h: ... here.
13284
b8c03620
RH
13285 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13286 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13288
4e234f5d 13289 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13290 and <math_private.h>.
13291 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13292 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13293 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13294 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13295 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13303 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13304 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13305 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13306 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13307 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13308 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13309 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13310 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13312 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13313 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13315 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13317 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13318 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13320 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13321 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13322 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13323 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13324 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13325 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13326 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13327 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13328 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13329 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13330 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13331 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13332 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13333 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13334 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13335 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13340 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13341 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13345 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13346 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13347 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13356 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13357 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13358 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13359 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13360 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13362 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13363 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13364 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13365 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13369 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13371 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13372 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13379 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13382 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13384 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13385 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13386 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13387 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13388 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13389 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13390 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13391 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13392 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13393 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13394 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13395 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13396 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13397 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13398 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13399 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13400 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13401 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13402 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13403 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13405 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13406 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13407 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13408 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13409 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13410 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13412 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13413 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13414 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13415 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13416 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13417 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13418 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13419 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13420 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13421 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13422 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13423 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13424 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13425 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13426 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13427 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13428 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13429 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13430 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13431 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13432 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13433 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13434 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13435 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13436 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13437 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13438 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13439 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13440 * sysdeps/ieee754/k_standard.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13487 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13491 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13492 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13493 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13497 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13508 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13513 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13514 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13515 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13518 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13525 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13526 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13527 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13528 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13529 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13530 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13531 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13532 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13533 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13534 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13535 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13536 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13537 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13538 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13539 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13540 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13541 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13542 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13543 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13544 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13545 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13546 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13550 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13551 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13552 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13553 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13554 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13555 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13556 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13557 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13560 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13561 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13562 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13563 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13564 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13565 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13566 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13567 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13568 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13569 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13571 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13572 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13573 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13574 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13575 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13576 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13578 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13579 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13580 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13581 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13582 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13583 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13586 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13587 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13590 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13591 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13592 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13593 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13594 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13595 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13596 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13597 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13598 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13599 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13600 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13601 * sysdeps/ieee754/s_lib_version.c: Likewise.
13602 * sysdeps/ieee754/s_matherr.c: Likewise.
13603 * sysdeps/ieee754/s_signgam.c: Likewise.
13604 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13606 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13607 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13608 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13609 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13610 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13611 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13612 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13613 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13614 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13615 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13616 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13617 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13618 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13619 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13620 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13621 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13622 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13625
1991fa03
JM
136262012-03-09 Joseph Myers <joseph@codesourcery.com>
13627
13628 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13629 * sunrpc/rpc_main.c: Likewise.
13630 * sunrpc/rpc_svcout.c: Likewise.
13631
60d6f5a6
DM
136322012-03-09 David S. Miller <davem@davemloft.net>
13633
13634 * include/math_private.h: New file.
13635
4962050e
JM
136362012-03-09 Joseph Myers <joseph@codesourcery.com>
13637
02a6f887
JM
13638 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13639 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13640 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13641 from <bits/socket_type.h>.
13642 (enum __socket_type): Don't define here.
13643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13645 bits/socket_type.h.
13646
c6e013c1
JM
13647 [BZ #13566]
13648 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13649 checking __USE_GNU.
13650
4962050e
JM
13651 * Makerules ($(inst_includedir)/%.h): New rule.
13652 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13653 (install-others): Remove variable setting.
13654 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13655
38842f45
RH
136562012-03-08 Richard Henderson <rth@twiddle.net>
13657
67bb6da6
RH
13658 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13659 from macro to inline function; merge with the
13660 !__LIBC_INTERNAL_MATH_INLINES version.
13661 (__ieee754_sqrtf): Likewise.
13662
15194b4b
RH
13663 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13664 to inline function.
13665 (__rintf, __floor, __floorf): Likewise.
13666
64e21ede
RH
13667 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13668 macro to inline function.
13669 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13670
38842f45
RH
13671 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13672 not <math/math_private.h>.
13673
c64bf5fe
DM
136742012-03-08 David S. Miller <davem@davemloft.net>
13675
13676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13677 copyright year.
13678 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13679
82d86f28
TS
136802012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13681
13682 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13683 normalization.
13684 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13685 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13686
aea5d727
UD
136872012-03-08 Ulrich Drepper <drepper@gmail.com>
13688
13689 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13690 be defined individually, they must be defined as a block. Define
13691 S for printing a string instead of hidint the different by using a
13692 macro for adding the 'l'.
13693 * stdio-common/tst-fphex-wide.c: Adjust.
13694
70bca0a3
MP
136952012-03-07 Marek Polacek <polacek@redhat.com>
13696
13697 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13698
65b81130
MP
136992012-03-08 Marek Polacek <polacek@redhat.com>
13700
13701 [BZ #13806]
13702 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13703 * stdio-common/tst-fphex.c: Define a few macros to make the
13704 test reusable. Use them.
13705 * stdio-common/tst-fphex-wide.c: New file.
13706
07037eeb
JM
137072012-03-08 Joseph Myers <joseph@codesourcery.com>
13708
a7a93d50
JM
13709 [BZ #6911]
13710 * manual/macros.texi (gnusystems): New macro.
13711 (nongnusystems): Likewise.
13712 (gnulinuxhurdsystems): Likewise.
13713 (gnuhurdsystems): Likewise..
13714 (gnulinuxsystems): Likewise.
13715 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13716 variants of the GNU system, not "GNU system".
13717 * manual/conf.texi: Likewise.
13718 * manual/errno.texi: Likewise. Update example of errno macro
13719 expansion.
13720 * manual/filesys.texi: Likewise.
13721 (getumask): Document as specific to GNU/Hurd.
13722 * manual/install.texi: Likewise. Reword some references to
13723 GNU/Linux.
13724 * manual/intro.texi: Likewise.
13725 * manual/io.texi: Likewise.
13726 (File Name Portability): Detail which constraints are inapplicable
13727 to all GNU systems and which are only inapplicable to GNU/Hurd.
13728 * manual/job.texi: Likewise.
13729 * manual/llio.texi: Likewise.
13730 (O_NOCTTY): Document as present on GNU/Linux.
13731 * manual/maint.texi: Likewise.
13732 * manual/memory.texi: Likewise.
13733 * manual/pattern.texi: Likewise.
13734 * manual/pipe.texi: Likewise.
13735 * manual/process.texi: Likewise.
13736 * manual/resource.texi: Likewise.
13737 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13738 child on GNU/Hurd.
13739 * manual/setjmp.texi: Likewise.
13740 * manual/signal.texi: Likewise.
13741 * manual/startup.texi: Likewise.
13742 * manual/stdio.texi: Likewise.
13743 * manual/terminal.texi: Likewise.
13744 (ONLCR): Document as POSIX.
13745 (OXTABS): Document availability on GNU/Linux as XTABS.
13746 (ONOEOT): Document availability separately from other bits.
13747 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13748 * manual/time.texi: Likewise.
13749 * manual/users.texi: Likewise.
13750 * INSTALL: Regenerated.
13751 * sysdeps/gnu/errlist.c: Regenerated.
13752
07037eeb
JM
13753 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13754 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13755 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13756 puts.
13757 * configure: Regenerated.
13758
d1d3431a
JM
137592012-03-07 Joseph Myers <joseph@codesourcery.com>
13760
af6a1e37
JM
13761 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13762 default includes instead of AC_HEADER_CHECK.
13763 * sysdeps/i386/configure: Regenerated.
13764
d1d3431a
JM
13765 [BZ #10716]
13766 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13767 * math/s_cacoshf.c (__cacoshf): Likewise.
13768 * math/s_cacoshl.c (__cacoshl): Likewise.
13769 * math/s_casinh.c (__casinh): Set signs of result from argument.
13770 * math/s_casinhf.c (__casinhf): Likewise.
13771 * math/s_casinhl.c (__casinhl): Likewise.
13772 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13773 (casinh_test): Add more tests.
13774 * sysdeps/i386/fpu/libm-test-ulps: Update.
13775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13776
482ff4da
UD
137772012-03-07 Ulrich Drepper <drepper@gmail.com>
13778
872fda05
UD
13779 * po/zh_TW.po: Update from translation team.
13780
a4300c7a
UD
13781 * login/Makefile (distribute): Remove variable.
13782 * catgets/Makefile: Likewise.
13783 * mach/Makefile: Likewise.
13784 * malloc/Makefile: Likewise.
13785 * misc/Makefile: Likewise.
13786 * iconv/Makefile: Likewise.
13787 * nscd/Makefile: Likewise.
13788 * hurd/Makefile: Likewise.
13789 * manual/Makefile: Likewise.
13790 * locale/Makefile: Likewise.
13791 * intl/Makefile: Likewise.
13792 * conform/Makefile: Likewise.
13793 * nss/Makefile: Likewise.
13794 * time/Makefile: Likewise.
13795 * soft-fp/Makefile: Likewise.
13796 * dirent/Makefile: Likewise.
13797 * gmon/Makefile: Likewise.
13798 * po/Makefile: Likewise.
13799 * rt/Makefile: Likewise.
13800 * socket/Makefile: Likewise.
13801 * math/Makefile: Likewise.
13802 * signal/Makefile: Likewise.
13803 * debug/Makefile: Likewise.
13804 * elf/Makefile: Likewise.
13805 * timezone/Makefile: Likewise.
13806 * stdlib/Makefile: Likewise.
13807 * iconvdata/Makefile: Likewise.
13808 * sunrpc/Makefile: Likewise.
13809 * io/Makefile: Likewise.
13810 * argp/Makefile: Likewise.
13811 * inet/Makefile: Likewise.
13812 * hesiod/Makefile: Likewise.
13813 * grp/Makefile: Likewise.
13814 * csu/Makefile: Likewise.
13815 * wctype/Makefile: Likewise.
13816 * crypt/Makefile: Likewise.
13817 * libio/Makefile: Likewise.
13818 * string/Makefile: Likewise.
13819 * nis/Makefile: Likewise.
13820 * resolv/Makefile: Likewise.
13821 * stdio-common/Makefile: Likewise.
13822 * wcsmbs/Makefile: Likewise.
13823 * dlfcn/Makefile: Likewise.
13824 * posix/Makefile: Likewise.
13825
3b7c4e74 13826 [BZ #6959]
482ff4da
UD
13827 * timezone/Makefile: Don't install timezone files, just the programs
13828 and scripts.
13829
f72ed77d
UD
138302012-03-06 Ulrich Drepper <drepper@gmail.com>
13831
a000466f
UD
13832 * nss/databases.def: Add missing gshadow entry.
13833
f72ed77d
UD
13834 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13835
a53b7a4e
MP
138362012-03-06 Marek Polacek <polacek@redhat.com>
13837
13838 [BZ #13726]
13839 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13840 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13841 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13842 * stdio-common/tst-long-dbl-fphex.c: New file.
13843
e9258400
DM
138442012-03-06 David S. Miller <davem@davemloft.net>
13845
13846 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13847 (set_obp_int): New function.
13848 (get_obp_int): New function.
13849 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13850 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13851 Avoid unused variable warnings on 'val' and use builtin_expect.
13852 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13853 __builtin_expect.
e9258400
DM
13854 (INLINE_CLONE_SYSCALL): Likewise.
13855
3bd2c723
DM
138562012-03-05 David S. Miller <davem@davemloft.net>
13857
13858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13859
bbb78d03
AS
138602012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13861
884c5db4
AS
13862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13863
bbb78d03
AS
13864 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13865 only for |x| >= 40.
13866 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13867
1c9f702a 138682012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13869
13870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13871 Replace gettimeofday with __vdso_gettimeofday.
13872
7be16f82
RM
13873 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13874 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13875 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13876
13877 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13878 time with __vdso_time.
13879
ed58a00f
JM
138802012-03-05 Joseph Myers <joseph@codesourcery.com>
13881
13882 * manual/lang.texi (size_t): Note types to which size_t may be
13883 equivalent with the GNU C Library, but do not describe when
13884 differences between them are significant.
13885
30ee4ced
AJ
138862012-03-05 Andreas Jaeger <aj@suse.de>
13887
13888 * sysdeps/i386/fpu/libm-test-ulps: Update.
13889
b7cd39e8
JM
138902012-03-05 Joseph Myers <joseph@codesourcery.com>
13891
13892 [BZ #3976]
13893 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13894 (__ieee754_pow): Save and restore rounding mode and use
13895 round-to-nearest for main computations.
13896 * math/libm-test.inc (pow_test_tonearest): New function.
13897 (pow_test_towardzero): Likewise.
13898 (pow_test_downward): Likewise.
13899 (pow_test_upward): Likewise.
13900 (main): Call the new functions.
13901 * sysdeps/i386/fpu/libm-test-ulps: Update.
13902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13903
13904 [BZ #3976]
13905 * math/libm-test.inc (cosh_test_tonearest): New function.
13906 (cosh_test_towardzero): Likewise.
13907 (cosh_test_downward): Likewise.
13908 (cosh_test_upward): Likewise.
13909 (sinh_test_tonearest): Likewise.
13910 (sinh_test_towardzero): Likewise.
13911 (sinh_test_downward): Likewise.
13912 (sinh_test_upward): Likewise.
13913 (main): Call the new functions.
13914 * sysdeps/i386/fpu/libm-test-ulps: Update.
13915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13916
6c6a98c9
TV
139172012-03-05 Tom de Vries <tom@codesourcery.com>
13918
13919 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13920 default stack guard is set in last bytes.
13921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13922
21bb2d2e 139232012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13924
21bb2d2e 13925 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13926
21bb2d2e
AJ
13927 [BZ #13656]
13928 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13929 possibly allocate from heap instead of stack.
13930 * stdio-common/bug-vfprintf-nargs.c: New file.
13931 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13932
c6922934
AS
139332012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13934
13935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13936
bc957d53
MP
139372012-03-03 Marek Polacek <polacek@redhat.com>
13938
13939 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13940 * math/math_private.h: Likewise.
13941 * stdlib/tst-strtod.c: Likewise.
13942 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13943 * sysdeps/x86_64/bits/atomic.h: Likewise.
13944
6358490d
DM
139452012-03-02 David S. Miller <davem@davemloft.net>
13946
13947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13951 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13952 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13953 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13954 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13955
01ae168d
RM
139562012-03-02 Roland McGrath <roland@hack.frob.com>
13957
d9a17c07
RM
13958 [BZ #13792]
13959 * manual/examples/README: New file, says the example source files
13960 can be used under GPL>=2.
13961 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13962 line containing just "*/".
13963 * manual/examples/add.c: Add copyright header (GPL>=2).
13964 * manual/examples/argp-ex1.c: Likewise.
13965 * manual/examples/argp-ex2.c: Likewise.
13966 * manual/examples/argp-ex3.c: Likewise.
13967 * manual/examples/argp-ex4.c: Likewise.
13968 * manual/examples/atexit.c: Likewise.
13969 * manual/examples/db.c: Likewise.
13970 * manual/examples/dir.c: Likewise.
13971 * manual/examples/dir2.c: Likewise.
13972 * manual/examples/execinfo.c: Likewise.
13973 * manual/examples/filecli.c: Likewise.
13974 * manual/examples/filesrv.c: Likewise.
13975 * manual/examples/fmtmsgexpl.c: Likewise.
13976 * manual/examples/genpass.c: Likewise.
13977 * manual/examples/inetcli.c: Likewise.
13978 * manual/examples/inetsrv.c: Likewise.
13979 * manual/examples/isockad.c: Likewise.
13980 * manual/examples/longopt.c: Likewise.
13981 * manual/examples/memopen.c: Likewise.
13982 * manual/examples/memstrm.c: Likewise.
13983 * manual/examples/mkfsock.c: Likewise.
13984 * manual/examples/mkisock.c: Likewise.
13985 * manual/examples/mygetpass.c: Likewise.
13986 * manual/examples/pipe.c: Likewise.
13987 * manual/examples/popen.c: Likewise.
13988 * manual/examples/rprintf.c: Likewise.
13989 * manual/examples/search.c: Likewise.
13990 * manual/examples/select.c: Likewise.
13991 * manual/examples/setjmp.c: Likewise.
13992 * manual/examples/sigh1.c: Likewise.
13993 * manual/examples/sigusr.c: Likewise.
13994 * manual/examples/stpcpy.c: Likewise.
13995 * manual/examples/strdupa.c: Likewise.
13996 * manual/examples/strftim.c: Likewise.
13997 * manual/examples/strncat.c: Likewise.
13998 * manual/examples/subopt.c: Likewise.
13999 * manual/examples/swapcontext.c: Likewise.
14000 * manual/examples/termios.c: Likewise.
14001 * manual/examples/testopt.c: Likewise.
14002 * manual/examples/testpass.c: Likewise.
14003 * manual/examples/timeval_subtract.c: Likewise.
14004
01ae168d
RM
14005 [BZ #13792]
14006 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14007 function to ...
14008 * manual/timeval_subtract.c.texi: ... here, new file.
14009
49efa33d
DM
140102012-03-02 David S. Miller <davem@davemloft.net>
14011
14012 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14013
28afd92d
JM
140142012-03-02 Joseph Myers <joseph@codesourcery.com>
14015
804360ed
JM
14016 [BZ #3976]
14017 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14018 (__sin): Save and restore rounding mode and use round-to-nearest
14019 for all computations.
14020 (__cos): Save and restore rounding mode and use round-to-nearest
14021 for all computations.
14022 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14023 <fenv.h>.
14024 (tan): Save and restore rounding mode and use round-to-nearest for
14025 all computations.
14026 * math/libm-test.inc (cos_test_tonearest): New function.
14027 (cos_test_towardzero): Likewise.
14028 (cos_test_downward): Likewise.
14029 (cos_test_upward): Likewise.
14030 (sin_test_tonearest): Likewise.
14031 (sin_test_towardzero): Likewise.
14032 (sin_test_downward): Likewise.
14033 (sin_test_upward): Likewise.
14034 (tan_test_tonearest): Likewise.
14035 (tan_test_towardzero): Likewise.
14036 (tan_test_downward): Likewise.
14037 (tan_test_upward): Likewise.
14038 (main): Call the new functions.
14039 * sysdeps/i386/fpu/libm-test-ulps: Update.
14040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14041
a6d06d7b
JM
14042 [BZ #10135]
14043 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14044 small n, then large n, before computing and testing k+n.
14045 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14046 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14047 Likewise.
14048 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14049 Likewise.
14050 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14051 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14056 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14057 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14058 * math/libm-test.inc (scalbn_test): Add more tests.
14059 (scalbln_test): Likewise.
14060
07e12bb3
JM
14061 * manual/filesys.texi (mode_t): Describe constraints on size and
14062 signedness, not exact equivalence to a particular type.
14063 (ino_t): Likewise.
14064 (ino64_t): Likewise.
14065 (dev_t): Likewise.
14066 (nlink_t): Likewise.
14067 (blkcnt_t): Likewise.
14068 (blkcnt64_t): Likewise.
14069 * manual/llio.texi (off_t): Likewise.
14070
28afd92d
JM
14071 [BZ #3976]
14072 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14073 (__ieee754_exp): Save and restore rounding mode and use
14074 round-to-nearest for all computations.
14075 * math/libm-test.inc (exp_test_tonearest): New function.
14076 (exp_test_towardzero): Likewise.
14077 (exp_test_downward): Likewise.
14078 (exp_test_upward): Likewise.
14079 (main): Call the new functions.
14080 * sysdeps/i386/fpu/libm-test-ulps: Update.
14081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14082
b1eeb65d
CD
140832012-03-01 Chris Demetriou <cgd@google.com>
14084
14085 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14086 have predictable order.
14087
53362a4b
DM
140882012-03-01 David S. Miller <davem@davemloft.net>
14089
3c969083
DM
14090 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14091
759707de
DM
14092 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14093 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14094 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14095 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14096
dfdb8ff2
DM
14097 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14098 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14099 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14101 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14102 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14103 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14104 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14105 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14106
ead89f96
DM
14107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14108
7f66bd07
DM
14109 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14110 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14111 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14112
53362a4b
DM
14113 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14114 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14115 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14116 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14117 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14119 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14120 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14121 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14122 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14123 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14124 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14129 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14130 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14131 * sysdeps/sparc/elf/configure: Regenerated.
14132
7b1902cb
JM
141332012-03-01 Joseph Myers <joseph@codesourcery.com>
14134
bec039bc
JM
14135 * configure.in (AS, LD): Require binutils 2.20 or later.
14136 * configure: Regenerated.
14137 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14138 as required minimum version.
14139 * INSTALL: Regenerated.
14140
7b1902cb
JM
14141 [BZ #2541]
14142 [BZ #4108]
14143 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14144 before squaring exponent.
14145 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14146 bottom long double and 27 bits of top long double before squaring
14147 exponent.
14148 * math/libm-test.inc (erfc_test): Add more tests.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14152
f775c276
KT
141532012-03-01 Kai Tietz <ktietz@redhat.com>
14154
14155 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14156 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14157 containing bit-fields.
14158 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14159 * soft-fp/single.h (_FP_UNION_S): Likewise.
14160 * soft-fp/double.h (_FP_UNION_D): Likewise.
14161
5b8a4d4a
JM
141622012-02-29 Joseph Myers <joseph@codesourcery.com>
14163
0bab47b6
JM
14164 [BZ #13786]
14165 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14166 not include ../strcmp.S.
14167 [USE_AS_STRNCASECMP_L]: Likewise.
14168 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14169 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14170 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14171 (__strncasecmp_l_ia32): Define as alias to
14172 __strncasecmp_l_nonascii.
14173
0fcad3e2
JM
14174 [BZ #5794]
14175 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14176 * sysdeps/i386/fpu/libm-test-ulps: Update.
14177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14178
5b8a4d4a
JM
14179 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14181
8fdceb2e
JL
141822012-02-29 Jeff Law <law@redhat.com>
14183
14184 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14185 out of bounds read.
14186
1f393a11
MP
141872012-02-29 Marek Polacek <polacek@redhat.com>
14188
14189 [BZ #13706]
14190 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14191 * elf/Makefile: Add rules to run tst-unused-dep.out.
14192
8847f037
DM
141932012-02-28 David S. Miller <davem@davemloft.net>
14194
14195 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14196 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14197 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14199 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14200 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14201
169d7f11
JM
142022012-02-29 Joseph Myers <joseph@codesourcery.com>
14203
14204 * math/libm-test.inc (llround_test): Move one test from
14205 lround_test. Use TEST_f_L in moved test.
14206 (lround_test): Move misplaced test to llround_test. Add testcase
14207 from bug 2561.
14208
39adf059
UD
142092012-02-28 Ulrich Drepper <drepper@gmail.com>
14210
14211 * sysdeps/x86_64/fpu/e_expf.S: New file.
14212 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14213
71b5d1c5
SB
142142012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14215
14216 [BZ #13637]
14217 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14218 of remain_len that may cause incomplete multi-byte character and
14219 false match.
14220 * posix/bug-regex33.c: New file.
14221 * posix/Makefile (tests): Add bug-regex33.
14222
1f77f049
JM
142232012-02-28 Joseph Myers <joseph@codesourcery.com>
14224
14225 * manual/macros.texi: New file.
14226 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14227 * manual/libc.texinfo: Include macros.texi.
14228 * manual/creatute.texi: Likewise.
14229 * manual/install.texi: Likewise.
14230 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14231 @glibcadj{} in references to the GNU C Library.
14232 * manual/charset.texi: Likewise.
14233 * manual/conf.texi: Likewise.
14234 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14235 when not using those macros.
14236 * manual/creature.texi: Likewise.
14237 * manual/crypt.texi: Likewise.
14238 * manual/errno.texi: Likewise.
14239 * manual/filesys.texi: Likewise.
14240 * manual/header.texi: Likewise.
14241 * manual/install.texi: Likewise.
14242 * manual/intro.texi: Likewise.
14243 * manual/io.texi: Likewise.
14244 * manual/job.texi: Likewise.
14245 * manual/lang.texi: Likewise.
14246 * manual/libc.texiinfo: Likewise.
14247 * manual/llio.texi: Likewise.
14248 * manual/locale.texi: Likewise.
14249 * manual/maint.texi: Likewise.
14250 * manual/math.texi: Likewise.
14251 * manual/memory.texi: Likewise.
14252 * manual/message.texi: Likewise.
14253 * manual/nss.texi: Likewise.
14254 * manual/pattern.texi: Likewise.
14255 * manual/process.texi: Likewise.
14256 * manual/resource.texi: Likewise.
14257 * manual/search.texi: Likewise.
14258 * manual/setjmp.texi: Likewise.
14259 * manual/signal.texi: Likewise.
14260 * manual/socket.texi: Likewise.
14261 * manual/startup.texi: Likewise.
14262 * manual/stdio.texi: Likewise.
14263 * manual/string.texi: Likewise.
14264 * manual/sysinfo.texi: Likewise.
14265 * manual/syslog.texi: Likewise.
14266 * manual/terminal.texi: Likewise.
14267 * manual/time.texi: Likewise.
14268 * manual/users.texi: Likewise.
14269 * INSTALL: Regenerated.
14270 * NOTES: Regenerated.
d40c5d54 14271 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14272
450bf206
AS
142732012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14274
14275 * include/dirent.h: Include <dirstream.h> before
14276 <dirent/dirent.h>.
14277
741a235b
DM
142782012-02-28 David S. Miller <davem@davemloft.net>
14279
14280 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14281 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14282 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14283 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14284
d6b5aa58
DM
142852012-02-27 David S. Miller <davem@davemloft.net>
14286
1aff59a3
DM
14287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14289 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14290 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14291
d6b5aa58
DM
14292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14293 frame pointer instead of stack pointer relative arg slot.
14294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14295 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14296 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14297
433f48bf
CD
142982012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14299
14300 [BZ #3992]
14301 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14302
d674b76d
DM
143032012-02-27 David S. Miller <davem@davemloft.net>
14304
14305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14309 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14310 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14311 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14312 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14313
0e7727f7
JM
143142012-02-27 Joseph Myers <joseph@codesourcery.com>
14315
14316 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14317 later. Allow versions 5-9.
43be4ca2 14318 * configure: Regenerated.
0e7727f7
JM
14319 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14320 required minimum version and 4.6 as recommended version. Do not
14321 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14322 * INSTALL: Regenerated.
0e7727f7 14323
a78bc654
DM
143242012-02-27 David S. Miller <davem@davemloft.net>
14325
428d5830
DM
14326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14330 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14331 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14332 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14333 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14334
a78bc654
DM
14335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14336 manipulate bits before adding and subtracting TWO112[sx].
14337 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14338
4579f81c
RM
143392012-02-27 Roland McGrath <roland@hack.frob.com>
14340
36c8acb4
RM
14341 [BZ #13775]
14342 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14343 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14344 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14345 being in POSIX, because they are in 1003.1-2008.
14346
84ad622b
RM
14347 * rt/tst-aio.c: Include <fcntl.h>.
14348 * rt/tst-aio7.c: Likewise.
14349 * rt/tst-aio64.c: Likewise.
14350
4579f81c
RM
14351 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14352
abd923db
JM
143532012-02-27 Joseph Myers <joseph@codesourcery.com>
14354
14355 * manual/install.texi (--with-headers): Describe headers as
14356 interface headers, not private headers.
14357 (Specific advice for GNU/Linux systems): Describe use of headers
14358 from "make headers_install", not private headers from older
14359 kernels.
43be4ca2 14360 * INSTALL: Regenerated.
abd923db
JM
14361 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14362 Change to 2.6.19.
14363 * sysdeps/unix/sysv/linux/configure: Regenerated.
14364
6664049b
JM
14365 * manual/llio.texi (fclean): Remove documentation.
14366
bb8b6697
JM
14367 * manual/Makefile (libc-texi-generated): New variable. Include
14368 version.texi.
14369 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14370 $(libc-texi-generated), not duplicated list of files.
14371 (version.texi, stamp-version): New rules.
14372 (realclean): Remove $(libc-texi-generated), not individual files
14373 from that list. Do not remove dir-add.texinfo.
14374 * manual/libc.texinfo: Comment out uses of edition numbers and
14375 references to printed manual. Remove last-updated dates.
14376 (EDITION): Comment out.
14377 (ISBN): Likewise.
14378 (VERSION, UPDATED): Remove.
14379 (version.texi): Include.
14380
12e5c3b9
AS
143812012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14382
14383 * sysdeps/posix/spawni.c: Include <signal.h>.
14384 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14385 * sysdeps/pthread/aio_fsync.c: Likewise.
14386
4efeffc1 143872012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14388
ba63ba08
UD
14389 * conform/Makefile (tests): Run only when not cross-compiling and
14390 when fast-check is not defined.
14391
d94a4670
UD
14392 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14393 * conform/data/limits.h-data: Fixes for POSIX2008.
14394 * conform/run-conformtest.sh: Run all tests.
14395 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14396 headers.
14397 * include/bits/dlfcn.h: Likewise.
14398 * include/langinfo.h: Likewise.
14399 * include/monetary.h: Likewise.
14400 * include/sys/poll.h: Likewise.
14401
14402 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14403 for __USE_GNU.
14404 * posix/spawn.h: Define __need_sigset_t.
14405 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14406 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14407 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14408 to get sigevent_t only.
14409 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14410 only for __USE_GNU.
14411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14412 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14413 process_vm_writev only for __USE_GNU.
14414 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14415
14416 * conform/Makefile: For now ignore errors from run-conformtest.
14417 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14418 POSIX to avoid namespace pollution. Don't prepend headers.
14419 * conform/data/aio.h-data: Fixes for POSIX testing.
14420 * conform/data/fcntl.h-data: Likewise.
14421 * conform/data/glob.h-data: Likewise.
14422 * conform/data/grp.h-data: Likewise.
14423 * conform/data/pthread.h-data: Likewise.
14424 * conform/data/pwd.h-data: Likewise.
14425 * conform/data/signal.h-data: Likewise.
14426 * conform/data/spawn.h-data: Likewise.
14427 * conform/data/stdio.h-data: Likewise.
14428 * conform/data/stdlib.h-data: Likewise.
14429 * conform/data/stropts.h-data: Likewise.
14430 * conform/data/sys/mman.h-data: Likewise.
14431 * conform/data/sys/stat.h-data: Likewise.
14432 * conform/data/sys/types.h-data: Likewise.
14433 * conform/data/sys/wait.h-data: Likewise.
14434 * conform/data/time.h-data: Likewise.
14435 * conform/data/unistd.h-data: Likewise.
14436 * conform/data/utime.h-data: Likewise.
14437
14438 * io/sys/stat.h: fchmod was always in POSIX.
14439 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14440 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14441 * rt/aio.h: Define __need_timespec before including <time.h>.
14442 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14443 struct. Add forward declaration of pthread_attr_t and use it in
14444 sigevent.
14445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14446 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14447 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14448 always remove CLK_TCK definition.
14449
c20105c3
AS
144502012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14451
14452 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14453
7a270350
UD
144542012-02-25 Ulrich Drepper <drepper@gmail.com>
14455
31341567
UD
14456 * conform/run-conformtest.sh: New file.
14457 * conform/Makefile: Run run-conformtest for tests.
14458 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14459 support.
14460
14461 * conform/data/uchar.h-data: New file.
14462 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14463 * conform/data/arpa/inet.h-data: Likewise.
14464 * conform/data/assert.h-data: Likewise.
14465 * conform/data/complex.h-data: Likewise.
14466 * conform/data/cpio.h-data: Likewise.
14467 * conform/data/ctype.h-data: Likewise.
14468 * conform/data/dirent.h-data: Likewise.
14469 * conform/data/dlfcn.h-data: Likewise.
14470 * conform/data/errno.h-data: Likewise.
14471 * conform/data/fcntl.h-data: Likewise.
14472 * conform/data/float.h-data: Likewise.
14473 * conform/data/fmtmsg.h-data: Likewise.
14474 * conform/data/fnmatch.h-data: Likewise.
14475 * conform/data/ftw.h-data: Likewise.
14476 * conform/data/glob.h-data: Likewise.
14477 * conform/data/grp.h-data: Likewise.
14478 * conform/data/iconv.h-data: Likewise.
14479 * conform/data/inttypes.h-data: Likewise.
14480 * conform/data/langinfo.h-data: Likewise.
14481 * conform/data/libgen.h-data: Likewise.
14482 * conform/data/limits.h-data: Likewise.
14483 * conform/data/locale.h-data: Likewise.
14484 * conform/data/math.h-data: Likewise.
14485 * conform/data/monetary.h-data: Likewise.
14486 * conform/data/mqueue.h-data: Likewise.
14487 * conform/data/ndbm.h-data: Likewise.
14488 * conform/data/net/if.h-data: Likewise.
14489 * conform/data/netdb.h-data: Likewise.
14490 * conform/data/netinet/in.h-data: Likewise.
14491 * conform/data/nl_types.h-data: Likewise.
14492 * conform/data/poll.h-data: Likewise.
14493 * conform/data/pthread.h-data: Likewise.
14494 * conform/data/pwd.h-data: Likewise.
14495 * conform/data/regex.h-data: Likewise.
14496 * conform/data/sched.h-data: Likewise.
14497 * conform/data/search.h-data: Likewise.
14498 * conform/data/semaphore.h-data: Likewise.
14499 * conform/data/setjmp.h-data: Likewise.
14500 * conform/data/signal.h-data: Likewise.
14501 * conform/data/spawn.h-data: Likewise.
14502 * conform/data/stdarg.h-data: Likewise.
14503 * conform/data/stdio.h-data: Likewise.
14504 * conform/data/stdlib.h-data: Likewise.
14505 * conform/data/string.h-data: Likewise.
14506 * conform/data/strings.h-data: Likewise.
14507 * conform/data/stropts.h-data: Likewise.
14508 * conform/data/sys/ipc.h-data: Likewise.
14509 * conform/data/sys/mman.h-data: Likewise.
14510 * conform/data/sys/msg.h-data: Likewise.
14511 * conform/data/sys/resource.h-data: Likewise.
14512 * conform/data/sys/select.h-data: Likewise.
14513 * conform/data/sys/sem.h-data: Likewise.
14514 * conform/data/sys/shm.h-data: Likewise.
14515 * conform/data/sys/socket.h-data: Likewise.
14516 * conform/data/sys/stat.h-data: Likewise.
14517 * conform/data/sys/statvfs.h-data: Likewise.
14518 * conform/data/sys/time.h-data: Likewise.
14519 * conform/data/sys/timeb.h-data: Likewise.
14520 * conform/data/sys/times.h-data: Likewise.
14521 * conform/data/sys/types.h-data: Likewise.
14522 * conform/data/sys/uio.h-data: Likewise.
14523 * conform/data/sys/un.h-data: Likewise.
14524 * conform/data/sys/utsname.h-data: Likewise.
14525 * conform/data/sys/wait.h-data: Likewise.
14526 * conform/data/syslog.h-data: Likewise.
14527 * conform/data/tar.h-data: Likewise.
14528 * conform/data/termios.h-data: Likewise.
14529 * conform/data/utime.h-data: Likewise.
14530 * conform/data/utmpx.h-data: Likewise.
14531 * conform/data/varargs.h-data: Likewise.
14532 * conform/data/wchar.h-data: Likewise.
14533 * conform/data/wctype.h-data: Likewise.
14534 * conform/data/wordexp.h-data: Likewise.
14535
14536 * include/stropts.h: New file.
14537 * include/uchar.h: New file.
14538 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14539 * include/assert.h: Likewise.
14540 * include/ctype.h: Likewise.
14541 * include/dirent.h: Likewise.
14542 * include/dlfcn.h: Likewise.
14543 * include/fcntl.h: Likewise.
14544 * include/fnmatch.h: Likewise.
14545 * include/glob.h: Likewise.
14546 * include/grp.h: Likewise.
14547 * include/libio.h: Likewise.
14548 * include/locale.h: Likewise.
14549 * include/math.h: Likewise.
14550 * include/net/if.h: Likewise.
14551 * include/netdb.h: Likewise.
14552 * include/netinet/in.h: Likewise.
14553 * include/pthread.h: Likewise.
14554 * include/pwd.h: Likewise.
14555 * include/regex.h: Likewise.
14556 * include/sched.h: Likewise.
14557 * include/search.h: Likewise.
14558 * include/setjmp.h: Likewise.
14559 * include/signal.h: Likewise.
14560 * include/stdio.h: Likewise.
14561 * include/stdlib.h: Likewise.
14562 * include/string.h: Likewise.
14563 * include/sys/cdefs.h: Likewise.
14564 * include/sys/mman.h: Likewise.
14565 * include/sys/msg.h: Likewise.
14566 * include/sys/resource.h: Likewise.
14567 * include/sys/select.h: Likewise.
14568 * include/sys/socket.h: Likewise.
14569 * include/sys/stat.h: Likewise.
14570 * include/sys/statvfs.h: Likewise.
14571 * include/sys/time.h: Likewise.
14572 * include/sys/times.h: Likewise.
14573 * include/sys/uio.h: Likewise.
14574 * include/sys/utsname.h: Likewise.
14575 * include/sys/wait.h: Likewise.
14576 * include/termios.h: Likewise.
14577 * include/time.h: Likewise.
14578 * include/ulimit.h: Likewise.
14579 * include/unistd.h: Likewise.
14580 * include/utime.h: Likewise.
14581 * include/wchar.h: Likewise.
14582 * include/wctype.h: Likewise.
14583 * include/wordexp.h: Likewise.
14584
14585 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14586
7a270350
UD
14587 * time/time.h: TIME_UTC must be a macro.
14588 Make timespec_get available for ISO C11 only as well.
14589
7724defc
UD
145902012-02-24 Ulrich Drepper <drepper@gmail.com>
14591
14592 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14593 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14594
6b1d1d46
JM
145952012-02-24 Joseph Myers <joseph@codesourcery.com>
14596
14597 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14598
0f8bbd69
JM
145992012-02-24 Joseph Myers <joseph@codesourcery.com>
14600
14601 * manual/texinfo.tex: Update to version 2012-01-19.16.
14602
66ab80bc
JM
146032012-02-24 Joseph Myers <joseph@codesourcery.com>
14604
14605 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14606
74981cc5
RM
146072012-02-24 Roland McGrath <roland@hack.frob.com>
14608
ee968201
RM
14609 [BZ #13738]
14610 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14611 * manual/fdl-1.3.texi: New file.
14612 * manual/fdl-1.1.texi: File removed.
14613
74981cc5
RM
14614 [BZ #13738]
14615 * manual/libc.texinfo (FDL_VERSION): New @set.
14616 Use it for mention of FDL in cover text.
14617 (Documentation License): Use it in @include file name.
14618
7bb764bc
JM
146192012-02-22 Joseph Myers <joseph@codesourcery.com>
14620 Roland McGrath <roland@hack.frob.com>
14621
14622 [BZ #5461]
14623 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14624 not LONG_LONG_MAX and LONG_LONG_MIN.
14625 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14626 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14627 name.
14628 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14629
6cbeae47
JM
146302012-02-22 Joseph Myers <joseph@codesourcery.com>
14631
14632 [BZ #2547]
14633 [BZ #11365]
14634 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14635 manipulate bits before adding and subtracting TWO23[sx].
14636 * math/libm-test.inc (nearbyint_test): Add more tests.
14637
fe45ce09
JM
146382012-02-22 Joseph Myers <joseph@codesourcery.com>
14639
14640 [BZ #2548]
14641 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14642 bits before adding and subtracting TWO23[sx].
14643 * math/libm-test.inc (rint_test): Add more tests.
14644 (rint_test_tonearest): Likewise.
14645 (rint_test_towardzero): Likewise.
14646 (rint_test_downward): Likewise.
14647 (rint_test_upward: Likewise.
14648
ff3b3d82
JM
146492012-02-22 Joseph Myers <joseph@codesourcery.com>
14650
14651 [BZ #10110]
14652 * include/stdc-predef.h: New file. Extracted from features.h.
14653 * include/features.h: Include stdc-predef.h.
14654 * Makefile (headers): Add stdc-predef.h.
14655 * CONFORMANCE (Compiler limitations): Update.
14656
ef0aab35
JM
146572012-02-22 Joseph Myers <joseph@codesourcery.com>
14658
14659 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14660
58639409
DM
146612012-02-21 David S. Miller <davem@davemloft.net>
14662
14663 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14664 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14665
c0e70b25
DM
146662012-02-20 David S. Miller <davem@davemloft.net>
14667
14668 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14669 using a normal save/restore sequence, rather than allocating a
14670 dummy stack frame just to store a frame pointer and restore.
14671 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14672
fb06851d
JM
146732012-02-21 Joseph Myers <joseph@codesourcery.com>
14674
14675 * manual/install.texi: Fix stray word in line-wrapped comment.
14676
7a8b71c3
DM
146772012-02-20 David S. Miller <davem@davemloft.net>
14678
d510c123
DM
14679 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14680 both binutils and gcc support GOTDATA.
14681
0722d7c2
DM
14682 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14683 "rd %pc" in the PIC register setup sequences.
14684
3d2b3019
DM
14685 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14686 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14687 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14688 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14689 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14694 (SYSCALL_ERROR_HANDLER): Likewise.
14695 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14696 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14697 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14698 (SYSCALL_ERROR_HANDLER): Likewise.
14699
c80098a9
DM
14700 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14701 (HAVE_GCC_GOTDATA): New.
14702 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14703 relocation support in both binutils and gcc.
14704 * sysdeps/sparc/elf/configure: Regenerate.
14705
3a2545a0
DM
14706 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14707 * sysdeps/sparc/sparc32/elf/configure: Delete.
14708 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14709 * sysdeps/sparc/sparc64/elf/configure: Delete.
14710 * sysdeps/sparc/elf/configure.in: New file.
14711 * sysdeps/sparc/elf/configure: Generate.
14712
7a8b71c3
DM
14713 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14714 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14715 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14716 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14717 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14718
f1e86fca
JM
147192012-02-21 Joseph Myers <joseph@codesourcery.com>
14720
14721 * manual/install.texi: Do not mention specific glibc version
14722 numbers.
14723 * manual/libc.texinfo (VERSION, UPDATED): Update.
14724 (@copying): Use @copyright{} and range of years.
14725
0e7dfaef
JM
147262012-02-21 Joseph Myers <joseph@codesourcery.com>
14727
14728 [BZ #13695]
14729 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14730 [crti.S not in sysdirs] (generated): Do not append.
14731 [crti.S not in sysdirs] (omit-deps): Likewise.
14732 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14733 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14734 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14735 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14736 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14737 Likewise.
14738 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14739 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14740 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14741 * csu/defs.awk: Remove file.
14742 * sysdeps/generic/initfini.c: Likewise.
14743 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14744 variable.
14745 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14746 Likewise.
14747
599af3ca
JM
147482012-02-20 Joseph Myers <joseph@codesourcery.com>
14749
14750 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14751 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14752 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14753 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14754 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14755 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14756 <bits/epoll.h>.
14757 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14758 (__EPOLL_PACKED): Define to empty if not defined by
14759 <bits/epoll.h>.
14760 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14762 bits/epoll.h.
14763
0e499750
JM
147642012-02-20 Joseph Myers <joseph@codesourcery.com>
14765
14766 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14767 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14769 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14770 <bits/timerfd.h>.
14771 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14773 bits/timerfd.h.
14774
5ad91f6e
JM
147752012-02-20 Joseph Myers <joseph@codesourcery.com>
14776
14777 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14778 in C locale.
14779 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14780 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14781 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14783
06b99b02
AJ
147842012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14785
14786 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14787 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14788
7638c0fd
AS
147892012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14790
14791 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14792 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14793 defined.
14794 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14795 Likewise.
14796 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14797 entry for 2.16.
14798
92221550
AJ
147992012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14800
14801 * math/w_acos.c: Use non-signaling floating-point comparisons.
14802 * math/w_acosf.c: Likewise.
14803 * math/w_acosh.c: Likewise.
14804 * math/w_acoshf.c: Likewise.
14805 * math/w_acoshl.c: Likewise.
14806 * math/w_acosl.c: Likewise.
14807 * math/w_asin.c: Likewise.
14808 * math/w_asinf.c: Likewise.
14809 * math/w_asinl.c: Likewise.
14810 * math/w_atanh.c: Likewise.
14811 * math/w_atanhf.c: Likewise.
14812 * math/w_atanhl.c: Likewise.
14813 * math/w_exp2.c: Likewise.
14814 * math/w_exp2f.c: Likewise.
14815 * math/w_exp2l.c: Likewise.
14816 * math/w_j0.c: Likewise.
14817 * math/w_j0f.c: Likewise.
14818 * math/w_j0l.c: Likewise.
14819 * math/w_j1.c: Likewise.
14820 * math/w_j1f.c: Likewise.
14821 * math/w_j1l.c: Likewise.
14822 * math/w_jn.c: Likewise.
14823 * math/w_jnf.c: Likewise.
14824 * math/w_log.c: Likewise.
14825 * math/w_log10.c: Likewise.
14826 * math/w_log10f.c: Likewise.
14827 * math/w_log10l.c: Likewise.
14828 * math/w_log2.c: Likewise.
14829 * math/w_log2f.c: Likewise.
14830 * math/w_log2l.c: Likewise.
14831 * math/w_logf.c: Likewise.
14832 * math/w_logl.c: Likewise.
14833 * math/w_sqrt.c: Likewise.
14834 * math/w_sqrtf.c: Likewise.
14835 * math/w_sqrtl.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14838 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14839 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14840 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14841
ebaf36eb
JM
148422012-02-19 Joseph Myers <joseph@codesourcery.com>
14843
14844 [BZ #9739]
14845 * manual/string.texi (strnlen): Use correct parameter name in
14846 equivalent expression.
14847
71c254a6
JM
148482012-02-19 Joseph Myers <joseph@codesourcery.com>
14849
14850 [BZ #11174]
14851 * manual/users.texi (seteuid): Consistently use neweuid for
14852 argument name.
14853
16d2c631
JM
148542012-02-19 Joseph Myers <joseph@codesourcery.com>
14855
14856 [BZ #13704]
14857 * manual/nss.texi (Services in the NSS configuration): Correct
14858 list of services in example configuration file.
14859
cd837b09
NB
148602012-02-19 Nick Bowler <nbowler@draconx.ca>
14861
14862 [BZ #11322]
14863 * manual/arith.texi: Remove statements about negative zero
14864 behaving identically to zero.
14865
02c4bbad
JM
148662012-02-18 Joseph Myers <joseph@codesourcery.com>
14867
14868 [BZ #5993]
14869 * manual/install.texi: Do not document upgrading from libc5.
14870
366842e7
JM
148712012-02-18 Joseph Myers <joseph@codesourcery.com>
14872
14873 [BZ #4596]
14874 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14875
dd54084d
DM
148762012-02-18 David S. Miller <davem@davemloft.net>
14877
14878 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14879 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14880 %o7 across the call.
14881 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14882 instead.
14883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14884 SETUP_PIC_REG_LEAF.
14885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14886 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14887 * sysdeps/sparc/crtn.S: Likewise.
14888
2bcc53a3
UD
148892012-02-17 Ulrich Drepper <drepper@gmail.com>
14890
14891 * aout/Makefile: Remove.
14892
09c093b5
RK
148932012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14894
14895 [BZ #13058]
14896 * manual/examples/argp-ex1.c (main): Format definition in GNU
14897 style.
14898 * manual/examples/argp-ex2.c (main): Likewise.
14899 * manual/examples/argp-ex3.c (main): Likewise.
14900 * manual/examples/argp-ex4.c (main): Likewise.
14901 * manual/examples/longopt.c (main): Use new-style prototype
14902 definition.
14903 * manual/examples/strncat.c (main): Specify return type and use
14904 (void) for arguments.
14905 * manual/examples/subopt.c (main): Use char **argv argument.
14906
2ee633a2
JM
149072012-02-17 Joseph Myers <joseph@codesourcery.com>
14908
14909 [BZ #5077]
14910 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14911 rounding modes.
14912
0520adde
FB
149132012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14914
14915 [BZ #6907]
14916 * manual/string.texi (strchr): Change when strchrnul is
14917 recommended.
14918
3f4081cd
DGM
149192012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14920
14921 [BZ #174]
14922 * manual/locale.texi (setlocale): Document LOCPATH.
14923
d1b10e78
JM
149242012-02-17 Joseph Myers <joseph@codesourcery.com>
14925
14926 [BZ #10210]
14927 * manual/process.texi (execle): Move @dots{} before last argument.
14928
79c6869c
PB
149292012-02-17 Paul Bolle <pebolle@tiscali.nl>
14930
14931 [BZ #12047]
14932 * manual/charset.texi (Generic Charset Conversion): Fix typo
14933 (LC_TYPE -> LC_CTYPE).
14934
cc6e48bc
NB
149352012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14936
14937 [BZ #5805]
14938 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14939 (scalbnf): Likewise.
14940 (scalbnl): Likewise.
14941 (scalbln): Likewise.
14942 (scalblnf): Likewise.
14943 (scalblnl): Likewise.
14944 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14945 (vwarnx): Likewise.
14946 (verr): Likewise.
14947 (verrx): Likewise.
14948 * manual/filesys.texi (telldir): Use braces around return type.
14949 * manual/llio.texi (mmap): Add space after comma.
14950 (mmap64): Likewise.
14951 * manual/math.texi (jn): Use @var{} on parameter names.
14952 (jnf): Likewise.
14953 (jnl): Likewise.
14954 (yn): Likewise.
14955 (ynf): Likewise.
14956 (ynl): Likewise.
14957 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14958 line.
14959 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14960 "...".
14961 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14962 (sched_get_priority_max): Likewise.
14963 * manual/signal.texi (sigvec): Add space after comma.
14964 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14965 names.
14966 (if_indextoname): Likewise.
14967 (if_freenameindex): Likewise.
14968 (sendto): Use ',' instead of '.' in prototype.
14969 * manual/startup.texi (syscall): Use @dots{} instead of literal
14970 "...".
14971 * manual/stdio.texi (__fpending): Separate initial words of
14972 paragraph from @deftypefun line.
14973 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14974 "...".
14975 (vsyslog): Use @var{} on parameter names.
14976 * manual/terminal.texi (stty): Use @var{} on parameter names.
14977 * manual/users.texi (getutmp): Use @var{} on parameter names.
14978 (getutmpx): Likewise.
14979
5b23062f
JM
149802012-02-17 Joseph Myers <joseph@codesourcery.com>
14981
14982 [BZ #6884]
14983 * manual/stdio.texi (fopen): Fix typos in description of
14984 ",ccs=STRING".
14985
8dee4833
AJ
149862012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14987
14988 [BZ #4026]
14989 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14990 get clock_id definition.
14991
9078ce93
TS
149922012-02-17 Thomas Schwinge <thomas@schwinge.name>
14993
14994 [BZ #4822]
14995 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14996 (madvise): Cast every argument to void on its own.
14997
3835c55f
JM
149982012-02-17 Joseph Myers <joseph@codesourcery.com>
14999
15000 [BZ #9902]
15001 * manual/startup.texi (Exit Status): Fix typo.
15002
35c47e37
JM
150032012-02-17 Joseph Myers <joseph@codesourcery.com>
15004
15005 [BZ #10140]
15006 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15007 * manual/examples/argp-ex2.c: Likewise.
15008 * manual/examples/argp-ex3.c: Likewise.
15009
e3b69ca7
RH
150102012-02-16 Richard Henderson <rth@redhat.com>
15011
15012 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15013 * sysdeps/s390/s390-32/initfini.c: Remove.
15014 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15015 * sysdeps/s390/s390-64/initfini.c: Remove.
15016
df83af67
KK
150172012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15018
15019 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15020 compiler output for sysdeps/generic/initfini.c.
15021 * sysdeps/sh/elf/initfini.c: Remove file.
15022
f63f3380
DM
150232012-02-16 David S. Miller <davem@davemloft.net>
15024
fb59b3a4
DM
15025 [BZ #11494]
15026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15027
f63f3380
DM
15028 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15029 * sysdeps/sparc/crti.S: New file.
15030 * sysdeps/sparc/crtn.S: New file.
15031 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15032 * sysdeps/sparc/sparc64/Makefile: Likewise.
15033
df6a4a4a
MF
150342012-02-15 Mike Frysinger <vapier@gentoo.org>
15035
6dd8f3dc 15036 [BZ #3335]
df6a4a4a
MF
15037 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15038
1cac7236
RM
150392012-02-15 Roland McGrath <roland@hack.frob.com>
15040
d2c736f8
RM
15041 [BZ #4822]
15042 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15043
1cac7236
RM
15044 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15045 (write, read, close): Likewise.
15046 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15047
8e475601
JM
150482012-02-15 Joseph Myers <joseph@codesourcery.com>
15049
15050 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15051 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15052 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15053 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15054 <bits/signalfd.h>.
15055 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15057 bits/signalfd.h.
15058
ed656b40
MP
150592012-02-14 Marek Polacek <polacek@redhat.com>
15060
15061 * sysdeps/x86_64/crti.S: New file.
15062 * sysdeps/x86_64/crtn.S: New file.
15063 * sysdeps/x86_64/elf/initfini.c: Remove file.
15064
2a979d3a
JM
150652012-02-13 Joseph Myers <joseph@codesourcery.com>
15066
15067 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15068 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15069 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15070 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15071 <bits/inotify.h>.
15072 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15074 bits/inotify.h.
15075
2a418ac3
JM
150762012-02-13 Joseph Myers <joseph@codesourcery.com>
15077
15078 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15079 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15081 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15082 <bits/eventfd.h>.
15083 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15085 bits/eventfd.h.
15086
fb779be7
TS
150872012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15088
e19e83c5
RM
15089 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15090 __feraiseexcept instead of feraiseexcept.
7c35ffed 15091
fb779be7
TS
15092 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15093 nanosleep invocations.
15094 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15095 strings, and add error checking for a nanosleep invocations.
15096
59ba27a6
PE
150972012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15098
15099 Replace FSF snail mail address with URLs, as per GNU coding standards.
15100 Most of the snail mail addresses were wrong anyway, and omitting
15101 them makes the source code easier to maintain. Almost all of the
15102 changes are to license notices and to locale LC_IDENTIFICATION
15103 addresses, except for this one:
15104 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15105 not its snail mail address.
15106
57b957eb
RH
151072012-02-09 Richard Henderson <rth@twiddle.net>
15108
af850b1c
RH
15109 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15110 of kernel-features.h.
15111
57b957eb
RH
15112 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15113
6b73181a
MP
151142012-02-08 Marek Polacek <polacek@redhat.com>
15115
15116 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15117 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15118 * sysdeps/gnu/_G_config.h: Likewise.
15119 * sysdeps/generic/_G_config.h: Likewise.
15120
26ecc33a
AS
151212012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15122
6c6dbc63
AS
15123 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15124 tests.
15125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15126
e216c012
AS
15127 * sysdeps/powerpc/powerpc32/crti.S: New file.
15128 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15129 * sysdeps/powerpc/powerpc64/crti.S: New file.
15130 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15131
26ecc33a
AS
15132 * Makeconfig (have-initfini): Don't set.
15133 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15134 * configure.in (nopic_initfini): Don't substitute.
15135 * config.h.in (HAVE_INITFINI): Don't #undef.
15136 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15137 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15138
3add8e13
JM
151392012-02-08 Joseph Myers <joseph@codesourcery.com>
15140
15141 Support crti.S and crtn.S provided directly by architectures.
15142 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15143 [crti.S in sysdirs] (omit-deps): Likewise.
15144 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15145 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15146 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15147 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15148 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15149 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15150 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15151 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15152 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15153 compiler output for sysdeps/generic/initfini.c.
15154 * sysdeps/i386/elf/Makefile: Remove file.
15155 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15156
a22f12b4
MP
151572012-02-07 Marek Polacek <polacek@redhat.com>
15158
15159 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15160 * sysdeps/gnu/_G_config.h: Likewise.
15161 * sysdeps/mach/hurd/_G_config.h: Likewise.
15162
148cf100
MP
151632012-02-07 Marek Polacek <polacek@redhat.com>
15164
15165 * math/Makefile (tests): Add tst-CMPLX2.
15166 * math/tst-CMPLX2.c: New file.
15167
cfdc0dd7
AS
151682012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15169
84ba42c4
AS
15170 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15171
cfdc0dd7
AS
15172 * math/libm-test.inc (jn_test): Add missing L suffix.
15173
622c86f4
MP
151742012-02-06 Marek Polacek <polacek@redhat.com>
15175
15176 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15177 * sysdeps/i386/fpu/e_powf.S: Likewise.
15178 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15179 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15180 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15181 * sysdeps/i386/fpu/e_pow.S: Likewise.
15182 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15183 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15184 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15185 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15186 * sysdeps/i386/fpu/e_log2.S: Likewise.
15187 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15188 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15189 * sysdeps/i386/fpu/e_powl.S: Likewise.
15190 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15191 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15192 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15193 * sysdeps/i386/fpu/e_logl.S: Likewise.
15194 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15195 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15196 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15197 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15198 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15199 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15200 * sysdeps/i386/fpu/e_log.S: Likewise.
15201 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15202 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15203 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15204 * sysdeps/i386/fpu/e_logf.S: Likewise.
15205 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15206 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15207 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15208 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15209 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15210 * sysdeps/i386/fpu/e_log10.S: Likewise.
15211 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15212 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15213 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15214 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15215 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15216 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15217 * sysdeps/i386/asm-syntax.h: Likewise.
15218 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15219 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15221 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15222 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15223 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15224 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15225 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15226 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15227 * sysdeps/powerpc/sysdep.h: Likewise.
15228 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15229 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15230
d4a54ac6
JM
152312012-02-06 Joseph Myers <joseph@codesourcery.com>
15232
15233 [BZ #411]
15234 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15235
314054ea
JM
152362012-02-06 Joseph Myers <joseph@codesourcery.com>
15237
15238 * sysdeps/i386/sysdep.h: Include <features.h>.
15239 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15240 version.
15241
d8e0ca50
JM
152422012-02-05 Joseph Myers <joseph@codesourcery.com>
15243
15244 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15245 Define.
15246 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15247 LOAD_PIC_REG_STR.
15248
b1da7dd9
JM
152492012-02-03 Joseph Myers <joseph@codesourcery.com>
15250
15251 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15252 (SETUP_PIC_REG): Use GET_PC_THUNK.
15253 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15254 macro.
15255
9a1d9254
JM
152562012-02-03 Joseph Myers <joseph@codesourcery.com>
15257
15258 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15259 for non-PIC compilation.
15260 (SETUP_PIC_REG): Add .p2align directive.
15261 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15262 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15263 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15264 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15266 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15267 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15269 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15270 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15271 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15272 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15273 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15274 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15275 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15276 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15277 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15278 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15279 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15280 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15281 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15282 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15283 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15284 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15285 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15286 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15287 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15288 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15289 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15290 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15291 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15292 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15293 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15294 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15295 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15296 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15297 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15298 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15299 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15300 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15301 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15302
65dc3b75
JM
153032012-02-03 Joseph Myers <joseph@codesourcery.com>
15304
15305 * math/tst-CMPLX.c: Include <stdio.h>.
15306
d55bf177
JM
153072012-01-31 Joseph Myers <joseph@codesourcery.com>
15308
15309 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15310 float.
15311 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15312 * sysdeps/sparc/bits/mathdef.h: Likewise.
15313
69db4f8f
MP
153142012-01-31 Marek Polacek <polacek@redhat.com>
15315
15316 * libio/libio.h: Don't define _PARAMS.
15317 * locale/programs/config.h: Don't define PARAMS.
15318 * stdlib/strtol_l.c: Likewise.
15319 (__strtol_l): Remove PARAMS from the prototype.
15320
41b81892
UD
153212012-01-31 Ulrich Drepper <drepper@gmail.com>
15322
3b49edc0
UD
15323 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15324 names. Just use the correct names. Remove unnecessary wrapper
15325 functions.
15326 * malloc/arena.c: Likewise.
15327 * malloc/hooks.c: Likewise.
15328
41b81892
UD
15329 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15330 ARENA_TEST says not to. Simplify test for creation of a new arena.
15331 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15332
27a25b6e
UD
153332012-01-30 Ulrich Drepper <drepper@gmail.com>
15334
15335 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15336 into tail calls.
15337 (update_get_addr): New function.
15338 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15339 GET_ADDR_MODULE parameter.
15340
c8a89e7d
JM
153412012-01-30 Joseph Myers <joseph@codesourcery.com>
15342
15343 * crypt/cert.c: Remove __STDC__ conditionals.
15344 * crypt/crypt-entry.c: Likewise.
15345 * crypt/crypt_util.c: Likewise.
15346 * libio/filedoalloc.c: Likewise.
15347 * libio/fileops.c: Likewise.
15348 * libio/genops.c: Likewise.
15349 * libio/iofclose.c: Likewise.
15350 * libio/iofdopen.c: Likewise.
15351 * libio/iofopen.c: Likewise.
15352 * libio/iofopen64.c: Likewise.
15353 * libio/iogetdelim.c: Likewise.
15354 * libio/iopopen.c: Likewise.
15355 * libio/obprintf.c: Likewise.
15356 * libio/oldfileops.c: Likewise.
15357 * libio/oldiofclose.c: Likewise.
15358 * libio/oldiofdopen.c: Likewise.
15359 * libio/oldiofopen.c: Likewise.
15360 * libio/oldiopopen.c: Likewise.
15361 * libio/wfiledoalloc.c: Likewise.
15362 * libio/wgenops.c: Likewise.
15363 * locale/programs/xmalloc.c: Likewise.
15364 * misc/syslog.c: Likewise.
15365 * stdio-common/xbug.c: Likewise.
15366 * string/memchr.c: Likewise.
15367 * string/memcmp.c: Likewise.
15368 * string/memrchr.c: Likewise.
15369 * string/rawmemchr.c: Likewise.
15370 * sysdeps/posix/getcwd.c: Likewise.
15371 * time/strftime_l.c: Likewise.
15372
3b100462
JM
153732012-01-30 Joseph Myers <joseph@codesourcery.com>
15374
15375 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15376 * config.make.in (config-cflags-sse2avx): Define.
15377 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15378 Fix typo.
15379
607998af
CM
153802012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15381
15382 * scripts/config.guess: Update from upstream config git repository.
15383 * scripts/config.sub: Likewise.
15384
3601428f
CM
153852012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15386
3ac8b282
CM
15387 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15388 (EM_NUM): Update.
15389 (R_TILEPRO_*, R_TILEGX_*): New macros.
15390
e034841e
CM
15391 * scripts/firstversions.awk: Fix bug in version range handling.
15392
540d7568
CM
15393 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15394
3601428f
CM
15395 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15396
463de862
CM
15397 * include/sys/epoll.h: New file.
15398 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15399 libc_hidden_def.
15400
73139a76
UD
154012012-01-28 Ulrich Drepper <drepper@gmail.com>
15402
96bc5b45
UD
15403 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15404 Avoid unnecessary __WORDSIZE == 64 test.
15405 (fmaxf): Use VEX format if possible.
15406 (fmax): Likewise.
15407 (fminf): Likewise.
15408 (fmin): Likewise.
15409
56f6f6a2
UD
15410 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15411 * math/math_private.h: Remove libc_fegetround* and
15412 libc_fesetround*.
15413 * sysdeps/i386/configure.in: Check for -msse2avx.
15414 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15415 also if SSE2AVX is defined.
15416 Remove libc_fegetround* and libc_fesetround*.
15417 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15418 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15420 of HAS_YMM_USABLE.
15421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15426
73139a76
UD
15427 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15428
d73f93a4
AZ
154292012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15430
15431 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15432 size is not set.
15433 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15434
6ee65ed6
UD
154352012-01-27 Ulrich Drepper <drepper@gmail.com>
15436
15437 [BZ #13618]
15438 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15439 relocation.
15440 * Makeconfig (libm): Define.
15441 * elf/Makefile: Add rules to build and run tst-relsort1.
15442 * elf/tst-relsort1.c: New file.
15443 * elf/tst-relsort1mod1.c: New file.
15444 * elf/tst-relsort1mod2.c: New file.
15445
8db21882
JM
154462012-01-27 Joseph Myers <joseph@codesourcery.com>
15447
15448 * math/s_ldexp.c: Remove __STDC__ conditionals.
15449 * math/s_ldexpf.c: Likewise.
15450 * math/s_ldexpl.c: Likewise.
15451 * math/s_nextafter.c: Likewise.
15452 * math/s_nexttowardf.c: Likewise.
15453 * math/s_significand.c: Likewise.
15454 * math/s_significandf.c: Likewise.
15455 * math/s_significandl.c: Likewise.
15456 * math/w_jnl.c: Likewise.
15457 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15458 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15459 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15460 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15461 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15466 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15467 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15468 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15472 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15473 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15474 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15476 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15477 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15478 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15479 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15481 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15482 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15483 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15484 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15485 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15486 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15487 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15488 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15489 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15490 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15491 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15492 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15493 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15494 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15495 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15496 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15497 * sysdeps/ieee754/k_standard.c: Likewise.
15498 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15501 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15502 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15503 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15504 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15505 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15506 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15507 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15508 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15509 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15510 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15511 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15512 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15514 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15515 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15516 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15518 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15519 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15520 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15521 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15522 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15523 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15524 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15527 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15528 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15529 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15530 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15531 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15532 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15533 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15534 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15535 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15536 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15537 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15538 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15540 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15541 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15543 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15544 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15545 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15546 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15547 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15548 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15549 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15550 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15551 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15552 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15553 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15554 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15556 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15557 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15558 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15559 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15560 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15561 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15562 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15563 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15564 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15565 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15566 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15567 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15568 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15570 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15571 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15572 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15576 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15577 * sysdeps/ieee754/s_matherr.c: Likewise.
15578 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15579 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15582
965a54a4
JM
155832012-01-26 Joseph Myers <joseph@codesourcery.com>
15584
15585 * crypt/md5.h: Remove __STDC__ conditionals.
15586 * libio/libioP.h: Likewise.
15587 * locale/programs/config.h: Likewise.
15588 * sysdeps/generic/sysdep.h: Likewise.
15589 * sysdeps/i386/asm-syntax.h: Likewise.
15590 * sysdeps/s390/asm-syntax.h: Likewise.
15591 * sysdeps/unix/sysdep.h: Likewise.
15592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15594
7071ad79
JM
155952012-01-26 Joseph Myers <joseph@codesourcery.com>
15596
15597 * libio/libio.h: Remove __STDC__ conditionals.
15598 * malloc/obstack.h: Likewise.
15599 * math/complex.h: Likewise.
15600 * math/math.h: Likewise.
15601 * sysdeps/generic/_G_config.h: Likewise.
15602 * sysdeps/gnu/_G_config.h: Likewise.
15603 * sysdeps/mach/hurd/_G_config.h: Likewise.
15604 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15605 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15606 * sysdeps/sparc/bits/mathdef.h: Likewise.
15607
afc5ed09
UD
156082012-01-26 Ulrich Drepper <drepper@gmail.com>
15609
15610 [BZ #13583]
15611 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15612 Clean up HAS_* macros.
afc5ed09 15613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15614 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15615 possible.
15616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15617 HAS_AVX.
15618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15623
bdb6de1d
JM
156242012-01-25 Joseph Myers <joseph@codesourcery.com>
15625
15626 * elf/tst-unique3.cc (gets): Remove declaration.
15627 * elf/tst-unique3lib.cc (gets): Likewise.
15628 * elf/tst-unique3lib2.cc (gets): Likewise.
15629 * elf/tst-unique4.cc (gets): Likewise.
15630
b15549e6
UD
156312012-01-24 Ulrich Drepper <drepper@gmail.com>
15632
15633 * include/stdio.h: Add C++ protection. Add gets declarations and
15634 definitions.
15635 * debug/tst-chk1.c: Don't declare gets here.
15636 * stdio-common/tst-gets.c: Likewise.
15637
a037381f
JM
156382012-01-24 Joseph Myers <joseph@codesourcery.com>
15639
15640 * posix/glob: Remove directory.
15641
f1d4aa75
JM
156422012-01-24 Joseph Myers <joseph@codesourcery.com>
15643
15644 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15645
81c0c964
PT
156462012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15647
15648 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15649 of the non-standard EPFNOSUPPORT.
15650
0ea698ae
ST
156512011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15652
15653 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15654 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15655 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15656
d220b117
UD
156572012-01-21 Ulrich Drepper <drepper@gmail.com>
15658
15659 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15660
3e1aa84e
UD
156612012-01-20 Ulrich Drepper <drepper@gmail.com>
15662
15663 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15664 transient errors.
15665 * nscd/grpcache.c (cache_addgr): Likewise.
15666 * nscd/hstcache.c (cache_addhst): Likewise.
15667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15668 * nscd/pwdcache.c (cache_addpw): Likewise.
15669 * nscd/servicescache.c (cache_addserv): Likewise.
15670
400aa020
UD
156712012-01-16 Ulrich Drepper <drepper@gmail.com>
15672
d77e7869
UD
15673 * malloc/malloc.c: Various cleanups.
15674 * malloc/hooks.c: Likewise.
15675
400aa020
UD
15676 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15677 * stdlib/bug-fmtmsg1.c: New file.
15678
15679 * stdlib/fmtmsg.c (init): Add missing unlock.
15680 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15681
e0a309cf
MP
156822012-01-12 Marek Polacek <polacek@redhat.com>
15683
15684 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15685 and _GNU_SOURCE.
15686
929d11c7
WS
156872012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15688
15689 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15690 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15691 macro to ensure uniqueness of label name.
15692 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15693 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15694
41d0e869
UD
156952012-01-11 Ulrich Drepper <drepper@gmail.com>
15696
0cc5ed3b
UD
15697 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15698
41d0e869
UD
15699 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15700 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15701 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15703
a47a831a
UD
157042012-01-10 Ulrich Drepper <drepper@gmail.com>
15705
daa891c0
UD
15706 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15707
15708 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15709 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15710 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15711
e58ef0f2
UD
15712 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15713
a47a831a 15714 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15715 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15716 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15718
15719 * math/bits/math-finite.h: Add ldexp support.
15720
a0bfc9c7
MP
157212012-01-10 Marek Polacek <polacek@redhat.com>
15722
15723 * locale/programs/localedef.h (show_archive_content): Add noreturn
15724 attribute.
15725
d6e97a1d
UD
157262012-01-09 Ulrich Drepper <drepper@gmail.com>
15727
15728 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15729
d5835c26
UD
157302012-01-08 Ulrich Drepper <drepper@gmail.com>
15731
e5f484c6
UD
15732 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15733
d5835c26
UD
15734 * io/Makefile (headers): Add bits/poll2.h.
15735
d1f741e9
WS
157362011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15737
15738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15739 typo #include statement.
15740
ec09c1c4
UD
157412012-01-08 Ulrich Drepper <drepper@gmail.com>
15742
15743 * include/sys/cdefs.h: Define __attribute_alloc_size.
15744 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15745 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15746 * elf/pldd.c: Likewise.
15747 * iconv/iconv_charmap.c: Likewise.
15748 * iconv/iconvconfig.c: Likewise.
15749 * iconv/strtab.c: Likewise.
15750 * locale/programs/locale.c: Likewise.
15751 * locale/programs/localedef.h: Likewise.
15752 * locale/programs/simple-hash.c: Likewise.
15753 * nscd/nscd.h: Likewise.
15754 * nss/makedb.c: Likewise.
15755 * sysdeps/generic/ldconfig.h: Likewise.
15756 * locale/programs/localedef.c: Remove xmalloc prototype.
15757 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15758
20b38e03
PP
157592012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15760
15761 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15762 appropriate.
15763
a0da5fe1
UD
157642012-01-08 Ulrich Drepper <drepper@gmail.com>
15765
1d5a644a 15766 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15767 * math/tst-CMPLX.c: New file.
1d5a644a 15768
8784a6db
UD
15769 * math/complex.h (CMPLXL): Fix typo.
15770
d9a216c0
UD
15771 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15772 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15773 GLIBC_2.16.
15774 * debug/tst-chk1.c: Add poll and ppoll tests.
15775 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15776 * include/sys/poll.h: Add hidden proto for ppoll.
15777 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15778 * sysdeps/mach/hurd/ppoll.c: Likewise.
15779 * io/ppoll.c: Likewise.
15780 * debug/poll_chk.c: New file.
15781 * debug/ppoll_chk.c: New file.
15782 * include/bits/poll2.h: New file.
15783 * io/bits/poll2.h: New file.
15784
ac097f5c
UD
15785 [BZ #1350]
15786 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15787
2119dcfa
UD
15788 * configure.in: static is always set to yes. Remove.
15789 * config.make.in: Don't set build-static.
15790 * Makeconfig: Remove use of build-static.
15791 * dlfcn/Makefile: Likewise.
15792 * elf/Makefile: Likewise.
15793 * math/Makefile: Likewise.
15794 * misc/Makefile: Likewise.
15795 * nptl/Makefile: Likewise.
15796 * sysdeps/mach/hurd/Makefile: Likewise.
15797
121766a9
UD
15798 * configure.in: PWD_P is not used anymore.
15799 * config.make.in: Remove PWD_P entry.
15800
51a1d39c 15801 * configure.in: Remove last remnants of RANLIB.
8720d066 15802 No need to check for signed size_t anymore.
215f4bdc
UD
15803 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15804 and IA-64.
3857022a 15805 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15806 * aclocal.m4: Likewise.
15807
d3ed7225
UD
15808 * wcsmbs/mbrtoc16.c: Implement using towc function.
15809 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15810 * wcsmbs/wcsmbsload.c: Likewise.
15811 * iconv/gconv_simple.c: Likewise.
15812 * iconv/gconv_int.h: Likewise.
15813 * iconv/gconv_builtin.h: Likewise.
15814 * iconv/iconv_prog.c: Remove CHAR16 handling.
15815
15816 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15817
15818 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15819
a0da5fe1
UD
15820 * configure.in: Remove --with-elf and --enable-bounded options.
15821 Dont set base_machine for ia64. More non-ELF conditions removed.
15822 Remove testing and setting of leading underscore information.
15823 * config.make.in (build-bounded): Set to no.
15824 * config.h.in: Remove NO_UNDERSCORES entry.
15825 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15826 them.
15827 * csu/start.c: Remove !NO_UNDERSCORE code.
15828 * locale/localeinfo.h: Likewise.
15829 * sysdeps/generic/machine-gmon.h: Likewise.
15830 * sysdeps/generic/sysdep.h: Likewise.
15831 * sysdeps/i386/sysdep.h: Likewise.
15832 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15833 * sysdeps/mach/sysdep.h: Likewise.
15834 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15835 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15836 * sysdeps/sh/sysdep.h: Likewise.
15837 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15838 * sysdeps/unix/i386/sysdep.S: Likewise.
15839 * sysdeps/unix/sparc/start.c: Likewise.
15840 * sysdeps/unix/sparc/sysdep.S: Likewise.
15841 * sysdeps/unix/sparc/sysdep.h: Likewise.
15842 * sysdeps/unix/start.c: Likewise.
15843 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15844 * sysdeps/x86_64/sysdep.h: Likewise.
15845
df78418a
UD
158462012-01-07 Ulrich Drepper <drepper@gmail.com>
15847
a784e502
UD
15848 [BZ #13553]
15849 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15850 for non-gcc.
15851 * argp/argp-fmtstream.h: Use const instead __const.
15852 * argp/argp.h: Likewise.
15853 * assert/assert.h: Likewise.
15854 * bits/fenv.h: Likewise.
15855 * bits/sched.h: Likewise.
15856 * bits/sigset.h: Likewise.
15857 * bits/sigthread.h: Likewise.
15858 * catgets/nl_types.h: Likewise.
15859 * conform/data/pthread.h-data: Likewise.
15860 * crypt/crypt-private.h: Likewise.
15861 * crypt/crypt.h: Likewise.
15862 * crypt/crypt_util.c: Likewise.
15863 * ctype/ctype.h: Likewise.
15864 * debug/execinfo.h: Likewise.
15865 * debug/mbsnrtowcs_chk.c: Likewise.
15866 * debug/mbsrtowcs_chk.c: Likewise.
15867 * debug/wcsnrtombs_chk.c: Likewise.
15868 * debug/wcsrtombs_chk.c: Likewise.
15869 * debug/wcstombs_chk.c: Likewise.
15870 * dirent/dirent.h: Likewise.
15871 * dlfcn/dlfcn.h: Likewise.
15872 * elf/neededtest4.c: Likewise.
15873 * grp/grp.h: Likewise.
15874 * gshadow/gshadow.h: Likewise.
15875 * iconv/gconv.h: Likewise.
15876 * iconv/gconv_int.h: Likewise.
15877 * iconv/gconv_simple.c: Likewise.
15878 * iconv/iconv.h: Likewise.
15879 * iconv/loop.c: Likewise.
15880 * iconv/skeleton.c: Likewise.
15881 * include/aio.h: Likewise.
15882 * include/aliases.h: Likewise.
15883 * include/argz.h: Likewise.
15884 * include/arpa/inet.h: Likewise.
15885 * include/assert.h: Likewise.
15886 * include/dirent.h: Likewise.
15887 * include/dlfcn.h: Likewise.
15888 * include/execinfo.h: Likewise.
15889 * include/fcntl.h: Likewise.
15890 * include/fenv.h: Likewise.
15891 * include/glob.h: Likewise.
15892 * include/grp.h: Likewise.
15893 * include/libintl.h: Likewise.
15894 * include/mntent.h: Likewise.
15895 * include/netdb.h: Likewise.
15896 * include/pwd.h: Likewise.
15897 * include/rpc/netdb.h: Likewise.
15898 * include/sched.h: Likewise.
15899 * include/search.h: Likewise.
15900 * include/shadow.h: Likewise.
15901 * include/signal.h: Likewise.
15902 * include/stdio.h: Likewise.
15903 * include/stdlib.h: Likewise.
15904 * include/string.h: Likewise.
15905 * include/sys/socket.h: Likewise.
15906 * include/sys/stat.h: Likewise.
15907 * include/sys/statfs.h: Likewise.
15908 * include/sys/statvfs.h: Likewise.
15909 * include/sys/syslog.h: Likewise.
15910 * include/sys/time.h: Likewise.
15911 * include/sys/uio.h: Likewise.
15912 * include/time.h: Likewise.
15913 * include/unistd.h: Likewise.
15914 * include/utmp.h: Likewise.
15915 * include/wchar.h: Likewise.
15916 * include/wctype.h: Likewise.
15917 * inet/aliases.h: Likewise.
15918 * inet/arpa/inet.h: Likewise.
15919 * inet/netinet/ether.h: Likewise.
15920 * inet/netinet/in.h: Likewise.
15921 * intl/libintl.h: Likewise.
15922 * io/bits/fcntl2.h: Likewise.
15923 * io/fcntl.h: Likewise.
15924 * io/ftw.h: Likewise.
15925 * io/sys/poll.h: Likewise.
15926 * io/sys/stat.h: Likewise.
15927 * io/sys/statfs.h: Likewise.
15928 * io/sys/statvfs.h: Likewise.
15929 * io/utime.h: Likewise.
15930 * libio/bits/stdio.h: Likewise.
15931 * libio/bits/stdio2.h: Likewise.
15932 * libio/libio.h: Likewise.
15933 * libio/libioP.h: Likewise.
15934 * libio/stdio.h: Likewise.
15935 * locale/lc-ctype.c: Likewise.
15936 * locale/locale.h: Likewise.
15937 * login/utmp.h: Likewise.
15938 * malloc/arena.c: Likewise.
15939 * malloc/malloc.c: Likewise.
15940 * malloc/malloc.h: Likewise.
15941 * malloc/mcheck.c: Likewise.
15942 * malloc/mtrace.c: Likewise.
15943 * math/bits/mathcalls.h: Likewise.
15944 * math/fenv.h: Likewise.
15945 * math/math_private.h: Likewise.
15946 * misc/bits/error.h: Likewise.
15947 * misc/bits/syslog.h: Likewise.
15948 * misc/err.h: Likewise.
15949 * misc/error.h: Likewise.
15950 * misc/fstab.h: Likewise.
15951 * misc/mntent.h: Likewise.
15952 * misc/regexp.h: Likewise.
15953 * misc/search.h: Likewise.
15954 * misc/sgtty.h: Likewise.
15955 * misc/sys/mman.h: Likewise.
15956 * misc/sys/syslog.h: Likewise.
15957 * misc/sys/uio.h: Likewise.
15958 * misc/sys/xattr.h: Likewise.
15959 * misc/ttyent.h: Likewise.
15960 * nis/rpcsvc/ypclnt.h: Likewise.
15961 * nss/nss.h: Likewise.
15962 * posix/bits/unistd.h: Likewise.
15963 * posix/fnmatch.h: Likewise.
15964 * posix/glob.h: Likewise.
15965 * posix/sched.h: Likewise.
15966 * posix/spawn.h: Likewise.
15967 * posix/sys/wait.h: Likewise.
15968 * posix/unistd.h: Likewise.
15969 * posix/wordexp.h: Likewise.
15970 * pwd/pwd.h: Likewise.
15971 * resolv/netdb.h: Likewise.
15972 * resource/sys/resource.h: Likewise.
15973 * rt/aio.h: Likewise.
15974 * rt/bits/mqueue2.h: Likewise.
15975 * rt/mqueue.h: Likewise.
15976 * shadow/shadow.h: Likewise.
15977 * signal/signal.h: Likewise.
15978 * socket/send.c: Likewise.
15979 * socket/sendto.c: Likewise.
15980 * socket/sys/socket.h: Likewise.
15981 * stdio-common/printf.h: Likewise.
15982 * stdlib/bits/stdlib.h: Likewise.
15983 * stdlib/fmtmsg.h: Likewise.
15984 * stdlib/monetary.h: Likewise.
15985 * stdlib/stdlib.h: Likewise.
15986 * stdlib/ucontext.h: Likewise.
15987 * streams/stropts.h: Likewise.
15988 * string/argz.h: Likewise.
15989 * string/bits/string2.h: Likewise.
15990 * string/string.h: Likewise.
15991 * string/strings.h: Likewise.
15992 * sunrpc/rpc/auth.h: Likewise.
15993 * sunrpc/rpc/auth_des.h: Likewise.
15994 * sunrpc/rpc/clnt.h: Likewise.
15995 * sunrpc/rpc/netdb.h: Likewise.
15996 * sunrpc/rpc/pmap_clnt.h: Likewise.
15997 * sunrpc/rpc/xdr.h: Likewise.
15998 * sysdeps/generic/inttypes.h: Likewise.
15999 * sysdeps/generic/net/if.h: Likewise.
16000 * sysdeps/generic/sys/swap.h: Likewise.
16001 * sysdeps/gnu/net/if.h: Likewise.
16002 * sysdeps/gnu/utmpx.h: Likewise.
16003 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16004 * sysdeps/i386/i486/bits/string.h: Likewise.
16005 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16006 * sysdeps/s390/bits/string.h: Likewise.
16007 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16008 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16009 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16010 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16011 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16012 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16013 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16014 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16015 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16016 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16017 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16018 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16019 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16020 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16021 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16022 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16023 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16025 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16028 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16029 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16030 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16031 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16032 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16033 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16034 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16035 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16036 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16037 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16038 * sysvipc/sys/ipc.h: Likewise.
16039 * sysvipc/sys/msg.h: Likewise.
16040 * sysvipc/sys/sem.h: Likewise.
16041 * sysvipc/sys/shm.h: Likewise.
16042 * termios/termios.h: Likewise.
16043 * time/sys/time.h: Likewise.
16044 * time/time.h: Likewise.
16045 * wcsmbs/bits/wchar2.h: Likewise.
16046 * wcsmbs/uchar.h: Likewise.
16047 * wcsmbs/wchar.h: Likewise.
16048 * wctype/wctype.h: Likewise.
16049
0269750c
UD
16050 [BZ #13551]
16051 * Makeconfig: Remove all but ELF support including AIX support.
16052 * Makerules: Likewise.
16053 * config.h.in: Likewise.
16054 * config.make.in: Likewise.
16055 * configure: Likewise.
16056 * configure.in: Likewise.
16057 * csu/Makefile: Likewise.
16058 * csu/version.c: Likewise.
16059 * debug/Makefile: Likewise.
16060 * dlfcn/Makefile: Likewise.
16061 * elf/Makefile: Likewise.
16062 * extra-lib.mk: Likewise.
16063 * iconv/Makefile: Likewise.
16064 * include/libc-symbols.h: Likewise.
16065 * include/shlib-compat.h: Likewise.
16066 * resolv/Makefile: Likewise.
16067 * resolv/res_libc.c: Likewise.
16068 * rt/Makefile: Likewise.
16069 * sysdeps/i386/asm-syntax.h: Likewise.
16070 * sysdeps/i386/sysdep.h: Likewise.
16071 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16072 * sysdeps/mach/sysdep.h: Likewise.
16073 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16074 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16075 * sysdeps/s390/asm-syntax.h: Likewise.
16076 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16077 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16078 * sysdeps/sh/sysdep.h: Likewise.
16079 * sysdeps/unix/sparc/sysdep.h: Likewise.
16080 * sysdeps/wordsize-32/divdi3.c: Likewise.
16081 * sysdeps/x86_64/sysdep.h: Likewise.
16082
00bbd29b
UD
16083 * argp/Versions: Remove _argp_unlock_xxx.
16084
16085 [BZ #13559]
16086 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16087 * abilist/libBrokenLocale.abilist: Likewise.
16088 * abilist/libanl.abilist: Likewise.
16089 * abilist/libc.abilist: Likewise.
16090 * abilist/libcrypt.abilist: Likewise.
16091 * abilist/libdl.abilist: Likewise.
16092 * abilist/libm.abilist: Likewise.
16093 * abilist/libnsl.abilist: Likewise.
16094 * abilist/libpthread.abilist: Likewise.
16095 * abilist/libresolv.abilist: Likewise.
16096 * abilist/librt.abilist: Likewise.
16097 * abilist/libthread_db.abilist: Likewise.
16098 * abilist/libutil.abilist: Likewise.
16099 * abilist/libnss_db.abilist: New file.
16100
16101 * scripts/abilist.awk: Add support for indirect functions.
16102
a2693a0e
UD
16103 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16104
3f05895f
UD
16105 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16106
ecb6fb48
UD
16107 * shlib-versions: Remove entries for ports architectures.
16108
664f8cb9
UD
16109 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16110 files in ports.
16111 * elf/stackguard-macros.h: Remove support for IA-64.
16112 * elf/tst-auditmod1.c: Likewise.
16113 * sysdeps/generic/ldsodefs.h: Likewise.
16114
7ae81d88
UD
16115 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16116 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16117 configure files.
16118
bdeba135
UD
16119 [BZ #13552]
16120 * configure.in: Remove --enable-omitfp support.
16121 * FAQ.in: Adjust.
16122 * config.make.in: Likewise.
16123 * Makeconfig: Likewise.
16124 * manual/install.texi: Likewise.
16125
d75a0a62
UD
16126 In case anyone cares, the IA-64 architecture could move to ports.
16127 * sysdeps/ia64/*: Removed.
16128 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16129 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16130
dcc9756b
UD
16131 [BZ #13555]
16132 * configure.in: Remove entries for unsupported architectures.
16133
d3761ebc 16134 [BZ #13533]
9954432e
UD
16135 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16136 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16137 routines.
16138 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16139 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16140 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16141 fall back to using wcrtomb.
16142 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16143 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16144 renaming.
16145 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16146 * wcsmbs/tst-c16c32-1.c: New file.
16147
16148 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16149 local variable.
16150
c3a87236
UD
16151 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16152
28926a1b
UD
16153 * elf/tst-unique3.cc: Add explicit declaration of gets.
16154 * elf/tst-unique3lib.cc: Likewise.
16155 * elf/tst-unique3lib2.cc: Likewise.
16156 * elf/tst-unique4.cc: Likewise.
16157
df78418a
UD
16158 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16159
8ecd6b2a
JM
161602012-01-06 Joseph Myers <joseph@codesourcery.com>
16161
16162 [BZ #13566]
16163 * assert/assert.h (static_assert): Don't define for C++.
16164 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16165 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16166
9f115170
UD
161672012-01-03 Ulrich Drepper <drepper@gmail.com>
16168
5e0d0300
UD
16169 * iconv/loop.c (single loop): Fix assertion in storing of
16170 remaining bytes.
16171
9f115170
UD
16172 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16173
81fb02b0
UD
161742012-01-01 Ulrich Drepper <drepper@gmail.com>
16175
16176 * posix/getconf.c: Update copyright year.
16177 * nss/getent.c: Likewise.
a316c1f6 16178 * nss/makedb.c: Likewise.
81fb02b0
UD
16179 * iconv/iconvconfig.c: Likewise.
16180 * iconv/iconv_prog.c: Likewise.
16181 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16182 * elf/pldd.c: Likewise.
16183 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16184 * catgets/gencat.c: Likewise.
16185 * csu/version.c: Likewise.
16186 * elf/ldd.bash.in: Likewise.
16187 * elf/sprof.c (print_version): Likewise.
16188 * locale/programs/locale.c: Likewise.
16189 * locale/programs/localedef.c: Likewise.
a316c1f6 16190 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16191 * nscd/nscd.c (print_version): Likewise.
16192 * debug/xtrace.sh: Likewise.
16193 * malloc/memusage.sh: Likewise.
16194 * malloc/mtrace.pl: Likewise.
16195 * debug/catchsegv.sh: Likewise.
16196
2ba92745
JJ
161972011-12-30 Jakub Jelinek <jakub@redhat.com>
16198
16199 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16200 pure attribute.
16201
dadebdae
UD
162022011-12-24 Ulrich Drepper <drepper@gmail.com>
16203
d3761ebc 16204 [BZ #13533]
db6af3eb
UD
16205 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16206 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16207 transformations.
16208 * iconv/gconv_int.h: Likewise.
16209 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16210 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16211 from libc for GLIBC_2.16.
16212 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16213 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16214 * wcsmbs/uchar.h: Really define mbstate_t.
16215 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16216 * wcsmbs/c16rtomb.c: New file.
16217 * wcsmbs/mbrtoc16.c: New file.
16218 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16219 for C/POSIX locale.
16220 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16221 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16222
dadebdae
UD
16223 * wcsmbs/wchar.h: Add missing __restrict.
16224
67371b56
UD
162252011-12-23 Ulrich Drepper <drepper@gmail.com>
16226
74033a25
UD
16227 [BZ #13532]
16228 * time/Makefile (routines): Add timespec_get.
16229 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16230 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16231 timespec for ISO C11.
16232 * time/timespec_get.c: New file.
16233 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16234 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16235
380d7e87
UD
16236 [BZ #13531]
16237 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16238 * stdlib/stdlib.h: Declare aligned_alloc.
16239 * Versions.def: Add GLIBC_2.16 for libc.
16240 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16241
4e9e7a35
UD
16242 [BZ 13527]
16243 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16244 ISO C11.
16245
380d7e87 16246 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16247 code.
16248
03a71829
UD
16249 [BZ #13528]
16250 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16251
839e283e
UD
16252 [BZ #13529]
16253 * assert/assert.h (static_assert): Define.
16254
ce5294e2 16255 * version.h: Update for 2.16 development version.
90fa7312 16256
8d44e150 16257 [BZ #13526]
d7809905
UD
16258 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16259 _ISOC11_SOURCE.
16260
c0da14cd
UD
16261 * version.h (RELEASE): Bump for 2.15 release.
16262 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16263
530a3249
MP
16264 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16265 Patch by Marek Polacek <mpolacek@redhat.com>.
16266
67371b56
UD
16267 * bits/byteswap.h: Protect long long constants with __extension__.
16268 * sysdeps/i386/bits/byteswap.h: Likewise.
16269 * sysdeps/ia64/bits/byteswap.h: Likewise.
16270 * sysdeps/s390/bits/byteswap.h: Likewise.
16271 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16272
15db4de1
LD
162732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16274
16275 [BZ #13540]
bbe315ea
LD
16276 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16277 destination buffer.
15db4de1
LD
16278 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16279
2b2596b1
MP
162802011-12-23 Marek Polacek <polacek@redhat.com>
16281
16282 * elf/dl-addr.c (determine_info): Add inline keyword.
16283 * elf/tst-auditmod4b.c (check_avx): Likewise.
16284 * elf/tst-auditmod6b.c (check_avx): Likewise.
16285 * elf/tst-auditmod6c.c (check_avx): Likewise.
16286 * elf/tst-auditmod7b.c (check_avx): Likewise.
16287
70c6c246
UD
162882011-12-23 Ulrich Drepper <drepper@gmail.com>
16289
16290 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16291 !__SSE_MATH__.
16292
c044cf14
LD
162932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16294
15db4de1 16295 [BZ #13540]
c044cf14
LD
16296 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16297 processing for last bytes.
16298
6b13d9d9
BH
162992011-08-06 Bruno Haible <bruno@clisp.org>
16300
d455f537
BH
16301 [BZ #13061]
16302 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16303 U+0385, not to U+1FEE.
16304
6b13d9d9
BH
16305 [BZ #13062]
16306 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16307 entry for U+00A5 U+0301.
16308
db910efd
UD
163092011-12-22 Ulrich Drepper <drepper@gmail.com>
16310
27deeafc
UD
16311 [BZ #13166]
16312 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16313 buffer for the output is too small.
16314
aed9d171
UD
16315 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16316 optimization.
16317
db910efd
UD
16318 [BZ #13185]
16319 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16320 SSE flags if possible.
16321
2bd779ae
LD
163222011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16323
e7f9dac3 16324 [BZ #13540]
2bd779ae
LD
16325 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16326 processing for last bytes.
16327
154bfc16
JM
163282011-12-22 Joseph Myers <joseph@codesourcery.com>
16329
16330 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16331 (syscall-list-default-options, syscall-list-default-condition)
16332 (syscall-list-includes): Define.
16333 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16334 list of ABIs and options and #if conditions for each ABI. Do not
16335 handle common syscalls between ABIs specially.
16336 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16337 Remove.
16338 (syscall-list-variants, syscall-list-32bit-options)
16339 (syscall-list-32bit-condition, syscall-list-64bit-options)
16340 (syscall-list-64bit-condition): Define.
16341 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16342 (syscall-list-variants, syscall-list-32bit-options)
16343 (syscall-list-32bit-condition, syscall-list-64bit-options)
16344 (syscall-list-64bit-condition): Define.
16345 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16346 Remove.
16347 (syscall-list-variants, syscall-list-32bit-options)
16348 (syscall-list-32bit-condition, syscall-list-64bit-options)
16349 (syscall-list-64bit-condition): Define.
16350 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16351 Remove.
16352 (syscall-list-variants, syscall-list-32bit-options)
16353 (syscall-list-32bit-condition, syscall-list-64bit-options)
16354 (syscall-list-64bit-condition): Define.
16355
21eaf3a5
UD
163562011-12-22 Ulrich Drepper <drepper@gmail.com>
16357
16c6f992
UD
16358 * locale/iso-639.def: Add brx entry.
16359
41043168
UD
16360 [BZ #13328]
16361 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16362 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16363
21eaf3a5
UD
16364 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16365 __feraiseexcept_renamed.
16366
e3a851a2
UD
163672011-12-21 Ulrich Drepper <drepper@gmail.com>
16368
4920765e
UD
16369 [BZ #13538]
16370 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16371 EPOLLET with unsigned values.
16372 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16373 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16374
e3a851a2
UD
16375 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16376 to large cancellation.
16377 * math/s_cacoshf.c: Likewise.
16378 * math/s_cacoshl.c: Likewise.
16379
b27e24b8
RK
163802011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16381
16382 [BZ #13305]
aebefeee 16383 [BZ #12786]
b27e24b8
RK
16384 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16385 * math/s_cacoshf.c: Likewise.
16386 * math/s_cacoshl.c: Likewise.
16387
ee190f67
UD
163882011-12-21 Ulrich Drepper <drepper@gmail.com>
16389
16390 [BZ #13439]
16391 * iconv/gconv.h: Define __GCONV_SWAP.
16392 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16393 * iconvdata/utf-16.c: Likewise.
16394 * iconvdata/utf-32.c: Likewise.
16395
707f25df
AS
163962011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16397
16398 [BZ #13524]
16399 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16400 numerator after shifting it by one limb.
16401
d2daaa1e
RÁE
164022011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16403
16404 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16405 under [__USE_EXTERN_INLINES].
16406
a4647e72
UD
164072011-12-17 Ulrich Drepper <drepper@gmail.com>
16408
16409 [BZ #13446]
16410 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16411
f0b264f1
AZ
164122011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16413
16414 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16415 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16416 optimized code.
16417 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16418 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16419 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16420 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16421 for strncasecmp/strncasecmp_l compilation.
16422 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16423 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16424
8ef4f244
MP
164252011-12-08 Marek Polacek <mpolacek@redhat.com>
16426
16427 [BZ #13484]
16428 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16429 of __asm__.
16430
97ac2654
UD
164312011-12-17 Ulrich Drepper <drepper@gmail.com>
16432
16433 [BZ #13506]
16434 * time/tzfile.c (__tzfile_read): Check values from file header.
16435
91d2a845
WS
164362011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16437
16438 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16439 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16440 * powerpc/powerpc32/dl-start.S: Likewise.
16441 * powerpc/powerpc32/elf/start.S: Likewise.
16442 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16443 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16444 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16445 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16446 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16447 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16448 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16449 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16450 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16451 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16452 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16453 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16454 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16455 * powerpc/powerpc32/memset.S: Likewise.
16456 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16457 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16458 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16459 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16460 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16461 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16462 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16463 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16464 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16465 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16466 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16467 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16468 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16469
a1267ba1
AZ
164702011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16471
16472 * math/libm-test.inc: Added more nearbyint tests.
16473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16474 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16476 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16477
ad8ac1bd
RL
164782011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16479
16480 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16481 FD_CLOEXEC.
16482
1d3e4b61
UD
164832011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16484
16485 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16486 Add wcscpy-ssse3 wcscpy-c.
16487 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16488 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16489 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16490 * sysdeps/x86_64/wcschr.S: New file.
16491 * sysdeps/x86_64/wcsrchr.S: New file.
16492 * string/test-strcmp.c: Remove checking of wcscmp function for
16493 wrong alignments.
16494 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16495 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16496 wcsrchr-sse2 wcsrchr-c.
16497 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16498 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16499 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16500 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16501 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16502 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16503 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16504 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16505 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16506 * wcsmbc/wcschr.c (WCSCHR): New macro.
16507
5b330a2d
UD
165082011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16509
16510 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16511 * wcsmbs/test-wcsrchr.c: New file.
16512 * string/test-strrchr.c: Add wcsrchr support.
16513 (WIDE): New macro.
16514 * wcsmbs/test-wcscpy.c: New file.
16515 * string/test-strcpy.c: Add wcscpy support.
16516 (WIDE): New macro.
26428b7c 16517
f039c043
UD
165182011-12-10 Ulrich Drepper <drepper@gmail.com>
16519
16520 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16521 the inner loop.
16522
850fb039
AS
165232011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16524
16525 [BZ #13472]
16526 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16527
4efbd5cb
UD
165282011-12-04 Ulrich Drepper <drepper@gmail.com>
16529
52ff5dd0 16530 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16531 Minor optimizations.
52ff5dd0 16532
4efbd5cb
UD
16533 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16534 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16535 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16536
8a426e12
UD
165372011-12-03 Ulrich Drepper <drepper@gmail.com>
16538
aff2453d
UD
16539 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16540 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16541 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16542 for gcc to avoid warnings.
16543 * inet/Makefile (tests): Add tst-checks.
16544 * inet/tst-checks.c: New file.
16545
16546 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16547 warning.
16548
16549 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16550 __wmemcmp_sse2.
16551
16552 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16553 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16554
8a426e12
UD
16555 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16556
9bea3473
UD
165572011-12-02 Ulrich Drepper <drepper@gmail.com>
16558
3a965496
UD
16559 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16560 problem.
16561
9bea3473
UD
16562 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16563
f101631b
UD
165642011-11-29 Joseph Myers <joseph@codesourcery.com>
16565
16566 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16567 conditional on GCC version.
16568 (__arch_compare_and_exchange_val_8_acq)
16569 (__arch_compare_and_exchange_val_16_acq)
16570 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16571 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16572 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16573
a98275aa
UD
165742011-12-02 Joseph Myers <joseph@codesourcery.com>
16575
16576 * sysdeps/sh/backtrace.c: New file.
16577
d4cc29a2
AS
165782011-12-02 Andreas Schwab <schwab@redhat.com>
16579
16580 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16581 parenthesis.
16582
6257af2d
AS
165832011-12-01 Andreas Schwab <schwab@redhat.com>
16584
16585 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16586 falling back to utime.
16587
b5f44c1a
AS
165882011-11-30 Andreas Schwab <schwab@redhat.com>
16589
16590 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16591 expectations for float.
16592
f3a6cc0a
AS
165932011-11-29 Andreas Schwab <schwab@redhat.com>
16594
16595 * locale/weight.h (findidx): Add parameter len.
16596 * locale/weightwc.h (findidx): Likewise.
16597 * posix/fnmatch_loop.c (FCT): Adjust caller.
16598 * posix/regcomp.c (build_equiv_class): Likewise.
16599 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16600 * posix/regexec.c (check_node_accept_bytes): Likewise.
16601 * string/strcoll_l.c (STRCOLL): Likewise.
16602 * string/strxfrm_l.c (STRXFRM): Likewise.
16603
9d65ea3a
UD
166042011-11-17 Ulrich Drepper <drepper@gmail.com>
16605
16606 * Makefile.in: Remove CVSOPT handling.
16607 * configure.in: Remove use of AC_REVISION.
16608 * iconvdata/Makefile (distribute): No need to filter out CVS.
16609 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16610 handling.
16611
5583a086
AS
166122011-11-16 Andreas Schwab <schwab@redhat.com>
16613
16614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16615 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16616 [USE_AS_STRNCASECMP_L]: Likewise.
16617 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16618 NO_TLS_DIRECT_SEG_REFS.
16619 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16620 Fix argument offsets for non-PIC.
16621 [USE_AS_STRNCASECMP_L]: Likewise.
16622 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16623 NO_TLS_DIRECT_SEG_REFS.
16624
d62a8200
UD
166252011-11-15 Ulrich Drepper <drepper@gmail.com>
16626
9d65ea3a 16627 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16628 O_CLOEXEC.
16629 * locale/loadlocale.c (_nl_load_locale): Likewise.
16630
09f93bd3
AS
166312011-11-15 Andreas Schwab <schwab@redhat.com>
16632
446514f9
AS
16633 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16634 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16635 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16636 (SYSCALL_GETTIME): Set errno on error.
16637
09f93bd3
AS
16638 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16639 count references to noai6ai_cached.
16640
312be3f9
UD
166412011-11-15 Ulrich Drepper <drepper@gmail.com>
16642
16643 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16644
16645 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16646 FD_CLOEXEC for /proc/self/maps.
16647
16648 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16649 FD_CLOEXEC for /proc/meminfo.
16650
16651 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16652 gai.conf.
16653
16654 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16655 FD_CLOEXEC for given file.
16656
16657 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16658
16659 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16660 FD_CLOEXEC for /etc/hosts.
16661 (_gethtent): Likewise.
16662
16663 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16664
16665 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16666 cancellation and set FD_CLOEXEC for /etc/netgroup.
16667
16668 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16669 reading /etc/publickey.
16670
16671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16672 allow cancellation when reading /etc/group.
16673
16674 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16675 cancellation.
16676 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16677
16678 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16679 when using data file.
16680
16681 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16682
16683 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16684 (write_nis_obj): Use "c" and "e" in fopen.
16685
16686 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16687
16688 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16689
16690 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16691
16692 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16693
16694 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16695 locale.alias.
16696
16697 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16698
16699 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16700
16701 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16702
16703 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16704 file parsing and set FD_CLOEXEC.
16705
82af0fa8
UD
167062011-11-14 Ulrich Drepper <drepper@gmail.com>
16707
16708 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16709
a5fb313c
AS
167102011-11-14 Andreas Schwab <schwab@redhat.com>
16711
16712 * malloc/arena.c (arena_get2): Don't call reused_arena when
16713 _int_new_arena failed.
16714
6abf3465
UD
167152011-11-14 Ulrich Drepper <drepper@gmail.com>
16716
16717 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16718 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16719 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16720 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16721 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16723 to compile strcasecmp and strncasecmp.
16724 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16725 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16726
16727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16728
76e3966e
UD
167292011-11-13 Ulrich Drepper <drepper@gmail.com>
16730
16731 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16732 locale-defines.sym to gen-as-const-headers.
16733 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16734 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16736 to compile strcasecmp and strncasecmp.
16737 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16738 strcasecmp_l and strncasecmp_l.
16739 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16740 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16741 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16742 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16743 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16744 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16745 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16746 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16747 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16748 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16749 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16750
ab26144e
UD
167512011-11-12 Ulrich Drepper <drepper@gmail.com>
16752
7edb22ef
UD
16753 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16754 result of SYSDEP_GETTIME_CPU to retval.
16755 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16756 parameter list to macro. Remove trailing semicolon. Adjust users.
16757
9694fc44
UD
16758 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16759 variable.
16760
8ad89ef8
UD
16761 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16762 mantissa words.
16763 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16764
0c822ef9
UD
16765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16766 from unused variable.
16767
874e0564
UD
16768 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16769 DWARF definitions.
16770 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16771 for assembling.
16772
3a2edc79
UD
16773 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16774 over namespaces.
16775
f3c2577f
UD
16776 * sunrpc/rpc_prot.c (rejected): Fix case value.
16777
294ce126
UD
16778 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16779 unsigned long long int to avoid warnings in shift.
16780
5e2b63c6
UD
16781 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16782 of use of trans.
16783 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16784 variable tmp.
16785
e7f4b08e
UD
16786 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16787 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16788 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16789
ab26144e
UD
16790 * nis/nis_table.c (nis_list): Use variable of correct type for
16791 result of __follow_path call.
16792
8a6d5255
AZ
167932011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16794
16795 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16796 of math functions ceil, trunc, floor, round, and sqrt, when
16797 avaliable on the platform.
16798 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16799 name clash.
16800 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16801 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16802 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16803
aaddc98c
MP
168042011-10-30 Marek Polacek <mpolacek@redhat.com>
16805
16806 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16807 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16808
95b7042b
RM
168092011-11-11 Roland McGrath <roland@hack.frob.com>
16810
16811 * include/unistd.h: Fix __readlink return type.
16812 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16813
57769839
UD
168142011-11-11 Ulrich Drepper <drepper@gmail.com>
16815
16816 * stdlib/ucontext.h: Undo last change for makecontext.
16817
edc5984d
AS
168182011-11-11 Andreas Schwab <schwab@redhat.com>
16819
98591e58
AS
16820 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16821
edc5984d
AS
16822 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16823 * setjmp/setjmp.h: Mark functions as non-leaf.
16824 * setjmp/bits/setjmp2.h: Likewise.
16825 * stdlib/ucontext.h: Likewise.
16826
77cdc054
AS
168272011-11-10 Andreas Schwab <schwab@redhat.com>
16828
16829 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16830 (reused_arena): Don't check arena limit.
16831 (arena_get2): Atomically check arena limit.
16832
fe72eebd
UD
168332011-11-08 Ulrich Drepper <drepper@gmail.com>
16834
5f078c32
UD
16835 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16836 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16837
fe72eebd
UD
16838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16839 instructions.
16840
ae1bc2fa
AS
168412011-11-07 Andreas Schwab <schwab@redhat.com>
16842
7583a88d
AS
16843 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16844 handler when locking.
16845
ae1bc2fa
AS
16846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16847 Fix size of allocated buffer.
16848
10fb0bfa
AS
168492011-11-04 Andreas Schwab <schwab@redhat.com>
16850
998832a4
AS
16851 [BZ #10103]
16852 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16853 declarations for long double functions.
16854 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16855
10fb0bfa
AS
16856 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16857
3d7ba52b
AS
168582011-11-03 Andreas Schwab <schwab@redhat.com>
16859
a9ae54a1
AS
16860 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16861 installed.
16862
3d7ba52b
AS
16863 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16864 is disabled.
16865
bc8db248
ST
168662011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16867
16868 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16869
45b96dd6
AS
168702011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16871
647776f6
AS
16872 * include/alloca.h (stackinfo_alloca_round): Define.
16873 (extend_alloca): Use it.
16874 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16875 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16876 here.
16877
d91a8b93
AS
16878 * scripts/check-local-headers.sh: Ignore libaudit.h.
16879
45b96dd6
AS
16880 * nscd/Makefile (extra-objs): Make recursively expanded.
16881
432d41ce
UD
168822011-11-01 Ulrich Drepper <drepper@gmail.com>
16883
34372fc6
UD
16884 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16885 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16886
fadb59f8
UD
16887 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16888 * posix/tst-rfc3484-2.c: Likewise.
16889 * posix/tst-rfc3484-3.c: Likewise.
16890
78239589
UD
16891 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16892 process_vm_writev.
16893 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16894 process_vm_writev.
16895 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16896 process_vm_writev from libc using GLIBC_2.15 version.
16897
432d41ce
UD
16898 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16899
02f9c6cf
PP
169002011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16901
16902 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16903 stack usage.
16904
3a2c0242
UD
169052011-10-31 Ulrich Drepper <drepper@gmail.com>
16906
f4ec4833
UD
16907 [BZ #13367]
16908 * nss/getent.c (initgroups_keys): Show error message in case no group
16909 names are given.
16910
3a2c0242
UD
16911 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16912 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16913 __bump_nl_timestamp.
16914 * nscd/connections (nscd_init): When host database is served open
16915 netlink socket and request notification about configuration changes.
16916 (main_loop_poll): Track netlink file descriptor and bump timestamp
16917 in case data becomes available.
16918 (main_loop_epoll): Likewise.
16919 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16920 (database_pers_head): Add extra_data fileds.
16921 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16922 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16923 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16924 Adjust caller.
16925 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16926 in6ai data, call __free_in6ai.
16927 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16928 Add -DHAVE_NETLINK.
16929 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16930 interface information. Reuse previous data if netlink timestamp
16931 is not changed.
16932 (__bump_nl_timestamp): New function.
16933 (__free_in6ai): New function.
16934
636064eb
UD
169352011-10-30 Ulrich Drepper <drepper@gmail.com>
16936
16937 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16938 close_not_cancel_no_status here.
16939 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16940
9beb2334
UD
169412011-10-29 Ulrich Drepper <drepper@gmail.com>
16942
6ef76f3b
UD
16943 [BZ #13276]
16944 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16945 return value.
16946
0ffc4f3e 16947 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16948 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16949 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16950
cb95113e
UD
169512011-07-03 Andreas Jaeger <aj@suse.de>
16952
16953 [BZ #10709]
16954 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16955 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16956 * math/libm-test.inc (sin_test): Add test case.
16957
a1b560ff
UD
169582011-10-29 Ulrich Drepper <drepper@gmail.com>
16959
c9aaface
UD
16960 [BZ #13337]
16961 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16962 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16963
d272e7f1
UD
16964 * elf/chroot_canon.c (chroot_canon): Cleanups.
16965
1bc33071
UD
16966 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16967
1760874d
TJ
16968 [BZ #13335]
16969 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16970 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16971
51d91b18
UD
16972 * string/test-strchr.c: Make usable for strchrnul testing.
16973 * string/test-strchrnul.c: New file.
16974 * string/Makefile (strop-tests): Add strchrnul.
16975
a1b560ff 16976 * po/it.po: Update from translation team.
b611fb81 16977 * po/es.po: Likewise.
a1b560ff 16978
a5b81e1f
UD
169792011-10-28 Ulrich Drepper <drepper@gmail.com>
16980
fd52bc6d
UD
16981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16982 the three constants needed as parameters. Drop the others.
16983 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16984 __m128i_strloadu_tolower.
52e4b9eb
UD
16985 Create and initialize variable zero and use it in all the places
16986 where _mm_setzero_si128 was used.
fd52bc6d 16987
a5b81e1f
UD
16988 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16989 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16990 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16991 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16992 anymore.
16993 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16994 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16995 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16996 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16997 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16998 __mpranred, __mptan.
16999 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17000 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17001 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17002 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17003 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17004 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17005 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17006 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17007 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17008
b4343346
AS
170092011-10-28 Andreas Schwab <schwab@redhat.com>
17010
0c92d8a8
AS
17011 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17012 redefine if SHARED.
17013 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17014
b4343346
AS
17015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17016 wide char related routines to wcsmbs subdir.
17017
3871f58f
AS
170182011-10-27 Andreas Schwab <schwab@redhat.com>
17019
17020 [BZ #13344]
17021 * misc/sys/cdefs.h (__THROWNL): Define.
17022 * posix/unistd.h: Use __THREADNL instead of __THREAD
17023 for memory synchronization functions.
17024
94d44d9f
RM
170252011-10-26 Roland McGrath <roland@hack.frob.com>
17026
21b64b15 17027 [BZ #13349]
94d44d9f
RM
17028 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17029 doesn't exist.
17030 * manual/stdio.texi (Obstack Streams): Node removed.
17031
f6ce9294
AS
170322011-10-26 Andreas Schwab <schwab@redhat.com>
17033
80479147
AS
17034 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17035 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17036 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17037
f6ce9294
AS
17038 * math/math_private.h (math_force_eval): Allow non-addressable
17039 arguments.
17040 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17041
618280a1
UD
170422011-10-25 Ulrich Drepper <drepper@gmail.com>
17043
e0016b11
UD
17044 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17045 file is not needed.
17046
17047 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17048 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17049 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17050 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17051 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17053 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17054 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17055 Add AVX variants.
17056 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17057 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17058 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17059 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17060 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17061 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17062 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17063 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17064 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17065 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17066 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17067 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17068 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17069 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17070 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17071 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17072 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17073 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17074 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17075
17076 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17077 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17078
618280a1
UD
17079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17080 place. Use VEX encoding when compiling for AVX.
17081
37822576
AS
170822011-10-25 Andreas Schwab <schwab@redhat.com>
17083
1f1e1947
AS
17084 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17085 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17086
37822576
AS
17087 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17088
31ea014d
UD
170892011-10-25 Ulrich Drepper <drepper@gmail.com>
17090
d7826aa1 17091 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17092 useless if() expression.
d7826aa1
UD
17093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17094 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17095 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17096 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17097 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17098 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17099 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17100 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17101 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17102 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17103 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17104 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17105 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17106 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17107 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17108 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17109 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17110 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17111 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17112
31ea014d
UD
17113 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17114
16437fec
AS
171152011-10-25 Andreas Schwab <schwab@redhat.com>
17116
17117 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17118 condition.
17119 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17120
31d3cc00
UD
171212011-10-25 Ulrich Drepper <drepper@gmail.com>
17122
17123 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17124 .text section. Avoid duplicate constants.
17125 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17135 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17137 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17140 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17142 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17148 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17149 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17150 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17151 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17152 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17153 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17154 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17155 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17156 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17157 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17158 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17159 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17160 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17161 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17163 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17164 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17165 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17166 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17167 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17168 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17169 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17170
58985aa9
UD
171712011-10-24 Ulrich Drepper <drepper@gmail.com>
17172
202c9deb
UD
17173 * sysdeps/x86_64/dla.h: Move to ...
17174 * sysdeps/x86_64/fpu/dla.h: ...here.
17175 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17176 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17177
af968f62
UD
17178 * config.make.in: Add have-mfma4 entry.
17179 * configure.in: Substitute libc_cv_cc_fma4.
17180 * math/Makefile (dbl-only-routines): Add sincostab.
17181 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17182 Use __sincostab not sincos.
17183 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17184 name is a macro.
17185 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17189 using __copysign.
17190 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17191 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17192 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17193 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17194 and __inv.
17195 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17196 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17197 __copysign.
17198 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17199 define aliases when function name is a macro.
17200 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17201 sysdeps/ieee754/dbl-64/sincos.tbl.
17202 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17203 fma4-enabled routines.
17204 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17205 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17206 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17207 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17208 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17209 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17211 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17213 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17214 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17215 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17216 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17217 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17219 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17220 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17221 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17222 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17223 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17224 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17225 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17227 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17228 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17229 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17231 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17232 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17233 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17234
58985aa9
UD
17235 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17236 rename.
17237 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17245
a201fbcf
AS
172462011-10-24 Andreas Schwab <schwab@redhat.com>
17247
17248 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17249
fc2ee42a
LD
172502011-10-23 Ulrich Drepper <drepper@gmail.com>
17251
bb3129bd
UD
17252 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17253
0275fff8
UD
17254 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17255 prediction.
17256 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17257
2fa2ae85
UD
17258 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17259 Remove unused variable magic_bits.
17260 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17261
fc2ee42a
LD
17262 * string/strnlen.c: Define and use STRNLEN macro.
17263 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17264 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17265 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17266 * wcsmbs/wcslen.c: Define and use WCSLEN.
17267 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17268 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17269 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17270 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17271 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17272 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17273 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17274
ce7dd29f
LD
172752011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17276
17277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17278 strnlen-sse2-no-bsf.
17279 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17280 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17281 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17282 Add strnlen support.
17283 (USE_AS_STRNLEN): New macro.
17284 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17285 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17286 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17287 * sysdeps/x86_64/wcslen.S: New file.
17288
979c70a3
MZ
172892011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17290
17291 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17292 XMM-moves are used for copying on small sizes.
17293
2d09f82f
LD
172942011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17295
17296 * wcsmbs/Makefile (strop-tests): Add wcschr.
17297 * wcsmbs/test-wcschr.c: New file.
17298 * string/test-strchr.c: Update.
17299 Add wcschr support.
17300 (WIDE): New macro.
17301
619fccca
LD
173022011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17303
2d09f82f 17304 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17305 * wcsmbs/test-wcslen.c: New file.
17306 * string/test-strlen.c: Update.
17307 Add wcslen support.
17308 (WIDE): New macro.
17309
09f699ea
UD
173102011-10-23 Ulrich Drepper <drepper@gmail.com>
17311
17312 * po/it.po: Update from translation team.
17313
95584d3b
LD
173142011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17315
17316 * sysdeps/x86_64/wcscmp.S: Update.
17317 Fix wrong comparison semantics.
17318 wcscmp shall use signed comparison not unsigned.
17319 Don't use substraction to avoid overflow bug.
17320 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17321 * wcsmbc/wcscmp.c: Likewise.
17322 * string/test-strcmp.c: Likewise.
17323 Add new tests to check cases with negative values.
17324
c8b3296b
UD
173252011-10-23 Ulrich Drepper <drepper@gmail.com>
17326
17327 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17328 * sysdeps/x86_64/dla.h: ...here. New file.
17329 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17330 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17338
246ad57a
AS
173392011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17340
17341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17342 __ynl_finite aliases.
17343
a1a87169
UD
173442011-10-22 Ulrich Drepper <drepper@gmail.com>
17345
0d355eb7
UD
17346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17347
a1a87169
UD
17348 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17349 define DLA_FMA.
17350 [DLA_FMA] (EMULV): Use DLA_FMA.
17351 [DLA_FMA] (MUL12): Use EMULV.
17352 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17353 that are not needed.
17354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17361
ee2aafe0
AS
173622011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17363
17364 * math/s_nan.c: Undef __nan.
17365 * math/s_nanf.c: Undef __nanf.
17366 * math/s_nanl.c: Undef __nanl.
17367 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17368 "math_private.h".
17369
bc62c2fb
UD
173702011-10-22 Ulrich Drepper <drepper@gmail.com>
17371
77425c63
UD
17372 * math/s_catan.c: Add branch predictions.
17373 * math/s_catanf.c: Likewise.
17374 * math/s_catanh.c: Likewise.
17375 * math/s_catanhf.c: Likewise.
17376 * math/s_catanhl.c: Likewise.
17377 * math/s_catanl.c: Likewise.
17378 * math/s_cexp.c: Likewise.
17379 * math/s_cexpf.c: Likewise.
17380 * math/s_cexpl.c: Likewise.
17381 * math/s_clog.c: Likewise.
17382 * math/s_clog10.c: Likewise.
17383 * math/s_clog10f.c: Likewise.
17384 * math/s_clog10l.c: Likewise.
17385 * math/s_clogf.c: Likewise.
17386 * math/s_clogl.c: Likewise.
17387 * math/s_csqrt.c: Likewise.
17388 * math/s_csqrtf.c: Likewise.
17389 * math/s_csqrtl.c: Likewise.
17390 * math/s_ctanf.c: Likewise.
17391 * math/s_ctanh.c: Likewise.
17392 * math/s_ctanhf.c: Likewise.
17393 * math/s_ctanhl.c: Likewise.
17394 * math/s_ctanl.c: Likewise.
17395
bc62c2fb
UD
17396 * math/math_private.h: Define __nan, __nanf, __nanl.
17397 * math/s_cacosh.c: Include <math_private.h>.
17398 * math/s_cacoshl.c: Likewise.
17399 * math/s_casinh.c: Likewise.
17400 * math/s_casinhf.c: Likewise.
17401 * math/s_casinhl.c: Likewise.
17402 * math/s_ccos.c: Rely entire on ccosh.
17403 * math/s_ccosf.c: Rely entire on ccoshf.
17404 * math/s_ccosl.c: Rely entirely on ccoshl.
17405 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17406 Remove tests for FE_INVALID.
17407 * math/s_ccoshf.c: Likewise.
17408 * math/s_ccoshl.c: Likewise.
17409 * math/s_csin.c: Likewise.
17410 * math/s_csinf.c: Likewise.
17411 * math/s_csinh.c Likewise.
17412 * math/s_csinhf.c: Likewise.
17413 * math/s_csinhl.c: Likewise.
17414 * math/s_csinl.c: Likewise.
17415 * math/s_ctan.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17417 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17419
8ec250a4
UD
174202011-10-21 Ulrich Drepper <drepper@gmail.com>
17421
c196fed8
UD
17422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17423 compilation problems.
17424
8ec250a4
UD
17425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17426 __builtin_expect.
17427
8d4f46c6
UD
174282011-10-20 Ulrich Drepper <drepper@gmail.com>
17429
ed72b654
UD
17430 * sysdeps/i386/configure.in: Test for -mfma4 option.
17431 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17432 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17433 COMMON_CPUID_INDEX_80000001.
17434 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17435 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17436 use it if FMA3 is not supported.
17437 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17438
8d4f46c6
UD
17439 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17440 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17441
d45c60c2
AS
174422011-10-20 Andreas Schwab <schwab@redhat.com>
17443
17444 [BZ #12892]
17445 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17446 it would create a cycle with a link time dependency.
17447
d9a4d2ab
UD
174482011-10-19 Ulrich Drepper <drepper@gmail.com>
17449
855d1560
UD
17450 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17451 instruction.
17452 * string/Makefile (strop-tests): Add rawmemchr.
17453 * string/test-rawmemchr.c: New file.
17454
d9a4d2ab
UD
17455 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17456 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17457 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17458 when compiling str{,n}casecmp and when AVX is available. Hook up
17459 new optimized code in initializers.
17460
8f3b1ffe
AS
174612011-10-19 Andreas Schwab <schwab@redhat.com>
17462
17463 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17464 __feraiseexcept instead of feraiseexcept.
17465
d38f1dba
UD
174662011-10-18 Ulrich Drepper <drepper@gmail.com>
17467
d9a8d0ab
UD
17468 * math/math_private.h: Define defaults for libc_fetestexcept and
17469 libc_feupdateenv.
17470 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17471 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17472 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17473 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17474 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17475 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17476 libc_fetestexcept and libc_feupdateenv.
17477
4855e3dd
UD
17478 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17479 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17480 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17481 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17482 libc_feholdexcept_setround.
17483
581d30e3
UD
17484 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17485 Add s_nearbyint-c and s_nearbyintf-c.
17486 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17487 nearbyintf inlines.
17488 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17490 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17491 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17492
d38f1dba
UD
17493 * math/math_private.h: Define defaults for libc_fegetround,
17494 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17495 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17496 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17497 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17498 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17499 standard functions.
17500 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17501 Remove comments and hacks for old compiler versions.
17502 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17503 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17504 libc_feholdexceptl.
17505
caa6c9d8
AS
175062011-10-18 Andreas Schwab <schwab@redhat.com>
17507
17508 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17509 (__feraiseexcept_renamed): Add __NTH.
17510 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17511 namespace violations.
17512
97c066e6
UD
175132011-10-17 Ulrich Drepper <drepper@gmail.com>
17514
99ce7b04
UD
17515 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17516
1004d182
UD
17517 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17518
228a984d
UD
17519 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17520 recently added interfaces.
17521 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17522
c8553a6a
UD
17523 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17524 about macro parameter expansion.
17525
ed22dcf6
UD
17526 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17527 __NO_MATH_INLINES is defined. Cleanups.
17528
17529 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17530 and __floorf is target has SSE4.1.
17531 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17532 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17533 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17534 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17535
b171c137
UD
17536 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17537 name.
17538 (floorf): Likewise.
17539
97c066e6
UD
17540 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17541
629f62ef
AS
175422011-10-17 Andreas Schwab <schwab@redhat.com>
17543
49a43d80
AS
17544 * misc/sys/cdefs.h: Fix last change.
17545
629f62ef
AS
17546 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17547 database lookup.
17548
e453f6cd
UD
175492011-10-16 Ulrich Drepper <drepper@gmail.com>
17550
aa78043a
UD
17551 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17552
ad0f5cad
UD
17553 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17554 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17556 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17559 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17560 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17561 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17562 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17563 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17564 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17565 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17566 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17567 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17568 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17569 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17570 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17571 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17572 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17573 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17574 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17575
17576 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17577 ceil, ceilf, floor, floorf.
17578
17579 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17580 Perform IRELATIVE relocations last.
17581
e453f6cd
UD
17582 * elf/do-rel.h: Add another parameter nrelative, replacing the
17583 local variable with the same name. Change name of the function
17584 to end in Rel or Rela (uppercase).
17585 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17586 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17587 elf_dynamic_do_##reloc function.
17588
fd5bdc09
UD
175892011-10-15 Ulrich Drepper <drepper@gmail.com>
17590
79b195b5
UD
17591 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17592 is sufficient, at least on modern CPUs.
17593
d4a28569
UD
17594 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17595
b61099b5
UD
17596 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17597 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17598
bcf01e6d
UD
17599 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17600 __expl_finite.
17601 * math/bits/math-finite.h: Add entries for exp.
17602 * math/e_expl.c: Add __*_finite alias.
17603 * sysdeps/i386/fpu/e_exp.S: Likewise.
17604 * sysdeps/i386/fpu/e_expf.S: Likewise.
17605 * sysdeps/i386/fpu/e_expl.c: Likewise.
17606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17607 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17608 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17610 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17611 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17612 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17613
ba1a0d59
UD
17614 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17615 is sufficient, at least on modern CPUs.
17616
fd5bdc09
UD
17617 * ctype/ctype-info.c (__ctype_init): Define.
17618 * include/ctype.h (__ctype_init): Declare.
17619 (__ctype_b_loc): The variable is always initialized.
17620 (__ctype_toupper_loc): Likewise.
17621 (__ctype_tolower_loc): Likewise.
17622 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17623 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17624
7872cfb0
AS
176252011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17626
b468825a
AS
17627 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17628
7872cfb0
AS
17629 * configure.in: Also look in $cxxmachine/include for C++ system
17630 headers.
17631
be13f7bf
LD
176322011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17633
17634 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17635 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17636 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17637 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17638 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17639 (USE_AS_WMEMCMP): New macro.
17640 Fixing indents.
17641 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17642 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17643 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17644 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17646 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17647 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17648 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17649 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17650 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17651 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17652 (USE_AS_WMEMCMP): New macro.
17653 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17654 * sysdeps/string/test-memcmp.c: Update.
17655 Fix simple_wmemcmp.
17656 Add new tests.
17657 * wcsmbs/wmemcmp.c: Update.
17658 (WMEMCMP): New macro.
17659 Fix overflow bug.
17660
556a2007
AJ
176612011-10-12 Andreas Jaeger <aj@suse.de>
17662
17663 [BZ #13268]
17664 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17665
538faaa7
UD
176662011-10-15 Ulrich Drepper <drepper@gmail.com>
17667
ab6737ff
UD
17668 * libio/iofwide.c (do_length): Avoid warning.
17669
538faaa7
UD
17670 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17671
396a21b1
UD
176722011-10-14 Ulrich Drepper <drepper@gmail.com>
17673
cdf2901f
UD
17674 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17675
38ad40ce
UD
17676 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17677 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17678 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17679 * sysdeps/i386/i686/fpu/e_log.S: New file.
17680 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17681 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17682
396a21b1
UD
17683 * ctype/ctype.h: Add support for inlined isXXX functions when
17684 compiling C++ code.
17685
6b1f68c9
AS
176862011-10-14 Andreas Schwab <schwab@redhat.com>
17687
349290c0
AS
17688 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17689
6b1f68c9
AS
17690 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17691
f2282d42
RM
176922011-10-13 Roland McGrath <roland@hack.frob.com>
17693
17694 [BZ #13291]
17695 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17696
5298ffa8
AS
176972011-10-13 Andreas Schwab <schwab@redhat.com>
17698
714fad23
AS
17699 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17700 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17701 feraiseexcept.
17702
81dcc7fb
AS
17703 * sysdeps/x86_64/memrchr.S: Check for zero size.
17704
5298ffa8
AS
17705 * string/stratcliff.c: Add memrchr tests.
17706
951fbcec
LD
177072011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17708
17709 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17710 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17711 rawmemchr-sse2 rawmemchr-sse2-bsf.
17712 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17713 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17714 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17715 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17716 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17717 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17718 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17719 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17720 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17721 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17722 * string/memrchr.c (MEMRCHR): New macro.
17723
0ac5ae23
UD
177242011-10-12 Ulrich Drepper <drepper@gmail.com>
17725
17726 Add integration with gcc's -ffinite-math-only and optimize wrapper
17727 functions in libm.
17728 * Versions.def: Define GLIBC_2.15 version for libm.
17729 * math/Makefile (headers): Add bits/math-finite.h.
17730 * math/bits/math-finite.h: New file.
17731 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17732 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17733 * math/e_acoshl.c: Add __*_finite alias.
17734 * math/e_acosl.c: Likewise.
17735 * math/e_asinl.c: Likewise.
17736 * math/e_atan2l.c: Likewise.
17737 * math/e_atanhl.c: Likewise.
17738 * math/e_coshl.c: Likewise.
17739 * math/e_exp10.c: Likewise.
17740 * math/e_exp10f.c: Likewise.
17741 * math/e_exp10l.c: Likewise.
17742 * math/e_exp2l.c: Likewise.
17743 * math/e_fmodl.c: Likewise.
17744 * math/e_gammal_r.c: Likewise.
17745 * math/e_hypotl.c: Likewise.
17746 * math/e_j0l.c: Likewise.
17747 * math/e_j1l.c: Likewise.
17748 * math/e_jnl.c: Likewise.
17749 * math/e_lgammal_r.c: Likewise.
17750 * math/e_log10l.c: Likewise.
17751 * math/e_log2l.c: Likewise.
17752 * math/e_logl.c: Likewise.
17753 * math/e_powl.c: Likewise.
17754 * math/e_sinhl.c: Likewise.
17755 * math/e_sqrtl.c: Likewise.
17756 * math/e_scalb.c: Completely rewritten and optimized.
17757 * math/e_scalbf.c: Likewise.
17758 * math/e_scalbl.c: Likewise.
17759 * math/w_acos.c: Likewise.
17760 * math/w_acosf.c: Likewise.
17761 * math/w_acosl.c: Likewise.
17762 * math/w_acosh.c: Likewise.
17763 * math/w_acoshf.c: Likewise.
17764 * math/w_acoshl.c: Likewise.
17765 * math/w_asin.c: Likewise.
17766 * math/w_asinf.c: Likewise.
17767 * math/w_asinl.c: Likewise.
17768 * math/w_atan2.c: Likewise.
17769 * math/w_atan2f.c: Likewise.
17770 * math/w_atan2l.c: Likewise.
17771 * math/w_atanh.c: Likewise.
17772 * math/w_atanhf.c: Likewise.
17773 * math/w_atanhl.c: Likewise.
17774 * math/w_exp10.c: Likewise.
17775 * math/w_exp10f.c: Likewise.
17776 * math/w_exp10l.c: Likewise.
17777 * math/w_fmod.c: Likewise.
17778 * math/w_fmodf.c: Likewise.
17779 * math/w_fmodl.c: Likewise.
17780 * math/w_j0.c: Likewise.
17781 * math/w_j0f.c: Likewise.
17782 * math/w_j0l.c: Likewise.
17783 * math/w_j1.c: Likewise.
17784 * math/w_j1f.c: Likewise.
17785 * math/w_j1l.c: Likewise.
17786 * math/w_jn.c: Likewise.
17787 * math/w_jnf.c: Likewise.
17788 * math/w_log.c: Likewise.
17789 * math/w_logf.c: Likewise.
17790 * math/w_logl.c: Likewise.
17791 * math/w_log10.c: Likewise.
17792 * math/w_log10f.c: Likewise.
17793 * math/w_log10l.c: Likewise.
17794 * math/w_log2.c: Likewise.
17795 * math/w_log2f.c: Likewise.
17796 * math/w_log2l.c: Likewise.
17797 * math/w_pow.c: Likewise.
17798 * math/w_powf.c: Likewise.
17799 * math/w_powl.c: Likewise.
17800 * math/w_remainder.c: Likewise.
17801 * math/w_remainderf.c: Likewise.
17802 * math/w_remainderl.c: Likewise.
17803 * math/w_scalb.c: Likewise.
17804 * math/w_scalbf.c: Likewise.
17805 * math/w_scalbl.c: Likewise.
17806 * math/w_sqrt.c: Likewise.
17807 * math/w_sqrtf.c: Likewise.
17808 * math/w_sqrtl.c: Likewise.
17809 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17810 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17811 used.
17812 * math/math_private.h: Declare __kernel_standard_f.
17813 * math/w_cosh.c: Remove cruft and optimize a bit.
17814 * math/w_coshf.c: Likewise.
17815 * math/w_coshl.c: Likewise.
17816 * math/w_exp2.c: Likewise.
17817 * math/w_exp2f.c: Likewise.
17818 * math/w_exp2l.c: Likewise.
17819 * math/w_hypot.c: Likewise.
17820 * math/w_hypotf.c: Likewise.
17821 * math/w_hypotl.c: Likewise.
17822 * math/w_lgamma.c: Likewise.
17823 * math/w_lgamma_r.c: Likewise.
17824 * math/w_lgammaf.c: Likewise.
17825 * math/w_lgammaf_r.c: Likewise.
17826 * math/w_lgammal.c: Likewise.
17827 * math/w_lgammal_r.c: Likewise.
17828 * math/w_sinh.c: Likewise.
17829 * math/w_sinhf.c: Likewise.
17830 * math/w_sinhl.c: Likewise.
17831 * math/w_tgamma.c: Likewise.
17832 * math/w_tgammaf.c: Likewise.
17833 * math/w_tgammal.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17835 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17836 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17837 Minor optimizations. Pretty printing. Remove cruft.
17838 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17839 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17840 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17841 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17842 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17843 * sysdeps/i386/fpu/e_asin.S: Likewise.
17844 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17845 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17846 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17847 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17848 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17849 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17850 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17851 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17852 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17853 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17854 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17855 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17856 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17857 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17858 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17859 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17860 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17861 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17862 * sysdeps/i386/fpu/e_log.S: Likewise.
17863 * sysdeps/i386/fpu/e_log10.S: Likewise.
17864 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17865 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17866 * sysdeps/i386/fpu/e_log2.S: Likewise.
17867 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17868 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17869 * sysdeps/i386/fpu/e_logf.S: Likewise.
17870 * sysdeps/i386/fpu/e_logl.S: Likewise.
17871 * sysdeps/i386/fpu/e_pow.S: Likewise.
17872 * sysdeps/i386/fpu/e_powf.S: Likewise.
17873 * sysdeps/i386/fpu/e_powl.S: Likewise.
17874 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17875 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17876 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17877 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17879 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17880 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17881 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17882 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17904 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17905 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17906 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17907 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17908 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17909 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17910 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17911 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17912 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17913 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17914 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17915 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17916 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17917 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17918 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17919 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17920 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17921 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17922 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17923 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17924 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17925 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17927 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17929 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17930 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17931 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17932 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17933 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17934 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17935 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17936 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17937 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17940 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17945 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17948 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17951 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17952 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17953 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17959 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17960 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17962 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17963 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17966 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17968 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17969 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17971 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17974 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17975 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17976 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17977 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17978 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17979 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17980 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17981 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17982 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17983 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17984 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17985 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17986 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17987 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17988 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17989 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17990 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17991 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17992 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17993 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17994 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17995 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17996 (__isnanf): Likewise.
17997 (__isinf_ns): Likewise.
17998 (__isinf_nsf): Likewise.
17999 (__finite): Likewise.
18000 (__finitef): Likewise.
18001 (__ieee754_sqrt): Define as macro.
18002 (__ieee754_sqrtf): Define as macro.
18003 (__ieee754_sqrtl): Define as macro.
18004 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18005 inlined copy.
18006 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18007 __FINITE_MATH_ONLY__ consistent.
18008 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18009
12cc2fcd
AS
180102011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18011
a843a204
AS
18012 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18013 of rawmemchr.
18014
12cc2fcd
AS
18015 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18016
c853acd5
UD
180172011-10-09 Ulrich Drepper <drepper@gmail.com>
18018
18019 * po/ja.po: Update from translation team.
18020
c658d255
RM
180212011-10-08 Roland McGrath <roland@hack.frob.com>
18022
110946e4
RM
18023 * locale/programs/locarchive.c (prepare_address_space): New function.
18024 (create_archive, enlarge_archive, open_archive): Use it.
18025
50604220
RM
18026 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18027 inside [SHARED], where it is used.
18028
c658d255
RM
18029 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18030
18031 * nss/getent.c (netgroup_keys): Remove unused variable.
18032 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18033
6a621eb7
UD
180342011-10-08 Ulrich Drepper <drepper@gmail.com>
18035
7edb55ce
UD
18036 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18037 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18038 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18039 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18040 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18041 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18042 * math/Makefile (libm-calls): Add s_isinf_ns.
18043 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18044 * math/multc3.c: Likewise.
18045 * math/s_casin.c: Likewise.
18046 * math/s_casinf.c: Likewise.
18047 * math/s_casinl.c: Likewise.
18048 * math/s_ccos.c: Likewise.
18049 * math/s_ccosf.c: Likewise.
18050 * math/s_ccosl.c: Likewise.
18051 * math/s_ctan.c: Likewise.
18052 * math/s_ctanf.c: Likewise.
18053 * math/s_ctanh.c: Likewise.
18054 * math/s_ctanhf.c: Likewise.
18055 * math/s_ctanhl.c: Likewise.
18056 * math/s_ctanl.c: Likewise.
18057 * math/w_fmod.c: Likewise.
18058 * math/w_fmodf.c: Likewise.
18059 * math/w_fmodl.c: Likewise.
18060 * math/w_remainder.c: Likewise.
18061 * math/w_remainderf.c: Likewise.
18062 * math/w_remainderl.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18064 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18065 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18067 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18068 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18069 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18070 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18071
187da0ae
UD
18072 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18073 of the number.
18074 * stdio-common/printf_fphex.c: Likewise.
18075 * stdio-common/printf_size.c: Likewise.
18076
9277c064
UD
18077 * math/e_exp10.c: Include math_private.h using <...> not "...".
18078 * math/e_exp10f.c: Likewise.
18079 * math/e_exp10l.c: Likewise.
18080 * math/e_exp2l.c: Likewise.
18081 * math/e_j0l.c: Likewise.
18082 * math/e_j1l.c: Likewise.
18083 * math/e_jnl.c: Likewise.
18084 * math/e_lgammal_r.c: Likewise.
18085 * math/e_rem_pio2l.c: Likewise.
18086 * math/e_scalb.c: Likewise.
18087 * math/e_scalbf.c: Likewise.
18088 * math/e_scalbl.c: Likewise.
18089 * math/k_cosl.c: Likewise.
18090 * math/k_sinl.c: Likewise.
18091 * math/k_tanl.c: Likewise.
18092 * math/s_cacoshf.c: Likewise.
18093 * math/s_catan.c: Likewise.
18094 * math/s_catanf.c: Likewise.
18095 * math/s_catanh.c: Likewise.
18096 * math/s_catanhf.c: Likewise.
18097 * math/s_catanhl.c: Likewise.
18098 * math/s_catanl.c: Likewise.
18099 * math/s_ccosh.c: Likewise.
18100 * math/s_ccoshf.c: Likewise.
18101 * math/s_ccoshl.c: Likewise.
18102 * math/s_cexp.c: Likewise.
18103 * math/s_cexpf.c: Likewise.
18104 * math/s_cexpl.c: Likewise.
18105 * math/s_clog.c: Likewise.
18106 * math/s_clog10.c: Likewise.
18107 * math/s_clog10f.c: Likewise.
18108 * math/s_clog10l.c: Likewise.
18109 * math/s_clogf.c: Likewise.
18110 * math/s_clogl.c: Likewise.
18111 * math/s_csin.c: Likewise.
18112 * math/s_csinf.c: Likewise.
18113 * math/s_csinh.c: Likewise.
18114 * math/s_csinhf.c: Likewise.
18115 * math/s_csinhl.c: Likewise.
18116 * math/s_csinl.c: Likewise.
18117 * math/s_csqrt.c: Likewise.
18118 * math/s_csqrtf.c: Likewise.
18119 * math/s_csqrtl.c: Likewise.
18120 * math/s_ctan.c: Likewise.
18121 * math/s_ctanf.c: Likewise.
18122 * math/s_ctanh.c: Likewise.
18123 * math/s_ctanhf.c: Likewise.
18124 * math/s_ctanhl.c: Likewise.
18125 * math/s_ctanl.c: Likewise.
18126 * math/s_ldexp.c: Likewise.
18127 * math/s_ldexpf.c: Likewise.
18128 * math/s_ldexpl.c: Likewise.
18129 * math/s_significand.c: Likewise.
18130 * math/s_significandf.c: Likewise.
18131 * math/s_significandl.c: Likewise.
18132 * math/w_acos.c: Likewise.
18133 * math/w_acosf.c: Likewise.
18134 * math/w_acosh.c: Likewise.
18135 * math/w_acoshf.c: Likewise.
18136 * math/w_acoshl.c: Likewise.
18137 * math/w_acosl.c: Likewise.
18138 * math/w_asin.c: Likewise.
18139 * math/w_asinf.c: Likewise.
18140 * math/w_asinl.c: Likewise.
18141 * math/w_atan2.c: Likewise.
18142 * math/w_atan2f.c: Likewise.
18143 * math/w_atan2l.c: Likewise.
18144 * math/w_atanh.c: Likewise.
18145 * math/w_atanhf.c: Likewise.
18146 * math/w_atanhl.c: Likewise.
18147 * math/w_cosh.c: Likewise.
18148 * math/w_coshf.c: Likewise.
18149 * math/w_coshl.c: Likewise.
18150 * math/w_dremf.c: Likewise.
18151 * math/w_exp10.c: Likewise.
18152 * math/w_exp10f.c: Likewise.
18153 * math/w_exp10l.c: Likewise.
18154 * math/w_exp2.c: Likewise.
18155 * math/w_exp2f.c: Likewise.
18156 * math/w_fmod.c: Likewise.
18157 * math/w_fmodf.c: Likewise.
18158 * math/w_fmodl.c: Likewise.
18159 * math/w_hypot.c: Likewise.
18160 * math/w_hypotf.c: Likewise.
18161 * math/w_hypotl.c: Likewise.
18162 * math/w_j0.c: Likewise.
18163 * math/w_j0f.c: Likewise.
18164 * math/w_j0l.c: Likewise.
18165 * math/w_j1.c: Likewise.
18166 * math/w_j1f.c: Likewise.
18167 * math/w_j1l.c: Likewise.
18168 * math/w_jn.c: Likewise.
18169 * math/w_jnf.c: Likewise.
18170 * math/w_jnl.c: Likewise.
18171 * math/w_lgamma.c: Likewise.
18172 * math/w_lgamma_r.c: Likewise.
18173 * math/w_lgammaf.c: Likewise.
18174 * math/w_lgammaf_r.c: Likewise.
18175 * math/w_lgammal.c: Likewise.
18176 * math/w_lgammal_r.c: Likewise.
18177 * math/w_log.c: Likewise.
18178 * math/w_log10.c: Likewise.
18179 * math/w_log10f.c: Likewise.
18180 * math/w_log10l.c: Likewise.
18181 * math/w_log2.c: Likewise.
18182 * math/w_log2f.c: Likewise.
18183 * math/w_log2l.c: Likewise.
18184 * math/w_logf.c: Likewise.
18185 * math/w_logl.c: Likewise.
18186 * math/w_pow.c: Likewise.
18187 * math/w_powf.c: Likewise.
18188 * math/w_powl.c: Likewise.
18189 * math/w_remainder.c: Likewise.
18190 * math/w_remainderf.c: Likewise.
18191 * math/w_remainderl.c: Likewise.
18192 * math/w_scalb.c: Likewise.
18193 * math/w_scalbf.c: Likewise.
18194 * math/w_scalbl.c: Likewise.
18195 * math/w_sinh.c: Likewise.
18196 * math/w_sinhf.c: Likewise.
18197 * math/w_sinhl.c: Likewise.
18198 * math/w_sqrt.c: Likewise.
18199 * math/w_sqrtf.c: Likewise.
18200 * math/w_sqrtl.c: Likewise.
18201 * math/w_tgamma.c: Likewise.
18202 * math/w_tgammaf.c: Likewise.
18203 * math/w_tgammal.c: Likewise.
18204
6a621eb7
UD
18205 * po/ja.po: Update from translation team.
18206
bf582445
AJ
182072011-09-29 Andreas Jaeger <aj@suse.de>
18208
f9efbf3a
AJ
18209 [BZ #13179]
18210 * sunrpc/netname.c (netname2host): Fix logic.
18211
bf582445
AJ
18212 [BZ #6779]
18213 [BZ #6783]
18214 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18215 correctly.
18216 * math/w_remainder.c (__remainder): Likewise.
18217 * math/w_remainderf.c (__remainderf): Likewise.
18218 * math/libm-test.inc (remainder_test): Add test cases.
18219
48693bea
AK
182202011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18221
18222 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18223 sdiv_qrnnd.
18224
42622229
LD
182252011-10-07 Ulrich Drepper <drepper@gmail.com>
18226
18227 * string/test-memcmp.c: Avoid unncessary #defines.
18228 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18229
093ecf92
LD
182302011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18231
18232 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18233 Use new sse2 version for core i3 - i7 as it's faster
18234 than sse42 version.
18235 (bit_Prefer_PMINUB_for_stringop): New.
18236 * sysdeps/x86_64/rawmemchr.S: Update.
18237 Replace with faster SSE2 version.
18238 * sysdeps/x86_64/memrchr.S: New file.
18239 * sysdeps/x86_64/memchr.S: Update.
18240 Replace with faster SSE2 version.
18241
fde56e5c
MP
182422011-09-12 Marek Polacek <mpolacek@redhat.com>
18243
18244 * elf/dl-load.c (lose): Add cast to avoid warning.
18245
21fd49a9
UD
182462011-10-07 Ulrich Drepper <drepper@gmail.com>
18247
5a06e643
UD
18248 * po/ca.po: Update from translation team.
18249
684ae515
UD
18250 * inet/getnetgrent_r.c: Hook up nscd.
18251 * nscd/Makefile (routines): Add nscd_netgroup.
18252 (nscd-modules): Add netgroupcache.
18253 (CFLAGS-netgroupcache.c): Define.
18254 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18255 (cache_search): Add const to second parameter.
18256 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18257 INNETGR.
18258 (dbs): Add netgrdb entry.
18259 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18260 (verify_persistent_db): Handle netgrdb.
18261 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18262 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18263 GETFDNETGR.
18264 (netgroup_response_header): Define.
18265 (innetgroup_response_header): Define.
18266 (datahead): Add netgroup_response_header and innetgroup_response_header
18267 elements.
18268 * nscd/nscd.conf: Add entries for netgroup cache.
18269 * nscd/nscd.h (dbtype): Add netgrdb.
18270 (_PATH_NSCD_NETGROUP_DB): Define.
18271 (netgroup_iov_disabled): Declare.
18272 (xmalloc, xcalloc, xrealloc): Move declarations here.
18273 (cache_search): Adjust prototype.
18274 Add netgroup-related prototypes.
18275 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18276 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18277 (__nscd_innetgr): Declare.
18278 * nscd/selinux.c (perms): Use access_vector_t as element type and
18279 add netgroup-related initializers.
18280 * nscd/netgroupcache.c: New file.
18281 * nscd/nscd_netgroup.c: New file.
18282 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18283 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18284 For four parameters use innetgr.
18285 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18286 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18287 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18288 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18289
21fd49a9
UD
18290 * nscd/connections.c (register_traced_file): Don't register file
18291 for disabled databases.
18292
054c0457
UD
182932011-10-06 Ulrich Drepper <drepper@gmail.com>
18294
32b63198
UD
18295 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18296
054c0457
UD
18297 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18298 from tree and freeing node.
18299
64031225
JO
183002011-09-25 Jiri Olsa <jolsa@redhat.com>
18301
18302 * nss/nsswitch.c (__nss_database_lookup): Handle
18303 nss_parse_service_list out of memory case.
18304
0490345c
JO
183052011-09-15 Jiri Olsa <jolsa@redhat.com>
18306
18307 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18308 out of memory case.
18309
3a62d00d
AS
183102011-10-04 Andreas Schwab <schwab@redhat.com>
18311
18312 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18313 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18314 pass it down.
18315 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18316 elf_machine_rela, elf_machine_lazy_rel.
18317 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18318 (ELF_DYNAMIC_DO_REL): Likewise.
18319 (ELF_DYNAMIC_DO_RELA): Likewise.
18320 (ELF_DYNAMIC_RELOCATE): Likewise.
18321 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18322 to ELF_DYNAMIC_DO_REL.
18323 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18324 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18325 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18326 elf_machine_rela.
18327 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18328 skip_ifunc, don't call ifunc function if non-zero.
18329 (elf_machine_rela): Likewise.
18330 (elf_machine_lazy_rel): Likewise.
18331 (elf_machine_lazy_rela): Likewise.
18332 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18333 (elf_machine_lazy_rel): Likewise.
18334 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18335 Likewise.
18336 (elf_machine_lazy_rel): Likewise.
18337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18338 Likewise.
18339 (elf_machine_lazy_rel): Likewise.
18340 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18341 (elf_machine_lazy_rel): Likewise.
18342 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18343 (elf_machine_lazy_rel): Likewise.
18344 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18345 (elf_machine_lazy_rel): Likewise.
18346 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18347 (elf_machine_lazy_rel): Likewise.
18348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18349 (elf_machine_lazy_rel): Likewise.
18350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18351 (elf_machine_lazy_rel): Likewise.
18352
68577918
UD
183532011-09-28 Ulrich Drepper <drepper@gmail.com>
18354
18355 * nss/nss_files/files-init.c (_nss_files_init): Use static
18356 initialization for all the *_traced_file variables.
18357
68822d74
AS
183582011-09-28 Andreas Schwab <schwab@redhat.com>
18359
18360 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18361
2056100b
RM
183622011-09-27 Roland McGrath <roland@hack.frob.com>
18363
18364 [BZ #13226]
18365 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18366
32c76b63
AS
183672011-09-27 Andreas Schwab <schwab@redhat.com>
18368
18369 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18370 Reread the line before reparsing it.
18371
bf972c9d
AS
183722011-09-26 Andreas Schwab <schwab@redhat.com>
18373
18374 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18375
e057a1b5
JM
183762011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18377 Maxim Kuvyrkov <maxim@codesourcery.com>
18378 Joseph Myers <joseph@codesourcery.com>
18379
18380 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18381 if needed for __stack_chk_guard.
18382
bc7e1c36
RM
183832011-09-19 Roland McGrath <roland@hack.frob.com>
18384
ecb1482f
RM
18385 * sysdeps/posix/spawni.c (script_execute): Always define it.
18386 It will be optimized away if unused.
18387 (maybe_script_execute): New function.
18388 (__spawni): Call it.
18389
bc7e1c36
RM
18390 * Makerules: Don't include tls.make.
18391 (config-tls): Always set to thread.
18392 * tls.make.c: File removed.
18393
1c3b002b
MF
183942011-09-19 Mike Frysinger <vapier@gentoo.org>
18395
18396 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18397 * config.make.in (CPPFLAGS-config): New substituted variable.
18398
2840865d
UD
183992011-09-15 Ulrich Drepper <drepper@gmail.com>
18400
88738eb6
UD
18401 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18402
cbf645a6 18403 [BZ #13192]
2840865d
UD
18404 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18405 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18406
b402e91a
RM
184072011-09-15 Roland McGrath <roland@hack.frob.com>
18408
18409 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18410 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18412 (CALL_FAIL): Likewise.
18413 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18414 (CALL_FAIL): Macro removed.
18415 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18416
4c1a1f71
UD
184172011-09-15 Ulrich Drepper <drepper@gmail.com>
18418
18419 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18420 for __FINITE_MATH_ONLY__ == 1.
18421
edc121be
AS
184222011-09-15 Andreas Schwab <schwab@redhat.com>
18423
18424 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18425 __ieee754_sqrt instead of sqrt.
18426 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18427 __ieee754_sqrtf instead of sqrtf.
18428 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18429 __floorf instead of floorf.
18430 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18431 __floorf, __truncf instead of floorf, truncf.
18432
cd205654
UD
184332011-09-14 Ulrich Drepper <drepper@gmail.com>
18434
ee4d0315
UD
18435 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18436
cd205654
UD
18437 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18438 __extern_always_inline.
18439 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18440 32-bit.
18441
48b67d71
AS
184422011-09-14 Andreas Schwab <schwab@redhat.com>
18443
18444 * elf/rtld.c (dl_main): Also relocate in dependency order when
18445 doing symbol dependency testing.
18446
1ae12c75
AS
184472011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18448
18449 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18450 Always define `refsym'.
18451
995a80df
AS
184522011-09-13 Andreas Schwab <schwab@redhat.com>
18453
e529793b
AS
18454 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18455 (__FD_ELT): Renamed from __FDELT.
18456 * misc/bits/select2.h (__FD_ELT): Likewise.
18457 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18458 __FD_MASK instead of __FDELT, __FDMASK.
18459 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18460 Likewise.
18461 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18462 Likewise.
18463
52d4fef8
AS
18464 * elf/Makefile (gen-ldd): Fix pattern.
18465
995a80df
AS
18466 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18467 (init_tls): Likewise.
18468
8682f8b0
UD
184692011-09-12 Ulrich Drepper <drepper@gmail.com>
18470
18471 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18472
de82006d
AS
184732011-09-12 Andreas Schwab <schwab@redhat.com>
18474
a7c8e6a1
AS
18475 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18476 `struct cmsghdr *' instead of `void *'.
18477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18478 Likewise.
18479
0f31fe77
AS
184802011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18481
18482 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18483 if non-absolute.
18484 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18485 ldd_rewrite_script.
0f31fe77 18486
32b4c839
UD
184872011-09-11 Ulrich Drepper <drepper@gmail.com>
18488
83cd1420
UD
18489 * configure.in: Remove --with-tls option.
18490 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18491 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18492 out in case it is missing.
18493 * sysdeps/ia64/elf/configure.in: Likewise.
18494 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18495 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18496 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18497 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18498 * sysdeps/sh/elf/configure.in: Likewise.
18499 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18500 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18501 * sysdeps/x86_64/elf/configure.in: Likewise.
18502 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18503 * sysdeps/mach/hurd/tls.h: Likewise.
18504
633f745d
UD
18505 [BZ #13067]
18506 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18507
f318beb8
UD
18508 [BZ #13090]
18509 * configure.in: Fix use of AC_INIT.
18510
32b4c839
UD
18511 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18512
3ce1f295
UD
185132011-09-10 Ulrich Drepper <drepper@gmail.com>
18514
bb016596
UD
18515 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18516 __set_errno.
8e58439c
UD
18517 * malloc/hooks.c: Likewise.
18518
aebae053 18519 [BZ #11929]
02d46fc4
UD
18520 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18521 variables statically.
18522 (narenas): Initialize.
18523 (list_lock): Initialize.
bb016596
UD
18524 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18525 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18526 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18527 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18528 Add initializers to main_arena and mp_.
18529 (malloc_state): Remove pagesize member. Change all users to use
18530 GLRO(dl_pagesize).
18531
18532 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18533 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18534 is always initialized.
18535
22a89187
UD
18536 * malloc/malloc.c: Removed unused configurations and dead code.
18537 * malloc/arena.c: Likewise.
18538 * malloc/hooks.c: Likewise.
02d46fc4 18539 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18540
d063d164
UD
18541 * include/tls.h: Removed. USE___THREAD must always be defined.
18542 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18543 * elf/dl-libc.c: Likewise.
18544 * elf/dl-tsd.c: Likewise.
18545 * include/errno.h: Likewise.
18546 * include/netdb.h: Likewise.
18547 * include/resolv.h: Likewise.
18548 * inet/herrno-loc.c: Likewise.
18549 * inet/herrno.c: Likewise.
18550 * malloc/arena.c: Likewise.
18551 * malloc/hooks.c: Likewise.
18552 * malloc/malloc.c: Likewise.
18553 * resolv/res-state.c: Likewise.
18554 * resolv/res_libc.c: Likewise.
18555 * sysdeps/i386/dl-machine.h: Likewise.
18556 * sysdeps/ia64/dl-machine.h: Likewise.
18557 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18558 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18559 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18560 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18561 * sysdeps/sh/dl-machine.h: Likewise.
18562 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18564 * sysdeps/unix/i386/sysdep.S: Likewise.
18565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18566 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18567 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18569 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18570 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18571 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18572 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18573 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18575 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18576 * sysdeps/x86_64/dl-machine.h: Likewise.
18577 * tls.make.c: Likewise.
18578
3ce1f295
UD
18579 * configure.in: Remove --with-__thread option. Make tests for
18580 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18581 tls_model attribute fail if no support is available. Remove
18582 USE_IN_LIBIO.
18583 * Makeconfig: Adjust for dropped configure option. All features are
18584 now mandatory.
18585 * Makerules: Likewise.
18586 * Versions.def: Likewise.
18587 * argp/argp-fmtstream.c: Likewise.
18588 * argp/argp-fmtstream.h: Likewise.
18589 * argp/argp-help.c: Likewise.
18590 * assert/assert.c: Likewise.
18591 * config.h.in: Likewise.
18592 * config.make.in: Likewise.
18593 * configure: Likewise.
18594 * configure.in: Likewise.
18595 * csu/Versions: Likewise.
18596 * csu/init.c: Likewise.
18597 * elf/tst-audit2.c: Likewise.
18598 * elf/tst-tls10.c: Likewise.
18599 * elf/tst-tls10.h: Likewise.
18600 * elf/tst-tls11.c: Likewise.
18601 * elf/tst-tls12.c: Likewise.
18602 * elf/tst-tls14.c: Likewise.
18603 * elf/tst-tlsmod11.c: Likewise.
18604 * elf/tst-tlsmod12.c: Likewise.
18605 * elf/tst-tlsmod13.c: Likewise.
18606 * elf/tst-tlsmod13a.c: Likewise.
18607 * elf/tst-tlsmod14a.c: Likewise.
18608 * elf/tst-tlsmod15b.c: Likewise.
18609 * elf/tst-tlsmod16a.c: Likewise.
18610 * elf/tst-tlsmod16b.c: Likewise.
18611 * elf/tst-tlsmod7.c: Likewise.
18612 * elf/tst-tlsmod8.c: Likewise.
18613 * elf/tst-tlsmod9.c: Likewise.
18614 * gmon/gmon.c: Likewise.
18615 * grp/fgetgrent_r.c: Likewise.
18616 * grp/putgrent.c: Likewise.
18617 * hurd/fopenport.c: Likewise.
18618 * include/libc-symbols.h: Likewise.
18619 * include/tls.h: Likewise.
18620 * intl/gettextP.h: Likewise.
18621 * intl/loadinfo.h: Likewise.
18622 * locale/global-locale.c: Likewise.
18623 * locale/localeinfo.h: Likewise.
18624 * mach/devstream.c: Likewise.
18625 * malloc/arena.c: Likewise.
18626 * malloc/set-freeres.c: Likewise.
18627 * misc/err.c: Likewise.
18628 * misc/getttyent.c: Likewise.
18629 * misc/mntent_r.c: Likewise.
18630 * posix/getopt.c: Likewise.
18631 * posix/wordexp.c: Likewise.
18632 * pwd/fgetpwent_r.c: Likewise.
18633 * resolv/Versions: Likewise.
18634 * resolv/res_hconf.c: Likewise.
18635 * shadow/fgetspent_r.c: Likewise.
18636 * shadow/putspent.c: Likewise.
18637 * stdio-common/printf_fphex.c: Likewise.
18638 * stdio-common/tmpfile.c: Likewise.
18639 * stdlib/abort.c: Likewise.
18640 * stdlib/fmtmsg.c: Likewise.
18641 * sunrpc/auth_unix.c: Likewise.
18642 * sunrpc/clnt_perr.c: Likewise.
18643 * sunrpc/clnt_tcp.c: Likewise.
18644 * sunrpc/clnt_udp.c: Likewise.
18645 * sunrpc/clnt_unix.c: Likewise.
18646 * sunrpc/openchild.c: Likewise.
18647 * sunrpc/svc_simple.c: Likewise.
18648 * sunrpc/svc_tcp.c: Likewise.
18649 * sunrpc/svc_udp.c: Likewise.
18650 * sunrpc/svc_unix.c: Likewise.
18651 * sunrpc/xdr.c: Likewise.
18652 * sunrpc/xdr_array.c: Likewise.
18653 * sunrpc/xdr_rec.c: Likewise.
18654 * sunrpc/xdr_ref.c: Likewise.
18655 * sunrpc/xdr_stdio.c: Likewise.
18656
1248c1c4
PB
186572011-09-09 Ulrich Drepper <drepper@gmail.com>
18658
18659 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18660
186612011-07-03 Andreas Jaeger <aj@suse.de>
18662
18663 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18664 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18665 regenerate with gen-libm-tests.pl.
18666
186672010-05-12 Petr Baudis <pasky@suse.cz>
18668
18669 [BZ #11589]
18670 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18671 around j0() zero points by switching to j1().
18672 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18673 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18675 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18676
f22e1074
UD
186772011-09-09 Ulrich Drepper <drepper@gmail.com>
18678
f19009c1
UD
18679 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18680 instead of 0.
18681 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18682 instead of 0. .
18683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18684 Patch in part by Pavel Roskin <proski@gnu.org>.
18685
3f8cc204
UD
18686 [BZ #13138]
18687 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18688 realloc.
18689 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18690 Free memory block if necessary.
18691
f22e1074
UD
18692 [BZ #12847]
18693 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18694 be NULL. Don't lock in this case.
18695
0a2349f9
RM
186962011-09-09 Roland McGrath <roland@hack.frob.com>
18697
18698 * elf/elf.h (ELFOSABI_GNU): New macro.
18699 (ELFOSABI_LINUX): Define to that.
18700
f3cdd467
DZ
187012011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18702
18703 * string/strncat.c (strncat): Undef the symbol in case it has been
18704 defined in bits/string.h.
18705
74718d13
UD
187062011-09-09 Ulrich Drepper <drepper@gmail.com>
18707
633e9e0f
UD
18708 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18709
0a2349f9 18710 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18711 link map.
18712
f9924780
AJ
187132011-08-17 Andreas Jaeger <aj@suse.de>
18714
18715 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18716
7f5517aa
PP
187172011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18718 Ian Lance Taylor <iant@google.com>
18719
18720 * math/libm-test.inc (lround_test): New testcase.
18721 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18722
762011fe
UD
187232011-09-08 Ulrich Drepper <drepper@gmail.com>
18724
92963737
UD
18725 * Makefile: Remove support for automatic cvs check-ins.
18726 * Makerules: Likewise.
18727 * config.make.in: Likewise.
18728 * configure.in: Likewise.
18729 * intl/Makefile: Likewise.
18730 * locale/Makefile: Likewise.
18731 * po/Makefile: Likewise.
18732 * posix/Makefile: Likewise.
18733 * sysdeps/gnu/Makefile: Likewise.
18734 * sysdeps/mach/hurd/Makefile: Likewise.
18735 * sysdeps/sparc/sparc32/Makefile: Likewise.
18736
b0727fd8
JS
18737 [BZ #13118]
18738 * posix/Makefile (bug-regex32-ENV): Define.
18739 Patch by John Stanley <jpsinthemix@verizon.net>.
18740
a0f33f99
UD
18741 * misc/Makefile (headers): Add bits/select2.h.
18742 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18743 * misc/bits/select2.h: New file.
18744 * include/bits/select2.h: New file.
18745 * debug/Makefile (routines): Add fdelt_chk.
18746 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18747 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18748 FD_ISSET.
18749 * debug/fdelt_chk.c: New file.
18750
762011fe
UD
18751 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18752 * wcsmbs/test-wmemcmp.c: Likewise.
18753 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18754 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18755
187562011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18757
18758 * string/Makefile (strop-tests): Add memcmp.
18759 * string/test-wmemcmp.c: New file.
18760 * string/test-memcmp.c: Add wmemcmp support.
18761
7f513ec8
RM
187622011-09-08 Roland McGrath <roland@hack.frob.com>
18763
0442afb4
RM
18764 [BZ #13153]
18765 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18766 2011-07-19 change.
18767
7f513ec8
RM
18768 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18769 garbage value in a __mach_port_mod_refs call in the cases of the
18770 task-self and thread-self ports.
18771
a12b2239
ST
187722011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18773
18774 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18775
610f9ab4
AS
187762011-09-08 Andreas Schwab <schwab@redhat.com>
18777
7f513ec8 18778 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18779
48882a1a
LD
187802011-09-07 Ulrich Drepper <drepper@gmail.com>
18781
b49865be
UD
18782 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18783
fdc86bc9
UD
18784 * elf/dl-libc.c (dlerror_run): Pass back error code from
18785 dl_catch_error.
18786
c966526a
UD
18787 [BZ #13123]
18788 * elf/dl-load.c (lose): Free l_origin if it is valid.
18789
48882a1a
LD
18790 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18791 names.
18792 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18794 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18795 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18796 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18797 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18798
77a2a8b4
AZ
187992011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18800
18801 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18802 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18803 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18804 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18805 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18806 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18807 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18808 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18809 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18810 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18811
24f579d8
AM
188122011-08-15 Alan Modra <amodra@gmail.com>
18813
18814 [BZ #13092]
18815 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18816 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18817 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18818 ppc_mcount to static-only-routines.
18819 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18820 __mcount_internal.
18821 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18822 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18823
3d4837df
UD
188242011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18825
18826 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18827 for finite and infinity parameters.
18828
22700377
WS
188292011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18830
18831 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18832 and add nop instructions for throughput optimization.
18833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18834
5025581e
WS
188352011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18836
18837 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18838 aligned copy for power7 with vector-scalar instructions.
18839 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18840
08a300c9
L
188412011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18842
18843 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18844 AVX check.
18845
59178ef9
AS
188462011-09-07 Andreas Schwab <schwab@redhat.com>
18847
18848 [BZ #13144]
18849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18850 last change.
18851
e38ba7ab
UD
188522011-09-07 Ulrich Drepper <drepper@gmail.com>
18853
18854 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18855 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18856 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18857 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18858 clock_gettime.
18859
d53a73ac
UD
188602011-09-06 Ulrich Drepper <drepper@gmail.com>
18861
fc8bffcc
UD
18862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18863 Forgot to demangle the pointer.
18864
ceaa0c5d
UD
18865 * sysdeps/i386/sysdep.h: Define atom_text_section.
18866 * sysdeps/x86_64/sysdep.h: Likewise.
18867 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18868 section with atom_text_section.
18869 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18870 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18871 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18872 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18873 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18874
a77d3c17
UD
18875 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18876 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18877 already be defined. Change to take two parameters and don't assign
18878 result to variable. Adjust all users.
18879 Define INTERNAL_GETTIME if not already defined.
18880 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18881 call.
18882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18883 HAVE_CLOCK_GETTIME_VSYSCALL.
18884 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18885
d53a73ac
UD
18886 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18887 gettimeofday vsyscall, just use time.
18888
a8f84144
AS
188892011-09-06 Andreas Schwab <schwab@redhat.com>
18890
18891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18892 <errno.h>.
18893
ef606249
UD
188942011-09-06 Ulrich Drepper <drepper@gmail.com>
18895
18896 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18897 syscall on x86-64.
18898 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18899 syscall.
18900 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18901 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18902 syscall if possible.
18903
6585cb60
UD
189042011-09-05 Ulrich Drepper <drepper@gmail.com>
18905
18906 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18907 e_ident. Don't pass to find_mapsXX.
18908 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18909
a5f524e4
LD
189102011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18911
18912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18913 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18914 * sysdeps/x86_64/multiarch/strchr.S: Update.
18915 Check bit_slow_BSF bit.
18916 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18917 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18918 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18919
554881ef
UD
189202011-09-05 Ulrich Drepper <drepper@gmail.com>
18921
d96de963
UD
18922 [BZ #13134]
18923 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18924 before glibc 2.15.
18925 (tryshell): Define.
18926 (__spawni): Change last parameter to be flag. Test
18927 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18928 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18929 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18930 * posix/spawni.c: Likewise.
18931 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18932 * posix/spawnp.c: Likewise. Change normal version to use
18933 SPAWN_XFLAGS_USE_PATH.
18934 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18935 SPAWN_XFLAGS_TRY_SHELL.
18936
d48e5868
UD
18937 [BZ #13150]
18938 * posix/glob.h: Remove gcc 1.x support.
18939
554881ef
UD
18940 [BZ #13068]
18941 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18942
693fb948
LD
189432011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18944
18945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18946 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18947 strrchr-sse2-bsf
18948 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18949 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18950 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18951 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18952 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18953 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18954
1b48c537
UD
189552011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18956
49d42c37
UD
18957 * sysdeps/x86_64/wcscmp.S: New file.
18958
1b48c537
UD
18959 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18960 wcscmp-c wcscmp-sse2
18961 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18962 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18963 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18964 * wcsmbs/wcscmp.c: Allow renaming.
18965
15c95c5d
DM
189662011-09-05 David S. Miller <davem@davemloft.net>
18967
18968 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18969 stack slot, rather than the struct return pointer slot.
18970 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18971 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18973 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18974
2f0ad8f3
UD
189752011-09-05 Ulrich Drepper <drepper@gmail.com>
18976
d88ae418
UD
18977 * po/ja.po: Update from translation team.
18978
2f0ad8f3
UD
18979 [BZ #13144]
18980 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18981 kernel in 64-bit binaries.
18982
5f4318d1
DM
189832011-09-01 David S. Miller <davem@davemloft.net>
18984
18985 * elf/elf.h (HWCAP_SPARC_*): Move to..
18986 * sysdeps/sparc/sysdep.h: this new file and add new values.
18987 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18988 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18989 _DL_HWCAP_COUNT to 24.
18990 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18991 entries.
18992 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18993 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18994 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18995 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18996 instead of magic constants.
18997 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18998
3ba57516
DM
189992011-08-31 David S. Miller <davem@davemloft.net>
19000
19001 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19003 Reimplement to do errno handling inline.
19004 (SYSCALL_ERROR_HANDLER): New macro.
19005 (__SYSCALL_STRING): Do not do errno handling in asm.
19006 (__CLONE_SYSCALL_STRING): Delete.
19007 (__INTERNAL_SYSCALL_STRING): Delete.
19008 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19009 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19010 (PSEUDO): Reimplement to do errno handling inline.
19011 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19012 (SYSCALL_ERROR_HANDLER): New macro.
19013 (__SYSCALL_STRING): Do not do errno handling in asm.
19014 (__CLONE_SYSCALL_STRING): Delete.
19015 (__INTERNAL_SYSCALL_STRING): Delete.
19016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19017 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19018 i386.
19019 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19020 (inline_syscall*): Add 'err' argument.
19021 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19022 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19023 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19024 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19025
19026 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19027 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19028
2bc17433
AS
190292011-08-30 Andreas Schwab <schwab@redhat.com>
19030
19031 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19032
fbeb5f4d
JO
190332011-08-29 Jiri Olsa <jolsa@redhat.com>
19034
19035 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19036 directive.
19037
ad69cc26
DM
190382011-08-24 David S. Miller <davem@davemloft.net>
19039
19040 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19041
39dd69df
AS
190422011-08-24 Andreas Schwab <schwab@redhat.com>
19043
19044 * elf/Makefile: Add rules to build and run unload8 test.
19045 * elf/unload8.c: New file.
19046 * elf/unload8mod1.c: New file.
19047 * elf/unload8mod1x.c: New file.
19048 * elf/unload8mod2.c: New file.
19049 * elf/unload8mod3.c: New file.
19050
19051 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19052 it wasn't used.
19053
2c0b250a
DM
190542011-08-23 David S. Miller <davem@davemloft.net>
19055
19056 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19057 subtract stack bias.
19058 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19059 %sp not %fp in calculations.
19060 (_JMPBUF_UNWINDS_ADJ): Likewise.
19061
22044b48
DM
19062 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19063 (aio_suspend): Call it to force an exception region around the
19064 AIO_MISC_WAIT() invocation.
19065
2cae4995
AS
190662011-08-23 Andreas Schwab <schwab@redhat.com>
19067
19068 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19069 backslash.
19070
873a772e
AJ
190712011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19072
19073 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19074 protection macro.
19075 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19076 and <dl-machine.h>.
19077 (Elf64_FuncDesc): Remove.
19078
25ad0df1
DM
190792011-08-22 David S. Miller <davem@davemloft.net>
19080
19081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19082 sigaltstack check, add missing cfi directives.
19083 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19084 missing cfi directives, and sigaltstack handling.
19085
e888bcbe
AS
190862011-08-16 Andreas Schwab <schwab@redhat.com>
19087
19088 [BZ #11724]
19089 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19090 object is seen twice.
19091 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19092
19093 * elf/Makefile (distribute): Add tst-initorder2.c.
19094 (tests): Add tst-initorder2.
19095 (modules-names): Add tst-initorder2a tst-initorder2b
19096 tst-initorder2c tst-initorder2d. Add rules to build them.
19097 ($(objpfx)tst-initorder2.out): New rule.
19098 * elf/tst-initorder2.c: New file.
19099 * elf/tst-initorder2.exp: New file.
19100
87162f46
AS
191012011-08-22 Andreas Schwab <schwab@redhat.com>
19102
70538b7f
AS
19103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19104
f55ffe58
AS
19105 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19106 dependencies back to end of function.
19107
87162f46
AS
19108 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19109 $(elfobjdir)/ld.so.
19110
91b392a4
UD
191112011-08-21 Ulrich Drepper <drepper@gmail.com>
19112
19113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19114 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19115 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19116 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19117 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19118 of __vdso_gettimeofday.
19119 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19120 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19121 attribute_hidden.
19122 (_libc_vdso_platform_setup): Remove initialization of
19123 __vdso_gettimeofday and __vdso_time.
19124
5c43483f
UD
191252011-08-20 Ulrich Drepper <drepper@gmail.com>
19126
775a77e7
UD
19127 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19128 and fgetc_unlocked.
19129 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19130 getc_unlocked.
89f447ed 19131
49c74ba9
UD
19132 * elf/dl-open.c (add_to_global): Report additions to the global scope
19133 for LD_DEBUG=scopes.
19134 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19135 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19136
5c43483f
UD
19137 [BZ #13114]
19138 * stdio-common/Makefile (tests): Add bug24.
19139 * stdio-common/bug24.c: New file.
19140
a101b025
AJ
191412011-08-19 Andreas Jaeger <aj@suse.de>
19142
19143 [BZ #13114]
19144 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19145 non-existant file when using close-on-exec mode.
19146
c88f1766
UD
191472011-08-20 Ulrich Drepper <drepper@gmail.com>
19148
0276a718
UD
19149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19150 the very first instruction.
19151
c88f1766
UD
19152 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19153 the CFI state in the end.
19154 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19155 inclusion of dl-trampoline.h.
19156 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19157
51ccffa0
AS
191582011-08-19 Andreas Schwab <schwab@redhat.com>
19159
94d7165f
AS
19160 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19161 expectations for long double.
19162
51ccffa0
AS
19163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19164 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19165
fd708658 191662011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19167
19168 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19169 artificual limit depends upon the system page size.
19170
44f0a71e
UD
191712011-08-17 Ulrich Drepper <drepper@gmail.com>
19172
19173 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19174 * resolv/Makefile: Define CFLAGS-libresolv.
19175
8de79a24
AS
191762011-08-17 Andreas Schwab <schwab@redhat.com>
19177
19178 * nss/makedb.c (compute_tables): Make variables used in nested
19179 function static.
19180
27724598
UD
191812011-08-17 Ulrich Drepper <drepper@gmail.com>
19182
c5305d88
UD
19183 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19184 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19185 if buffer was too small.
19186
27724598
UD
19187 * elf/pldd.c (main): Attach to all threads in the process.
19188 Rewrite /proc handling to use *at functions.
19189
076fe015
UD
191902011-08-16 Ulrich Drepper <drepper@gmail.com>
19191
174baab3
UD
19192 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19193 specifies first scope to show.
19194 (dl_open_worker): Update callers. Move printing scope of new
19195 object to before the relocation.
44f0a71e 19196 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19197 * sysdeps/generic/ldsodefs.h: Update declaration.
19198
076fe015
UD
19199 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19200 string for the scope number.
19201
a60df2c3
UD
192022011-08-14 Ulrich Drepper <drepper@gmail.com>
19203
19204 * nscd/servicescache.c (cache_addserv): Make sure written is always
19205 initialized.
19206
5e4287d1
RM
192072011-08-14 Roland McGrath <roland@hack.frob.com>
19208
85ae0589
RM
19209 * sysdeps/i386/i486/bits/atomic.h
19210 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19211 statement expression, so as to suppress "set but not used" warning.
19212 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19213
69f63097
RM
19214 * string/strncat.c (STRNCAT): Use prototype definition.
19215
675456ef
RM
19216 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19217 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19218 -Iprograms here.
19219 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19220 (localedef-modules): Add localedef.
19221 (locale-modules): Add locale.
19222
5e4287d1
RM
19223 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19224 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19225 to avoid a warning.
19226
9c96ff23
DM
192272011-08-14 David S. Miller <davem@davemloft.net>
19228
19229 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19230 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19231
f9ddf089
UD
192322011-08-13 Ulrich Drepper <drepper@gmail.com>
19233
44f0a71e 19234 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19235 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19236 * elf/rtld.c (dl_main): Set l_name of vDSO.
19237 Call _dl_show_scope when DL_DEBUG_SCOPES.
19238 (process_dl_debug): Recognize scopes flag and also set it for all.
19239 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19240 Declare _dl_show_scope.
19241
1dc27704
UD
19242 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19243 (do_dlopen): Pass caller_dlopen to dl_open.
19244 (__libc_dlopen_mode): Initialize caller_dlopen.
19245
f9ddf089
UD
19246 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19247 of libc. Make tolower call locale-independent. Optimize a bit by
19248 using isdigit instead of isalnum.
19249 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19250
9ac533d3
UD
192512011-08-12 Ulrich Drepper <drepper@gmail.com>
19252
19253 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19254 was a dependency or dynamically loaded.
19255
89edf2e9
UD
192562011-08-11 Ulrich Drepper <drepper@gmail.com>
19257
8e999d29
UD
19258 * intl/l10nflist.c: Allow architecture-specific pop function.
19259 * sysdeps/x86_64/l10nflist.c: New file.
19260
89edf2e9
UD
19261 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19262 classification.
19263
14d96785
AS
192642011-08-10 Andreas Schwab <schwab@redhat.com>
19265
19266 * include/dirent.h: Add libc_hidden_proto for scandirat and
19267 scandirat64. Don't declare __scandirat64.
19268 * dirent/scandirat.c: Add libc_hidden_def.
19269 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19270 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19271
6761ac04
DM
192722011-08-10 David S. Miller <davem@davemloft.net>
19273
19274 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19275 enum.
19276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19278 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19279
c55fbd1e
UD
192802011-08-09 Ulrich Drepper <drepper@gmail.com>
19281
19282 * Versions.def [libc]: Add GLIBC_2.15.
19283 * dirent/Makefile (routines): Add scandirat and scandirat64.
19284 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19285 GLIBC_2.15.
19286 * dirent/dirent.h: Declare scandirat and scandirat64.
19287 * dirent/scandirat.c: New file.
19288 * dirent/scandirat64.c: New file.
19289 * sysdeps/wordsize-64/scandirat.c: New file.
19290 * sysdeps/wordsize-64/scandirat64.c: New file.
19291 * dirent/opendir.c: Define opendirat.
19292 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19293 using scandirat.
19294 * dirent/scandir64.c: Adjust for scandir.c change.
19295 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19296 __scandirat64, and __scandir_cancel_handler.
19297 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19298 additional parameter and use openat instead of open (outside of ld.so).
19299 Add new __opendir as wrapper around __opendirat.
19300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19301 here without requiring old scandirat implementation.
19302
879165f2
UD
193032011-08-08 Ulrich Drepper <drepper@gmail.com>
19304
19305 * dirent/scandir.c (cancel_handler): Renamed to
19306 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19307 defined. Adjust users.
19308 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19310
cb7e923b
UD
193112011-08-04 Ulrich Drepper <drepper@gmail.com>
19312
16292edd
UD
19313 * string/test-string.h (IMPL): Use __STRING to expand name and then
19314 stringify it.
19315
cb7e923b
UD
19316 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19317 of cleanups.
19318
cff82933
LD
193192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19320
19321 * string/Makefile: Update.
19322 (strop-tests): Append strncat.
19323 * string/test-wcscmp.c: New file.
19324 New comprehensive test for wcscmp.
19325 * string/test-strcmp.c: Update.
19326 (WIDE): New define.
19327
9be9bfcc
AS
193282011-07-22 Andreas Schwab <schwab@redhat.com>
19329
19330 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19331 line.
19332
2e96f1c7
AS
193332011-07-26 Andreas Schwab <schwab@redhat.com>
19334
19335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19336 encoding to ACE if AI_IDN.
19337
85188888
JJ
193382011-08-01 Jakub Jelinek <jakub@redhat.com>
19339
19340 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19341 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19342
5fa16e9b
LD
193432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19344
19345 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19346 Fix overflow bug in strncat.
19347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19348
19349 * string/test-strncat.c: Update.
19350 Add new tests for checking overflow bugs.
19351
193522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19353
19354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19355 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19356 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19357 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19359 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19360 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19361 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19362 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19363
19364 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19365 (USE_AS_STRCAT): Define.
19366 Add strcat and strncat support.
19367 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19368
8c1a459f
AS
193692011-07-25 Andreas Schwab <schwab@redhat.com>
19370
19371 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19372 __n bigger than INT_MAX+1.
19373 (__strncmp_g): Likewise.
19374
bba33c28
UD
193752011-07-23 Ulrich Drepper <drepper@gmail.com>
19376
798be72d
UD
19377 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19378 * libio/stido.h: Likewise.
19379
8accd4dc
UD
19380 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19381 (AF_NFC): Define.
19382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19383 (AF_NFC): Define.
19384
cbff0d96
UD
19385 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19386 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19387 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19388 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19389 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19390
9191c04a
UD
19391 [BZ #13021]
19392 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19393 installed.
19394
bba33c28
UD
19395 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19396 typo.
19397 (_dl_x86_64_save_sse): Likewise.
19398
90f139dd
UD
193992011-07-22 Ulrich Drepper <drepper@gmail.com>
19400
1aae088a
UD
19401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19402 OSXSAVE.
19403 (_dl_x86_64_save_sse): Likewise.
19404
8e2045f5
UD
19405 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19406
90f139dd
UD
19407 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19408
1d002f25
AS
194092011-07-21 Andreas Schwab <schwab@redhat.com>
19410
19411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19412 change.
19413 (_dl_x86_64_save_sse): Use correct AVX check.
19414
21137f89
UD
194152011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19416
19417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19418 bug in strncpy/strncat.
19419 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19420
a65c0b7a
UD
194212011-07-21 Ulrich Drepper <drepper@gmail.com>
19422
19423 * string/tester.c (test_strcat): Add tests for different alignments
19424 of source and destination.
19425 (test_strncat): Likewise.
19426
6986b98a
UD
194272011-07-20 Ulrich Drepper <drepper@gmail.com>
19428
90bb2039
UD
19429 [BZ #12852]
19430 * posix/glob.c (glob): Check passed in values before using them in
19431 expressions to avoid some overflows.
19432 (glob_in_dir): Likewise.
19433
5644ef54
UD
19434 [BZ #13007]
19435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19436 check for AVX enablement so that we don't crash with old kernels and
19437 new hardware.
19438 * elf/tst-audit4.c: Add same checks here.
19439 * elf/tst-audit6.c: Likewise.
19440
19441 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19442
bfc9dc9b
AS
194432011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19444
19445 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19446
702e64bb
UD
194472011-07-20 Ulrich Drepper <drepper@gmail.com>
19448
19449 * po/cs.po: Update from translation team.
19450 * po/bg.po: Likewise.
19451
295e904f
MP
194522011-07-12 Marek Polacek <mpolacek@redhat.com>
19453
19454 * misc/sys/cdefs.h: Add support for const attribute.
19455 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19456 to gnu_dev_{major,minor,makedev} functions.
19457
3ff94596
MP
194582011-07-20 Marek Polacek <mpolacek@redhat.com>
19459
19460 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19461
28b59fca
AS
194622011-07-20 Andreas Schwab <schwab@redhat.com>
19463
19464 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19465 strlen results.
19466
19df733e
AK
194672011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19468
19469 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19470 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19471 register in order to avoid conflicts with the soft frame pointer
19472 being held in r11 when necessary.
19473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19474 (INTERNAL_VSYSCALL_NCS): Likewise.
19475
c8835729
MP
194762011-07-14 Marek Polacek <mpolacek@redhat.com>
19477
19478 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19479 * elf/dl-fini.c (_dl_fini): Adjust caller.
19480 * elf/dl-close.c (_dl_close_worker): Likewise.
19481 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19482
b902330c
MP
194832011-07-15 Marek Polacek <mpolacek@redhat.com>
19484
8991e135
MP
19485 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19486 "aux_cache->nlibs < 0".
19487
b902330c
MP
19488 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19489 in the reload-count case.
19490
99710781
LD
194912011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19492
19493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19494 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19495 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19496 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19497 * sysdeps/x86_64/multiarch/strcat.S: New file.
19498 * sysdeps/x86_64/multiarch/strncat.S: New file.
19499 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19500 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19501 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19502 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19503 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19504 (USE_AS_STRCAT): Define.
19505 Add strcat and strncat support.
19506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19508 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19509 * string/strncat.c: Update.
19510 (USE_AS_STRNCAT): Define.
19511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19512 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19513 and i7.
19514 * sysdeps/x86_64/multiarch/init-arch.h
19515 (bit_Prefer_PMINUB_for_stringop): New.
19516 (index_Prefer_PMINUB_for_stringop): Likewise.
19517 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19518 bit_Prefer_PMINUB_for_stringop.
19519
7dc6bd90
UD
195202011-07-19 Ulrich Drepper <drepper@gmail.com>
19521
19522 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19523 buffer64.
19524 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19525 of casting of buffer.
19526 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19527 buffer32 and buffer64.
19528 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19529 writes instead of casting of buffer.
19530 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19531 buffer32.
19532 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19533 casting of buffer.
19534
e0e72284
AS
195352011-07-19 Andreas Schwab <schwab@redhat.com>
19536
19537 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19538
feb1eb0b
UD
195392011-07-19 Ulrich Drepper <drepper@gmail.com>
19540
19541 * nscd/nscd.c (termination_handler): Don't do anything for a database
19542 if it has not yet been initialized.
19543
298711ff
UD
195442011-07-18 Ulrich Drepper <drepper@gmail.com>
19545
19546 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19547
195482011-07-15 Marek Polacek <mpolacek@redhat.com>
19549
19550 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19551
f9d68389
UD
195522011-07-18 Ulrich Drepper <drepper@gmail.com>
19553
19554 * po/nl.po: Update from translation team.
19555 * po/sv.po: Likewise.
19556
db290cf5
RM
195572011-07-16 Roland McGrath <roland@hack.frob.com>
19558
19559 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19560 now disallowed by GCC.
5c550700 19561
fd5e21c7
RM
19562 * configure.in (use-default-link): Default to yes if a test -shared
19563 link meets our qualifications.
19564 * configure: Regenerated.
19565
5c550700
RM
19566 * config.make.in (output-format): New variable.
19567 * configure.in: Check for ld --print-output-format support.
19568 * configure: Regenerated.
19569 * Makerules ($(common-objpfx)format.lds)
19570 [$(output-format) != unknown]: Just use $(output-format),
19571 instead of the linker-script munging.
19572
9fa2c032
RM
195732011-07-14 Roland McGrath <roland@hack.frob.com>
19574
a6928d51
RM
19575 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19576 of $(common-objpfx)shlib.lds.
19577 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19578
661607b3
RM
19579 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19580 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19581
9fa2c032
RM
19582 * configure.in (-z relro check): Adjust test code to add a large
19583 writable data section after it.
19584 * configure: Regenerated.
19585
defe9061
RM
195862011-07-11 Roland McGrath <roland@hack.frob.com>
19587
19588 * configure.in (-z relro check): Fix test code to make the variable
19589 truly const.
19590 * configure: Regenerated.
19591
319b9ad4
UD
195922011-07-11 Ulrich Drepper <drepper@gmail.com>
19593
19594 * nscd/nscd.h (struct traced_file): Define.
19595 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19596 elements. Add traced_files.
19597 (inotify_fd): Declare.
19598 (register_traced_file): Declare.
19599 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19600 (inotify_fd): Export.
19601 (resolv_conf_descr): Remove.
19602 (nscd_init): Move inotify descriptor creation to main.
19603 Don't register files for notification here.
19604 (register_traced_file): New function.
19605 (invalidate_cache): Don't use reset_res to determine whether to call
19606 res_init, go through the list of registered files.
19607 (main_loop_poll): The inotify descriptors are now stored in the
19608 structures for the traced files.
19609 (main_loop_epoll): Likewise
19610 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19611 to __nss_disable_nscd.
19612 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19613 for a database anymore. Check the records for all the registered
19614 files instead.
19615 * nss/Makefile (libnss_files-routines): Add files-init.
19616 (libnss_db-routines): Add db-init.
19617 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19618 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19619 * nss/nss_db/db-init.c: New file.
19620 * nss/nss_files/files-init.c: New file.
19621 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19622 __nss_lookup_function.
19623 (__nss_lookup_function): Call nss_load_library.
19624 (nss_load_all_libraries): New function.
19625 (__nss_disable_nscd): Take parameter with callback function for files
19626 to register. Set is_nscd. Load all the DSOs for the NSS modules
19627 used for the cached services.
19628 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19629 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19630 options for features to all the files in nscd.
19631
19632 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19633
23bee3e8
RM
196342011-07-10 Roland McGrath <roland@hack.frob.com>
19635
19636 * csu/elf-init.c (__libc_csu_init): Comment typo.
19637
46a5b7f0
UD
196382011-07-09 Ulrich Drepper <drepper@gmail.com>
19639
19640 * po/pl.po: Update from translation team.
19641 * po/ja.po: Likewise.
19642 * po/ru.po: Likewise.
19643 * po/ko.po: Likewise.
19644 * po/fr.po: Likewise.
19645
d30cf5bb
RM
196462011-07-09 Roland McGrath <roland@hack.frob.com>
19647
113ddea4
RM
19648 * configure.in (.ctors/.dtors header and trailer check):
19649 Use an empirical test on a built program.
19650 * configure: Regenerated.
19651
574920b4
RM
19652 * configure.in (-z relro check): Use an empirical test on a built DSO.
19653 Detect, but do not require, on ia64.
19654 * configure: Regenerated.
19655
d30cf5bb
RM
19656 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19657 Update tests that use readelf to use $READELF instead.
19658 * configure: Regenerated.
19659
8538fdb3
UD
196602011-07-08 Ulrich Drepper <drepper@gmail.com>
19661
19662 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19663 if the result is not used.
19664
04d08991
AJ
196652011-07-05 Andreas Jaeger <aj@suse.de>
19666
19667 [BZ#9696]
19668 * stdlib/tst-strtod.c: Add testcase.
19669
de283087
AD
196702011-07-07 Ulrich Drepper <drepper@gmail.com>
19671
4e5f31c8 19672 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19673 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19674 The latter has a higher limit. Take additional parameter to pass to
19675 the new function.
19676 (__pathconf): Pass file to __statfs_link_max.
19677 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19678 __statfs_link_max.
19679 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19680 __statfs_link_max.
19681
de283087
AD
19682 [BZ #12868]
19683 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19685 Handle Lustre.
19686 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19687 (__statfs_filesize_max): Likewise.
19688 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19689
c75fa153
AJ
196902011-07-05 Andreas Jaeger <aj@suse.de>
19691
19692 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19693
1a544854
UD
196942011-07-06 Marek Polacek <mpolacek@redhat.com>
19695
19696 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19697 `status' variable.
19698 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19699 Likewise.
19700
6f0eec67
UD
197012011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19702
19703 * Makefile (strop-tests): Add strncat.
19704 * string/test-strncat.c: New file.
19705
aae30307
UD
197062011-06-30 Marek Polacek <mpolacek@redhat.com>
19707
19708 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19709
c0cfb5eb
UD
197102011-06-21 Andreas Jaeger <aj@suse.de>
19711
19712 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19713 Copy rule from iconvdata/Makefile.
19714
01636b21
UD
197152011-07-06 Ulrich Drepper <drepper@gmail.com>
19716
19717 [BZ #12922]
19718 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19719 but no long options are defined, just return 'W'.
19720
9895c8bc
UD
197212011-06-22 Marek Polacek <mpolacek@redhat.com>
19722
19723 [BZ #9696]
19724 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19725
5d4cf042
UD
197262011-07-06 Ulrich Drepper <drepper@gmail.com>
19727
19728 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19729 netgroups to read.
960e5535 19730 (innetgr): Likewise.
5d4cf042 19731
751eb97e
RM
197322011-07-05 Roland McGrath <roland@hack.frob.com>
19733
19734 * config.make.in (install_root): Default to $(DESTDIR).
19735
f15f1e45
UD
197362011-07-05 Ulrich Drepper <drepper@gmail.com>
19737
19738 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19739
4e34ac6a
RM
197402011-07-02 Roland McGrath <roland@hack.frob.com>
19741
5e9b6af4
RM
19742 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19743
84f9ea0f
RM
19744 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19745 containing directory rather than embedding absolute directory names.
19746
ea5ee9f7
RM
19747 * scripts/check-local-headers.sh: Rewritten using awk.
19748 Match by word, not by line. Print error messages for matches.
19749 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19750
1b74661a
RM
19751 * Makerules [shlib-lds-flags empty]:
19752 ($(common-objpfx)libc_pic.opts): New target.
19753 ($(common-objpfx)libc_pic.os.clean): New target.
19754 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19755
19756 * config.make.in (OBJCOPY): New variable.
19757 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19758 * configure: Regenerated.
19759
f781ef40
RM
19760 * config.make.in (use-default-link): New variable.
19761 * configure.in (use_default_link): Grok --with-default-link to set it.
19762 * configure: Regenerated.
19763 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19764 (shlib-lds, shlib-lds-flags): Define to empty.
19765
2d4fa81e
RM
19766 * Makerules (shlib-lds): New variable.
19767 (shlib-lds-flags): New variable.
19768 (build-shlib, build-moduile, build-module-asneeded): Use it.
19769 ($(common-objpfx)libc.so): Use $(shlib-lds).
19770 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19771 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19772
31fffa6b
RM
19773 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19774 DT_FLAGS/DT_FLAGS_1 with zero flags.
19775
4e34ac6a
RM
19776 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19777 linker script munging.
19778
fcfc776b
UD
197792011-07-02 Ulrich Drepper <drepper@gmail.com>
19780
19781 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19782 as 128-bit value.
19783 * crypt/sha512.c (sha512_process_block): Perform total addition using
19784 128-bit if possible.
19785 (__sha512_finish_ctx): Likewise.
19786 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19787 as 64-bit value.
19788 * crypt/sha256.c (SWAP64): Define.
19789 (sha256_process_block): Perform total addition using 64-bit if
19790 possible.
19791 (__sha256_finish_ctx): Likewise.
19792
99231d9a
UD
197932011-07-01 Ulrich Drepper <drepper@gmail.com>
19794
19795 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19797 * nscd/hstcache.c (cache_addhst): Likewise.
19798 * nscd/grpcache.c (cache_addgr): Likewise.
19799 * nscd/aicache.c (addhstaiX): Likewise
19800 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19801
445b4a53
TK
198022011-07-01 Thorsten Kukuk <kukuk@suse.de>
19803
19804 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19805 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19806 * nscd/hstcache.c (cache_addhst): Likewise.
19807 * nscd/grpcache.c (cache_addgr): Likewise.
19808 * nscd/aicache.c (addhstaiX): Likewise
19809
6d4d8e8e
AS
198102011-07-01 Andreas Schwab <schwab@redhat.com>
19811
19812 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19813 domain only when needed.
19814
89f654c5
AS
198152011-06-30 Andreas Schwab <schwab@redhat.com>
19816
19817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19818 is always restored.
19819
cf3b23ff
UD
198202011-06-29 Ulrich Drepper <drepper@gmail.com>
19821
19822 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19823 are re-adding the entry.
19824 * nscd/servicescache.c (cache_addserv): Likewise.
19825
751626f9
AJ
198262011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19827
19828 * sysdeps/generic/dl-irel.h: fix protection against multiple
19829 inclusions.
19830 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19831
9113ea1f
UD
198322011-06-28 Ulrich Drepper <drepper@gmail.com>
19833
5c0b8d90
UD
19834 [BZ #12935]
19835 * malloc/memusage.sh: Fix quoting in message.
19836 * debug/xtrace.sh: Likewise.
19837
9113ea1f
UD
19838 * configure.in: Remove support for --experimental-malloc option, make
19839 it the default.
19840 * config.make.in: Likewise.
19841 * malloc/Makefile: Likewise.
19842
a4172181
AS
198432011-06-27 Andreas Schwab <schwab@redhat.com>
19844
19845 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19846 two-byte characters.
19847
78a7eee7
RM
198482011-06-27 Roland McGrath <roland@hack.frob.com>
19849
62bede13
RM
19850 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19851 AC_CACHE_CHECK invocation.
19852 * configure: Regenerated.
19853
78a7eee7
RM
19854 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19855
5ce33a62
UD
198562011-06-27 Ulrich Drepper <drepper@gmail.com>
19857
034807a9
UD
19858 [BZ #12350]
19859 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19860 bit from old_res_options.
19861
4902da17
UD
19862 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19863
5ce33a62
UD
19864 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19865 value type for setfct.
19866
c2344f56
L
198672011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19868
19869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19870 __gettimeofday instead of gettimeofday.
19871
68468076
UD
198722011-06-26 Ulrich Drepper <drepper@gmail.com>
19873
19874 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19875
acb0d739
L
198762011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19877
19878 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19879
19880 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19881 info.
19882
8912479f
L
198832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19884
19885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19886 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19887 strcpy-sse2-unaligned strncpy-sse2-unaligned
19888 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19889 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19890 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19891 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19892 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19893 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19894 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19895 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19896 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19897 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19898 (STRCPY): Support SSE2 and SSSE3 versions.
19899
d5495a11
UD
199002011-06-24 Ulrich Drepper <drepper@gmail.com>
19901
19902 [BZ #12874]
19903 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19904 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19905 kernels which artificially limit size of requests.
19906
0b1cbaae
L
199072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19908
19909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19910 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19911 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19912 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19913 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19914 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19915 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19916 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19917 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19918 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19919 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19920 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19921 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19922 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19923 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19925 Enable unaligned load optimization for Intel Core i3, i5 and i7
19926 processors.
19927 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19928 Define.
19929 (index_Fast_Unaligned_Load): Define.
19930 (HAS_FAST_UNALIGNED_LOAD): Define.
19931
07f494a0
MP
199322011-06-23 Marek Polacek <mpolacek@redhat.com>
19933
19934 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19935
fa3fc0fe
UD
199362011-06-22 Ulrich Drepper <drepper@gmail.com>
19937
19938 [BZ #12907]
19939 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19940 until it is clear that the information is realy needed.
19941 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19942
e12df166
AS
199432011-06-22 Andreas Schwab <schwab@redhat.com>
19944
19945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19946
852eb34d
UD
199472011-06-22 Ulrich Drepper <drepper@gmail.com>
19948
84e2a551
UD
19949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19950 /sys/devices/system/cpu/online if it is usable.
19951
852eb34d
UD
19952 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19953 reading the information from the /proc filesystem to once a second.
19954
6e502e19
UD
199552011-06-21 Andreas Jaeger <aj@suse.de>
19956
19957 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19958 NULL after inclusion of kernel headers.
19959
75d39ff2
UD
199602011-06-21 Ulrich Drepper <drepper@gmail.com>
19961
51f9aa6a
UD
19962 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19963 calls to internal_setent.
19964
c0244a9d
UD
19965 [BZ #12885]
19966 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19967 addresses using gethostbyname4_r ignore IPv4 addresses.
19968
c5e3c2ae
UD
19969 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19970 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19971
75d39ff2
UD
19972 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19973
42675c6f
DM
199742011-06-20 David S. Miller <davem@davemloft.net>
19975
19976 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19977 inclusions.
19978 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19979
19980 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19981 (elf_irel): Use it.
19982 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19983 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19984 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19985 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19986 * sysdeps/x86_64/dl-irel.h: Likewise.
19987
19988 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19989 * elf/dl-sym.c: Likewise.
19990
57912a71
UD
199912011-06-15 Ulrich Drepper <drepper@gmail.com>
19992
19993 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19994 need to dereference resplen2.
19995
ee22793d
AS
199962011-06-14 Andreas Schwab <schwab@redhat.com>
19997
19998 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19999
a9e836b0
UD
200002011-06-15 Ulrich Drepper <drepper@gmail.com>
20001
77fb9117
UD
20002 * Makeconfig: Define vardbdir and inst_vardbdir.
20003 * nss/Makefile: Add rules to install db-Makefile.
20004
40c1b22c
UD
20005 * nss/nss_db/db-XXX.c: Cleanup.
20006
9f2da732
UD
20007 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20008 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20009 GLIBC_PRIVATE.
20010 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20011 * nss/makedb.c: Implement -g option to specify that value strings
20012 are generated and should not be added to table iterated over for
20013 get*ent calls.
20014 * nss/nss_db/db-initgroups.c: New file.
20015
82e9a1f7
UD
20016 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20017 interface.
20018
c41af17e
UD
20019 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20020 (internal_getgrouplist): Adjust to name change.
20021 Update use_initgroups_entry if this is not the first call.
20022 * nss/databases.def: Add initgroups entry.
20023
a9e836b0
UD
20024 * nss/makedb.c (compute_tables): Check result of multiple hash table
20025 sizes to minimize maximum chain length.
20026
2666d441
UD
200272011-06-14 Ulrich Drepper <drepper@gmail.com>
20028
20029 * Versions.def: Add entry for libnss_db.
20030 * shlib-versions: Likewise.
20031 * nss/Makefile: Add rules to build libnss_db.
20032 * nss/Versions: Add libnss_db information. Organize libnss_files
20033 entries better.
20034 * nss/db-Makefile: Add gshadow support. Change rules for the new
20035 makedb progra. Some minor improvements to generate smaller files.
20036 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20037 here from...
20038 * nss/makedb.c: ...here.
20039 Improve database format to be smaller and require less memory at
20040 runtime.
20041 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20042 db anymore.
20043 * nss/nss_db/db-netgrp.c: Likewise.
20044 * nss/nss_db/db-open.c: Likewise.
20045 * nss/nss_files/flies-XXX.x: Adjust comments.
20046 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20047 * nss/nss_files/files-grp.c: Likewise.
20048 * nss/nss_files/files-hosts.c: Likewise.
20049 * nss/nss_files/files-network.c: Likewise.
20050 * nss/nss_files/files-proto.c: Likewise.
20051 * nss/nss_files/files-pwd.c: Likewise.
20052 * nss/nss_files/files-rpc.c: Likewise.
20053 * nss/nss_files/files-service.c: Likewise.
20054 * nss/nss_files/files-sgrp.c: Likewise.
20055 * nss/nss_files/files-spwd.c: Likewise.
20056 * nss/nss_db/db-alias.c: Removed.
20057 * nss/nss_db/dummy-db.h: Removed.
20058
9ee76b5a
UD
200592011-06-02 Ulrich Drepper <drepper@gmail.com>
20060
20061 * nss/makedb.c: Rewritten to not use database library.
20062 * nss/Makefile: Update to build new makedb program.
20063
c71ca1f8
AJ
200642011-06-14 Andreas Jaeger <aj@suse.de>
20065
20066 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20067 memset declaration.
20068
3154bfb8
UD
200692011-06-10 Andreas Schwab <schwab@redhat.com>
20070
20071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20072 tmpbuf.
20073
b350afab
RM
200742011-06-10 Roland McGrath <roland@hack.frob.com>
20075
decd4e50
RM
20076 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20077 * elf/Makefile ($(objpfx)ld.so): Likewise.
20078
5615eaf2
RM
20079 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20080 Don't list ld.so twice in dependencies.
20081
20082 * posix/bug-regex31.c: Include <stdlib.h>.
20083
20084 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20085
20086 * nis/nss_compat/compat-spwd.c
20087 (getspent_next_nss_netgr): Remove unused variable.
20088 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20089
20090 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20091 nonmembers" output to use the right array.
20092
20093 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20094
20095 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20096
20097 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20098 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20099 * catgets/gencat.c (read_input_file): Likewise.
20100 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20101
20102 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20103 variable definition inside #if's controlling its use.
20104
20105 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20106
20107 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20108
20109 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20110
20111 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20112 unreachable code.
20113
20114 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20115
b68e08db
RM
20116 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20117 * configure: Regenerated.
20118
b350afab
RM
20119 * Makerules: Revert last change.
20120 * elf/Makefile: Likewise.
20121
28368601
RM
201222011-06-09 Roland McGrath <roland@hack.frob.com>
20123
20124 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20125 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20126 (reloc-link): Likewise.
20127
11988f8f
UD
201282011-06-09 Ulrich Drepper <drepper@gmail.com>
20129
20130 * elf/Makefile: Add rules to build pldd.
20131 * elf/pldd.c: New file.
20132 * elf/pldd-xx.c: New file.
20133
e80fab37
UD
201342011-06-07 Ulrich Drepper <drepper@gmail.com>
20135
20136 * version.h: Update for 2.15 development version.
20137
9b849836
DM
201382011-06-07 David S. Miller <davem@davemloft.net>
20139
20140 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20141 ifuncs.
20142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20143 elf_machine_lazy_rel): Likewise.
20144 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20145 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20146 elf_machine_lazy_rel): Likewise.
20147 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20148 dl_hwcap via passed in argument.
20149 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20150 Likewise.
20151
5a31b283
AK
201522011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20153
20154 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20155
069e52f8
RM
201562011-06-06 Roland McGrath <roland@hack.frob.com>
20157
20158 [BZ #12849]
20159 * manual/fdl-1.1.texi: New file, verbatim from:
20160 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20161 * manual/lgpl-2.1.texi: New file, verbatim from:
20162 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20163 * manual/Makefile (licenses): New variable, list those new file names.
20164 (texis): Use it.
20165 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20166
20167 * manual/fdl.texi: File removed.
20168 * manual/lesser.texi: File removed.
20169 * manual/libc.texinfo (Copying, Documentation License):
20170 Use new @include file names, put @appendix directive before @include.
20171
f16846a5
JJ
201722011-06-04 Jakub Jelinek <jakub@redhat.com>
20173
20174 [BZ #12841]
20175 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20176 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20177 (mq_open): Add __NTH.
20178
3d29045b
L
201792011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20180
20181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20182 Assume Intel Core i3/i5/i7 processor if AVX is available.
20183
8c297311
UD
201842011-05-31 Ulrich Drepper <drepper@gmail.com>
20185
20186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20187 typo.
20188
c8fc0c91
UD
201892011-05-31 Andreas Schwab <schwab@redhat.com>
20190
20191 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20192 memory. Use alloca_account. Fix memory leak when retrying.
20193
5b27a807
UD
201942011-05-31 Ulrich Drepper <drepper@gmail.com>
20195
356f8bc6
UD
20196 * version.h (RELEASE): Bump for 2.14 release.
20197 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20198
5b27a807
UD
20199 * config.make.in (RANLIB): Remove entry.
20200
01f16ab0
UD
202012011-05-30 Ulrich Drepper <drepper@gmail.com>
20202
41fce8bd
UD
20203 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20204 (libc.pot): Work around missing support for .ksh extension in xgettext.
20205
4769ae77
UD
20206 [BZ #12684]
20207 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20208 if both request failed.
20209 (send_dg): In case of server errors clear resplen or *resplen2.
20210
6b1e7d19
UD
20211 [BZ #12454]
20212 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20213 when there are multiple maps.
20214 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20215 (_dl_fini): Remove test here.
20216
01f16ab0
UD
20217 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20218
b1ebd700
UD
202192011-05-29 Ulrich Drepper <drepper@gmail.com>
20220
7ae22829
UD
20221 [BZ #12350]
20222 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20223 bit from old_res_options.
20224 (gaih_inet): Likewise.
20225
553149f6 20226 [BZ #11099]
18a84741 20227 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20228 as signed.
20229
652ffab1
UD
20230 * resolv/res_init.c (res_setoptions): Make the code more compact.
20231
16985fd0
UD
20232 [BZ #11558]
20233 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20234 set RES_USEVC.
20235
0464f746
UD
20236 [BZ #11634]
20237 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20238
7d17596c
UD
20239 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20240
cf6bbbd7
UD
20241 [BZ #11781]
20242 * malloc/malloc.h: Declare malloc hook variables as volatile.
20243
13f1ab36
UD
20244 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20245 in last patch.
20246
b1ebd700
UD
20247 [BZ #11799]
20248 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20249 raise in the comment.
80e2212d
UD
20250 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20251 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20252 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20253
ce67228d
UD
202542011-05-28 Ulrich Drepper <drepper@gmail.com>
20255
8887a920
UD
20256 [BZ #12811]
20257 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20258 grow the buffers more if it already has to be sufficient.
20259 (build_wcs_upper_buffer): Likewise.
20260 * posix/regexec.c (check_matching): Likewise.
20261 (clean_state_log_if_needed): Likewise.
20262 (extend_buffers): Don't enlarge buffers beyond size of the input
20263 buffer.
20264 Patches mostly by Emil Wojak <emil@wojak.eu>.
20265 * posix/bug-regex32.c: New file.
20266 * posix/Makefile (tests): Add bug-regex32.
20267
4f031072
UD
20268 * locale/findlocale.c (_nl_find_locale): Return right away if
20269 _nl_explode_name failed.
20270 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20271
d0478f0c
UD
20272 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20273
de81b246
UD
20274 * debug/xtrace.sh: Unify messages.
20275 * malloc/memusage.sh: Likewise.
20276
c738465a
UD
20277 [BZ #12813]
20278 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20279 time symbol from vDSO. Substitute with vsyscall if not available.
20280 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20281 __vdso_time.
20282
f1f929d7
UD
20283 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20284 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20285 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20286 Add sendmmsg and internal_sendmmsg.
20287 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20288 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20289 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20290
ce67228d
UD
20291 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20292 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20294
e57420c6
UD
202952011-05-27 Ulrich Drepper <drepper@gmail.com>
20296
a8509ca5
UD
20297 [BZ #12813]
20298 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20299 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20300 available.
20301 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20302 __vdso_getcpu.
20303
e57420c6
UD
20304 [BZ #12814]
20305 * iconvdata/Makefile (tests): Add bug-iconv9.
20306 * iconvdata/bug-iconv9.c: New file.
20307
4d07db15
AS
203082011-05-27 Andreas Schwab <schwab@redhat.com>
20309
20310 [BZ #12814]
20311 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20312
ea486f69
JJ
203132011-05-25 Jakub Jelinek <jakub@redhat.com>
20314
20315 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20316 (struct user_regs_struct): Change intcs field back to cs.
20317
6f038433
UD
203182011-05-25 Ulrich Drepper <drepper@gmail.com>
20319
20320 * po/ja.po: Update from translation team.
20321
67f86a25
UD
203222011-05-23 Ulrich Drepper <drepper@gmail.com>
20323
20324 [BZ #12795]
20325 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20326 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20327
def7fbd6
AS
203282011-05-20 Andreas Schwab <schwab@redhat.com>
20329
20330 * stdlib/longlong.h: Update from GCC.
20331
f50ef8f1
AS
203322011-05-23 Andreas Schwab <schwab@redhat.com>
20333
20334 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20335 parameter name.
20336 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20337 Add parameter name.
20338 (__sysconf): Pass it down.
20339
de7ce8f1
UD
203402011-05-22 Ulrich Drepper <drepper@gmail.com>
20341
f2962a71
UD
20342 [BZ #12671]
20343 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20344 some situations.
20345 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20346 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20347 add in in __libc_use_alloca calls. Adjust callers.
20348 (glob): Use malloc in some situations.
20349
de7ce8f1
UD
20350 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20351 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20352 pltexit.
20353
aec84f53
UD
203542011-05-21 Ulrich Drepper <drepper@gmail.com>
20355
05bb4a68
UD
20356 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20357 and CLOCK_BOOTTIME_ALARM.
20358
7ea72f99
UD
20359 [BZ #12782]
20360 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20361 is returned.
20362
7e4afad5
UD
20363 * string/_strerror.c (__strerror_r): Print negative errors as signed
20364 numbers.
20365
8e211fec
UD
20366 [BZ #12777]
20367 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20368 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20369 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20370
f7d82dc9
UD
20371 * configure.in: Fix typo in redirection and correct removal of test
20372 files in two cases.
20373
cc9e536d
UD
20374 [BZ #12788]
20375 * locale/setlocale.c (new_composite_name): Fix test to check for
20376 identical name of all categories.
20377
aec84f53
UD
20378 [BZ #12792]
20379 * libio/filedoalloc.c (local_isatty): New function.
20380 (_IO_file_doallocate): Use local_isatty.
20381 * stdio-common/perror.c (perror): In case a new stream is used
20382 forward the stream error.
20383 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20384 error flag.
20385
78e64fdc
RT
203862011-05-20 Ulrich Drepper <drepper@gmail.com>
20387
34a9094f
UD
20388 [BZ #11869]
20389 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20390 alloca.
20391 * include/alloca.h (extend_alloca_account): Define.
20392
78e64fdc
RT
20393 [BZ #11857]
20394 * posix/regex.h: Fix comments with documentation of user-accessible
20395 fields after compilation and describe correct free'ing of pattern
20396 after re_compile_pattern.
20397 Patch by Reuben Thomas <rrt@sc3d.org>.
20398
457bddfc
RA
203992011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20400
20401 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20402 and -mno-altivec to prevent the compiler from using Altivec and/or
20403 VSX instructions when the corresponding registers are not available.
20404
a4527b51
AS
204052011-05-19 Andreas Schwab <schwab@redhat.com>
20406
20407 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20408
ed690b2f
UD
204092011-05-19 Ulrich Drepper <drepper@gmail.com>
20410
20411 * libio/freopen.c (freopen): Use __dup2, not dup2.
20412 * libio/freopen64.c (freopen64): Likewise.
20413
8db73634
L
204142011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20415
20416 [BZ #12775]
20417 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20418 * math/Makefile (tests): Add test-powl.
20419 (CFLAGS-test-powl.c): Define.
20420 * math/test-powl.c: New file.
20421
0a197a9d
L
204222011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20423
20424 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20425
ee30c380
UD
204262011-05-17 Ulrich Drepper <drepper@gmail.com>
20427
20428 [BZ #11837]
20429 * iconvdata/gb18030.c: Update to GB18020-2005.
20430
6ce75379
UD
204312011-05-16 Ulrich Drepper <drepper@gmail.com>
20432
a4b89fd8
AR
20433 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20434 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20435 Patch by Aharon Robbins <arnold@skeeve.com>.
20436
ea389b12
UD
20437 [BZ #11892]
20438 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20439 on the stack.
20440
68a3f91f
UD
20441 [BZ #11895]
20442 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20443 through underflows.
20444
15cc7dd1
UD
20445 [BZ #12766]
20446 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20447 point to strings before performing equality test for error_one_per_line
20448 mode.
20449
f3799213
UD
20450 [BZ #11697]
20451 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20452
d79a9c94
UD
20453 [BZ #11820]
20454 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20455 (struct user_fpregs_struct): Avoid __uint*_t types.
20456
56e5eb46
UD
20457 [BZ #6420]
20458 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20459 symbol info. Use it instead of calling _dl_addr locally.
20460 (lock_and_info): New function.
20461 (tr_freehook): Call lock_and_info and pass symbol info as additional
20462 parameter to tr_where.
20463 (tr_mallochook): Likewise.
20464 (tr_reallochook): Likewise.
20465 (tr_memalignhook): Likewise.
20466
6ce75379
UD
20467 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20468 used and couldn't be at all thread-safe.
20469
f8a3b5bf
UD
204702011-05-15 Ulrich Drepper <drepper@gmail.com>
20471
94b7cc37
UD
20472 * libio/freopen.c (freopen): Don't close old file descriptor
20473 before the new one is opened. Instead dup the new file descriptor
20474 to the old one after the new stream is created.
20475 * libio/freopen64.c (freopen64): Likewise.
20476 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20477 * libio/fileops.c (_IO_new_file_close_it): Handle new
20478 _IO_FLAGS2_NOCLOSE flag.
20479 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20480 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20481 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20482 _IO_FLAGS2_NOCLOSE flag.
20483 * include/unistd.h: Add hidden_proto for dup3.
20484 Define __have_dup3.
20485 * io/dup3.c: Define hidden symbol.
20486 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20487
bd25564e
UD
20488 [BZ #7101]
20489 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20490 when an incomplete long option is used.
20491 * posix/tst-getopt_long1.c: New file.
20492 * posix/Makefile (tests): Add tst-getopt_long1.
20493
c84cfef4
UD
20494 [BZ #10138]
20495 * scripts/config.guess: Update from autoconf-2.68.
20496 * scripts/config.sub: Likewise.
20497
3b85df27
UD
20498 [BZ #10157]
20499 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20500 tests into ...
20501 (has_cpuclock): ...this. New function.
20502 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20503 macro here based on has_cpuclock code.
20504
15a856b1
UD
20505 [BZ #10149]
20506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20507 First byte (not low byte) is now always NUL.
20508 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20509
05f399e6
UD
20510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20511 Use non-cancelable interfaces.
20512
10a52685 20513 [BZ #9809]
94ecc67d
UD
20514 * locale/iso-639.def: Add entry for Sorani.
20515
f8a3b5bf
UD
20516 [BZ #11901]
20517 * include/stdlib.h: Move include protection to the right place.
20518 Define abort_msg_s. Declare __abort_msg with it.
20519 * stdlib/abort.c (__abort_msg): Adjust type.
20520 * assert/assert.c (__assert_fail_base): New function. Majority
20521 of code from __assert_fail. Allocate memory for __abort_msg with
20522 mmap.
20523 (__assert_fail): Now call __assert_fail_base.
20524 * assert/assert-perr.c: Remove bulk of implementation. Use
20525 __assert_fail_base.
20526 * include/assert.hL Declare __assert_fail_base.
20527 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20528 mmap.
20529 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20530
1af4e298
UD
205312011-05-14 Ulrich Drepper <drepper@gmail.com>
20532
f8a3b5bf 20533 [BZ #11952]
d26dfc60
MG
20534 [BZ #12453]
20535 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20536 until all modules are registered in the DTV.
20537 * elf/Makefile: Add rules to build and run tst-tls19.
20538 * elf/tst-tls19.c: New file.
20539 * elf/tst-tls19mod1.c: New file.
20540 * elf/tst-tls19mod2.c: New file.
20541 * elf/tst-tls19mod3.c: New file.
20542 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20543
2fc54d6f
UD
20544 [BZ #12083]
20545 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20546 correctly.
20547
98d76b46
UD
20548 [BZ #12601]
20549 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20550 two-byte sequence errors.
20551 * iconvdata/Makefile (tests): Add bug-iconv8.
20552 * iconvdata/bug-iconv8.c: New file.
20553
da3c19ef
UD
20554 [BZ #12626]
20555 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20556 buf2 definition.
20557
ca408c15
UD
20558 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20559
d6f67f7d
UD
20560 [BZ #12432]
20561 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20562 (dummy_getcfa): New function.
20563 (init): Get _Unwind_GetCFA address, use dummy if not found.
20564 (backtrace_helper): In recursion check, also check whether CFA changes.
20565 (__backtrace): Completely initialize arg.
20566
1af4e298 20567 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20568 storing incomplete byte sequence in state object. Avoid testing for
20569 guaranteed too small input if we know there is enough data available.
1af4e298 20570
da62f81b
AS
205712011-05-11 Andreas Schwab <schwab@redhat.com>
20572
20573 * Makeconfig (+link-pie): Indent.
20574 * Rules (binaries-pie): Define if $(have-fpie) and
20575 $(build-shared).
20576 (binaries-shared): Also filter out $(binaries-pie).
20577 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20578 * nscd/Makefile (others-pie): Add nscd.
20579 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20580 ($(objpfx)nscd): Remove command override.
20581 * login/Makefile (others-pie): Add pt_chown.
20582 ($(objpfx)pt_chown): Remove command override.
20583 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20584 remove command overrides.
20585
fcabc0f8
UD
205862011-05-13 Ulrich Drepper <drepper@gmail.com>
20587
20030ae6
UD
20588 * libio/tst_putwc.c: Fix error messages.
20589
fcabc0f8
UD
20590 [BZ #12724]
20591 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20592 currently writing and seek to current position when not.
20593 * libio/Makefile (tests): Add bug-fclose1.
20594 * libio/bug-fclose1.c: New file.
20595
320a5dc0
PB
205962011-05-12 Ulrich Drepper <drepper@gmail.com>
20597
20598 [BZ #12511]
20599 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20600 don't set DF_1_NODELETE here.
20601 (do_lookup_x): When entering new entry test for copy relocation
20602 and if necessary set DF_1_NODELETE flag.
20603 * elf/tst-unique4.cc: New file.
20604 * elf/tst-unique4.h: New file.
20605 * elf/tst-unique4lib.cc: New file.
20606 * elf/Makefile: Add rules to build and run tst-unique4.
20607 Patch by Piotr Bury <pbury@goahead.com>.
20608
22836f52
UD
206092011-05-11 Ulrich Drepper <drepper@gmail.com>
20610
f574184a
UD
20611 [BZ #12052]
20612 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20613
e1fb097f
UD
20614 [BZ #12625]
20615 * misc/mntent_r.c (addmntent): Flush the stream after the output
20616
22836f52
UD
20617 [BZ #12393]
20618 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20619 (is_trusted_path_normalize): Skip initial colon. Append slash
20620 to empty buffer. Duplicate is_trusted_path code but allow
20621 constructed patch to be prefix.
20622 (is_dst): Allow $ORIGIN followed by /.
20623 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20624 Correct testing of result of is_trusted_path_normalize
20625 (decompose_rpath): Fix warning.
20626
7b3b0b2a
UD
206272011-05-10 Ulrich Drepper <drepper@gmail.com>
20628
20629 [BZ #11257]
20630 * grp/initgroups.c (internal_getgrouplist): When we found the service
20631 list through the initgroups entry in nsswitch.conf do not always
20632 continue on a successful lookup. Don't always use the
eac80ce2 20633 __nss_group_database value if it is set.
7b3b0b2a
UD
20634 * nss/nsswitch.conf (initgroups): Change action for successful db
20635 lookup to continue for compatibility.
20636
2a81eaa5
UD
206372011-05-09 Ulrich Drepper <drepper@gmail.com>
20638
be97a69e
UD
20639 [BZ #11532]
20640 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20641 and CP774 modules.
20642 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20643 and CP774 modules.
20644 * iconvdata/tst-tables.sh: Likewise.
20645 * iconvdata/cp770.c: New file.
20646 * iconvdata/cp771.c: New file.
20647 * iconvdata/cp772.c: New file.
20648 * iconvdata/cp773.c: New file.
20649 * iconvdata/cp774.c: New file.
20650 * iconvdata/testdata/CP770: New file.
20651 * iconvdata/testdata/CP770..UTF8: New file.
20652 * iconvdata/testdata/CP771: New file.
20653 * iconvdata/testdata/CP771..UTF8: New file.
20654 * iconvdata/testdata/CP772: New file.
20655 * iconvdata/testdata/CP772..UTF8: New file.
20656 * iconvdata/testdata/CP773: New file.
20657 * iconvdata/testdata/CP773..UTF8: New file.
20658 * iconvdata/testdata/CP774: New file.
20659 * iconvdata/testdata/CP774..UTF8: New file.
20660
20661 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20662 END CHARMAP line.
20663 * iconvdata/gen-8bit-gap.sh: Likewise.
20664 * iconvdata/gen-8bit.sh: Likewise.
20665
c1e9e399
UD
20666 * locale/iso-639.def: Add ary entry.
20667
24c55fb3 20668 [BZ #11258]
96b4b1b0
UD
20669 * locale/C-translit.h.in: Add U20A1 transliteration.
20670
bdc2f971
KB
20671 [BZ #12178]
20672 * locale/iso-639.def: Add wae entry.
20673 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20674
2952b117
UD
20675 [BZ #12545]
20676 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20677 for n.
20678
2a81eaa5
UD
20679 [BZ #12711]
20680 * locale/C-translit.h.in: Add entry for U20B9.
20681 Patch by pravin.d.s@gmail.com.
20682
28377d1b
UD
206832011-05-08 Ulrich Drepper <drepper@gmail.com>
20684
7fb90fb8
UD
20685 [BZ #12713]
20686 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20687 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20688 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20689 in rtld. Use *stat64.
7fb90fb8 20690 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20691 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20692 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20693 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20694 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20695 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20696 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20697 __fstatat64 macros.
7fb90fb8
UD
20698 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20699 * dirent/rewinddir.c: Add libc_hidden_def.
20700 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20701 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20702
28377d1b
UD
20703 * include/dirent.h (__alloc_dir): Add flags parameter.
20704 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20705 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20706 __alloc_dir.
20707 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20708 from fdopendir if O_CLOEXEC is already set.
20709
66bdbaa4
AM
207102011-03-15 Alan Modra <amodra@gmail.com>
20711
20712 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20713 l_tls_firstbyte_offset non-zero. Save padding offset in
20714 l_tls_firstbyte_offset for later use.
20715 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20716 freeing static tls block.
20717
95721191
JN
207182011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20719
20720 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20721 where #ifdef was intended. The intent is to prevent ARG_MAX from
20722 being defined by the kernel headers.
20723
f87dfb1f
UD
207242011-05-07 Ulrich Drepper <drepper@gmail.com>
20725
20726 [BZ #12734]
20727 * resolv/resolv.h: Define RES_NOTLDQUERY.
20728 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20729 no-tld-query and set RES_NOTLDQUERY.
20730 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20731 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20732 modern BIND to search name as TLD unless forbidden.
20733
47c3cd7a
UD
207342011-05-07 Petr Baudis <pasky@suse.cz>
20735 Ulrich Drepper <drepper@gmail.com>
20736
20737 [BZ #12393]
20738 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20739 (is_trusted_path): ...to here.
c1e9ea35 20740 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20741 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20742 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20743
8a35c912
PP
207442011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20745
20746 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20747 __BEGIN/__END_DECLS.
20748
acd41f47
UD
207492011-05-06 Ulrich Drepper <drepper@gmail.com>
20750
20751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20752 NSS_STATUS_NOTFOUND if no record was found.
20753
597df647
AS
207542011-05-05 Andreas Schwab <schwab@redhat.com>
20755
20756 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20757 (headers-not-in-tirpc): Remove rpc/netdb.h
20758 * resolv/netdb.h: Revert last change.
20759
b9af1301
PP
207602011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20761
20762 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20763 circular dependency between libgcc.a and libc.a.
20764
4e34d5f5
AS
207652011-05-05 Andreas Schwab <schwab@redhat.com>
20766
20767 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20768 * nis/Makefile: Don't install rpcsvc/*.
20769 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20770 instead of <rpc/types.h>.
20771 (MAXHOSTNAMELEN): Define.
20772
00ee369c
AS
207732011-05-03 Andreas Schwab <schwab@redhat.com>
20774
20775 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20776
0b592a30
MB
207772011-04-28 Maciej Babinski <mbabinski@google.com>
20778
20779 [BZ #12714]
20780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20781 gethostbyname4_r when IPv6 results are possible.
20782
6e04cbbe
UD
207832011-05-02 Ulrich Drepper <drepper@gmail.com>
20784
20785 [BZ #12723]
20786 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20787 _PC_PIPE_BUF handling.
20788
e4ecafe0
BH
207892011-04-30 Bruno Haible <bruno@clisp.org>
20790
20791 [BZ #12717]
20792 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20793 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20794 to 'int'.
20795 * inet/getnameinfo.c (getnameinfo): Likewise.
20796
125ee683
UD
207972011-04-29 Ulrich Drepper <drepper@gmail.com>
20798
20799 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20800 to groups setting in database lookup.
20801 * nss/nsswitch.conf: Add initgroups entry.
20802
b722481a
EB
208032011-04-22 Ulrich Drepper <drepper@gmail.com>
20804
20805 [BZ #12685]
20806 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20807 mode string.
20808 Patch by Eric Blake <eblake@redhat.com>.
20809
4df46dbd
L
208102011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20811
20812 * sunrpc/Makefile (need-export-routines): Add svc_run.
20813 (routines): Remove svc_run.
20814 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20815 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20816 * sunrpc/svc_run.c (svc_run): Likewise.
20817 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20818
e84142d2
UD
208192011-04-21 Ulrich Drepper <drepper@gmail.com>
20820
20821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20822 problem in reallocation in last patch.
20823
877175d8
UD
208242011-04-20 Ulrich Drepper <drepper@gmail.com>
20825
20826 * sunrpc/Makefile: Move inclusion of Rules.
20827
ab8eed78
UD
208282011-04-19 Ulrich Drepper <drepper@gmail.com>
20829
20830 * nss/nss_files/files-initgroups.c: New file.
20831 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20832 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20833 _nss_files_initgroups_dyn.
20834
e3d8f584
RS
208352011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20836
20837 * elf/elf.h (R_ARM_IRELATIVE): Define.
20838
af190f45
UD
208392011-04-19 Ulrich Drepper <drepper@gmail.com>
20840
20841 * po/ru.po: Update from translation team.
20842
53cf59ef
UD
208432011-04-17 Ulrich Drepper <drepper@gmail.com>
20844
20845 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20846 dependencies.
20847
4c559bcd
MF
208482011-02-06 Mike Frysinger <vapier@gentoo.org>
20849
20850 [BZ #12653]
20851 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20852 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20856
4420675c
AS
208572011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20858
20859 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20860 differing bytes.
20861 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20863 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20864
75ea32ab
UD
208652011-04-17 Ulrich Drepper <drepper@gmail.com>
20866
20867 [BZ #12420]
20868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20869 storing it.
20870 * stdlib/bug-getcontext.c: New file.
20871 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20872
27390476
AK
208732011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20874
20875 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20876 instructions into .machine "z9-109".
20877 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20878 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20879
10442705
AK
208802011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20881
20882 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20883 between environment variables and auxiliary vector.
20884
7b57bfe5
UD
208852011-04-16 Ulrich Drepper <drepper@gmail.com>
20886
20887 * Makefile: Add rules to build linkobj/libc.so.
20888 * include/libc-symbols.h: Define libc_hidden_nolink.
20889 * include/rpc/auth.h: Mark functions which are to be hidden.
20890 * include/rpc/auth_des.h: Likewise.
20891 * include/rpc/auth_unix.h: Likewise.
20892 * include/rpc/clnt.h: Likewise.
20893 * include/rpc/des_crypt.h: Likewise.
20894 * include/rpc/key_prot.h: Likewise.
20895 * include/rpc/pmap_clnt.h: Likewise.
20896 * include/rpc/pmap_prot.h: Likewise.
20897 * include/rpc/pmap_rmt.h: Likewise.
20898 * include/rpc/rpc_msg.h: Likewise.
20899 * include/rpc/svc.h: Likewise.
20900 * include/rpc/svc_auth.h: Likewise.
20901 * include/rpc/xdr.h: Likewise.
20902 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20903 * nss/Makefile: Likewise.
20904 * sunrpc/Makefile: Don't install headers. Build library with normal
20905 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20906 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20907 for the compat linking library. Remove use of INTDEF/INTUSE.
20908 * sunrpc/auth_none.c: Likewise.
20909 * sunrpc/auth_unix.c: Likewise.
20910 * sunrpc/authdes_prot.c: Likewise.
20911 * sunrpc/authuxprot.c: Likewise.
20912 * sunrpc/clnt_gen.c: Likewise.
20913 * sunrpc/clnt_perr.c: Likewise.
20914 * sunrpc/clnt_raw.c: Likewise.
20915 * sunrpc/clnt_simp.c: Likewise.
20916 * sunrpc/clnt_tcp.c: Likewise.
20917 * sunrpc/clnt_udp.c: Likewise.
20918 * sunrpc/clnt_unix.c: Likewise.
20919 * sunrpc/des_crypt.c: Likewise.
20920 * sunrpc/des_soft.c: Likewise.
20921 * sunrpc/get_myaddr.c: Likewise.
20922 * sunrpc/key_call.c: Likewise.
20923 * sunrpc/key_prot.c: Likewise.
20924 * sunrpc/netname.c: Likewise.
20925 * sunrpc/pm_getmaps.c: Likewise.
20926 * sunrpc/pm_getport.c: Likewise.
20927 * sunrpc/pmap_clnt.c: Likewise.
20928 * sunrpc/pmap_prot.c: Likewise.
20929 * sunrpc/pmap_prot2.c: Likewise.
20930 * sunrpc/pmap_rmt.c: Likewise.
20931 * sunrpc/publickey.c: Likewise.
20932 * sunrpc/rpc_cmsg.c: Likewise.
20933 * sunrpc/rpc_common.c: Likewise.
20934 * sunrpc/rpc_dtable.c: Likewise.
20935 * sunrpc/rpc_prot.c: Likewise.
20936 * sunrpc/rpc_thread.c: Likewise.
20937 * sunrpc/rtime.c: Likewise.
20938 * sunrpc/svc.c: Likewise.
20939 * sunrpc/svc_auth.c: Likewise.
20940 * sunrpc/svc_authux.c: Likewise.
20941 * sunrpc/svc_raw.c: Likewise.
20942 * sunrpc/svc_run.c: Likewise.
20943 * sunrpc/svc_simple.c: Likewise.
20944 * sunrpc/svc_tcp.c: Likewise.
20945 * sunrpc/svc_udp.c: Likewise.
20946 * sunrpc/svc_unix.c: Likewise.
20947 * sunrpc/svcauth_des.c: Likewise.
20948 * sunrpc/xcrypt.c: Likewise.
20949 * sunrpc/xdr.c: Likewise.
20950 * sunrpc/xdr_array.c: Likewise.
20951 * sunrpc/xdr_float.c: Likewise.
20952 * sunrpc/xdr_intXX_t.c: Likewise.
20953 * sunrpc/xdr_mem.c: Likewise.
20954 * sunrpc/xdr_rec.c: Likewise.
20955 * sunrpc/xdr_ref.c: Likewise.
20956 * sunrpc/xdr_sizeof.c: Likewise.
20957 * sunrpc/xdr_stdio.c: Likewise.
20958
e6c61494
UD
209592011-04-10 Ulrich Drepper <drepper@gmail.com>
20960
20961 [BZ #12650]
20962 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20963 * sysdeps/ia64/dl-tls.h: Likewise.
20964 * sysdeps/powerpc/dl-tls.h: Likewise.
20965 * sysdeps/s390/dl-tls.h: Likewise.
20966 * sysdeps/sh/dl-tls.h: Likewise.
20967 * sysdeps/sparc/dl-tls.h: Likewise.
20968 * sysdeps/x86_64/dl-tls.h: Likewise.
20969 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20970
34fe483e
AS
209712011-03-14 Andreas Schwab <schwab@redhat.com>
20972
20973 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20974 rpath element also skip the following colon.
20975 (expand_dynamic_string_token): Add is_path parameter and pass
20976 down to DL_DST_REQUIRED and _dl_dst_substitute.
20977 (decompose_rpath): Call expand_dynamic_string_token with
20978 non-zero is_path. Ignore empty rpaths.
20979 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20980 with zero is_path.
20981
f12a32e6
AS
209822011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20983
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20985 Make cancelable.
20986
38a7d692
UD
209872011-04-09 Ulrich Drepper <drepper@gmail.com>
20988
20989 [BZ #12655]
20990 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20991 Patch by Filipe David Manana <fdmanana@apache.org>.
20992
e451d22b
AS
209932011-04-07 Andreas Schwab <schwab@redhat.com>
20994
20995 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20996 Maintain aligned stack.
20997 (CHECK_RSP): Remove unused macro.
20998
dedc7c7b
UD
209992011-04-03 Ulrich Drepper <drepper@gmail.com>
21000
21001 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21002 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21003
94521213
UD
210042011-04-02 Ulrich Drepper <drepper@gmail.com>
21005
21006 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21007
8cb700c0 21008 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 21009
0354e355
L
210102011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21011
21012 [BZ #12518]
21013 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21014 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21015 * sysdeps/x86_64/memmove.c: New file.
21016 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21017 (memcpy): Renamed to ...
21018 (__new_memcpy): This.
21019 (memcpy): Provide GLIBC_2_14 memcpy.
21020 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21021 (memcpy): Provide GLIBC_2_2_5 memcpy.
21022
8593482f
UD
210232011-04-01 Ulrich Drepper <drepper@gmail.com>
21024
21025 [BZ #12631]
21026 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21027
81a5726b
AS
210282011-03-30 Andreas Schwab <schwab@redhat.com>
21029
21030 * misc/syncfs.c: New file.
21031 * misc/Makefile (routines): Add syncfs.
21032 * posix/unistd.h: Declare syncfs.
21033 * sysdeps/unix/syscalls.list: Add syncfs.
21034
00e5419f
AS
210352011-04-01 Andreas Schwab <schwab@redhat.com>
21036
21037 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21038 open_by_handle_at.
21039 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21040 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21042 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21044 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21045 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21046
748876bf
UD
210472011-04-01 Ulrich Drepper <drepper@gmail.com>
21048
658e451d
UD
21049 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21051 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21053 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21054 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21055 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21056
748876bf
UD
21057 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21058 sync_file_range.c with -fexceptions.
21059 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21060 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21061 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21062 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21063 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21064 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21065 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
21066 sync_file_range as cancellation point
21067 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21068 now a wrapper around __call_sync_file_range with cancellation handling.
21069 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21070 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21071 function name to __call_sync_file_range.
21072 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21073 Add call_sync_file_range.
748876bf 21074
6e63d5e1
AS
210752011-04-01 Andreas Schwab <schwab@redhat.com>
21076
21077 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21078 bits/timex.h.
6e63d5e1 21079
46998f74
UD
210802011-04-01 Ulrich Drepper <drepper@gmail.com>
21081
4c1423ed
UD
21082 * iconv/iconv.h: Fix typo in comment.
21083 * io/fcntl.h: Likewise.
21084 * libio/stdio.h: Likewise.
21085 * posix/spawn.h: Likewise.
21086 * posix/unistd.h: Likewise.
21087 * stdlib/stdlib.h: Likewise.
21088 * time/time.h: Likewise.
21089 * wcsmbs/wchar.h: Likewise.
21090
158648c0
UD
21091 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21092 open_by_handle): Add.
21093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21094 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21095 Augment a few comments.
21096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21101 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21102 open_by_handle.
21103
46998f74
UD
21104 * io/fcntl.h (AT_EMPTY_PATH): Define.
21105
83fe108b
UD
211062011-03-30 Ulrich Drepper <drepper@gmail.com>
21107
21108 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21109 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21110 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21111 to...
21112 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21113 * Versions.def: Add GLIBC_2.14.
21114 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21115 Export.
83fe108b 21116
bb242059
UD
211172011-03-22 Ulrich Drepper <drepper@gmail.com>
21118
21119 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21120 round counter.
21121 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21122
c97a1282
L
211232011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21124
21125 [BZ #12597]
21126 * string/test-strncmp.c (do_page_test): New function.
21127 (check2): Likewise.
21128 (test_main): Call check2.
21129 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21130
2a115601
UD
211312011-03-20 Ulrich Drepper <drepper@gmail.com>
21132
21133 [BZ #12587]
21134 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21135 Handle cache information in CPU leaf 4.
21136 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21137
8126d904
UD
211382011-03-18 Ulrich Drepper <drepper@gmail.com>
21139
042c49c6 21140 [BZ #12583]
8126d904
UD
21141 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21142 character representation.
21143 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21144
ccfe366e
RA
211452011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21146
21147 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21148 END(__isnan) to END(__isnanf) to match function entry point/label
21149 EALIGN(__isnanf,...).
21150
c6e13027
JJ
211512011-03-10 Jakub Jelinek <jakub@redhat.com>
21152
21153 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21154
33f85a3f
UD
211552011-03-10 Ulrich Drepper <drepper@gmail.com>
21156
028478fa
UD
21157 [BZ #12510]
21158 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21159 copy from the symbol referenced in the relocation to initialize the
21160 used variable.
21161 Patch by Piotr Bury <pbury@goahead.com>.
21162 * elf/Makefile: Add rules to build and tst-unique3.
21163 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21164 * elf/tst-unique3.cc: New file.
21165 * elf/tst-unique3.h: New file.
21166 * elf/tst-unique3lib.cc: New file.
21167 * elf/tst-unique3lib2.cc: New file.
21168
33f85a3f
UD
21169 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21170
03592fc7
MF
211712011-03-10 Mike Frysinger <vapier@gentoo.org>
21172
21173 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21174 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21175 to _start.
03592fc7 21176
6a5ee102
UD
211772011-03-06 Ulrich Drepper <drepper@gmail.com>
21178
21179 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21180 to-be-loaded object along a path to loader is ld.so.
21181
7e4ba49c
HJ
211822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21183 Ulrich Drepper <drepper@gmail.com>
21184
21185 * sysdeps/x86_64/memset.S: After aligning destination, code
21186 branches to different locations depending on the value of
21187 misalignment, when multiarch is enabled. Fix this.
21188
211892011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21190
21191 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21192 Set _x86_64_preferred_memory_instruction for AMD processsors.
21193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21194 Set bit_Prefer_SSE_for_memop for AMD processors.
21195
13a804de
UD
211962011-03-04 Ulrich Drepper <drepper@gmail.com>
21197
21198 * libio/fmemopen.c (fmemopen): Optimize a bit.
21199
9d25c392
AS
212002011-03-03 Andreas Schwab <schwab@redhat.com>
21201
21202 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21203
a5543c6a
RM
212042011-03-03 Roland McGrath <roland@redhat.com>
21205
21206 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21207
012d35f7
DM
212082011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21209
7e4ba49c 21210 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21211 __bzero_ultra1 instead of __memset_ultra1.
21212
4bff6e01
AS
212132011-02-23 Andreas Schwab <schwab@redhat.com>
21214 Ulrich Drepper <drepper@gmail.com>
21215
21216 [BZ #12509]
21217 * include/link.h (struct link_map): Add l_orig_initfini.
21218 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21219 returning unsuccessfully.
21220 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21221 close of a file loaded at startup, restore the original l_initfini
21222 list.
21223 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21224 list, store the pointer.
21225 * elf/Makefile ($(objpfx)noload-mem): New rule.
21226 (noload-ENV): Define.
21227 (tests): Add $(objpfx)noload-mem.
21228 * elf/noload.c: Include <memcheck.h>.
21229 (main): Call mtrace. Close all opened handles.
21230
f2092faf
AS
212312011-02-17 Andreas Schwab <schwab@redhat.com>
21232
21233 [BZ #12454]
21234 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21235 dependencies are missing.
21236
6c8a2e88
ST
212372011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21238
f2092faf 21239 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21240 Hurd needs munmap.
21241 * sysdeps/mach/hurd/ifreq.h: New file.
21242
84a42118
PB
212432011-01-27 Petr Baudis <pasky@suse.cz>
21244 Ulrich Drepper <drepper@gmail.com>
21245
071f805e 21246 [BZ 12445]#
84a42118
PB
21247 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21248 to extend_alloca().
21249 * stdio-common/bug23.c: New file.
21250 * stdio-common/Makefile (tests): Add bug23.
21251
e23fe25b
AS
212522010-09-28 Andreas Schwab <schwab@redhat.com>
21253 Ulrich Drepper <drepper@gmail.com>
21254
21255 [BZ #12489]
21256 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21257 before performing relro protection. At old place add assertion
21258 to make sure nothing changed.
21259
d3f02e10
NS
212602011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21261 Glauber de Oliveira Costa <glommer@gmail.com>
21262
21263 * elf/elf.h: Add new ARM TLS relocs.
21264
d55fd7a5
RA
212652011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21266
21267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21268 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21269 cast from r3.
21270 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21271 'tests' variable.
21272 * sysdeps/wordsize-64/tst-writev.c: New file.
21273
2206397e
RA
212742011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21275
21276 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21277 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21278 insns in _dl_start to prevent a TOC reference before relocs are
21279 resolved.
21280
e9433893
UD
212812011-02-15 Ulrich Drepper <drepper@gmail.com>
21282
21283 [BZ #12469]
21284 * Makeconfig: Remove RANLIB definition.
21285 * Makerules: Don't use RANLIB.
21286 * aclocal.m4: Remove ranlib test.
21287 * configure.in: No need to check for ranlib.
21288 * elf/rtld-Rules: Don't use RANLIB.
21289
f75286c6
ST
212902011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21291
8e31c82d
ST
21292 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21293 protection macro.
21294 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21295 inclusion protection macro.
21296
f75286c6
ST
21297 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21298 SIGRTMIN and SIGRTMAX and print information in that case only when
21299 SIGRTMIN is defined.
21300
c1d0e639
JJ
213012011-02-11 Jakub Jelinek <jakub@redhat.com>
21302
21303 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21304 arginfo fn returning -1.
21305
21306 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21307 and thousands string is zero terminated.
21308
edf9294e
AS
213092011-02-03 Andreas Schwab <schwab@redhat.com>
21310
21311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21312 sysdeps/unix/sysv/linux/bits/socket.h.
21313
2b7e92df
ST
213142011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21315
edf9294e
AS
21316 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21317 (__CPU_COUNT): Remove old macros.
21318 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21319 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21320 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21321 (__sched_cpualloc, __sched_cpufree): Add declarations.
21322
a4c7ea7b
UD
213232011-02-05 Ulrich Drepper <drepper@gmail.com>
21324
21325 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21326 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21327 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21328 (readdhstai): Return value of addhstaiX call.
21329 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21330 (addgrbyX): Return value returned by cache_addgr.
21331 (readdgrbyname): Return value returned by addgrbyX.
21332 (readdgrbygid): Likewise.
21333 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21334 (addpwbyX): Return value returned by cache_addpw.
21335 (readdpwbyname): Return value returned by addhstbyX.
21336 (readdpwbyuid): Likewise.
21337 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21338 (addservbyX): Return value returned by cache_addserv.
21339 (readdservbyname): Return value returned by addservbyX:
21340 (readdservbyport): Likewise.
21341 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21342 (addhstbyX): Return value returned by cache_addhst.
21343 (readdhstbyname): Return value returned by addhstbyX.
21344 (readdhstbyaddr): Likewise.
21345 (readdhstbynamev6): Likewise.
21346 (readdhstbyaddrv6): Likewise.
21347 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21348 (readdinitgroups): Return value returned by addinitgroupsX.
21349 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21350 (prune_cache): Keep track of timeout value of re-added entries.
21351 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21352 * nscd/nscd.h: Adjust prototypes of readd* functions.
21353
a0bf67cc
RM
213542011-02-04 Roland McGrath <roland@redhat.com>
21355
21356 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21357 (nis_stats): Likewise.
21358 * nis/nis_modify.c (nis_modify): Likewise.
21359 * nis/nis_remove.c (nis_remove): Likewise.
21360 * nis/nis_add.c (nis_add): Likewise.
21361
21362 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21363
21364 * posix/fnmatch_loop.c: Add some consts.
21365
21366 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21367
435b95eb
L
213682011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21369
21370 [BZ #12460]
21371 * config.make.in (config-cflags-novzeroupper): Define.
21372 * configure.in: Substitute libc_cv_cc_novzeroupper.
21373 * elf/Makefile (AVX-CFLAGS): Define.
21374 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21375 (CFLAGS-tst-auditmod4a.c): Likewise.
21376 (CFLAGS-tst-auditmod4b.c): Likewise.
21377 (CFLAGS-tst-auditmod6b.c): Likewise.
21378 (CFLAGS-tst-auditmod6c.c): Likewise.
21379 (CFLAGS-tst-auditmod7b.c): Likewise.
21380 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21381
8517b15e
UD
213822011-02-02 Ulrich Drepper <drepper@gmail.com>
21383
21384 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21385 function to the callback.
21386 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21387
10a656fe
AS
213882011-02-02 Andreas Schwab <schwab@redhat.com>
21389
21390 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21391 of errno.
21392
968dad0a
UD
213932011-01-19 Ulrich Drepper <drepper@gmail.com>
21394
9f94d2ea 21395 [BZ #11724]
968dad0a
UD
21396 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21397 of constructors.
21398 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21399 of destructors.
21400 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21401
21402 [BZ #11724]
21403 * elf/Makefile: Add rules to build and run new test.
21404 * elf/tst-initorder.c: New file.
21405 * elf/tst-initorder.exp: New file.
21406 * elf/tst-initordera1.c: New file.
21407 * elf/tst-initordera2.c: New file.
21408 * elf/tst-initordera3.c: New file.
21409 * elf/tst-initordera4.c: New file.
21410 * elf/tst-initorderb1.c: New file.
21411 * elf/tst-initorderb2.c: New file.
21412 * elf/tst-order-a1.c: New file.
21413 * elf/tst-order-a2.c: New file.
21414 * elf/tst-order-a3.c: New file.
21415 * elf/tst-order-a4.c: New file.
21416 * elf/tst-order-b1.c: New file.
21417 * elf/tst-order-b2.c: New file.
21418 * elf/tst-order-main.c: New file.
21419 New test case by George Gensure <werkt0@gmail.com>.
21420
86e92359
UD
214212010-10-01 Andreas Schwab <schwab@redhat.com>
21422
21423 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21424 decoding ACE if AI_CANONIDN.
21425
5d5732b0
UD
214262011-01-18 Ulrich Drepper <drepper@gmail.com>
21427
21428 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21429
a77e8cbc
UD
214302011-01-17 Ulrich Drepper <drepper@gmail.com>
21431
6392473f
UD
21432 * version.h (RELEASE): Bump for 2.13 release.
21433 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21434
620a0529
UD
21435 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21436
18ba70a5
UD
21437 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21438 MADV_NOHUGEPAGE.
32465c3e
UD
21439 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21440 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21441 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21442 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21443 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21444 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21445
c0dafcf1
UD
21446 * posix/getconf.c: Update copyright year.
21447 * catgets/gencat.c: Likewise.
21448 * csu/version.c: Likewise.
21449 * debug/catchsegv.sh: Likewise.
21450 * debug/xtrace.sh: Likewise.
21451 * elf/ldconfig.c: Likewise.
21452 * elf/ldd.bash.in: Likewise.
21453 * elf/sprof.c (print_version): Likewise.
21454 * iconv/iconv_prog.c: Likewise.
21455 * iconv/iconvconfig.c: Likewise.
21456 * locale/programs/locale.c: Likewise.
21457 * locale/programs/localedef.c: Likewise.
21458 * malloc/memusage.sh: Likewise.
21459 * malloc/mtrace.pl: Likewise.
21460 * nscd/nscd.c (print_version): Likewise.
21461 * nss/getent.c: Likewise.
21462
a77e8cbc
UD
21463 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21464 PF_CAIF, and PF_ALG.
21465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21466
77e8bddf
AS
214672011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21468
1f20b93a
AS
21469 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21470 (modules-names): Use them.
21471 (ifunc-test-modules, ifunc-pie-tests): Define.
21472 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21473 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21474 (test-extras): Likewise.
21475 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21476 $(compile-command.c).
21477 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21478 (all-built-dso): Define.
21479 (check-textrel.out, check-execstack.out): Depend on it.
21480
77e8bddf
AS
21481 * configure.in: Don't override --enable-multi-arch.
21482
bc425b33
UD
214832011-01-15 Ulrich Drepper <drepper@gmail.com>
21484
21485 [BZ #6812]
21486 * nscd/hstcache.c (tryagain): Define.
21487 (cache_addhst): Return tryagain not notfound for temporary errors.
21488 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21489 failed.
21490
794c3ad3
UD
214912011-01-14 Ulrich Drepper <drepper@gmail.com>
21492
70181fdd
UD
21493 [BZ #10563]
21494 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21495 to make the syscall.
21496 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21497
794c3ad3
UD
21498 [BZ #12378]
21499 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21500 and fall back to matching as normal character if the string ends before
21501 the matching ']' is found. This is what POSIX requires.
21502 * posix/testfnm.c: Adjust test result.
21503 * posix/globtest.sh: Adjust test result. Add new test.
21504 * posix/tst-fnmatch.input: Likewise.
21505 * posix/tst-fnmatch2.c: Add new test.
21506
68dc9497
AS
215072010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21508
21509 * elf/Makefile (check-execstack): Revert last change. Depend on
21510 check-execstack.h.
21511 (check-execstack.h): New target.
21512 (generated): Add check-execstack.h.
21513 * elf/check-execstack.c: Include "check-execstack.h".
21514 (main): Revert last change.
21515 (handle_file): Return zero if GNU_STACK is absent and
21516 DEFAULT_STACK_PERMS doesn't include PF_X.
21517
451f001b
UD
215182011-01-13 Ulrich Drepper <drepper@gmail.com>
21519
cfa28e56
UD
21520 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21521 in child fails because the descriptor is already closed.
8cf8ce17
UD
21522 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21523 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21524 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21525
1086d70d
UD
21526 [BZ #12397]
21527 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21528 syscall.
21529
451f001b
UD
21530 [BZ #10484]
21531 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21532 temporary buffer used to handle multi lookups locally.
a85b5cb4 21533 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21534
08769175
UD
215352011-01-12 Ulrich Drepper <drepper@gmail.com>
21536
21537 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21538 loader is ld.so.
21539
5e49c52e
UD
215402011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21541
21542 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21543 alignment for SSE2.
21544
60522a5f
UD
215452011-01-12 Ulrich Drepper <drepper@gmail.com>
21546
21547 [BZ #12394]
21548 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21549 characters. When rounding increased number of integer digits recompute
21550 number of groups.
21551 * stdio-common/tst-grouping.c: New file.
21552 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21553
f257bbd7
UD
215542011-01-09 Ulrich Drepper <drepper@gmail.com>
21555
21556 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21557 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21558
21559 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21560 void.
21561 * bits/select.h: Likewise.
21562
fa9c15cb
UD
215632011-01-08 Ulrich Drepper <drepper@gmail.com>
21564
21565 * po/ja.po: Update from translation team.
21566
16c2895f
DM
215672011-01-04 David S. Miller <davem@sunset.davemloft.net>
21568
21569 [BZ #11155]
21570 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21571 implementation just like for lxstat, fxstatat, et al.
21572
2543fef2
JM
215732010-12-27 Jim Meyering <meyering@redhat.com>
21574
21575 [BZ #12348]
21576 * posix/regexec.c (build_trtable): Return failure indication upon
21577 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21578
98727dbe
UD
215792010-12-25 Ulrich Drepper <drepper@gmail.com>
21580
5bd6dc5c
UD
21581 [BZ #12201]
21582 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21583 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21584 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21585 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21586
97983464
UD
21587 [BZ #12207]
21588 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21589
98727dbe
UD
21590 [BZ #12204]
21591 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21592 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21593
4a531bb0
L
215942010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21597 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21598 script has SORT_BY_INIT_PRIORITY.
21599 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21600 NO_CTORS_DTORS_SECTIONS is defined.
21601 * elf/soinit.c: Likewise.
21602 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21603 NO_CTORS_DTORS_SECTIONS is defined.
21604 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21605 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21606 * sysdeps/sh/init-first.c: Likewise.
21607 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21608
07eb4b71
UD
216092010-12-24 Ulrich Drepper <drepper@gmail.com>
21610
21611 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21612 always use the slow path.
21613
30950a5f
RA
216142010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21615
21616 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21617 similar rule which adds the sysdep directories to the header search in
21618 order to pick up the correct platform stackinfo.h.
21619 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21620 perform test if it is, otherwise return successfully without testing.
21621 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21622 DEFAULT_STACK_PERMS define in stackinfo.h.
21623 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21624 defined in stackinfo.h.
21625 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21626 DEFAULT_STACK_PERMS defined in stackinfo.h.
21627 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21628 * sysdeps/ia64/stackinfo.h: Likewise.
21629 * sysdeps/s390/stackinfo.h: Likewise.
21630 * sysdeps/sh/stackinfo.h: Likewise.
21631 * sysdeps/sparc/stackinfo.h: Likewise.
21632 * sysdeps/x86_64/stackinfo.h: Likewise.
21633 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21634 PF_X for powerpc64. Retain PF_X for powerpc32.
21635
db753e2c
UD
216362010-12-19 Ulrich Drepper <drepper@gmail.com>
21637
14b697f7
UD
21638 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21639 accurately.
db753e2c
UD
21640 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21641 GETDENTS_64BIT_ALIGNED.
21642
28300719
UD
216432010-12-14 Ulrich Drepper <dreper@gmail.com>
21644
14b697f7 21645 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21646
4f197237
AS
216472010-12-10 Andreas Schwab <schwab@redhat.com>
21648
dbb0472f
AS
21649 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21650 _GNU_SOURCE.
21651
4f197237
AS
21652 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21653 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21654 Remove __restrict.
21655 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21656 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21657
fb88ac72
UD
216582010-12-09 Ulrich Drepper <drepper@gmail.com>
21659
21660 [BZ #11655]
21661 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21662 are initialized.
21663
42acbb92
JJ
216642010-12-09 Jakub Jelinek <jakub@redhat.com>
21665
21666 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21667
c038d98d
UD
216682010-12-03 Ulrich Drepper <drepper@gmail.com>
21669
21670 * po/it.po: Update from translation team.
21671
3a4a2499
L
216722010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21673
21674 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21675 unused codes.
21676
1e24cf6e
UD
216772010-11-30 Ulrich Drepper <drepper@gmail.com>
21678
21679 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21680
a7690819
AS
216812010-11-24 Andreas Schwab <schwab@redhat.com>
21682
21683 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21684 specially.
21685 (gaih_getanswer_slice): Likewise.
21686
3bf8d1b1
JJ
216872010-10-20 Jakub Jelinek <jakub@redhat.com>
21688
21689 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21690
6db52fbb
PB
216912010-05-31 Petr Baudis <pasky@suse.cz>
21692
21693 [BZ #11149]
21694 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21695 silently even in the chroot mode.
21696
eaca7569
UD
216972010-11-22 Ulrich Drepper <drepper@gmail.com>
21698
21699 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21700 last patch a bit. Pretty printing
21701
3056dcdb
UD
217022010-05-31 Petr Baudis <pasky@suse.cz>
21703
21704 [BZ #10085]
21705 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21706 initialization of skip_initgroups_dyn.
21707
cf7c9078
UD
217082010-11-19 Ulrich Drepper <drepper@gmail.com>
21709
21710 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21712
a1fb5e3e
UD
217132010-11-16 Ulrich Drepper <drepper@gmail.com>
21714
21715 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21716
3540d66b
AS
217172010-11-11 Andreas Schwab <schwab@redhat.com>
21718
21719 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21720 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21721 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21722 ($(objpfx)tst-fnmatch-mem): New rule.
21723 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21724 * posix/tst-fnmatch.c (main): Call mtrace.
21725
13b69574
L
217262010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21729 Support Intel processor model 6 and model 0x2c.
21730
da93d214
LM
217312010-11-10 Luis Machado <luisgpm@br.ibm.com>
21732
21733 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21734 signed comparison.
21735
8ca52c6e
L
217362010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21737
21738 [BZ #12205]
21739 * string/test-strncasecmp.c (check_result): New function.
21740 (do_one_test): Use it.
21741 (check1): New function.
21742 (test_main): Use it.
21743 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21744 Support strcasecmp and strncasecmp.
21745
69da074d
UD
217462010-11-08 Ulrich Drepper <drepper@gmail.com>
21747
21748 [BZ #12194]
21749 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21751
ff02d528
L
217522010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21753
21754 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21755 IFUNC support.
21756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21757 memset-x86-64.
21758 * sysdeps/x86_64/multiarch/bzero.S: New file.
21759 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21760 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21761 * sysdeps/x86_64/multiarch/memset.S: New file.
21762 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21764 Set bit_Prefer_SSE_for_memop for Intel processors.
21765 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21766 Define.
21767 (index_Prefer_SSE_for_memop): Define.
21768 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21769
344d0b54
LM
217702010-11-04 Luis Machado <luisgpm@br.ibm.com>
21771
21772 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21773 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21774
c0dde15b
UD
217752010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21776
21777 [BZ #12191]
21778 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21779 (__x86_64_raw_data_cache_size_half): Likewise.
21780 (__x86_64_raw_shared_cache_size): Likewise.
21781 (__x86_64_raw_shared_cache_size_half): Likewise.
21782
21783 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21784 (__x86_64_raw_data_cache_size_half): Likewise.
21785 (__x86_64_raw_shared_cache_size): Likewise.
21786 (__x86_64_raw_shared_cache_size_half): Likewise.
21787 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21788 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21789 and __x86_64_raw_shared_cache_size_half. Round
21790 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21791 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21792 to multiple of 256 bytes.
21793
0e516e0e
MS
217942010-11-03 Ulrich Drepper <drepper@gmail.com>
21795
21796 [BZ #12167]
21797 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21798 of inacessible symlinks. Verify result of symlink before returning it.
21799 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21800 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21801
0e012e87
ER
218022010-10-28 Erich Ritz <erichritz@gmail.com>
21803
21804 * math/math.h (isinf): Fix typo in comment.
21805
de0ff7bc
UD
218062010-11-01 Ulrich Drepper <drepper@gmail.com>
21807
21808 * po/da.po: Update from translation team.
21809
fa41c84d
UD
218102010-10-26 Ulrich Drepper <drepper@gmail.com>
21811
21812 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21813 is added to the list.
21814
f0967738
AK
218152010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21816 Ulrich Drepper <drepper@gmail.com>
21817
21818 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21819 the global list here. Move code to...
21820 (_dl_add_to_namespace_list): ...here. New function.
21821 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21822 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21823 * elf/dl-load.c (lose): Don't remove the element from the list.
21824 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21825 (_dl_map_object): Likewise.
21826
218272010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21828
21829 [BZ #12159]
21830 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21831 into all bytes of SSE register.
21832 Patch by Richard Li <richardpku@gmail.com>.
21833
f0967738 218342010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21835
21836 [BZ #12140]
21837 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21838 perturbing.
21839
d0b9e94f
MB
218402010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21841
21842 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21843 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21844 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21847 submachine.
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21849
8e9f92e9
AS
218502010-10-22 Andreas Schwab <schwab@redhat.com>
21851
21852 * include/dlfcn.h (__RTLD_SECURE): Define.
21853 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21854 mode & __RTLD_SECURE instead.
21855 (open_path): Rename preloaded parameter to secure.
21856 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21857 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21858 * elf/dl-deps.c (openaux): Likewise.
21859 * elf/rtld.c (struct map_args): Remove is_preloaded.
21860 (map_doit): Don't use it.
21861 (dl_main): Likewise.
21862 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21863 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21864
bc96fbda
AS
218652010-09-09 Andreas Schwab <schwab@redhat.com>
21866
21867 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21868 (sysd-rules-targets): Remove duplicates.
21869 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21870 rtld-%.$o dependency.
21871
22cd1c9b
AS
218722010-10-18 Andreas Schwab <schwab@redhat.com>
21873
21874 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21875 _dl_map_object do it.
21876
18edac48
UD
218772010-10-19 Ulrich Drepper <drepper@gmail.com>
21878
21879 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21880 fast fma builtins, define the macros in the C99 standard.
21881 (FP_FAST_FMAF): Likewise.
21882 (FP_FAST_FMAL): Likewise.
21883 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21884
21885 * bits/mathdef.h: Update copyright year.
21886 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21887
d2050124
MM
218882010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21889
21890 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21891 builtins, define the macros in the C99 standard.
21892 (FP_FAST_FMAF): Likewise.
21893 (FP_FAST_FMAL): Likewise.
21894 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21895 multiply/add.
21896 (FP_FAST_FMAF): Likewise.
21897
475facd1
JJ
218982010-10-15 Jakub Jelinek <jakub@redhat.com>
21899
21900 [BZ #3268]
21901 * math/libm-test.inc (fma_test): Some new testcases.
21902 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21903 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21904 y and infinite z. Do multiplication by C already in long double.
21905 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21907 y and infinite z. Do bitwise or of inexact bit into u.d.
21908 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21909 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21910 * sysdeps/i386/fpu/s_fma.S: Removed.
21911 * sysdeps/i386/fpu/s_fmal.S: Removed.
21912
7c08a05c
JJ
219132010-10-16 Jakub Jelinek <jakub@redhat.com>
21914
21915 [BZ #3268]
21916 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21918 computation is not scheduled after fetestexcept. Fix value
21919 of minimum denormal long double.
21920
f3f7372d
JJ
219212010-10-14 Jakub Jelinek <jakub@redhat.com>
21922
21923 [BZ #3268]
21924 * math/libm-test.inc (fma_test): Add some more tests.
21925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21926 correctly.
21927
14d43591
AS
219282010-10-15 Andreas Schwab <schwab@redhat.com>
21929
21930 * scripts/data/localplt-s390-linux-gnu.data: New file.
21931 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21932
5e908464
JJ
219332010-10-13 Jakub Jelinek <jakub@redhat.com>
21934
21935 [BZ #3268]
21936 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21937 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21938 instead of dbl-64.
21939 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21940 inlines.
21941 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21943 if one of x and y is very large and the other is subnormal.
21944 * sysdeps/s390/fpu/s_fmaf.c: New file.
21945 * sysdeps/s390/fpu/s_fma.c: New file.
21946 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21947 * sysdeps/powerpc/fpu/s_fma.S: New file.
21948 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21949 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21950 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21951
219522010-10-12 Jakub Jelinek <jakub@redhat.com>
21953
21954 [BZ #3268]
21955 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21956 fma tests.
21957 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21958 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21959 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21960 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21961 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21962 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21963 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21964
b833d51f
UD
219652010-10-12 Ulrich Drepper <drepper@redhat.com>
21966
21967 [BZ #12078]
21968 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21969 * posix/bug-regex31.input: Add test case.
21970
1751705d
UD
219712010-10-11 Ulrich Drepper <drepper@gmail.com>
21972
e9b9cbf5
UD
21973 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21974 * posix/bug-regex31.input: New file.
21975
21976 [BZ #12078]
21977 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21978 (parse_sub_exp): Fix last change, use postorder.
21979
ef06edbe
UD
21980 * posix/bug-regex31.c: New file.
21981 * posix/Makefile: Add rules to build and run bug-regex31.
21982
a129c80d
UD
21983 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21984
21985 [BZ #12078]
21986 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21987
b76b818e
UD
21988 [BZ #12108]
21989 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21990 to have entries in sys_siglist.
21991
1751705d
UD
21992 [BZ #12093]
21993 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21994 be NULL.
21995
9ff8d36f
JJ
219962010-10-07 Jakub Jelinek <jakub@redhat.com>
21997
21998 [BZ #3268]
21999 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22000 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22001 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22002 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22003 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22004 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22005 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22006 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22007 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22008 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22009 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22010 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22011 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22012 * math/ftestexcept.c (fetestexcept): Likewise.
22013 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22014 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22015 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22016 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22017 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22018 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22019 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22020
af325969
UD
220212010-10-11 Ulrich Drepper <drepper@gmail.com>
22022
c579b202 22023 [BZ #12107]
af325969
UD
22024 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22025 newline.
22026
67a67b95
UD
220272010-10-06 Ulrich Drepper <drepper@gmail.com>
22028
22029 * string/bug-strstr1.c: New file.
22030 * string/Makefile: Add rules to build and run bug-strstr1.
22031
5fb308bc
EB
220322010-10-05 Eric Blake <eblake@redhat.com>
22033
22034 [BZ #12092]
22035 * string/str-two-way.h (two_way_long_needle): Always clear memory
22036 when skipping input due to the shift table.
22037
45db99c7
UD
220382010-10-03 Ulrich Drepper <drepper@gmail.com>
22039
3b111893
UD
22040 [BZ #12005]
22041 * malloc/mcheck.c: Handle large requests.
22042
45db99c7
UD
22043 [BZ #12077]
22044 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22045 for strncmp and strncasecmp.
22046 * string/stratcliff.c: Add tests for strcmp and strncmp.
22047 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22048
cf7a1eb8
NI
220492010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22050
22051 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22052 __set_fpscr.
22053
6484ba5e
AJ
220542010-09-30 Andreas Jaeger <aj@suse.de>
22055
22056 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22057 (CGROUP_SUPER_MAGIC): Define.
22058 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22059 Handle btrfs and cgroup file systems.
22060 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22061 Likewise.
22062
91c42559
LM
220632010-09-27 Luis Machado <luisgpm@br.ibm.com>
22064
22065 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22066 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22067
87a97932
AK
220682010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22069
22070 [BZ #12067]
22071 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22072 trying to locate the ELF header.
22073
c21cc9bc
AS
220742010-09-27 Andreas Schwab <schwab@redhat.com>
22075
22076 [BZ #11611]
22077 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22078 Mask out sign-bit copies when constructing f_fsid.
22079
315970f6
PB
220802010-09-24 Petr Baudis <pasky@suse.cz>
22081
22082 * debug/stack_chk_fail_local.c: Add missing licence exception.
22083 * debug/warning-nop.c: Likewise.
22084
1ac7a2c7
JM
220852010-09-15 Joseph Myers <joseph@codesourcery.com>
22086
22087 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22088 implementing getdents64 using getdents syscall, set d_type if
22089 __ASSUME_GETDENTS32_D_TYPE.
22090
56801c50
AS
220912010-09-16 Andreas Schwab <schwab@redhat.com>
22092
22093 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22094 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22095
dda51327
UD
220962010-09-21 Ulrich Drepper <drepper@redhat.com>
22097
22098 [BZ #12037]
22099 * posix/unistd.h: Undo change of feature selection for ftruncate from
22100 2010-01-11.
22101
8ffcee4a
UD
221022010-09-20 Ulrich Drepper <drepper@redhat.com>
22103
a545ecd9 22104 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22105 detection.
22106
e24f0a8b
AS
221072010-09-20 Andreas Schwab <schwab@redhat.com>
22108
22109 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22110 fanotify_mark.
22111 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22112
7291c56f
AS
221132010-09-14 Andreas Schwab <schwab@redhat.com>
22114
22115 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22116 variables after CHECK_SP call.
22117 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22118
bc5fb037
AS
221192010-09-13 Andreas Schwab <schwab@redhat.com>
22120 Ulrich Drepper <drepper@redhat.com>
22121
22122 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22123 re-relocationg ld.so.
22124 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22125 _dl_init_paths call.
22126 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22127 here anymore.
22128
e66e7419
UD
221292010-09-14 Ulrich Drepper <drepper@redhat.com>
22130
22131 * resolv/res_init.c (__res_vinit): Count the default server we added.
22132
c044aa75
CLT
221332010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22134 Ulrich Drepper <drepper@redhat.com>
22135
22136 [BZ #11968]
22137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22138 (____longjmp_chk): Use %ebx for saving value across system call.
22139 Add unwind info.
22140
32cf4069
AS
221412010-09-06 Andreas Schwab <schwab@redhat.com>
22142
22143 * manual/Makefile: Don't mix pattern rules with normal rules.
22144
817328ee
AS
221452010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22146
22147 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22148 operation.
22149 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22150 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22151 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22152 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22154 Likewise.
22155
29fddf61
UD
221562010-09-04 Ulrich Drepper <drepper@redhat.com>
22157
22158 [BZ #11979]
22159 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22160 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22161
0959ffc9
UD
221622010-09-02 Ulrich Drepper <drepper@redhat.com>
22163
22164 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22165 * sysdeps/x86_64/addmul_1.S: Likewise.
22166 * sysdeps/x86_64/lshift.S: Likewise.
22167 * sysdeps/x86_64/mul_1.S: Likewise.
22168 * sysdeps/x86_64/rshift.S: Likewise.
22169 * sysdeps/x86_64/sub_n.S: Likewise.
22170 * sysdeps/x86_64/submul_1.S: Likewise.
22171
ece29840
ST
221722010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22173
0959ffc9
UD
22174 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22175 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22176 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22177 * bits/sched.h [__need_schedparam]
ece29840 22178 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22179 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22180 (__defined_schedparam): Define to 1.
ece29840
ST
22181 (__sched_param): New structure, identical to sched_param.
22182 (__need_schedparam): Undefine.
22183
e53a31fe
MF
221842010-08-31 Mike Frysinger <vapier@gentoo.org>
22185
fdc0c10d
MF
22186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22187 (epoll_create1): Declare.
22188
e53a31fe
MF
22189 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22190
a726d796
AS
221912010-08-31 Andreas Schwab <schwab@redhat.com>
22192
22193 [BZ #7066]
22194 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22195 shifting retval into place.
22196
2f3e3dc7
UD
221972010-09-01 Ulrich Drepper <drepper@redhat.com>
22198
f2933da9
UD
22199 * nis/rpcsvc/nis.h: Update copyright notice.
22200 * nis/rpcsvc/nis.x: Likewise.
22201 * nis/rpcsvc/nis_callback.h: Likewise.
22202 * nis/rpcsvc/nis_callback.x: Likewise.
22203 * nis/rpcsvc/nis_object.x: Likewise.
22204 * nis/rpcsvc/nis_tags.h: Likewise.
22205 * nis/rpcsvc/yp.h: Likewise.
22206 * nis/rpcsvc/yp.x: Likewise.
22207 * nis/rpcsvc/ypupd.h: Likewise.
22208 * nis/yp_xdr.c: Likewise.
22209 * nis/ypupdate_xdr.c: Likewise.
22210
2f3e3dc7
UD
22211 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22212 mainly the body of pmap_getport. Add parameters to specify timeouts.
22213 (pmap_getport): Use __libc_rpc_getport.
22214 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22215 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22216 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22217
f3dcc2f9
AS
222182010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22219
22220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22221 fanotify_mark.
22222
6d34eb5b
RM
222232010-08-27 Roland McGrath <roland@redhat.com>
22224
22225 * sysdeps/i386/i686/multiarch/Makefile
22226 (CFLAGS-varshift.c): New variable.
22227
9ea3de11
UD
222282010-08-27 Ulrich Drepper <drepper@redhat.com>
22229
c96d23fc
UD
22230 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22231 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22232
9ea3de11
UD
22233 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22234
22235 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22236
623aac7f
L
222372010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22238
22239 * sysdeps/x86_64/strlen.S: Unroll the loop.
22240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22241 strlen-sse2 strlen-sse2-bsf.
22242 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22243 __strlen_no_bsf if bit_Slow_BSF is set.
22244 (__strlen_sse42): Removed.
22245 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22246 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22247
8b2b7715
RM
222482010-08-25 Roland McGrath <roland@redhat.com>
22249
22250 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22251 * sysdeps/x86_64/multiarch/varshift.c: New file.
22252 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22253 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22254 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22255 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22256
e73015f2
L
222572010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22258
22259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22260 strlen-sse2 strlen-sse2-bsf.
22261 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22262 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22263 (__strlen_sse2): Removed.
22264 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22265 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22267 bit_Slow_BSF for Atom.
22268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22269 (index_Slow_BSF): Define.
22270 (HAS_SLOW_BSF): Define.
22271
df24a73e
UD
222722010-08-25 Ulrich Drepper <drepper@redhat.com>
22273
22274 [BZ #10851]
22275 * resolv/res_init.c (__res_vinit): When no server address at all
22276 is given default to loopback.
22277
f2ac4868
RM
222782010-08-24 Roland McGrath <roland@redhat.com>
22279
09055553
RM
22280 * configure.in: Remove config-name.h generation.
22281 * configure: Regenerated.
22282 * config-name.in: File removed.
22283 * scripts/config-uname.sh: New file.
22284 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22285 ($(objdir)config-name.h): New target.
22286
f2ac4868
RM
22287 * sunrpc/rpc_parse.h: Avoid nested comment.
22288
73f27d5e
RH
222892010-08-24 Richard Henderson <rth@redhat.com>
22290 Ulrich Drepper <drepper@redhat.com>
22291 H.J. Lu <hongjiu.lu@intel.com>
22292
22293 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22295 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22296 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22297 _mm_alignr_epi8 with _mm_loadu_si128.
22298 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22299 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22300 (__m128i_shift_right): Removed.
22301 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22302 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22303 * sysdeps/x86_64/multiarch/varshift.h: New file.
22304 * sysdeps/x86_64/multiarch/varshift.S: New file.
22305
84b9230c
MF
223062010-08-21 Mike Frysinger <vapier@gentoo.org>
22307
22308 * configure.in: Move assembler checks to before sysdep dir checking.
22309
9bbd0ddc
PB
223102010-08-20 Petr Baudis <pasky@suse.cz>
22311
22312 * LICENSES: Sync the sunrpc license.
22313
9da4bb31
UD
223142010-08-19 Ulrich Drepper <drepper@redhat.com>
22315
a7ab6ec8
UD
22316 * sunrpc/auth_des.c: Update copyright notice once again.
22317 * sunrpc/auth_none.c: Likewise.
22318 * sunrpc/auth_unix.c: Likewise.
22319 * sunrpc/authdes_prot.c: Likewise.
22320 * sunrpc/authuxprot.c: Likewise.
22321 * sunrpc/bindrsvprt.c: Likewise.
22322 * sunrpc/clnt_gen.c: Likewise.
22323 * sunrpc/clnt_perr.c: Likewise.
22324 * sunrpc/clnt_raw.c: Likewise.
22325 * sunrpc/clnt_simp.c: Likewise.
22326 * sunrpc/clnt_tcp.c: Likewise.
22327 * sunrpc/clnt_udp.c: Likewise.
22328 * sunrpc/clnt_unix.c: Likewise.
22329 * sunrpc/des_crypt.c: Likewise.
22330 * sunrpc/des_soft.c: Likewise.
22331 * sunrpc/get_myaddr.c: Likewise.
22332 * sunrpc/getrpcport.c: Likewise.
22333 * sunrpc/key_call.c: Likewise.
22334 * sunrpc/key_prot.c: Likewise.
22335 * sunrpc/openchild.c: Likewise.
22336 * sunrpc/pm_getmaps.c: Likewise.
22337 * sunrpc/pm_getport.c: Likewise.
22338 * sunrpc/pmap_clnt.c: Likewise.
22339 * sunrpc/pmap_prot.c: Likewise.
22340 * sunrpc/pmap_prot2.c: Likewise.
22341 * sunrpc/pmap_rmt.c: Likewise.
22342 * sunrpc/rpc/auth.h: Likewise.
22343 * sunrpc/rpc/auth_unix.h: Likewise.
22344 * sunrpc/rpc/clnt.h: Likewise.
22345 * sunrpc/rpc/des_crypt.h: Likewise.
22346 * sunrpc/rpc/key_prot.h: Likewise.
22347 * sunrpc/rpc/netdb.h: Likewise.
22348 * sunrpc/rpc/pmap_clnt.h: Likewise.
22349 * sunrpc/rpc/pmap_prot.h: Likewise.
22350 * sunrpc/rpc/pmap_rmt.h: Likewise.
22351 * sunrpc/rpc/rpc.h: Likewise.
22352 * sunrpc/rpc/rpc_des.h: Likewise.
22353 * sunrpc/rpc/rpc_msg.h: Likewise.
22354 * sunrpc/rpc/svc.h: Likewise.
22355 * sunrpc/rpc/svc_auth.h: Likewise.
22356 * sunrpc/rpc/types.h: Likewise.
22357 * sunrpc/rpc/xdr.h: Likewise.
22358 * sunrpc/rpc_clntout.c: Likewise.
22359 * sunrpc/rpc_cmsg.c: Likewise.
22360 * sunrpc/rpc_common.c: Likewise.
22361 * sunrpc/rpc_cout.c: Likewise.
22362 * sunrpc/rpc_dtable.c: Likewise.
22363 * sunrpc/rpc_hout.c: Likewise.
22364 * sunrpc/rpc_main.c: Likewise.
22365 * sunrpc/rpc_parse.c: Likewise.
22366 * sunrpc/rpc_parse.h: Likewise.
22367 * sunrpc/rpc_prot.c: Likewise.
22368 * sunrpc/rpc_sample.c: Likewise.
22369 * sunrpc/rpc_scan.c: Likewise.
22370 * sunrpc/rpc_scan.h: Likewise.
22371 * sunrpc/rpc_svcout.c: Likewise.
22372 * sunrpc/rpc_tblout.c: Likewise.
22373 * sunrpc/rpc_util.c: Likewise.
22374 * sunrpc/rpc_util.h: Likewise.
22375 * sunrpc/rpcinfo.c: Likewise.
22376 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22377 * sunrpc/rpcsvc/key_prot.x: Likewise.
22378 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22379 * sunrpc/rpcsvc/mount.x: Likewise.
22380 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22381 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22382 * sunrpc/rpcsvc/rex.x: Likewise.
22383 * sunrpc/rpcsvc/rstat.x: Likewise.
22384 * sunrpc/rpcsvc/rusers.x: Likewise.
22385 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22386 * sunrpc/rpcsvc/spray.x: Likewise.
22387 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22388 * sunrpc/rtime.c: Likewise.
22389 * sunrpc/svc.c: Likewise.
22390 * sunrpc/svc_auth.c: Likewise.
22391 * sunrpc/svc_authux.c: Likewise.
22392 * sunrpc/svc_raw.c: Likewise.
22393 * sunrpc/svc_run.c: Likewise.
22394 * sunrpc/svc_simple.c: Likewise.
22395 * sunrpc/svc_tcp.c: Likewise.
22396 * sunrpc/svc_udp.c: Likewise.
22397 * sunrpc/svc_unix.c: Likewise.
22398 * sunrpc/svcauth_des.c: Likewise.
22399 * sunrpc/xcrypt.c: Likewise.
22400 * sunrpc/xdr.c: Likewise.
22401 * sunrpc/xdr_array.c: Likewise.
22402 * sunrpc/xdr_float.c: Likewise.
22403 * sunrpc/xdr_mem.c: Likewise.
22404 * sunrpc/xdr_rec.c: Likewise.
22405 * sunrpc/xdr_ref.c: Likewise.
22406 * sunrpc/xdr_sizeof.c: Likewise.
22407 * sunrpc/xdr_stdio.c: Likewise.
22408
9da4bb31
UD
22409 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22410 handling.
22411
bdaa77bc
AS
224122010-08-19 Andreas Schwab <schwab@redhat.com>
22413
22414 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22415
fe2f79db
LM
224162010-08-19 Luis Machado <luisgpm@br.ibm.com>
22417
22418 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22419 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22420 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22421 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22422 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22423 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22424 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22425 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22426 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22427 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22428 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22429 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22430 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22431 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22432
b9b42ee0
AB
224332010-07-26 Anton Blanchard <anton@samba.org>
22434
22435 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22436 * malloc/arena.c (heap_trim): Likewise.
22437
1c06ba31
UD
224382010-08-16 Ulrich Drepper <drepper@redhat.com>
22439
22440 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22441 here. Not...
22442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22443 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22444
f8392f40
L
224452010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22446
22447 * sysdeps/i386/elf/Makefile: New file.
22448
3162f12e
AS
224492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22450
22451 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22452 from fanotify_init.
22453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22454 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22455
28c90b2c
UD
224562010-08-15 Ulrich Drepper <drepper@redhat.com>
22457
22458 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22459 of strncasecmp_l.
1feccb6c 22460 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22461
ca6bb004
UD
224622010-08-14 Ulrich Drepper <drepper@redhat.com>
22463
e9f82e0d
UD
22464 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22465 strncase_l-nonascii.
22466 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22467 Add strncase_l-ssse3.
22468 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22469 * sysdeps/x86_64/strcmp.S: Likewise.
22470 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22471 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22472 * sysdeps/x86_64/strncase.S: New file.
22473 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22474 * sysdeps/x86_64/strncase_l.S: New file.
22475 * string/Makefile (strop-tests): Add strncasecmp.
22476 * string/test-strncasecmp.c: New file.
22477
22478 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22479 warning.
22480
ca6bb004
UD
22481 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22482 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22483
052fa7b3
AS
224842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22485
22486 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22487
962dba78
UD
224882010-08-12 Ulrich Drepper <drepper@redhat.com>
22489
22490 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22491 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22492 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22493
bebff237
AM
224942010-05-01 Alan Modra <amodra@gmail.com>
22495
22496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22497 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22498 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22499 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22500 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22501 tidying. Don't tail-call __sigjmp_save for static lib.
22502 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22503 save location.
22504 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22505 (CALL_MCOUNT): Add eh info, and nop after bl.
22506 (TAIL_CALL_SYSCALL_ERROR): New macro.
22507 (PSEUDO_RET): Use it.
22508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22509 Correct save location of integer regs and cr.
22510 (_dl_profile_resolve): Correct cr save location. Delete nops
22511 after bl when SHARED. Reduce cfi size a little by better
22512 placement of cfi directives.
22513 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22514 make a stack frame. Instead use parm save area as a temp.
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22516 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22518 Don't make a stack frame for parent, use parm save area.
22519 Increase child stack frame to 112 bytes. Don't save unused reg,
22520 and adjust reg usage. Set up cfi on error recovery and
22521 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22523 (__makecontext): Add dummy nop after jump to exit.
22524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22525 Use correct parm save area and cr save, reduce stack frame.
22526 Correct cfi for possible PSEUDO_RET frame setup.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22528 Branch to local label emitted by PSEUDO_RET rather than
22529 __syscall_error.
22530
02637374
AS
225312010-08-12 Andreas Schwab <schwab@redhat.com>
22532
22533 [BZ #11904]
22534 * locale/programs/locale.c (print_assignment): New function.
22535 (show_locale_vars): Use it.
22536
c3e2f19b
UD
225372010-08-11 Ulrich Drepper <drepper@redhat.com>
22538
3cdaa6ad
UD
22539 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22540 field.
22541 (struct statfs64): Likewise.
22542 (_STATFS_F_FLAGS): Define.
22543 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22545 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22546 (ST_VALID): Define locally.
22547 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22548 __statvfs_getflags, use the provided value.
22549 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22550 __ASSUME_STATFS_F_FLAGS.
22551
754f7da3
UD
22552 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22553
10b3bedc
UD
22554 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22555 Add sys/fanotify.h.
22556 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22557 fanotify_mask for GLIBC_2.13.
22558 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22559 fanotify_init and fanotify_mark.
22560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22561 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22562
c08fb0d7
UD
22563 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22564 Add prlimit.
22565 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22566 prlimit64 for GLIBC_2.13.
22567 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22568 prlimit64.
22569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22570 syscall.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22572 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22573 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22574 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22575 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22576 add prlimit alias.
22577 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22578
15bac72b
UD
22579 [BZ #11903]
22580 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22581 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22582
c3e2f19b
UD
22583 * nss/Makefile: Add rules to build and run tst-nss-test1.
22584 * shlib-versions: Add entry for libnss_test1.
22585 * nss/nss_test1.c: New file.
22586 * nss/tst-nss-test1.c: New file.
22587
22588 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22589 (__nss_configure_lookup): Set appropriate entry in
22590 __nss_configure_lookup to true.
22591 * nss/nsswitch.h: Define enum with indeces of databases in
22592 databases and __nss_database_custom arrays. Declare
22593 __nss_database_custom.
22594 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22595 to avoid using nscd when custom rules are installed.
22596 * nss/getXXbyYY_r.c: Likewise.
22597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22598
22599 * nss/nss_files/files-parse.c: Whitespace fixes.
22600
f15ce4d8
UD
226012010-08-09 Ulrich Drepper <drepper@redhat.com>
22602
22603 [BZ #11883]
22604 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22605 * posix/fnmatch_loop.c: Likewise.
22606
d22e4cc9
AK
226072010-07-17 Andi Kleen <ak@linux.intel.com>
22608
22609 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22610 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22611 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22612 * Versions.def [GLIBC_2.13]: Add.
22613
805bc17d
UD
226142010-08-06 Ulrich Drepper <drepper@redhat.com>
22615
22616 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22617 Also fail if tpwd after pwuid call is NULL.
22618
5a42321d
ST
226192010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22620
22621 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22622 when converting to ms.
22623
fd3ebeda
ST
226242010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22625
22626 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22627 EOPNOTSUPP errors with ENOTTY.
22628 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22629 EOPNOTSUPP errors with ENOTTY.
22630
73507d3a
UD
226312010-07-31 Ulrich Drepper <drepper@redhat.com>
22632
22633 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22634 Add strcasecmp_l-ssse3.
22635 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22636 strcasecmp.
22637 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22638 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22639 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22640
fe36dd02
UD
226412010-07-30 Ulrich Drepper <drepper@redhat.com>
22642
66f6765a
UD
22643 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22644
42e08a54
UD
22645 * string/Makefile (strop-tests): Add strcasecmp.
22646 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22647 strcasecmp_l-nonascii.
22648 (gen-as-const-headers): Add locale-defines.sym.
22649 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22650 * sysdeps/x86_64/strcasecmp.S: New file.
22651 * sysdeps/x86_64/strcasecmp_l.S: New file.
22652 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22653 * sysdeps/x86_64/locale-defines.sym: New file.
22654 * string/test-strcasecmp.c: New file.
22655
fe36dd02
UD
22656 * string/test-strcasestr.c: Test both ends of the range of characters.
22657 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22658
48cbc0d6
RM
226592010-07-29 Roland McGrath <roland@redhat.com>
22660
76e6d6bc 22661 [BZ #11856]
48cbc0d6
RM
22662 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22663
880113d9
UD
226642010-07-27 Ulrich Drepper <drepper@redhat.com>
22665
22666 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22667 for ld.so.
22668
deb9cabb
AS
226692010-07-27 Andreas Schwab <schwab@redhat.com>
22670
22671 * manual/memory.texi (Malloc Tunable Parameters): Document
22672 M_PERTURB.
22673
1c7570ff
RM
226742010-07-26 Roland McGrath <roland@redhat.com>
22675
22676 [BZ #11840]
22677 * configure.in (-fgnu89-inline check): Set and substitute
22678 gnu89_inline, not libc_cv_gnu89_inline.
22679 * configure: Regenerated.
22680 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22681
24fb0f88
UD
226822010-07-26 Ulrich Drepper <drepper@redhat.com>
22683
22684 * string/test-strnlen.c: New file.
22685 * string/Makefile (strop-tests): Add strnlen.
22686 * string/tester.c (test_strnlen): Add a few more test cases.
22687 * string/tst-strlen.c: Better error reporting.
22688
22689 * sysdeps/x86_64/strnlen.S: New file.
22690
8e96b93a
UD
226912010-07-24 Ulrich Drepper <drepper@redhat.com>
22692
22693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22694 lower-latency instructions.
22695
dbc676d4
UD
226962010-07-23 Ulrich Drepper <drepper@redhat.com>
22697
22698 * string/test-strcasestr.c: New file.
22699 * string/test-strstr.c: New file.
22700 * string/Makefile (strop-tests): Add strstr and strcasestr.
22701 * string/str-two-way.h: Don't undefine MAX.
22702 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22703
f6a31e0e
AS
227042010-07-21 Andreas Schwab <schwab@redhat.com>
22705
22706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22707 strcasestr-nonascii.
22708 (CFLAGS-strcasestr-nonascii.c): Define.
22709 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22710 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22711 Remove unused attribute.
22712
5dbc3b6c
RM
227132010-07-20 Roland McGrath <roland@redhat.com>
22714
22715 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22716 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22717 ld.so.cache was broken. With it, there is no way to disable dsocaps
22718 like LD_HWCAP_MASK can disable hwcaps.
22719
23d101d8
EPM
227202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22721
22722 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22723
cc9f2e47
UD
227242010-07-16 Ulrich Drepper <drepper@redhat.com>
22725
22726 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22727 call in strcasestr.
22728 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22729 __strcasestr_sse42_nonascii.
22730 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22731 strcasestr-nonascii.c.
22732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22733
77c1b069
LM
227342010-06-15 Luis Machado <luisgpm@br.ibm.com>
22735
22736 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22738 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22739 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22740
440566c3
UD
227412010-07-09 Ulrich Drepper <drepper@redhat.com>
22742
22743 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22744 fcntl.
22745
5be9d05d
AS
227462010-07-06 Andreas Schwab <schwab@redhat.com>
22747
c30b7ee2 22748 [BZ #11577]
5be9d05d
AS
22749 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22750 dl_signal_cerror.
22751
8a492a67
UD
227522010-07-06 Ulrich Drepper <drepper@redhat.com>
22753
22754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22755 _PC_PIPE_BUF using F_GETPIPE_SZ.
22756
713df3d5
RM
227572010-07-05 Roland McGrath <roland@redhat.com>
22758
22759 * manual/arith.texi (Rounding Functions): Fix rint description
22760 implicit in round description.
22761
702e8f14
UD
227622010-07-02 Ulrich Drepper <drepper@redhat.com>
22763
22764 * elf/Makefile: Fix linking for a few tests to make recent linker
22765 happy.
22766
52ed8be9
AS
227672010-06-30 Andreas Schwab <schwab@redhat.com>
22768
22769 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22770 $(common-objpfx)libc_nonshared.a.
22771
f47c9a11
LM
227722010-06-21 Luis Machado <luisgpm@br.ibm.com>
22773
22774 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22775 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22776 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22777 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22778 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22779 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22780 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22781 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22796 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22797 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22798 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22799 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22800 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22801 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22802 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22803 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22804 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22805 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22806 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22807 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22822
6fb8cbcb
L
228232010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22824
22825 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22826 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22827 * string/memmove.c (memmove): Renamed to ...
22828 (MEMMOVE): ...this. Default to memmove.
22829 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22830 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22831 (END_CHK): Define.
22832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22833 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22834 mempcpy-ssse3-back memmove-ssse3-back.
22835 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22836 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22837 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22838 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22839 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22840 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22841 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22842 * sysdeps/x86_64/multiarch/memmove.c: New file.
22843 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22844 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22845 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22846 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22847 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22849 Define.
22850 (index_Fast_Copy_Backward): Define.
22851 (HAS_ARCH_FEATURE): Define.
22852 (HAS_FAST_REP_STRING): Define.
22853 (HAS_FAST_COPY_BACKWARD): Define.
22854
4e733bac 228552010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22856
22857 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22858 Restore proper fallback handling.
22859
63c4ed22
UD
228602010-06-19 Ulrich Drepper <drepper@redhat.com>
22861
ac2b484c
UD
22862 [BZ #11701]
22863 * posix/group_member.c (__group_member): Correct checking loop.
22864
63c4ed22
UD
22865 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22866 OOM in getpwuid_r correctly. Return error number when the caller
22867 should return, otherwise -1.
22868 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22869 call returning > 0 value.
22870 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22871
765ade4b
AS
228722010-06-07 Andreas Schwab <schwab@redhat.com>
22873
22874 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22875 libc_nonshared.a from targets in modules-names.
22876
80da2e09
KS
228772010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22878
22879 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22880 requires it.
22881
158db122
LM
228822010-06-10 Luis Machado <luisgpm@br.ibm.com>
22883
22884 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22885 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22888
caa78cf8
AS
228892010-06-02 Andreas Schwab <schwab@redhat.com>
22890
22891 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22892
b2ef2c01
UD
228932010-06-14 Ulrich Drepper <drepper@redhat.com>
22894
22895 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22896 and F_GETPIPE_SZ.
22897 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22902 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22903
fbd643b6
RM
229042010-06-14 Roland McGrath <roland@redhat.com>
22905
22906 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22907
f32f2869
JJ
229082010-06-07 Jakub Jelinek <jakub@redhat.com>
22909
22910 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22911 __REDIRECT followed by __THROW.
22912 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22913 * posix/getopt.h (getopt): Likewise.
22914
2a50c078
EPM
229152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22916
22917 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22918 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22919 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22920 in AT_FLAGS.
22921 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22922 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22923
eb5ad2eb
LM
229242010-05-28 Luis Machado <luisgpm@br.ibm.com>
22925
22926 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22927
3c88fe1e
L
229282010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22929
22930 [BZ #11640]
22931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22932 Properly check family and model.
22933
d2f73151
TY
229342010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22935
22936 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22937
ebd2e13d
LM
229382010-05-24 Luis Machado <luisgpm@br.ibm.com>
22939
22940 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22941
b32b8b45
UD
229422010-05-21 Ulrich Drepper <drepper@redhat.com>
22943
22944 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22945 symbol reference.
22946
9acbe24d
AS
229472010-05-19 Andreas Schwab <schwab@redhat.com>
22948
22949 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22950 symbol reference.
22951
f0ccf6ea
AS
229522010-05-21 Andreas Schwab <schwab@redhat.com>
22953
3d04ff3a
AS
22954 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22955 and internal_recvmmsg.
22956 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22957 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22958 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22959 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22960
f0ccf6ea
AS
22961 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22962 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22963 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22964
5b08ac57
AS
229652010-05-20 Andreas Schwab <schwab@redhat.com>
22966
22967 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22968
4828935d
LM
229692010-05-17 Luis Machado <luisgpm@br.ibm.com>
22970
22971 POWER7 optimizations.
22972 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22973 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22974
373d545e
UD
229752010-05-19 Ulrich Drepper <drepper@redhat.com>
22976
22977 * version.h: Update for 2.13 development version.
22978
21a2b1ae
AS
229792010-05-12 Andrew Stubbs <ams@codesourcery.com>
22980
22981 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22982 exceptions. Return 0.
22983
3f7dcb2b
RM
229842010-05-07 Roland McGrath <roland@redhat.com>
22985
22986 * elf/ldconfig.c (main): Add a const.
22987
5f24d53a 229882010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22989
a160f8d8
UD
22990 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22991 (args_options): Add no-idn option.
22992 (ahosts_keys_int): Add idn_flags to ai_flags.
22993 (parse_option): Handle 'i' option to clear idn_flags.
22994
5f24d53a
UD
22995 * malloc/malloc.c (_int_free): Possible race in the most recently
22996 added check. Only act on the data if no current modification
22997 happened.
265bb1ce
UD
22998
22999See ChangeLog.17 for earlier changes.