]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Cast to __intptr_t before casting pointer to int64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c515fb51
L
12012-11-26 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4 before casting to void *.
5 * include/libc-internal.h (__pointer_type): New macro.
6 (__integer_if_pointer_type_sub): Likewise.
7 (__integer_if_pointer_type): Likewise.
8 (cast_to_integer): Likewise.
9 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11 before casting to atomic64_t.
12 (atomic_exchange_acq): Likewise.
13 (__arch_exchange_and_add_body): Likewise.
14 (__arch_add_body): Likewise.
15 (atomic_add_negative): Likewise.
16 (atomic_add_zero): Likewise.
17
4cf77aa9
JM
182012-11-26 Joseph Myers <joseph@codesourcery.com>
19
20 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
22 (add_fdes): Likewise.
23 (linear_search_fdes): Likewise.
24 (binary_search_unencoded_fdes): Likewise.
25
d260b3b4
AS
262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27
28 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29
67060746
AC
302012-11-24 Adam Conrad <adconrad@0c3.net>
31
32 * configure.in: Autodetect C++ header directories.
33 * configure: Regenerated.
34
800938a1
MF
352012-11-23 Mike Frysinger <vapier@gentoo.org>
36
37 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38
4e6e34e6
AS
392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
40
41 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42
7c7feb47
JM
432012-11-22 Joseph Myers <joseph@codesourcery.com>
44
7184dcdf
JM
45 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
46 LDBL_MANT_DIG == 106]: Disable some tests.
47 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48 Likewise.
49 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50 Likewise.
51
0a42601f
JM
52 [BZ #14871]
53 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
54 input for small inputs. Return +/- pi/2 for large inputs.
55 * math/libm-test.inc (atan_test): Add more tests.
56
79c9b9fe
JM
57 * sysdeps/generic/unwind-dw2-fde-glibc.c
58 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59 __attribute__ ((unused)).
60
c60d3bf2
JM
61 [BZ #14645]
62 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63 x * y if x and y are nonzero and z is zero.
64
ef1e0867
JM
65 [BZ #14811]
66 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67 nonzero exponents with absolute value below 0x1p-117 to +/-
68 0x1p-117.
69
1468ded3
JM
70 [BZ #14869]
71 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72 up arguments below 2**-450, not just those below 2**-500.
73 * math/libm-test.inc (hypot_test): Add another test.
74
8e27e3cc
JM
75 [BZ #14868]
76 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
77 Return a+b for ratio over 2**120, not 2**60.
78 * math/libm-test.inc (hypot_test): Add another test.
79
c9c0279b
JM
80 * math/libm-test.inc (clog_test): Use
81 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
82 (clog10_test): Likewise.
83
7c7feb47
JM
84 [BZ #6778]
85 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
86
fff1530e
AS
872012-11-22 Andreas Schwab <schwab@suse.de>
88
89 * sysdeps/i386/fpu/libm-test-ulps: Update.
90
94558d30
PT
912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
92
93 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
94 printf output with newline.
95
7e1be741
L
962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
97
6bfea974
L
98 [BZ #14865]
99 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
100 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
101 -z nodlopen, -z initfirst and -z execstack support.
102 * configure: Regenerated.
103
7e1be741
L
104 * elf/elf.h (DF_1_NODIRECT): New macro.
105 (DF_1_IGNMULDEF): Likewise.
106 (DF_1_NOKSYMS): Likewise.
107 (DF_1_NOHDR): Likewise.
108 (DF_1_EDITED): Likewise.
109 (DF_1_NORELOC): Likewise.
110 (DF_1_SYMINTPOSE): Likewise.
111 (DF_1_GLOBAUDIT): Likewise.
112 (DF_1_SINGLETON): Likewise.
113 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
114 DT_1_SUPPORTED_MASK bits.
115 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
116
105ce2ce
CD
1172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
118
119 * sysdeps/unix/make-syscalls.sh: Document prefixes.
120
123be9de
TS
1212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
122
d072f3f7
TS
123 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
124 macro.
125
123be9de
TS
126 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
127 (sendmmsg): Move declarations...
128 * socket/sys/socket.h: ... here.
129 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
130 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
131 include it from...
132 * socket/recvmmsg.c: ... this new file.
133 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
134 (sendmmsg): Rename to __sendmmsg, create weak alias and make
135 definition of __sendmmsg hidden.
136 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
137 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
138 Move ENOSYS stub into and include it from...
139 * socket/sendmmsg.c: ... this new file.
140 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
141 (sysdep_routines): Move recvmmsg and sendmmsg...
142 * socket/Makefile (routines): ... here.
143 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
144 (GLIBC_PRIVATE): Add __sendmmsg.
145 * include/sys/socket.h (__sendmmsg): Add declarations.
146 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
147 sendmmsg.
148
cf9a5d18
JM
1492012-11-20 Joseph Myers <joseph@codesourcery.com>
150
151 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
152 variable I1 with __attribute__ ((unused)).
153 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
154
ecd4caf9
JM
1552012-11-19 Joseph Myers <joseph@codesourcery.com>
156
be14d48f
JM
157 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
158 DUMMY variables with __attribute__ ((unused)).
159
ecd4caf9
JM
160 * bits/byteswap.h: Include <bits/types.h>.
161 (__bswap_64): Use __uint64_t instead of unsigned long long int.
162
986cab95
PT
1632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
164
165 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
166 string_t. Do not manually set errno.
167 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
168 length with __strnlen. Make sure to both set errno and return it on
169 failure.
170
6d33cc9d
DM
1712012-11-19 David S. Miller <davem@davemloft.net>
172
173 With help from Joseph Myers.
174 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
175 very large arguments properly.
176 * math/libm-test.inc (atan_test): New tests.
177 (atan2_test): New tests.
178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
180
ee663277
JM
1812012-11-19 Joseph Myers <joseph@codesourcery.com>
182
877f2d8e
JM
183 [BZ #14856]
184 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
185 Define to 3.
186
116fc08a
JM
187 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
188 [POSIX] (EADDRNOTAVAIL): Likewise.
189 [POSIX] (EAFNOSUPPORT): Likewise.
190 [POSIX] (EALREADY): Likewise.
191 [POSIX] (ECONNABORTED): Likewise.
192 [POSIX] (ECONNREFUSED): Likewise.
193 [POSIX] (ECONNRESET): Likewise.
194 [POSIX] (EDESTADDRREQ): Likewise.
195 [POSIX] (EDQUOT): Likewise.
196 [POSIX] (EHOSTUNREACH): Likewise.
197 [POSIX] (EIDRM): Likewise.
198 [POSIX] (EISCONN): Likewise.
199 [POSIX] (ELOOP): Likewise.
200 [POSIX] (EMULTIHOP): Likewise.
201 [POSIX] (ENETDOWN): Likewise.
202 [POSIX] (ENETUNREACH): Likewise.
203 [POSIX] (ENOBUFS): Likewise.
204 [POSIX] (ENODATA): Likewise.
205 [POSIX] (ENOLINK): Likewise.
206 [POSIX] (ENOMSG): Likewise.
207 [POSIX] (ENOPROTOOPT): Likewise.
208 [POSIX] (ENOSR): Likewise.
209 [POSIX] (ENOSTR): Likewise.
210 [POSIX] (ENOTCONN): Likewise.
211 [POSIX] (ENOTSOCK): Likewise.
212 [POSIX] (EOPNOTSUPP): Likewise.
213 [POSIX] (EOVERFLOW): Likewise.
214 [POSIX] (EPROTO): Likewise.
215 [POSIX] (EPROTONOSUPPORT): Likewise.
216 [POSIX] (EPROTOTYPE): Likewise.
217 [POSIX] (ESTALE): Likewise.
218 [POSIX] (ETIME): Likewise.
219 [POSIX] (ETXTBSY): Likewise.
220 [POSIX] (EWOULDBLOCK): Likewise.
221 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
222 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
223 [POSIX] (SEEK_CUR): Likewise.
224 [POSIX] (SEEK_END): Likewise.
225 [POSIX || UNIX98] (mode_t): Do not require.
226 [POSIX] (off_t): Likewise.
227 [POSIX] (pid_t): Likewise.
228 [POSIX] (sys/stat.h): Do not allow header.
229 [POSIX] (unistd.h): Likewise.
230 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
231 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
232 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
233 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
234 require.
235 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
236 sigevent): Specify elements.
237 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
238 entry.
239 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
240 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
241
a483863f
JM
242 * conform/data/cpio.h-data [POSIX]: Disable whole file.
243 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
244 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
245 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
246 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
247 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
248 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
249 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
250 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
251 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
252 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
253 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
254 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
255 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
256 Likewise.
257 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
258 Likewise.
259 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
260 Likewise.
261 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
262 Likewise.
263 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
264 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
265 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
266 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
267 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
268 Specify lower bound on value.
269 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
270 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
271 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
272 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
273 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
274 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
275 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
276 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
277 value.
278 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
279 as optional.
280 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
281 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
282 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
283 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
284 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
285 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
286 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
287 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
288 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
289 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
290 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
291 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
292 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
293 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
294 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
295 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
296 entry.
297 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
298 optional.
299 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
300 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
301 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
302 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
303 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
304 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
305 Likewise.
306 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
307 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
308 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
309 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
310 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
311 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
312 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
313 as optional.
314 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
315 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
316 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
317 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
318 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
319 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
320 specify as optional.
321 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
322 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
323 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
324 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
325 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
326 [XPG3] (NL_LANGMAX): Likewise.
327 [POSIX || XPG3] (NL_MSGMAX): Likewise.
328 [POSIX || XPG3] (NL_NMAX): Likewise.
329 [POSIX || XPG3] (NL_SETMAX): Likewise.
330 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
331 [XPG3] (NZERO): Likewise.
332 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
333 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
334 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
335 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
336 (REG_ERANGE): Expect.
337 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
338 optional-constant.
339 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
340 Use (void) in prototype.
341 [POSIX] (*_t): Allow.
342 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
343 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
344 (WRDE_BADVAL): Expect.
345
5ba924e3
JM
346 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
347 expect.
348 [XPG3 || XPG4] (O_RSYNC): Likewise.
349 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
350 Likewise.
351 [XPG3 || XPG4] (pthread_sigmask): Likewise.
352 [XPG3 || XPG4] (sigqueue): Likewise.
353 [XPG3 || XPG4] (sigtimedwait): Likewise.
354 [XPG3 || XPG4] (sigwaitinfo): Likewise.
355 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
356 [XPG3 || XPG4] (vsnprintf): Likewise.
357 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
358 Likewise.
359 [XPG3 || XPG4] (blksize_t): Likewise.
360 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
361 Likewise.
362 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
363 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
364 [XPG3 || XPG4] (struct itimerspec): Likewise.
365 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
366 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
367 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
368 [XPG3 || XPG4] (clockid_t): Likewise.
369 [XPG3 || XPG4] (timer_t): Likewise.
370 [XPG3 || XPG4] (clock_getres): Likewise.
371 [XPG3 || XPG4] (clock_gettime): Likewise.
372 [XPG3 || XPG4] (clock_settime): Likewise.
373 [XPG3 || XPG4] (nanosleep): Likewise.
374 [XPG3 || XPG4] (timer_create): Likewise.
375 [XPG3 || XPG4] (timer_delete): Likewise.
376 [XPG3 || XPG4] (timer_gettime): Likewise.
377 [XPG3 || XPG4] (timer_getoverrun): Likewise.
378 [XPG3 || XPG4] (timer_settime): Likewise.
379 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
380 [XPG3 || XPG4] (getlogin_r): Likewise.
381 [XPG3 || XPG4] (pread): Likewise.
382 [XPG3 || XPG4] (pthread_atfork): Likewise.
383 [XPG3 || XPG4] (pwrite): Likewise.
384
ee663277
JM
385 [BZ #14835]
386 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
387 <bits/siginfo.h>.
388
942caa16
PT
3892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
390
e19af380
PT
391 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
392 finalizing MALLSTREAM.
393
942caa16
PT
394 * sysdeps/mach/hurd/syncfs.c: New file.
395
cfde9b46
SP
3962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
397
398 [BZ #14719]
399 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
400 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
401 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
402 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
403 (_nss_dns_gethostbyname4_r): Likewise.
404 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
405 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
406
f6da27e5
PH
4072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
408
409 [BZ #13763]
410 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
411
6665d4a2
SM
4122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
413
1f51ee92
SM
414 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
415 * elf/cache.c (print_entry): Print ",AArch64" for
416 FLAG_AARCH64_LIB64
417
6665d4a2
SM
418 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
419 * elf/cache.c (print_entry): Print ",hard-float" for
420 FLAG_ARM_LIBHF.
421
05b227bd
DM
4222012-11-18 David S. Miller <davem@davemloft.net>
423
424 With help from Joseph Myers.
425 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
426 cutoff to 2**-13.
427 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
428 cutoff to 2**-25.
429 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
430 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
431 small.
432 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
433 * math/libm-test.inc (y0_test): New tests.
434 (y1_test): New tests.
435 * sysdeps/i386/fpu/libm-test-ulps: Update.
436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
438
786b0b67
AS
4392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
440
441 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
442 64-bit targets.
443 * configure: Regenerated.
444
8e18b86d
DM
4452012-11-17 David S. Miller <davem@davemloft.net>
446
447 [BZ #14811]
448 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
449 nonzero exponents with absolute value below 0x1p-128 to +/-
450 0x1p-128.
451
531f1ae0
JM
4522012-11-17 Joseph Myers <joseph@codesourcery.com>
453
12df29e2
JM
454 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
455
150dc1a0
JM
456 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
457
531f1ae0
JM
458 * posix/getconf-speclist.c: New file.
459 * posix/posix-envs.def: Likewise.
460 * posix/confstr.c (START_ENV_GROUP): New macro.
461 (END_ENV_GROUP): Likewise.
462 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
463 (KNOWN_PRESENT_ENV_STRING): Likewise.
464 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
465 (UNKNOWN_ENVIRONMENT): Likewise.
466 (confstr): Include posix-envs.def instead of handling
467 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
468 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
469 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
470 (END_ENV_GROUP): Likewise.
471 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
472 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
473 (UNKNOWN_ENVIRONMENT): Likewise.
474 (__sysconf): Include posix-envs.def instead of handling associated
475 cases directly here.
476 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
477 preprocessing getconf-speclist.c rather than running getconf or
478 generating empty file.
479
a93f9cbc
PT
4802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
481
482 * scripts/check-local-headers.sh: Ignore 'mach' headers.
483
d64d9f87
AL
4842012-11-16 Andrej Lajovic <natrij@gmail.com>
485
486 [BZ #14672]
487 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
488
447885eb
DM
4892012-11-16 David S. Miller <davem@davemloft.net>
490
491 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
492 smaller than LDBL_EPSILON/2.0L, just return xm1.
493
bcbf9830
L
4942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
495
496 * elf/tst-array1.c (init): Set constructor priority to 1000.
497 (fini): Set destructor priority to 1000.
498 * elf/tst-array2dep.c: Likewise.
499
2b766585
SP
5002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
501
502 [BZ #11741]
503 * libio/fileops.c (_IO_new_file_write): Correctly return error.
504 (_IO_new_file_xsputn): Also return EOF if none of the input
505 data was written when overflow failed.
506 * libio/iopadn.c (_IO_padn): Likewise.
507 * libio/iowpadn.c (_IO_wpadn): Likewise.
508 * stdio-common/tst-put-error.c: Add copyright notice.
509 (do_test): Add case for printing padded string.
510 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
511 _IO_padn returned error.
512 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
513 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
514 return EOF.
515
b1848fde
SP
5162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
517
518 * libio/libioP.h: Add comment note that the references to C++
519 bits are now obsolete.
520
2fd89785
MS
5212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
522
523 * math/libm-test.inc (check_complex): Use asprintf.
524
e3ea5409
JM
5252012-11-14 Joseph Myers <joseph@codesourcery.com>
526
527 * debug/pcprofiledump.c (print_version): Update copyright year.
528 * malloc/memusagestat.c (print_version): Likewise.
529
2e64d265
L
5302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
531
532 [BZ #14831]
533 * elf/Makefile (tests): Add tst-audit8.
534 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
535 ($(objpfx)tst-audit8.out): New target.
536 (tst-audit8-ENV): New variable.
537 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
538 audit if l_reloc_result is NULL.
539 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
540 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
541 * elf/tst-audit8.c: New file.
542
c485e4d2
MS
5432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
544
545 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
546 * misc/Makefile (CFLAGS-select.c): Define.
547 * posix/Makefile (CFLAGS-pause.c): Define.
548
3a0d900a
DM
5492012-11-13 David S. Miller <davem@davemloft.net>
550
551 * crypt/Makefile: Move test targets after toplevel Rules
552 inclusion. Grab any necessary sysdep routines when linking.
553 * crypt/md5.c (md5_process_block): Remove define, we will always
554 name it __md5_process_block.
555 (md5_finish_ctx): Update md5_process_block call.
556 (md5_stream): Likewise.
557 (md5_process_bytes): Likewise.
558 (md5_process_block): Rename to __md5_process_block and move to ...
559 * crypt/md5-block.c: ... here.
560 * crypt/sha256.c (sha256_process_block): Move to ...
561 * crypt/sha256-block.c: ... here.
562 * crypt/sha512.c (sha512_process_block): Move to ...
563 * crypt/sha512-block.c: ... here.
564 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
565 path.
566 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
567 * sysdeps/sparc/sparc64/multiarch/Makefile
568 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
569 crypt subdir.
570 (localedef-aux): Add md5 crypto assembler when in locale subdir.
571 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
572 multiarch changes.
573 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
574 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
575 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
576 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
577 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
578 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
579 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
580 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
581 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
582 file.
583 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
584 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
585 file.
586 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
587
8ca89318
JM
5882012-11-13 Joseph Myers <joseph@codesourcery.com>
589
e27d476a
JM
590 * timezone/tzselect.ksh: Update from tzcode git revision
591 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
592 * timezone/zdump.c: Likewise.
593 * timezone/zic.c: Likewise.
594 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
595 in TZVERSION setting, not $(PKGVERSION).
596 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
597 REPORT_BUGS_TO settings.
598
8ca89318
JM
599 [BZ #14838]
600 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
601 macro.
602
47594329
MS
6032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
604
605 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
606 detection to immediately after _FP_ROUND().
607 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
608 bits are 0.
609
640ac3f1
DM
6102012-11-11 David S. Miller <davem@davemloft.net>
611
612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
613 inttypes.h
614 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
615 __close rather than their public counterparts.
616
3d2577bb
JM
6172012-11-10 Joseph Myers <joseph@codesourcery.com>
618
619 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
620 file.
621 [UNIX98] (sem_timedwait): Do not expect.
622 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
623 [XPG4 || UNIX98] (sockatmark): Do not expect.
624 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
625 (clock_getcpuclockid): Do not expect.
626 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
627 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
628 Do not expect.
629 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
630 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
631 [UNIX98] (vwscanf): Likewise.
632 [UNIX98] (vswscanf): Likewise.
633
fb1ae1ee
JM
6342012-11-09 Joseph Myers <joseph@codesourcery.com>
635
9ec6f8bd
JM
636 * timezone/version.h: Remove file.
637 * timezone/README: Do not refer to version.h.
638 * timezone/Makefile ($(objpfx)zic.o): New dependency on
639 $(objpfx)version.h.
640 ($(objpfx)zdump.o): Likewise.
c3f81911 641 ($(objpfx)version.h): New target.
9ec6f8bd 642
0aa8f8a1
JM
643 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
644 2012i.
645 * timezone/README: Don't mention modification to tzselect.ksh.
646 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
647 work on unmodified tzselect.ksh. Substitute version numbers in
648 tzselect.ksh.
649
4e87147f
JM
650 * Makefile (format-me): Remove.
651 (INSTALL): Adjust indentation. Use commands directly instead of
652 using $(format-me).
653
8b748aed
JM
654 * aclocal.m4 (ACX_PKGVERSION): New macro.
655 (ACX_BUGURL): Likewise.
656 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
657 (PKGVERSION): New AC_DEFINE_UNQUOTED.
658 (REPORT_BUGS_TO): Likewise.
659 * configure: Regenerated.
660 * config.h.in (PKGVERSION): New macro.
661 (REPORT_BUGS_TO): Likewise.
662 * config.make.in (PKGVERSION): New variable.
663 (PKGVERSION_TEXI): Likewise.
664 (REPORT_BUGS_TO): Likewise.
665 (REPORT_BUGS_TEXI): Likewise.
666 * Makefile (format-me): Use -I$(common-objpfx)manual.
667 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
668 ($(common-objpfx)manual/%): New target.
669 (manual/%): Remove target.
670 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
671 (print_version): Use PKGVERSION.
672 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
673 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
674 and REPORT_BUGS_TO.
675 ($(objpfx)xtrace): Likewise.
676 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
677 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
678 (print_version): Use PKGVERSION.
679 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
680 (do_version): Use PKGVERSION.
681 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
682 REPORT_BUGS_TO.
683 (common-ldd-rewrite): Likewise.
684 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
685 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
686 (print_version): Use PKGVERSION.
687 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
688 * elf/pldd.c (argp_program_bug_address): Remove variable.
689 (more_help): New function.
690 (argp): Use more_help.
691 (print_version): Use PKGVERSION.
692 * elf/sln.c (main): Use PKGVERSION.
693 (usage): Use REPORT_BUGS_TO.
694 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
695 (top level): Use PKGVERSION.
696 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
697 (print_version): Use PKGVERSION.
698 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
699 (print_version): Use PKGVERSION.
700 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
701 (print_version): Use PKGVERSION.
702 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
703 (print_version): Use PKGVERSION.
704 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
705 (print_version): Use PKGVERSION.
706 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
707 (print_version): Use PKGVERSION.
708 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
709 and BUGURL.
710 ($(objpfx)memusage): Likewise.
711 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
712 (do_version): Use PKGVERSION.
713 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
714 (print_version): Use PKGVERSION.
715 * malloc/mtrace.pl ($PACKAGE): Remove variable.
716 ($PKGVERSION): New variable.
717 ($REPORT_BUGS_TO): Likewise.
718 (usage): Use $REPORT_BUGS_TO.
719 (top level): Use $PKGVERSION.
720 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
721 ($(objpfx)pkgvers.texi): New rule.
722 ($(objpfx)stamp-pkgvers): Likewise.
723 * manual/install.texi: Include pkgvers.texi.
724 (--with-pkgversion): Document new configure option.
725 (--with-bugurl): Likewise.
726 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
727 than necessarily for this particular distribution. Use
728 REPORT_BUGS_TO for where to report bugs.
729 * INSTALL: Regenerated.
730 * manual/libc.texinfo: Include pkgvers.texi.
731 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
732 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
733 (print_version): Use PKGVERSION.
734 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
735 (print_version): Use PKGVERSION.
736 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
737 (print_version): Use PKGVERSION.
738 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
739 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
740 macro.
741 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
742 (print_version): Use PKGVERSION.
743 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
744 (print_version): Use PKGVERSION.
745 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
746 and PKGVERSION.
747
92e4b6a9
JM
748 * timezone/checktab.awk: Update from tzcode 2012i.
749 * timezone/ialloc.c: Likewise.
750 * timezone/private.h: Likewise.
751 * timezone/scheck.c: Likewise.
752 * timezone/tzfile.h: Likewise.
753 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
754 (TZVERSION): Hardcode tzcode version number.
755 * timezone/zdump.c: Update from tzcode 2012i.
756 * timezone/zic.c: Likewise.
757 * timezone/version.h: New file.
758 * timezone/README: Describe version.h. Update upstream location.
759
9bde902c
JM
760 [BZ #14824]
761 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
762 (mktemp): Enable declaration.
763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
764 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
767 Likewise.
768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
769 Likewise.
770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
771 Likewise.
772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
773 Likewise.
774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
775 Likewise.
776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
777 Likewise.
778
fb1ae1ee
JM
779 [BZ #14821]
780 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
781 offset in buffer as u_int32_t not u_long. Consistently use memcpy
782 for copies of such integer values.
783 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
784 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
785
2c1adbcb
AJ
7862012-11-09 Andreas Jaeger <aj@suse.de>
787
788 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
789 definitions and declarations that are provided by
790 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
791
d0f8457e
AK
7922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
793
794 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
795 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
796 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
797 definition.
798
57241e26
MS
7992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
800
801 * elf/elf.h: Update comment before AArch64 relocations.
802
60e8270d
DM
8032012-11-07 David S. Miller <davem@davemloft.net>
804
805 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
806 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
807 (__start_context): Declare.
808 (__makecontext_ret): Delete.
809 (__makecontext): Hook up __start_context instead of
810 __makecontext_ret.
811 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
812 (sysdep_routines): Add __start_context when in stdlib.
813
0fbb0fbc
JM
8142012-11-07 Joseph Myers <joseph@codesourcery.com>
815
816 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
817 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
818 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
819 hardcoded "nm".
820 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
821 (READELF): New variable. Use it instead of hardcoded "readelf".
822
eb48db7e
L
8232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
824
825 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
826 * sysdeps/x86/Makefile: Here.
827 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
828 * sysdeps/x86/tst-xmmymm.sh: This.
829
05bcf62a
JM
8302012-11-07 Joseph Myers <joseph@codesourcery.com>
831
c4b6cf53
JM
832 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
833 expectations.
834 [UNIX98] (pthread_barrier_t): Do not expect.
835 [UNIX98] (pthread_barrierattr_t): Likewise.
836 [UNIX98] (pthread_spinlock_t): Likewise.
837 [UNIX98] (pthread_barrier_destroy): Likewise.
838 [UNIX98] (pthread_barrier_init): Likewise.
839 [UNIX98] (pthread_barrier_wait): Likewise.
840 [UNIX98] (pthread_barrierattr_destroy): Likewise.
841 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
842 [UNIX98] (pthread_barrierattr_init): Likewise.
843 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
844 [UNIX98] (pthread_getcpuclockid): Likewise.
845 [UNIX98] (pthread_mutex_timedlock): Likewise.
846 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
847 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
848 [UNIX98] (pthread_sigmask): Likewise.
849 [UNIX98] (pthread_spin_destroy): Likewise.
850 [UNIX98] (pthread_spin_init): Likewise.
851 [UNIX98] (pthread_spin_lock): Likewise.
852 [UNIX98] (pthread_spin_trylock): Likewise.
853 [UNIX98] (pthread_spin_unlock): Likewise.
854 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
855 Do not expect.
856 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
857 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
858 [XPG3 || XPG4] (pthread_cond_t): Likewise.
859 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
860 [XPG3 || XPG4] (pthread_key_t): Likewise.
861 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
862 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
863 [XPG3 || XPG4] (pthread_once_t): Likewise.
864 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
865 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
866 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
867 [XPG3 || XPG4] (pthread_t): Likewise.
868
cbe6e120
JM
869 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
870 not expect.
871 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
872
1b126443
JM
873 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
874 Change function return type to int.
875
b961a573
JM
876 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
877 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
878 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
879 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
880 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
881 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
882 [!POSIX] (posix_madvise): Likewise.
883 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
884 && !UNIX98].
885 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
886 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
887 (mode_t): Likewise.
888 (posix_mem_offset): Likewise.
889 (posix_typed_mem_get_info): Likewise.
890 (posix_typed_mem_open): Likewise.
891
9e188909
JM
892 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
893 Change condition to [XOPEN2K8].
894
05bcf62a
JM
895 * conform/conformtest.pl: Preprocess allow-header data with -x c
896 instead of from stdin.
897 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
898 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
899 [C99-based standards] (cerfc): Likewise.
900 [C99-based standards] (cexp2): Likewise.
901 [C99-based standards] (cexpm1): Likewise.
902 [C99-based standards] (clog10): Likewise.
903 [C99-based standards] (clog1p): Likewise.
904 [C99-based standards] (clog2): Likewise.
905 [C99-based standards] (clgamma): Likewise.
906 [C99-based standards] (ctgamma): Likewise.
907 [C99-based standards] (cerff): Likewise.
908 [C99-based standards] (cerfcf): Likewise.
909 [C99-based standards] (cexp2f): Likewise.
910 [C99-based standards] (cexpm1f): Likewise.
911 [C99-based standards] (clog10f): Likewise.
912 [C99-based standards] (clog1pf): Likewise.
913 [C99-based standards] (clog2f): Likewise.
914 [C99-based standards] (clgammaf): Likewise.
915 [C99-based standards] (ctgammaf): Likewise.
916 [C99-based standards] (cerfl): Likewise.
917 [C99-based standards] (cerfcl): Likewise.
918 [C99-based standards] (cexp2l): Likewise.
919 [C99-based standards] (cexpm1l): Likewise.
920 [C99-based standards] (clog10l): Likewise.
921 [C99-based standards] (clog1pl): Likewise.
922 [C99-based standards] (clog2l): Likewise.
923 [C99-based standards] (clgammal): Likewise.
924 [C99-based standards] (ctgammal): Likewise.
925 * conform/data/inttypes.h-data [C99-based standards]: Include
926 stdint.h-data. Remove all expectations for stdint.h contents.
927 [C99-based standards] (PRI*): Do not allow.
928 [C99-based standards] (SCN*): Likewise.
929 [C99-based standards] (*_t): Likewise.
930 [C99-based-standards] (PRId8): Expect macro.
931 [C99-based-standards] (PRIi8): Likewise.
932 [C99-based-standards] (PRIo8): Likewise.
933 [C99-based-standards] (PRIu8): Likewise.
934 [C99-based-standards] (PRIx8): Likewise.
935 [C99-based-standards] (PRIX8): Likewise.
936 [C99-based-standards] (SCNd8): Likewise.
937 [C99-based-standards] (SCNi8): Likewise.
938 [C99-based-standards] (SCNo8): Likewise.
939 [C99-based-standards] (SCNu8): Likewise.
940 [C99-based-standards] (SCNx8): Likewise.
941 [C99-based-standards] (PRIdLEAST8): Likewise.
942 [C99-based-standards] (PRIiLEAST8): Likewise.
943 [C99-based-standards] (PRIoLEAST8): Likewise.
944 [C99-based-standards] (PRIuLEAST8): Likewise.
945 [C99-based-standards] (PRIxLEAST8): Likewise.
946 [C99-based-standards] (PRIXLEAST8): Likewise.
947 [C99-based-standards] (SCNdLEAST8): Likewise.
948 [C99-based-standards] (SCNiLEAST8): Likewise.
949 [C99-based-standards] (SCNoLEAST8): Likewise.
950 [C99-based-standards] (SCNuLEAST8): Likewise.
951 [C99-based-standards] (SCNxLEAST8): Likewise.
952 [C99-based-standards] (PRIdFAST8): Likewise.
953 [C99-based-standards] (PRIiFAST8): Likewise.
954 [C99-based-standards] (PRIoFAST8): Likewise.
955 [C99-based-standards] (PRIuFAST8): Likewise.
956 [C99-based-standards] (PRIxFAST8): Likewise.
957 [C99-based-standards] (PRIXFAST8): Likewise.
958 [C99-based-standards] (SCNdFAST8): Likewise.
959 [C99-based-standards] (SCNiFAST8): Likewise.
960 [C99-based-standards] (SCNoFAST8): Likewise.
961 [C99-based-standards] (SCNuFAST8): Likewise.
962 [C99-based-standards] (SCNxFAST8): Likewise.
963 [C99-based-standards] (PRId16): Likewise.
964 [C99-based-standards] (PRIi16): Likewise.
965 [C99-based-standards] (PRIo16): Likewise.
966 [C99-based-standards] (PRIu16): Likewise.
967 [C99-based-standards] (PRIx16): Likewise.
968 [C99-based-standards] (PRIX16): Likewise.
969 [C99-based-standards] (SCNd16): Likewise.
970 [C99-based-standards] (SCNi16): Likewise.
971 [C99-based-standards] (SCNo16): Likewise.
972 [C99-based-standards] (SCNu16): Likewise.
973 [C99-based-standards] (SCNx16): Likewise.
974 [C99-based-standards] (PRIdLEAST16): Likewise.
975 [C99-based-standards] (PRIiLEAST16): Likewise.
976 [C99-based-standards] (PRIoLEAST16): Likewise.
977 [C99-based-standards] (PRIuLEAST16): Likewise.
978 [C99-based-standards] (PRIxLEAST16): Likewise.
979 [C99-based-standards] (PRIXLEAST16): Likewise.
980 [C99-based-standards] (SCNdLEAST16): Likewise.
981 [C99-based-standards] (SCNiLEAST16): Likewise.
982 [C99-based-standards] (SCNoLEAST16): Likewise.
983 [C99-based-standards] (SCNuLEAST16): Likewise.
984 [C99-based-standards] (SCNxLEAST16): Likewise.
985 [C99-based-standards] (PRIdFAST16): Likewise.
986 [C99-based-standards] (PRIiFAST16): Likewise.
987 [C99-based-standards] (PRIoFAST16): Likewise.
988 [C99-based-standards] (PRIuFAST16): Likewise.
989 [C99-based-standards] (PRIxFAST16): Likewise.
990 [C99-based-standards] (PRIXFAST16): Likewise.
991 [C99-based-standards] (SCNdFAST16): Likewise.
992 [C99-based-standards] (SCNiFAST16): Likewise.
993 [C99-based-standards] (SCNoFAST16): Likewise.
994 [C99-based-standards] (SCNuFAST16): Likewise.
995 [C99-based-standards] (SCNxFAST16): Likewise.
996 [C99-based-standards] (PRId32): Likewise.
997 [C99-based-standards] (PRIi32): Likewise.
998 [C99-based-standards] (PRIo32): Likewise.
999 [C99-based-standards] (PRIu32): Likewise.
1000 [C99-based-standards] (PRIx32): Likewise.
1001 [C99-based-standards] (PRIX32): Likewise.
1002 [C99-based-standards] (SCNd32): Likewise.
1003 [C99-based-standards] (SCNi32): Likewise.
1004 [C99-based-standards] (SCNo32): Likewise.
1005 [C99-based-standards] (SCNu32): Likewise.
1006 [C99-based-standards] (SCNx32): Likewise.
1007 [C99-based-standards] (PRIdLEAST32): Likewise.
1008 [C99-based-standards] (PRIiLEAST32): Likewise.
1009 [C99-based-standards] (PRIoLEAST32): Likewise.
1010 [C99-based-standards] (PRIuLEAST32): Likewise.
1011 [C99-based-standards] (PRIxLEAST32): Likewise.
1012 [C99-based-standards] (PRIXLEAST32): Likewise.
1013 [C99-based-standards] (SCNdLEAST32): Likewise.
1014 [C99-based-standards] (SCNiLEAST32): Likewise.
1015 [C99-based-standards] (SCNoLEAST32): Likewise.
1016 [C99-based-standards] (SCNuLEAST32): Likewise.
1017 [C99-based-standards] (SCNxLEAST32): Likewise.
1018 [C99-based-standards] (PRIdFAST32): Likewise.
1019 [C99-based-standards] (PRIiFAST32): Likewise.
1020 [C99-based-standards] (PRIoFAST32): Likewise.
1021 [C99-based-standards] (PRIuFAST32): Likewise.
1022 [C99-based-standards] (PRIxFAST32): Likewise.
1023 [C99-based-standards] (PRIXFAST32): Likewise.
1024 [C99-based-standards] (SCNdFAST32): Likewise.
1025 [C99-based-standards] (SCNiFAST32): Likewise.
1026 [C99-based-standards] (SCNoFAST32): Likewise.
1027 [C99-based-standards] (SCNuFAST32): Likewise.
1028 [C99-based-standards] (SCNxFAST32): Likewise.
1029 [C99-based-standards] (PRId64): Likewise.
1030 [C99-based-standards] (PRIi64): Likewise.
1031 [C99-based-standards] (PRIo64): Likewise.
1032 [C99-based-standards] (PRIu64): Likewise.
1033 [C99-based-standards] (PRIx64): Likewise.
1034 [C99-based-standards] (PRIX64): Likewise.
1035 [C99-based-standards] (SCNd64): Likewise.
1036 [C99-based-standards] (SCNi64): Likewise.
1037 [C99-based-standards] (SCNo64): Likewise.
1038 [C99-based-standards] (SCNu64): Likewise.
1039 [C99-based-standards] (SCNx64): Likewise.
1040 [C99-based-standards] (PRIdLEAST64): Likewise.
1041 [C99-based-standards] (PRIiLEAST64): Likewise.
1042 [C99-based-standards] (PRIoLEAST64): Likewise.
1043 [C99-based-standards] (PRIuLEAST64): Likewise.
1044 [C99-based-standards] (PRIxLEAST64): Likewise.
1045 [C99-based-standards] (PRIXLEAST64): Likewise.
1046 [C99-based-standards] (SCNdLEAST64): Likewise.
1047 [C99-based-standards] (SCNiLEAST64): Likewise.
1048 [C99-based-standards] (SCNoLEAST64): Likewise.
1049 [C99-based-standards] (SCNuLEAST64): Likewise.
1050 [C99-based-standards] (SCNxLEAST64): Likewise.
1051 [C99-based-standards] (PRIdFAST64): Likewise.
1052 [C99-based-standards] (PRIiFAST64): Likewise.
1053 [C99-based-standards] (PRIoFAST64): Likewise.
1054 [C99-based-standards] (PRIuFAST64): Likewise.
1055 [C99-based-standards] (PRIxFAST64): Likewise.
1056 [C99-based-standards] (PRIXFAST64): Likewise.
1057 [C99-based-standards] (SCNdFAST64): Likewise.
1058 [C99-based-standards] (SCNiFAST64): Likewise.
1059 [C99-based-standards] (SCNoFAST64): Likewise.
1060 [C99-based-standards] (SCNuFAST64): Likewise.
1061 [C99-based-standards] (SCNxFAST64): Likewise.
1062 [C99-based-standards] (PRIdMAX): Likewise.
1063 [C99-based-standards] (PRIiMAX): Likewise.
1064 [C99-based-standards] (PRIoMAX): Likewise.
1065 [C99-based-standards] (PRIuMAX): Likewise.
1066 [C99-based-standards] (PRIxMAX): Likewise.
1067 [C99-based-standards] (PRIXMAX): Likewise.
1068 [C99-based-standards] (SCNdMAX): Likewise.
1069 [C99-based-standards] (SCNiMAX): Likewise.
1070 [C99-based-standards] (SCNoMAX): Likewise.
1071 [C99-based-standards] (SCNuMAX): Likewise.
1072 [C99-based-standards] (SCNxMAX): Likewise.
1073 [C99-based-standards] (PRIdPTR): Likewise.
1074 [C99-based-standards] (PRIiPTR): Likewise.
1075 [C99-based-standards] (PRIoPTR): Likewise.
1076 [C99-based-standards] (PRIuPTR): Likewise.
1077 [C99-based-standards] (PRIxPTR): Likewise.
1078 [C99-based-standards] (PRIXPTR): Likewise.
1079 [C99-based-standards] (SCNdPTR): Likewise.
1080 [C99-based-standards] (SCNiPTR): Likewise.
1081 [C99-based-standards] (SCNoPTR): Likewise.
1082 [C99-based-standards] (SCNuPTR): Likewise.
1083 [C99-based-standards] (SCNxPTR): Likewise.
1084 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1085 allow.
1086 * conform/data/stdint.h-data: Update comments to clarify
1087 requirements.
1088 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1089 type.
1090 [C99-based standards] (INT8_MAX): Likewise.
1091 [C99-based standards] (INT16_MIN): Likewise.
1092 [C99-based standards] (INT16_MAX): Likewise.
1093 [C99-based standards] (INT32_MIN): Likewise.
1094 [C99-based standards] (INT32_MAX): Likewise.
1095 [C99-based standards] (INT64_MIN): Likewise.
1096 [C99-based standards] (INT64_MAX): Likewise.
1097 [C99-based standards] (UINT8_MAX): Likewise.
1098 [C99-based standards] (UINT16_MAX): Likewise.
1099 [C99-based standards] (UINT32_MAX): Likewise.
1100 [C99-based standards] (UINT64_MAX): Likewise.
1101 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1102 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1103 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1104 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1105 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1106 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1107 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1108 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1109 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1110 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1111 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1112 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1113 [C99-based standards] (INT_FAST8_MIN): Likewise.
1114 [C99-based standards] (INT_FAST8_MAX): Likewise.
1115 [C99-based standards] (INT_FAST16_MIN): Likewise.
1116 [C99-based standards] (INT_FAST16_MAX): Likewise.
1117 [C99-based standards] (INT_FAST32_MIN): Likewise.
1118 [C99-based standards] (INT_FAST32_MAX): Likewise.
1119 [C99-based standards] (INT_FAST64_MIN): Likewise.
1120 [C99-based standards] (INT_FAST64_MAX): Likewise.
1121 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1122 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1123 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1124 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1125 [C99-based standards] (INTPTR_MIN): Likewise.
1126 [C99-based standards] (INTPTR_MAX): Likewise.
1127 [C99-based standards] (UINTPTR_MAX): Likewise.
1128 [C99-based standards] (INTMAX_MIN): Likewise.
1129 [C99-based standards] (INTMAX_MAX): Likewise.
1130 [C99-based standards] (UINTMAX_MAX): Likewise.
1131 [C99-based standards] (PTRDIFF_MIN): Likewise.
1132 [C99-based standards] (PTRDIFF_MAX): Likewise.
1133 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1134 [C99-based standards] (SIZE_MAX): Likewise.
1135 [C99-based standards] (WCHAR_MAX): Likewise.
1136 [C99-based standards] (WINT_MAX): Likewise.
1137 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1138 constraint on value.
1139 [C99-based standards] (WCHAR_MIN): Likewise.
1140 [C99-based standards] (WINT_MIN): Likewise.
1141 [C99-based standards] (*_t): Allow.
1142 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1143 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1144 Include math.h-data and complex.h-data. Remove all expectations
1145 of math.h and complex.h contents.
1146 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1147 at end of line.
1148 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1149 (struct tm): Expect tag.
1150 [C99-based-standards] (wcstof): Expect function.
1151 [C99-based-standards] (wcstold): Likewise.
1152 [C99-based-standards] (wcstoll): Likewise.
1153 [C99-based-standards] (wcstoull): Likewise.
1154 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1155 macro-int-constant. Specify type.
1156 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1157 constraint on value.
1158 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1159 Specify type.
1160 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1161 Specify value.
1162 [ISO C standards]: Do not allow headers.
1163 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1164 wcs[abcdefghijklmnopqrstuvwxyz]*.
1165 [ISO C standards] (*_t): Do not allow.
1166 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1167 Expect function.
1168 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1169 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1170 Specify type.
1171 [ISO C standards]: Do not allow headers.
1172 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1173 is[abcdefghijklmnopqrstuvwxyz]*.
1174 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1175 to[abcdefghijklmnopqrstuvwxyz]*.
1176 [ISO C standards] (*_t): Do not allow.
1177 * conform/data/stdalign.h-data: New file.
1178 * conform/data/stdbool.h-data: Likewise.
1179 * conform/data/stdnoreturn.h-data: Likewise.
1180
01f34a3b
JL
11812012-11-07 Andreas Jaeger <aj@suse.de>
1182
1183 [BZ #14809]
1184 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1185 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1186 guards are changed. Only define if not yet defined, #undef back
1187 after including linux/sysctl.h if defined here.
1188
7514feb8
RM
11892012-11-07 Roland McGrath <roland@hack.frob.com>
1190
1191 [BZ #14815]
1192 * manual/filesys.texi (Directory Entries): Typo fix.
1193 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1194
19b2ecfc
MS
11952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1196
1197 * elf/elf.h (EM_AARCH64): New macro.
1198 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1199 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1200 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1201 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1202 (R_AARCH64_TLSDESC): Likewise.
1203 (NT_ARM_TLS): Likewise.
1204 (NT_ARM_HW_BREAK): Likewise.
1205 (NT_ARM_HW_WATCH): Likewise.
1206
60e235ee
JM
12072012-11-07 Joseph Myers <joseph@codesourcery.com>
1208
1209 [BZ #14811]
1210 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1211 (__ieee754_powl): Saturate nonzero exponents with absolute value
1212 below 0x1p-79 to +/- 0x1p-79.
1213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1214 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1215 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1216 nonzero exponents with absolute value below 0x1p-32 to +/-
1217 0x1p-32.
1218 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1219 (__ieee754_powl): Saturate nonzero exponents with absolute value
1220 below 0x1p-79 to +/- 0x1p-79.
1221 * math/libm-test.inc (pow_test): Add more tests.
1222
0ab234b7
AK
12232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1224
1225 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1226 _dl_s390_cap_flags with kernel. Increase string length.
1227 (_dl_s390_platforms): Add z196 and zEC12.
1228
45832f74
JM
12292012-11-07 Joseph Myers <joseph@codesourcery.com>
1230
1231 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1232 Change XOPEN21K to XOPEN2K.
1233
19218757
MK
12342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1235
1236 * string/memmove.c: Use memcpy when possible.
1237
c5f45721
AJ
12382012-11-06 Andreas Jaeger <aj@suse.de>
1239
1240 * po/eo.po: Update from translation team.
1241
82477c28
JM
12422012-11-06 Joseph Myers <joseph@codesourcery.com>
1243
1244 [BZ #14793]
1245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1246 exponent and small x and y exponents, scale x or y up. Increase
1247 by 2 the exponent used in scaling up.
1248 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1249 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1250 * math/libm-test.inc (fma_test): Add more tests.
1251 (fma_test_towardzero): Likewise.
1252 (fma_test_downward): Likewise.
1253 (fma_test_upward): Likewise.
1254
99252c8c
JM
12552012-11-05 Joseph Myers <joseph@codesourcery.com>
1256
acfa885f
JM
1257 [BZ #14805]
1258 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1259 fenv_t *.
1260
99252c8c
JM
1261 [BZ #14801]
1262 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1263 namespace for names of struct fields.
1264 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1265 fenv_t fields.
1266 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1267 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1268
d6d98dea
ST
12692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1270
1271 [BZ #3665]
1272 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1273
e10bb107
TS
12742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1275
1276 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1277 PTR_DEMANGLE.
1278
1279 [BZ #5246]
1280 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1281 PTR_DEMANGLE.
1282
a0c2940d
JM
12832012-11-04 Joseph Myers <joseph@codesourcery.com>
1284
1285 [BZ #14797]
1286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1287 definitely overflow as x * y not x * y + z.
1288 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1289 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1290 * math/libm-test.inc (fma_test): Add more tests.
1291 (fma_test_towardzero): Likewise.
1292 (fma_test_downward): Likewise.
1293 (fma_test_upward): Likewise.
1294
b830319d
TS
12952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1296
1297 [BZ #157]
1298
1299 * include/stub-tag.h: Remove file.
1300 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1301 '#include' of it.
1302 * manual/maint.texi (Porting): Don't reference it.
1303 * Makerules ($(objpfx)stubs): Likewise.
1304 * dirent/closedir.c: Don't include <stub-tag.h>.
1305 * dirent/dirfd.c: Likewise.
1306 * dirent/fdopendir.c: Likewise.
1307 * dirent/getdents.c: Likewise.
1308 * dirent/getdents64.c: Likewise.
1309 * dirent/opendir.c: Likewise.
1310 * dirent/readdir.c: Likewise.
1311 * dirent/readdir64.c: Likewise.
1312 * dirent/readdir64_r.c: Likewise.
1313 * dirent/readdir_r.c: Likewise.
1314 * dirent/rewinddir.c: Likewise.
1315 * dirent/seekdir.c: Likewise.
1316 * dirent/telldir.c: Likewise.
1317 * gmon/profil.c: Likewise.
1318 * grp/setgroups.c: Likewise.
1319 * inet/if_index.c: Likewise.
1320 * io/access.c: Likewise.
1321 * io/chdir.c: Likewise.
1322 * io/chmod.c: Likewise.
1323 * io/chown.c: Likewise.
1324 * io/close.c: Likewise.
1325 * io/dup.c: Likewise.
1326 * io/dup2.c: Likewise.
1327 * io/dup3.c: Likewise.
1328 * io/euidaccess.c: Likewise.
1329 * io/faccessat.c: Likewise.
1330 * io/fchdir.c: Likewise.
1331 * io/fchmod.c: Likewise.
1332 * io/fchmodat.c: Likewise.
1333 * io/fchown.c: Likewise.
1334 * io/fchownat.c: Likewise.
1335 * io/fcntl.c: Likewise.
1336 * io/flock.c: Likewise.
1337 * io/fstatfs.c: Likewise.
1338 * io/fstatfs64.c: Likewise.
1339 * io/fstatvfs.c: Likewise.
1340 * io/fstatvfs64.c: Likewise.
1341 * io/futimens.c: Likewise.
1342 * io/fxstat.c: Likewise.
1343 * io/fxstat64.c: Likewise.
1344 * io/fxstatat.c: Likewise.
1345 * io/fxstatat64.c: Likewise.
1346 * io/getcwd.c: Likewise.
1347 * io/isatty.c: Likewise.
1348 * io/lchmod.c: Likewise.
1349 * io/lchown.c: Likewise.
1350 * io/link.c: Likewise.
1351 * io/linkat.c: Likewise.
1352 * io/lseek.c: Likewise.
1353 * io/lseek64.c: Likewise.
1354 * io/lxstat64.c: Likewise.
1355 * io/mkdir.c: Likewise.
1356 * io/mkdirat.c: Likewise.
1357 * io/mkfifo.c: Likewise.
1358 * io/mkfifoat.c: Likewise.
1359 * io/open.c: Likewise.
1360 * io/open64.c: Likewise.
1361 * io/openat.c: Likewise.
1362 * io/openat64.c: Likewise.
1363 * io/pipe.c: Likewise.
1364 * io/pipe2.c: Likewise.
1365 * io/poll.c: Likewise.
1366 * io/posix_fadvise.c: Likewise.
1367 * io/posix_fadvise64.c: Likewise.
1368 * io/posix_fallocate.c: Likewise.
1369 * io/posix_fallocate64.c: Likewise.
1370 * io/read.c: Likewise.
1371 * io/readlink.c: Likewise.
1372 * io/readlinkat.c: Likewise.
1373 * io/rmdir.c: Likewise.
1374 * io/sendfile.c: Likewise.
1375 * io/sendfile64.c: Likewise.
1376 * io/statfs.c: Likewise.
1377 * io/statfs64.c: Likewise.
1378 * io/statvfs.c: Likewise.
1379 * io/statvfs64.c: Likewise.
1380 * io/symlink.c: Likewise.
1381 * io/symlinkat.c: Likewise.
1382 * io/ttyname.c: Likewise.
1383 * io/ttyname_r.c: Likewise.
1384 * io/umask.c: Likewise.
1385 * io/unlink.c: Likewise.
1386 * io/unlinkat.c: Likewise.
1387 * io/utime.c: Likewise.
1388 * io/utimensat.c: Likewise.
1389 * io/write.c: Likewise.
1390 * io/xmknod.c: Likewise.
1391 * io/xmknodat.c: Likewise.
1392 * io/xstat.c: Likewise.
1393 * io/xstat64.c: Likewise.
1394 * login/getpt.c: Likewise.
1395 * login/grantpt.c: Likewise.
1396 * login/unlockpt.c: Likewise.
1397 * math/e_acoshl.c: Likewise.
1398 * math/e_acosl.c: Likewise.
1399 * math/e_asinl.c: Likewise.
1400 * math/e_atan2l.c: Likewise.
1401 * math/e_atanhl.c: Likewise.
1402 * math/e_coshl.c: Likewise.
1403 * math/e_expl.c: Likewise.
1404 * math/e_fmodl.c: Likewise.
1405 * math/e_gammal_r.c: Likewise.
1406 * math/e_hypotl.c: Likewise.
1407 * math/e_j0l.c: Likewise.
1408 * math/e_j1l.c: Likewise.
1409 * math/e_jnl.c: Likewise.
1410 * math/e_lgammal_r.c: Likewise.
1411 * math/e_log10l.c: Likewise.
1412 * math/e_log2l.c: Likewise.
1413 * math/e_logl.c: Likewise.
1414 * math/e_powl.c: Likewise.
1415 * math/e_rem_pio2l.c: Likewise.
1416 * math/e_sinhl.c: Likewise.
1417 * math/e_sqrtl.c: Likewise.
1418 * math/fclrexcpt.c: Likewise.
1419 * math/fedisblxcpt.c: Likewise.
1420 * math/feenablxcpt.c: Likewise.
1421 * math/fegetenv.c: Likewise.
1422 * math/fegetexcept.c: Likewise.
1423 * math/fegetround.c: Likewise.
1424 * math/feholdexcpt.c: Likewise.
1425 * math/fesetenv.c: Likewise.
1426 * math/fesetround.c: Likewise.
1427 * math/feupdateenv.c: Likewise.
1428 * math/fgetexcptflg.c: Likewise.
1429 * math/fraiseexcpt.c: Likewise.
1430 * math/fsetexcptflg.c: Likewise.
1431 * math/ftestexcept.c: Likewise.
1432 * math/k_cosl.c: Likewise.
1433 * math/k_rem_pio2l.c: Likewise.
1434 * math/k_sinl.c: Likewise.
1435 * math/k_tanl.c: Likewise.
1436 * math/s_asinhl.c: Likewise.
1437 * math/s_atanl.c: Likewise.
1438 * math/s_cbrtl.c: Likewise.
1439 * math/s_erfl.c: Likewise.
1440 * math/s_expm1l.c: Likewise.
1441 * math/s_log1pl.c: Likewise.
1442 * math/s_tanhl.c: Likewise.
1443 * misc/acct.c: Likewise.
1444 * misc/brk.c: Likewise.
1445 * misc/chflags.c: Likewise.
1446 * misc/chroot.c: Likewise.
1447 * misc/fchflags.c: Likewise.
1448 * misc/fgetxattr.c: Likewise.
1449 * misc/flistxattr.c: Likewise.
1450 * misc/fremovexattr.c: Likewise.
1451 * misc/fsetxattr.c: Likewise.
1452 * misc/fsync.c: Likewise.
1453 * misc/ftruncate.c: Likewise.
1454 * misc/futimes.c: Likewise.
1455 * misc/futimesat.c: Likewise.
1456 * misc/getdomain.c: Likewise.
1457 * misc/getdtsz.c: Likewise.
1458 * misc/gethostid.c: Likewise.
1459 * misc/gethostname.c: Likewise.
1460 * misc/getloadavg.c: Likewise.
1461 * misc/getpagesize.c: Likewise.
1462 * misc/getsysstats.c: Likewise.
1463 * misc/getxattr.c: Likewise.
1464 * misc/gtty.c: Likewise.
1465 * misc/ioctl.c: Likewise.
1466 * misc/lgetxattr.c: Likewise.
1467 * misc/listxattr.c: Likewise.
1468 * misc/llistxattr.c: Likewise.
1469 * misc/lremovexattr.c: Likewise.
1470 * misc/lsetxattr.c: Likewise.
1471 * misc/lutimes.c: Likewise.
1472 * misc/madvise.c: Likewise.
1473 * misc/mincore.c: Likewise.
1474 * misc/mlock.c: Likewise.
1475 * misc/mlockall.c: Likewise.
1476 * misc/mmap.c: Likewise.
1477 * misc/mprotect.c: Likewise.
1478 * misc/msync.c: Likewise.
1479 * misc/munlock.c: Likewise.
1480 * misc/munlockall.c: Likewise.
1481 * misc/munmap.c: Likewise.
1482 * misc/preadv.c: Likewise.
1483 * misc/preadv64.c: Likewise.
1484 * misc/ptrace.c: Likewise.
1485 * misc/pwritev.c: Likewise.
1486 * misc/pwritev64.c: Likewise.
1487 * misc/readv.c: Likewise.
1488 * misc/reboot.c: Likewise.
1489 * misc/remap_file_pages.c: Likewise.
1490 * misc/removexattr.c: Likewise.
1491 * misc/revoke.c: Likewise.
1492 * misc/select.c: Likewise.
1493 * misc/setdomain.c: Likewise.
1494 * misc/setegid.c: Likewise.
1495 * misc/seteuid.c: Likewise.
1496 * misc/sethostid.c: Likewise.
1497 * misc/sethostname.c: Likewise.
1498 * misc/setregid.c: Likewise.
1499 * misc/setreuid.c: Likewise.
1500 * misc/setxattr.c: Likewise.
1501 * misc/sstk.c: Likewise.
1502 * misc/stty.c: Likewise.
1503 * misc/swapoff.c: Likewise.
1504 * misc/swapon.c: Likewise.
1505 * misc/sync.c: Likewise.
1506 * misc/syncfs.c: Likewise.
1507 * misc/syscall.c: Likewise.
1508 * misc/truncate.c: Likewise.
1509 * misc/ualarm.c: Likewise.
1510 * misc/usleep.c: Likewise.
1511 * misc/ustat.c: Likewise.
1512 * misc/utimes.c: Likewise.
1513 * misc/vhangup.c: Likewise.
1514 * misc/writev.c: Likewise.
1515 * posix/_exit.c: Likewise.
1516 * posix/alarm.c: Likewise.
1517 * posix/execve.c: Likewise.
1518 * posix/fexecve.c: Likewise.
1519 * posix/fork.c: Likewise.
1520 * posix/fpathconf.c: Likewise.
1521 * posix/getaddrinfo.c: Likewise.
1522 * posix/getegid.c: Likewise.
1523 * posix/geteuid.c: Likewise.
1524 * posix/getgid.c: Likewise.
1525 * posix/getgroups.c: Likewise.
1526 * posix/getlogin.c: Likewise.
1527 * posix/getlogin_r.c: Likewise.
1528 * posix/getpgid.c: Likewise.
1529 * posix/getpid.c: Likewise.
1530 * posix/getppid.c: Likewise.
1531 * posix/getresgid.c: Likewise.
1532 * posix/getresuid.c: Likewise.
1533 * posix/getsid.c: Likewise.
1534 * posix/getuid.c: Likewise.
1535 * posix/glob64.c: Likewise.
1536 * posix/nanosleep.c: Likewise.
1537 * posix/pathconf.c: Likewise.
1538 * posix/pause.c: Likewise.
1539 * posix/posix_madvise.c: Likewise.
1540 * posix/pread.c: Likewise.
1541 * posix/pread64.c: Likewise.
1542 * posix/pwrite.c: Likewise.
1543 * posix/pwrite64.c: Likewise.
1544 * posix/sched_getaffinity.c: Likewise.
1545 * posix/sched_getp.c: Likewise.
1546 * posix/sched_gets.c: Likewise.
1547 * posix/sched_primax.c: Likewise.
1548 * posix/sched_primin.c: Likewise.
1549 * posix/sched_rr_gi.c: Likewise.
1550 * posix/sched_setaffinity.c: Likewise.
1551 * posix/sched_setp.c: Likewise.
1552 * posix/sched_sets.c: Likewise.
1553 * posix/sched_yield.c: Likewise.
1554 * posix/setgid.c: Likewise.
1555 * posix/setlogin.c: Likewise.
1556 * posix/setpgid.c: Likewise.
1557 * posix/setresgid.c: Likewise.
1558 * posix/setresuid.c: Likewise.
1559 * posix/setsid.c: Likewise.
1560 * posix/setuid.c: Likewise.
1561 * posix/sleep.c: Likewise.
1562 * posix/spawni.c: Likewise.
1563 * posix/sysconf.c: Likewise.
1564 * posix/times.c: Likewise.
1565 * posix/wait.c: Likewise.
1566 * posix/wait3.c: Likewise.
1567 * posix/wait4.c: Likewise.
1568 * posix/waitpid.c: Likewise.
1569 * resolv/gai_sigqueue.c: Likewise.
1570 * resource/getpriority.c: Likewise.
1571 * resource/getrlimit.c: Likewise.
1572 * resource/getrusage.c: Likewise.
1573 * resource/nice.c: Likewise.
1574 * resource/setpriority.c: Likewise.
1575 * resource/setrlimit.c: Likewise.
1576 * resource/ulimit.c: Likewise.
1577 * rt/aio_cancel.c: Likewise.
1578 * rt/aio_fsync.c: Likewise.
1579 * rt/aio_read.c: Likewise.
1580 * rt/aio_sigqueue.c: Likewise.
1581 * rt/aio_suspend.c: Likewise.
1582 * rt/aio_write.c: Likewise.
1583 * rt/clock_getres.c: Likewise.
1584 * rt/clock_gettime.c: Likewise.
1585 * rt/clock_nanosleep.c: Likewise.
1586 * rt/clock_settime.c: Likewise.
1587 * rt/lio_listio.c: Likewise.
1588 * rt/mq_close.c: Likewise.
1589 * rt/mq_getattr.c: Likewise.
1590 * rt/mq_notify.c: Likewise.
1591 * rt/mq_open.c: Likewise.
1592 * rt/mq_receive.c: Likewise.
1593 * rt/mq_send.c: Likewise.
1594 * rt/mq_setattr.c: Likewise.
1595 * rt/mq_timedreceive.c: Likewise.
1596 * rt/mq_timedsend.c: Likewise.
1597 * rt/mq_unlink.c: Likewise.
1598 * rt/shm_open.c: Likewise.
1599 * rt/shm_unlink.c: Likewise.
1600 * rt/timer_create.c: Likewise.
1601 * rt/timer_delete.c: Likewise.
1602 * rt/timer_getoverr.c: Likewise.
1603 * rt/timer_gettime.c: Likewise.
1604 * rt/timer_settime.c: Likewise.
1605 * setjmp/__longjmp.c: Likewise.
1606 * setjmp/setjmp.c: Likewise.
1607 * signal/kill.c: Likewise.
1608 * signal/killpg.c: Likewise.
1609 * signal/raise.c: Likewise.
1610 * signal/sigaction.c: Likewise.
1611 * signal/sigaltstack.c: Likewise.
1612 * signal/sigblock.c: Likewise.
1613 * signal/sigignore.c: Likewise.
1614 * signal/sigintr.c: Likewise.
1615 * signal/signal.c: Likewise.
1616 * signal/sigpause.c: Likewise.
1617 * signal/sigpending.c: Likewise.
1618 * signal/sigqueue.c: Likewise.
1619 * signal/sigreturn.c: Likewise.
1620 * signal/sigset.c: Likewise.
1621 * signal/sigsetmask.c: Likewise.
1622 * signal/sigstack.c: Likewise.
1623 * signal/sigsuspend.c: Likewise.
1624 * signal/sigtimedwait.c: Likewise.
1625 * signal/sigvec.c: Likewise.
1626 * signal/sigwait.c: Likewise.
1627 * signal/sigwaitinfo.c: Likewise.
1628 * signal/sysv_signal.c: Likewise.
1629 * socket/accept.c: Likewise.
1630 * socket/accept4.c: Likewise.
1631 * socket/bind.c: Likewise.
1632 * socket/connect.c: Likewise.
1633 * socket/getpeername.c: Likewise.
1634 * socket/getsockname.c: Likewise.
1635 * socket/getsockopt.c: Likewise.
1636 * socket/isfdtype.c: Likewise.
1637 * socket/listen.c: Likewise.
1638 * socket/recv.c: Likewise.
1639 * socket/recvfrom.c: Likewise.
1640 * socket/recvmsg.c: Likewise.
1641 * socket/send.c: Likewise.
1642 * socket/sendmsg.c: Likewise.
1643 * socket/sendto.c: Likewise.
1644 * socket/setsockopt.c: Likewise.
1645 * socket/shutdown.c: Likewise.
1646 * socket/sockatmark.c: Likewise.
1647 * socket/socket.c: Likewise.
1648 * socket/socketpair.c: Likewise.
1649 * stdio-common/ctermid.c: Likewise.
1650 * stdio-common/cuserid.c: Likewise.
1651 * stdio-common/remove.c: Likewise.
1652 * stdio-common/rename.c: Likewise.
1653 * stdio-common/renameat.c: Likewise.
1654 * stdio-common/tempname.c: Likewise.
1655 * stdlib/getcontext.c: Likewise.
1656 * stdlib/makecontext.c: Likewise.
1657 * stdlib/setcontext.c: Likewise.
1658 * stdlib/swapcontext.c: Likewise.
1659 * stdlib/system.c: Likewise.
1660 * streams/fattach.c: Likewise.
1661 * streams/fdetach.c: Likewise.
1662 * streams/getmsg.c: Likewise.
1663 * streams/getpmsg.c: Likewise.
1664 * streams/putmsg.c: Likewise.
1665 * streams/putpmsg.c: Likewise.
1666 * sysdeps/unix/bsd/getpt.c: Likewise.
1667 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1668 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1669 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1671 Likewise.
1672 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1673 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1674 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1675 * sysvipc/msgctl.c: Likewise.
1676 * sysvipc/msgget.c: Likewise.
1677 * sysvipc/msgrcv.c: Likewise.
1678 * sysvipc/msgsnd.c: Likewise.
1679 * sysvipc/semctl.c: Likewise.
1680 * sysvipc/semget.c: Likewise.
1681 * sysvipc/semop.c: Likewise.
1682 * sysvipc/semtimedop.c: Likewise.
1683 * sysvipc/shmat.c: Likewise.
1684 * sysvipc/shmctl.c: Likewise.
1685 * sysvipc/shmdt.c: Likewise.
1686 * sysvipc/shmget.c: Likewise.
1687 * termios/tcdrain.c: Likewise.
1688 * termios/tcflow.c: Likewise.
1689 * termios/tcflush.c: Likewise.
1690 * termios/tcgetattr.c: Likewise.
1691 * termios/tcgetpgrp.c: Likewise.
1692 * termios/tcsendbrk.c: Likewise.
1693 * termios/tcsetattr.c: Likewise.
1694 * termios/tcsetpgrp.c: Likewise.
1695 * time/adjtime.c: Likewise.
1696 * time/clock.c: Likewise.
1697 * time/getitimer.c: Likewise.
1698 * time/gettimeofday.c: Likewise.
1699 * time/setitimer.c: Likewise.
1700 * time/settimeofday.c: Likewise.
1701 * time/stime.c: Likewise.
1702 * time/time.c: Likewise.
1703
17042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1705
a20492cf
PT
1706 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1707 /usr/old/bin.
1708
72e182e3
PT
1709 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1710 instead of spaces.
1711 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1712
fbeafede
JM
17132012-11-03 Joseph Myers <joseph@codesourcery.com>
1714
5b5b04d6
JM
1715 [BZ #14796]
1716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1717 FE_TONEAREST before applying Dekker multiplication and Knuth
1718 addition. Clear inexact exceptions and check for exact zero
1719 results afterwards.
1720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1721 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1722 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1723 * math/libm-test.inc (fma_test): Add more tests.
1724 (fma_test_towardzero): Likewise.
1725 (fma_test_downward): Likewise.
1726 (fma_test_upward): Likewise.
1727 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1728 function.
1729 (libc_fesetround): New macro.
1730 (libc_fesetroundf): Likewise.
1731 (libc_fesetroundl): Likewise.
1732 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1733 function.
1734 (libc_fesetround_387): Likewise.
1735 (libc_fesetroundf): New macro.
1736 (libc_fesetround): Likewise.
1737 (libc_fesetroundl): Likewise.
1738 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1739 function.
1740 (libc_fesetroundf): New macro.
1741 (libc_fesetround): Likewise.
1742 (libc_fesetroundl): Likewise.
1743 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1744 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1745 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1746 libm_hidden_ver.
1747 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1748 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1749 libm_hidden_def.
1750 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1751 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1752 libm_hidden_ver.
1753 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1754 libm_hidden_def.
1755
fbeafede
JM
1756 [BZ #3439]
1757 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1758 integer constant usable in #if and use that to give value to enum
1759 constant.
1760 (FE_DIVBYZERO): Likewise.
1761 (FE_UNDERFLOW): Likewise.
1762 (FE_OVERFLOW): Likewise.
1763 (FE_INVALID): Likewise.
1764 (FE_INVALID_SNAN): Likewise.
1765 (FE_INVALID_ISI): Likewise.
1766 (FE_INVALID_IDI): Likewise.
1767 (FE_INVALID_ZDZ): Likewise.
1768 (FE_INVALID_IMZ): Likewise.
1769 (FE_INVALID_COMPARE): Likewise.
1770 (FE_INVALID_SOFTWARE): Likewise.
1771 (FE_INVALID_SQRT): Likewise.
1772 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1773 (FE_TONEAREST): Likewise.
1774 (FE_TOWARDZERO): Likewise.
1775 (FE_UPWARD): Likewise.
1776 (FE_DOWNWARD): Likewise.
1777 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1778 (FE_DIVBYZERO): Likewise.
1779 (FE_OVERFLOW): Likewise.
1780 (FE_UNDERFLOW): Likewise.
1781 (FE_INEXACT): Likewise.
1782 (FE_TONEAREST): Likewise.
1783 (FE_DOWNWARD): Likewise.
1784 (FE_UPWARD): Likewise.
1785 (FE_TOWARDZERO): Likewise.
1786 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1787 (FE_UNDERFLOW): Likewise.
1788 (FE_OVERFLOW): Likewise.
1789 (FE_DIVBYZERO): Likewise.
1790 (FE_INVALID): Likewise.
1791 (FE_TONEAREST): Likewise.
1792 (FE_TOWARDZERO): Likewise.
1793 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1794 (FE_OVERFLOW): Likewise.
1795 (FE_UNDERFLOW): Likewise.
1796 (FE_DIVBYZERO): Likewise.
1797 (FE_INEXACT): Likewise.
1798 (FE_TONEAREST): Likewise.
1799 (FE_TOWARDZERO): Likewise.
1800 (FE_UPWARD): Likewise.
1801 (FE_DOWNWARD): Likewise.
1802 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1803 (FE_DIVBYZERO): Likewise.
1804 (FE_OVERFLOW): Likewise.
1805 (FE_UNDERFLOW): Likewise.
1806 (FE_INEXACT): Likewise.
1807 (FE_TONEAREST): Likewise.
1808 (FE_DOWNWARD): Likewise.
1809 (FE_UPWARD): Likewise.
1810 (FE_TOWARDZERO): Likewise.
1811
105ca950
CM
18122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1813
1814 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1815
a542b389
AS
18162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1817
1818 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1819 commands. Quote $PWD.
1820 (blacklist_exports): Don't use remove_newlines. Replace "declare
1821 -x" by "export".
1822 (remove_newlines): Remove.
1823
f62c8abc
L
18242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1825
1826 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1827 * stdlib/stdlib.h (atof): Moved to ...
1828 * include/bits/stdlib-float.h: Here. New file.
1829 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1830 * stdlib/bits/stdlib-float.h: New file.
1831 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1832 -mno-sse -mno-mmx.
1833 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1834 <xmmintrin.h>.
1835
0155d5b2
JM
18362012-11-02 Joseph Myers <joseph@codesourcery.com>
1837
a68d0680
JM
1838 * conform/conformtest.pl (@headers): Add fenv.h.
1839 * conform/data/fenv.h-data: New file.
1840 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1841 include of <math/fenv.h>.
1842
caf7f573
JM
1843 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1844 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1845 && !UNIX98]. Enables tests for XOPEN2K8.
1846 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1847 POSIX2008]: Likewise.
1848
6c073ad6
JM
1849 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1850 (struct rusage): Do not expect type or its members.
1851
0155d5b2
JM
1852 [BZ #3439]
1853 * math/math.h (FP_NAN): Define macro to integer constant usable in
1854 #if and use that to give value to enum constant.
1855 (FP_INFINITE): Likewise.
1856 (FP_ZERO): Likewise.
1857 (FP_SUBNORMAL): Likewise.
1858 (FP_NORMAL): Likewise.
1859
b5dcacb4
AS
18602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1861
1862 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1863 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1864 arguments.
1865
f7934be8
RM
18662012-11-02 Roland McGrath <roland@hack.frob.com>
1867
1868 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1869 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1870 autoconf-time if not.
1871 * configure.in: Remove AC_PREREQ.
1872
d7d08bde
TMQMF
18732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1874
1875 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1876 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1877 of the internal implementation.
1878
dcdae19a
JM
18792012-11-02 Joseph Myers <joseph@codesourcery.com>
1880
1881 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1882 except include of <misc/sys/syslog.h>.
1883
d6cffd3e
AS
18842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1885
1886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1887 function returns with a NULL context exit with zero.
1888
b3563932
TMQMF
18892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1890
1891 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1892
b288a93d
L
18932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1894
1895 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1896 (run_program_cmd): This.
1897 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1898 (tst_langinfo): New variable. Use it.
1899
a2421a68
SAS
19002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1901
1902 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1903 floating point opcodes.
1904
6f796e1b
TS
19052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1906
7402596b
TS
1907 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1908 variable.
1909
d0d4f868
TS
1910 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1911
6f796e1b
TS
1912 * sysdeps/mach/hurd/powerpc: Remove directory.
1913 * sysdeps/mach/powerpc: Likewise.
1914
4da224a2
AS
19152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1916
1917 * scripts/check-local-headers.sh: Ignore c++ headers.
1918
341dd673
TS
19192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1920
1921 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1922 __libc_cleanup_region_start argument.
1923
473611b2
JM
19242012-11-01 Joseph Myers <joseph@codesourcery.com>
1925
1926 [BZ #14784]
1927 [BZ #14785]
1928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1929 x * y using scaling, not as x * y + z.
1930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1932 * math/libm-test.inc (fma_test): Add more tests.
1933 (fma_test_towardzero): Likewise.
1934 (fma_test_downward): Likewise.
1935 (fma_test_upward): Likewise.
1936
4078da3d
TS
19372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1938
1939 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1940
903252aa
JM
19412012-10-31 Joseph Myers <joseph@codesourcery.com>
1942
1943 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1944 New variable.
1945
cbc818d0
TS
19462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1947
1948 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1949
5a03cb1e
AS
19502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1951
1952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1953 Fix sort order.
1954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1955 Likewise.
1956
90aff2ff
TMQMF
19572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1958
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1960 Fix the order of the list for glibc 2.17.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1962 Likewise.
1963
1818fcb7
AS
19642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1965
1966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1967
ef82f4da
JM
19682012-10-31 Joseph Myers <joseph@codesourcery.com>
1969
16a0e2ec
JM
1970 [BZ #14610]
1971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1972 for low part of x being zero before using __atanl (y).
1973 * math/libm-test.inc (atan2_test): Add another test.
1974
0eb69512
JM
1975 * manual/install.texi (Configuring and compiling): Document
1976 general use of test-wrapper and test-wrapper-env.
1977 * INSTALL: Regenerated.
1978
ef82f4da
JM
1979 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1980 (__fma): Do not extract and scale down low bits on after-rounding
1981 systems when result rounded to normal precision would have normal
1982 exponent.
1983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1984 (__fmal): Do not extract and scale down low bits on after-rounding
1985 systems when result rounded to normal precision would have normal
1986 exponent.
1987 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1988 (__fmal): Do not extract and scale down low bits on after-rounding
1989 systems when result rounded to normal precision would have normal
1990 exponent.
1991 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1992 macro.
1993 (fma_test): Add more tests.
1994 (fma_test_towardzero): Likewise.
1995 (fma_test_downward): Likewise.
1996 (fma_test_upward): Likewise.
1997
954ef0d9
L
19982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * sysdeps/i386/tininess.h: Renamed to ...
2001 * sysdeps/x86/tininess.h: This.
2002 * sysdeps/x86_64/tininess.h: Removed.
2003
df61ffb2
JM
20042012-10-30 Joseph Myers <joseph@codesourcery.com>
2005
2006 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2007 input. Use $(build-program-cmd).
2008 ($(objpfx)tst-array1-static.out): Likewise.
2009 ($(objpfx)tst-array2.out): Likewise.
2010 ($(objpfx)tst-array3.out): Likewise.
2011 ($(objpfx)tst-array4.out): Likewise.
2012 ($(objpfx)tst-array5.out): Likewise.
2013 ($(objpfx)tst-array5-static.out): Likewise.
2014
01767843
CM
20152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2016
47cc1490
CM
2017 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2018 if defined.
2019
01767843
CM
2020 * nss/nsswitch.h (nss_interface_function): Provide new
2021 macro for use with NSS functions.
2022 * grp/initgroups.c: Use new macro.
2023 * nss/getXXbyYY.c: Likewise.
2024 * nss/getXXbyYY_r.c: Likewise.
2025 * nss/getXXent.c: Likewise.
2026 * nss/getXXent_r.c: Likewise.
2027 * sysdeps/posix/getaddrinfo.c: Likewise.
2028
8321aa97
AJ
20292012-10-30 Andreas Jaeger <aj@suse.de>
2030
2031 * po/ru.po: Update Russion translation from translation project.
2032
2a27fd6d
JM
20332012-10-30 Joseph Myers <joseph@codesourcery.com>
2034
8627a232
JM
2035 [BZ #14152]
2036 [BZ #14783]
2037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2038 result and shift together with sticky bit instead of replicating
2039 round-to-nearest rounding.
2040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2042 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2043 missing underflow exceptions.
2044 (fma_test_towardzero): Add more tests.
2045 (fma_test_downward): Likewise.
2046 (fma_test_upward): Likewise.
2047
2a27fd6d
JM
2048 [BZ #14047]
2049 * sysdeps/generic/tininess.h: New file.
2050 * sysdeps/i386/tininess.h: Likewise.
2051 * sysdeps/sh/tininess.h: Likewise.
2052 * sysdeps/x86_64/tininess.h: Likewise.
2053 * stdlib/tst-strtod-underflow.c: Likewise.
2054 * stdlib/tst-tininess.c: Likewise.
2055 * stdlib/strtod_l.c: Include <tininess.h>.
2056 (round_and_return): Do not set errno for exact underflow cases.
2057 Force an underflow exception when setting errno for underflow.
2058 Determine underflow based on rounding to normal precision if
2059 TININESS_AFTER_ROUNDING.
2060 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2061 ERANGE for exact underflow cases.
2062 * stdlib/Makefile (tests): Add tst-tininess and
2063 tst-strtod-underflow.
2064 ($(objpfx)tst-tininess): Use $(link-libm).
2065 ($(objpfx)tst-strtod-underflow): Likewise.
2066
e7170363
AJ
20672012-10-30 Andreas Jaeger <aj@suse.de>
2068
e5088dc6
AJ
2069 [BZ#14767]
2070 * elf/Makefile (tests): Remove conditional for have-initfini-array
2071 since this is now always required and the variable does not exist
2072 anymore.
2073 (tests-static): Likewise.
2074 (modules-names): Likewise.
2075
e7170363 2076 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2077
2078 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2079 merged with constructor/destructor.
2080 (init_array): Likewise.
2081 * elf/tst-array2dep.c (fini_array): Likewise.
2082 (init_array): Likewise.
2083
60457d8a
MF
20842012-10-29 Mike Frysinger <vapier@gentoo.org>
2085
2086 * manual/message.texi: Delete @cartouche tags.
2087
8bece752
PT
20882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2089
94ce799f
PT
2090 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2091 EOPNOTSUPP.
2092 * sysdeps/mach/hurd/fsync.c: Likewise.
2093
8bece752
PT
2094 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2095 [_POSIX_REALTIME_SIGNALS]: Change condition to
2096 [_POSIX_REALTIME_SIGNALS > 0].
2097
86ebe6b1
AJ
20982012-10-27 Andreas Jaeger <aj@suse.de>
2099
2100 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2101 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2103 [__WORDSIZE != 64]: Likewise.
2104
54399c08
L
21052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 * iconvdata/tst-table.sh: Remove ${SHELL}.
2108 * iconvdata/tst-tables.sh: Likewise.
2109
e2211bed
DM
21102012-10-25 David S. Miller <davem@davemloft.net>
2111
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2113 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2114 of strtoull.
2115
f303f97c
DM
2116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2117 ifunc-impl-list.c
2118 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2119 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2120 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2121 file.
2122
1e9d84cd
RM
21232012-10-25 Roland McGrath <roland@hack.frob.com>
2124
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2126 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2127 __getdirentries.
2128
df381762
JM
21292012-10-25 Joseph Myers <joseph@codesourcery.com>
2130 Jim Blandy <jimb@codesourcery.com>
2131
2132 * scripts/cross-test-ssh.sh: New file.
2133 * manual/install.texi (Configuring and compiling): Document use of
2134 cross-test-ssh.sh.
2135 * INSTALL: Regenerated.
2136
bff64913
PT
21372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2138
2139 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2140 EOPNOTSUPP.
2141
25fe8932
JM
21422012-10-25 Joseph Myers <joseph@codesourcery.com>
2143
2144 * Makeconfig (run-program-prefix): Fix comment.
2145
cc1290d0
JM
21462012-10-24 Joseph Myers <joseph@codesourcery.com>
2147 Jim Blandy <jimb@codesourcery.com>
2148
2149 * Makeconfig (test-wrapper): New variable,
2150 (test-wrapper-env): Likewise.
2151 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2152 (run-built-tests): Define to yes.
2153 (run-program-prefix): Use $(test-wrapper).
2154 (built-program-cmd): Likewise.
2155 * Rules (make-test-out): Use $(test-wrapper-env) and
2156 $(host-built-program-cmd).
2157 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2158 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2159 tst-pathopt.sh.
2160 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2161 $(test-wrapper-env) to tst-rtld-load-self.sh.
2162 ($(objpfx)order2.out): Use $(test-wrapper).
2163 ($(objpfx)tst-initorder.out): Likewise.
2164 ($(objpfx)tst-initorder2.out): Likewise.
2165 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2166 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2167 (test_wrapper_env): New variable. Use it to run ld.so.
2168 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2169 Use it to run ld.so.
2170 (test_wrapper_env): Likewise.
2171 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2172 $(test-wrapper) to run-iconv-test.sh.
2173 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2174 (ICONV): Use $test_wrapper.
2175 * posix/Makefile ($(objpfx)globtest.out): Pass
2176 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2177 globtest.sh, not $(run-program-prefix).
2178 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2179 (test_wrapper): Likewise.
2180 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2181 set together with run_via_rtld_prefix.
2182 (run_program_prefix): Define in terms of test_wrapper and
2183 run_via_rtld_prefix.
2184
6e6249d0
RM
21852012-10-24 Roland McGrath <roland@hack.frob.com>
2186
2187 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2188 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2189 Targets removed.
2190
2191 [BZ #14743]
2192 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2193 Declare __clock_getres, __clock_gettime, __clock_settime,
2194 __clock_nanosleep, and __clock_getcpuclockid.
2195 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2196 Remove librt_hidden_def (clock_gettime).
2197 * sysdeps/unix/clock_gettime.c: Likewise.
2198 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2200 * rt/clock_getres.c: Define __clock_getres as an alias.
2201 * sysdeps/posix/clock_getres.c: Likewise.
2202 * rt/clock_settime.c: Define __clock_settime as an alias.
2203 * sysdeps/unix/clock_settime.c: Likewise.
2204 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2205 * sysdeps/unix/clock_nanosleep.c: Likewise.
2206 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2207 * rt/clock-compat.c: New file.
2208 * rt/Makefile (librt-routines): Add clock-compat and move
2209 $(clock-routines) to ...
2210 (routines): ... here, new variable.
2211 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2212 Don't add get_clockfreq here.
2213 * rt/Versions (libc: GLIBC_2.17): New version set.
2214 Add clock_* symbols here.
2215 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2216 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2217 (GLIBC_2.17): Add clock_* symbols.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2222 Likewise.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2224 Likewise.
2225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2229 * NEWS: Mention the move.
2230
2231 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2232 Use __open, __read, __close rather than their public counterparts.
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2234 (__get_clockfreq_via_cpuinfo): Likewise.
2235 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2236 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2237
2238 * config.h.in (HAVE_IFUNC): New #undef.
2239 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2240 was successful.
2241 * configure: Regenerated.
2242
0cae3f4b
MF
22432012-10-24 Mike Frysinger <vapier@gentoo.org>
2244
2245 * configure.in: Move READELF check to start of file.
2246 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2247 libc_cv_asm_gnu_indirect_function in the process.
2248 * configure: Regenerated.
2249
8175a253
MF
22502012-10-24 Mike Frysinger <vapier@gentoo.org>
2251
2252 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2253 send the output to /dev/null.
2254 (libc_cv_cc_with_libunwind): Likewise.
2255 (libc_cv_as_noexecstack): Likewise.
2256 * configure: Regenerate.
2257
0708a7d1
JM
22582012-10-24 Joseph Myers <joseph@codesourcery.com>
2259
10b40d85
JM
2260 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2261
0708a7d1
JM
2262 * posix/globtest.sh (TMPDIR): Do not set.
2263 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2264 (testout): Likewise.
2265
9fddec1a
AJ
22662012-10-24 Andreas Jaeger <aj@suse.de>
2267
3a8db22f
AJ
2268 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2269 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2270 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2271 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2272 posix_fadvise64, posix_fallocate64.
2273
9fddec1a
AJ
2274 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2275 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2276 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2277 Likewise.
2278 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2279 Likewise.
2280 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2281
2282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2283 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2284 <bits/fcntl-linux.h>.
2285 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2286
2287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2288 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2289 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2290 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2291 [__WORDSIZE != 64]: Likewise.
2292
ebfd1bbd
JM
22932012-10-23 Joseph Myers <joseph@codesourcery.com>
2294
03ac099f
JM
2295 * Makeconfig (run-built-tests): New variable.
2296 * Rules [$(cross-compiling) = yes]: Change condition to
2297 [$(run-built-tests) = no].
2298 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2299 to [$(run-built-tests) = yes].
2300 * elf/Makefile [$(cross-compiling) = no]: Likewise
2301 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2302 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2303 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2304 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2305 * io/Makefile [$(cross-compiling) = no]: Likewise.
2306 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2307 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2308 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2309 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2310 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2311 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2312 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2313 * string/Makefile [$(cross-compiling) = no]: Likewise.
2314
ebfd1bbd
JM
2315 * posix/Makefile ($(objpfx)globtest.out): Pass
2316 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2317 $(rtld-installed-name).
2318 * posix/globtest.sh (elf_objpfx): Remove variable.
2319 (rtld_installed_name): Likewise.
2320 (library_path): Likewise.
2321 (run_program_prefix): New variable. Use for running globtest
2322 binary.
2323
166bca24
JB
23242012-10-23 Jim Blandy <jimb@codesourcery.com>
2325 Joseph Myers <joseph@codesourcery.com>
2326
2327 * Makeconfig (host-built-program-cmd): New variable.
2328 * elf/Makefile (tst-stackguard1-ARGS): Use
2329 $(host-built-program-cmd).
2330 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2331 (tst-spawn-ARGS): Likewise.
2332 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2333
88866099
JM
23342012-10-23 Joseph Myers <joseph@codesourcery.com>
2335 Jim Blandy <jimb@codesourcery.com>
2336
2337 * Makeconfig (run-via-rtld-prefix): New variable.
2338 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2339 (built-program-cmd): Likewise.
2340
b4b4c296
AJ
23412012-10-22 Andreas Jaeger <aj@suse.de>
2342
2343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2344 __O_RSYNC if it exists, otherwise to O_SYNC.
2345
6fb54a22
JB
23462012-10-22 Jim Blandy <jimb@codesourcery.com>
2347 Joseph Myers <joseph@codesourcery.com>
2348
2349 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2350 /dev/null.
2351 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2352 from /dev/null
2353 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2354 /dev/null.
2355
481b90b9
AJ
23562012-10-22 Andreas Jaeger <aj@suse.de>
2357
2a0e2669
AJ
2358 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2359 Define always.
2360 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2361
76e38f9a
AJ
2362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2363 bits/fcntl-linux.h.
2364
7cd37b43
AJ
2365 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2366 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2367
481b90b9
AJ
2368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2369 to __O_LARGEFILE.
2370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2371 to __O_LARGEFILE.
2372
aba75984
JB
23732012-10-21 Jim Blandy <jimb@codesourcery.com>
2374 Joseph Myers <joseph@codesourcery.com>
2375
2376 * config.make.in (NM): New variable.
2377
88d4247f
AJ
23782012-10-21 Andreas Jaeger <aj@suse.de>
2379
2380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2381 definitions and declarations that are provided by
2382 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2383
f2eed205
L
23842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 [BZ #14683]
2387 * elf/Makefile (tests-static): Add tst-leaks1-static.
2388 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2389 ($(objpfx)tst-leaks1-static): New rule.
2390 ($(objpfx)tst-leaks1-static-mem): Likewise.
2391 (tst-leaks1-static-ENV): New macro.
2392 * elf/dl-open.c (dl_open_worker): Check the main application
2393 only if SHARED is defined.
2394 * elf/tst-leaks1-static.c: New file.
2395
335e6931
AJ
23962012-10-20 Andreas Jaeger <aj@suse.de>
2397
2398 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2399 generic values for Linux.
2400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2401 and declarations that are provided by <bits/fcntl-linux.h> and
2402 include <bits/fcntl-linux.h>.
2403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2405
ac5c94d3
RM
24062012-10-20 Roland McGrath <roland@hack.frob.com>
2407
2408 * io/fcntl.h: Move include of <bits/types.h> to the top and
2409 include it unconditionally.
2410
de54b33a
L
24112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2412
228cfb01
L
2413 * wcsmbs/Makefile (tests-ifunc): New variable.
2414 (tests): Add $(tests-ifunc).
2415 * wcsmbs/test-wcschr-ifunc.c: New file.
2416 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2417 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2418 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2419 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2420 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2421
69f07e5f
L
2422 * string/Makefile (tests-ifunc): New variable.
2423 (tests): Add $(tests-ifunc).
2424 * string/test-memccpy.c (TEST_NAME): New macro.
2425 * string/test-memchr.c (TEST_NAME): Likewise.
2426 * string/test-memcmp.c (TEST_NAME): Likewise.
2427 * string/test-memcpy.c (TEST_NAME): Likewise.
2428 * string/test-memmem.c (TEST_NAME): Likewise.
2429 * string/test-memmove.c (TEST_NAME): Likewise.
2430 * string/test-memset.c (TEST_NAME): Likewise.
2431 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2432 * string/test-stpcpy.c (TEST_NAME): Likewise.
2433 * string/test-stpncpy.c (TEST_NAME): Likewise.
2434 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2435 * string/test-strcasestr.c (TEST_NAME): Likewise.
2436 * string/test-strcat.c (TEST_NAME): Likewise.
2437 * string/test-strchr.c (TEST_NAME): Likewise.
2438 * string/test-strcmp.c(TEST_NAME): Likewise.
2439 * string/test-strcpy.c (TEST_NAME): Likewise.
2440 * string/test-strcspn.c (TEST_NAME): Likewise.
2441 * string/test-strlen.c (TEST_NAME): Likewise.
2442 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2443 * string/test-strncmp.c (TEST_NAME): Likewise.
2444 * string/test-strncpy.c (TEST_NAME): Likewise.
2445 * string/test-strnlen.c (TEST_NAME): Likewise.
2446 * string/test-strpbrk.c (TEST_NAME): Likewise.
2447 * string/test-strrchr.c (TEST_NAME): Likewise.
2448 * string/test-strspn.c (TEST_NAME): Likewise.
2449 * string/test-strstr.c (TEST_NAME): Likewise.
2450 * string/test-bcopy-ifunc.c: New file.
2451 * string/test-bzero-ifunc.c: Likewise.
2452 * string/test-memccpy-ifunc.c: Likewise.
2453 * string/test-memchr-ifunc.c: Likewise.
2454 * string/test-memcmp-ifunc.c: Likewise.
2455 * string/test-memcpy-ifunc.c: Likewise.
2456 * string/test-memmem-ifunc.c: Likewise.
2457 * string/test-memmove-ifunc.c: Likewise.
2458 * string/test-mempcpy-ifunc.c: Likewise.
2459 * string/test-memset-ifunc.c: Likewise.
2460 * string/test-rawmemchr-ifunc.c: Likewise.
2461 * string/test-stpcpy-ifunc.c: Likewise.
2462 * string/test-stpncpy-ifunc.c: Likewise.
2463 * string/test-strcasecmp-ifunc.c: Likewise.
2464 * string/test-strcasestr-ifunc.c: Likewise.
2465 * string/test-strcat-ifunc.c: Likewise.
2466 * string/test-strchr-ifunc.c: Likewise.
2467 * string/test-strchrnul-ifunc.c: Likewise.
2468 * string/test-strcmp-ifunc.c: Likewise.
2469 * string/test-strcpy-ifunc.c: Likewise.
2470 * string/test-strcspn-ifunc.c: Likewise.
2471 * string/test-strlen-ifunc.c: Likewise.
2472 * string/test-strncasecmp-ifunc.c: Likewise.
2473 * string/test-strncat-ifunc.c: Likewise.
2474 * string/test-strncmp-ifunc.c: Likewise.
2475 * string/test-strncpy-ifunc.c: Likewise.
2476 * string/test-strnlen-ifunc.c: Likewise.
2477 * string/test-strpbrk-ifunc.c: Likewise.
2478 * string/test-strrchr-ifunc.c: Likewise.
2479 * string/test-strspn-ifunc.c: Likewise.
2480 * string/test-strstr-ifunc.c: Likewise.
2481
de54b33a
L
2482 * debug/Makefile (tests-ifunc): New variable.
2483 (tests): Add $(tests-ifunc).
2484 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2485 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2486 * debug/test-stpcpy_chk-ifunc.c: New file.
2487 * debug/test-strcpy_chk-ifunc.c: Likewise.
2488
88481c16
SP
24892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2490
2491 [BZ #13601]
2492 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2493 header is not read in.
2494
135948bd
JM
24952012-10-19 Joseph Myers <joseph@codesourcery.com>
2496
89f1c388
JM
2497 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2498 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2499 directly. Pass built executable to script as
2500 $(built-program-cmd).
2501 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2502 $testprogram without using LD_LIBRARY_PATH and $ldso.
2503
e40a0d21
JM
2504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2505 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2506 $(rtld-installed-name).
2507 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2508 (rtld_installed_name): Likewise.
2509 (library_path): Likewise.
2510 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2511 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2512 $(run-program-prefix) to tst-tables.sh.
2513 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2514 it to run tst-table-from and tst-table-to.
2515 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2516 Pass it to tst-table.sh.
2517 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2518 $(run-program-prefix) to tst-gettext.sh.
2519 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2520 tst-translit.sh.
2521 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2522 tst-gettext2.sh.
2523 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2524 to run tst-gettext.
2525 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2526 to run tst-gettext2.
2527 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2528 to run tst-translit.
2529 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2530 $(run-program-prefix) to tst-mtrace.sh.
2531 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2532 to run tst-mtrace.
2533 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2534 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2535 $(rtld-installed-name).
2536 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2537 (rtld_installed_name): Likewise.
2538 (run_program_prefix): New variable. Use it to run wordexp-test.
2539
728e272a
JM
2540 * Makeconfig (ARCH): Remove all definitions.
2541 (machine): Likewise.
2542 [ARCH]: Remove conditional code.
2543 [!objdir]: Give error.
2544 [!objdir] (objpfx): Remove.
2545 [!objdir] (common-objpfx): Likewise.
2546 [!objdir] (common-objdir): Likewise.
2547 * configure.in (config_makefile): Remove. Hardcode Makefile in
2548 AC_CONFIG_FILES call.
2549 * configure: Regenerated.
2550
d528cdcf
JM
2551 [BZ #13888]
2552 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2553 or TMPDIR.
2554 (testout): Likewise.
2555
135948bd
JM
2556 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2557 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2558 $(rtld-installed-name).
2559 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2560 (rtld_installed_name): Likwise.
2561 (runit): Remove function.
2562 (run_getconf): New variable, Use it for running getconf binary.
2563
38c78296
L
25642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2565
2566 [BZ #14716]
2567 * string/test-memmem.c (check_result): New function.
2568 (do_one_test): Use it.
2569 (check1): New function.
2570 (test_main): Use it.
2571
d077f65f
MT
25722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2573
2574 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2575
ced52c71
JM
25762012-10-18 Joseph Myers <joseph@codesourcery.com>
2577
2578 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2579 (_G_LSEEK64): Likewise.
2580 (_G_MMAP64): Likewise.
2581 (_G_FSTAT64): Likewise.
2582 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2583 (_G_LSEEK64): Likewise.
2584 (_G_MMAP64): Likewise.
2585 (_G_FSTAT64): Likewise.
2586 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2587 unconditional. Call __mmap64 directly.
2588 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2589 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2590 __lseek64 directly.
2591 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2592 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2593 __mmap64 directly.
2594 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2595 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2596 __lseek64 directly.
2597 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2598 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2599 __lseek64 directly.
2600 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2601 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2602 __lseek64 directly.
2603 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2604 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2605 __fxstat64 directly.
2606 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2607 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2608 unconditional.
2609 (freopen64) [!_G_OPEN64]: Remove conditional code.
2610 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2611 unconditional.
2612 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2613 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2614 unconditional.
2615 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2616 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2617 unconditional.
2618 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2619 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2620 unconditional.
2621 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2622 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2623 unconditional.
2624 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2625 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2626 unconditional.
2627 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2628 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2629 unconditional.
2630 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2631
b741de23
SP
26322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2633
2634 [BZ #12140]
2635 * manual/memory.texi (Malloc Tunable Parameters): Add note
2636 about free list pointers overwriting some perturb bytes.
2637 Wording suggested by Roland McGrath.
2638
f9b9d9c9
JM
26392012-10-17 Joseph Myers <joseph@codesourcery.com>
2640
2641 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2642 (lgamma_test): Likewise.
2643 (tgamma_test): Likewise.
2644
172a631a
FW
26452012-10-16 Florian Weimer <fweimer@redhat.com>
2646
2647 [BZ #14700]
2648 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2649 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2650
e9f37252
MK
26512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2652
2653 * NEWS: Mention BZ #14716.
2654 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2655 when removing AVAILABLE1_USES_J macro.
2656
d394eb74
L
26572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2658
2659 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2660 (__bswap_64): __uint64_t for unsigned 64-bit int.
2661
ca38dc17
AS
26622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2663
2664 * include/string.h (memmem): Declare libc hidden alias.
2665 * string/memmem.c (memmem): Define libc hidden alias.
2666 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2667 __read, __close instead of open, read, close.
2668
9a387d1f
L
26692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2670
ac49ecaf
L
2671 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2672 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2673 global and hidden.
2674 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2675 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2676 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2677 Likewise.
2678 (__rawmemchr_sse2): Likewise.
2679 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2680 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2681 (__strchr_sse2): Likewise.
2682 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2683 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2684 (__strcasecmp_sse2): Likewise.
2685 (__strncasecmp_sse2): Likewise.
2686 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2687 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2688 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2689 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2690 (__strrchr_sse2): Likewise.
2691 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2692 ifunc-impl-list.c.
2693 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2694 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2695 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2696 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2697 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2698 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2699 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2700 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2701 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2702 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2703 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2704 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2705 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2706 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2707 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2708 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2709 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2710 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2711 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2712 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2713 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2714 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2715 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2716 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2717 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2719 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2720 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2721 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2722 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2723
b090e8ea
L
2724 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2725 global and hidden.
2726 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2727 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2728 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2729 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2730 Likewise.
2731 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2732 Likewise.
2733 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2734 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2735 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2736 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2737 ifunc-impl-list.c.
2738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2740 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2741 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2742 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2743 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2744 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2745 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2746 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2747 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2748 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2749 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2750 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2751 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2752 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2753 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2754 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2755 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2756 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2757 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2758 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2759 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2760 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2761 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2762 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2763 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2764 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2765 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2766 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2767 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2768 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2771 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2772 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2773 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2774 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2775 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2776 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2777 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2779
11dd4af6
L
2780 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2781 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2782 * include/ifunc-impl-list.h: New file.
2783 * misc/ifunc-impl-list.c: Likewise.
2784 * misc/Makefile (routines): Add ifunc-impl-list.
2785 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2786 * string/test-string.h: Include <ifunc-impl-list.h>.
2787 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2788 impl_array): New variables.
2789 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2790 are defined.
2791 (test_init): Call __libc_ifunc_impl_list to initialize
2792 func_list if TEST_IFUNC and TEST_NAME are defined.
2793
9a387d1f
L
2794 * string/Makefile (strop-tests): Add bcopy and bzero.
2795 * string/test-bcopy.c: New file.
2796 * string/test-bzero.c: Likewise.
2797 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2798 defined.
2799 * string/test-memset.c: Support bzero test if TEST_BZERO is
2800 defined.
2801 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2802 __libc_memmove.
2803 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2804 __libc_memset.
2805 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2806 of memset.
2807
472371b9
JM
28082012-10-10 Joseph Myers <joseph@codesourcery.com>
2809
1e4a9536
JM
2810 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2811 * configure: Regenerated.
2812
d173d12e
JM
2813 * Makeconfig (+link-static-before-libc): Don't include
2814 $(link-static-libc).
2815
472371b9
JM
2816 * libio/libio.h (_IO_pos_t): Remove.
2817
89a3ad0b
AO
28182012-10-10 Alexandre Oliva <aoliva@redhat.com>
2819
2820 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2821 McGrath.
2822
e7451425
AO
28232012-10-10 Alexandre Oliva <aoliva@redhat.com>
2824
2825 * crypt/crypt-entry.c: Include fips-private.h.
2826 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2827 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2828 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2829 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2830
4ba74a35
AO
28312012-10-10 Alexandre Oliva <aoliva@redhat.com>
2832
2833 * crypt/crypt-private.h: Include stdbool.h.
2834 (_ufc_setup_salt_r): Return bool.
2835 * crypt/crypt-entry.c: Include errno.h.
2836 (__crypt_r): Return NULL with EINVAL for bad salt.
2837 * crypt/crypt_util.c (bad_for_salt): New.
2838 (_ufc_setup_salt_r): Check that salt is long enough and within
2839 the specified alphabet.
2840 * crypt/badsalttest.c: New file.
2841 * crypt/Makefile (tests): Add it.
2842 ($(objpfx)badsalttest): New.
2843
f96f1242
MK
28442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2845
2846 * NEWS: Add entry for BZ #14602.
2847
0e8e0c1c
JM
28482012-10-09 Joseph Myers <joseph@codesourcery.com>
2849
2850 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2851 type-generic.
2852 * math/libm-test.inc: Update comment listing what functions and
2853 macros are tested.
2854 (isgreater_test): New function.
2855 (isgreaterequal_test): Likewise.
2856 (isless_test): Likewise.
2857 (islessequal_test): Likewise.
2858 (islessgreater_test): Likewise.
2859 (isunordered_test): Likewise.
2860 (main): Call the new functions.
2861
273edc5e
RM
28622012-10-09 Roland McGrath <roland@hack.frob.com>
2863
b8493de0
RM
2864 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2865 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2866 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2867 * sysdeps/i386/configure: Regenerated.
2868 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2869 * sysdeps/mach/configure: Regenerated.
2870 * sysdeps/mach/hurd/configure: Regenerated.
2871 * sysdeps/powerpc/configure: Regenerated.
2872 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2873 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2874 * sysdeps/s390/s390-32/configure: Regenerated.
2875 * sysdeps/s390/s390-64/configure: Regenerated.
2876 * sysdeps/sh/configure: Regenerated.
2877 * sysdeps/sparc/configure: Regenerated.
2878 * sysdeps/unix/sysv/linux/configure: Regenerated.
2879 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2880 * sysdeps/x86_64/configure: Regenerated.
2881
273edc5e
RM
2882 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2883 defined. Don't check if MAP is NULL.
2884
c8450f70
JM
28852012-10-09 Joseph Myers <joseph@codesourcery.com>
2886
2887 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2888 (_G_stat64): Likewise.
2889 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2890 (_G_stat64): Likewise.
2891 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2892 instead of struct _G_stat64.
2893 * libio/fileops.c (mmap_remap_check): Likewise.
2894 (decide_maybe_mmap): Likewise.
2895 (_IO_new_file_seekoff): Likewise.
2896 (_IO_file_stat): Likewise.
2897 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2898 _G_off64_t.
2899 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2900 instead of struct _G_stat64.
2901 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2902
57e605ba
MK
29032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2904
2905 [BZ #14602]
2906 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2907 Replace with ...
2908 (CHECK_EOL): New macro.
2909 (two_way_short_needle): Check beginning of haystack for EOL. Use
2910 CHECK_EOL.
2911 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2912 Replace with CHECK_EOL.
2913 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2914 Replace with CHECK_EOL.
2915
ef1bb361
JM
29162012-10-08 Joseph Myers <joseph@codesourcery.com>
2917
2918 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2919 type-generic.
2920 * math/libm-test.inc: Update comment listing what functions and
2921 macros are tested.
2922 (finite_test): New function.
2923 (isinf_test): Likewise.
2924 (isnan_test): Likewise.
2925 (fpclassify_test): Test subnormal input.
2926 (isfinite_test): Likewise.
2927 (isnormal_test): Likewise.
2928 (main): Call the new functions.
2929
55f11534
JN
29302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2931
2932 [BZ #14660]
2933 * Makerules (%.dynsym): Force C locale when running
2934 $(OBJDUMP) --dynamic-syms.
2935
1ab29350
AS
29362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2937
2938 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2939 <stdint.h>.
2940
f1ecb7ef
DM
29412012-10-06 David S. Miller <davem@davemloft.net>
2942
2943 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2944 upper 32-bits of the length value in %o2 since we use branch-on-register
2945 tests which consider the entire 64-bit register.
2946
5d41d91a
L
29472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2948
2949 * string/test-strstr.c (check2): Add a test for page boundary.
2950
3baddb72
DM
29512012-10-05 David S. Miller <davem@davemloft.net>
2952
2953 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2954 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2955 file.
2956 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2957 sysdep_routines.
2958 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2959 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2960 and bzero when HWCAP_SPARC_CRYPTO is present.
2961
9cee5585
L
29622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2963
d7e0dab9
L
2964 [BZ #14602]
2965 * string/test-strstr.c (check2): New function.
2966 (test_main): Call check2.
2967
03759f47
L
2968 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2969 and bug-strchr1.
2970 * string/bug-strcasestr1.c (do_test): Moved to ...
2971 * string/test-strcasestr.c (check1): Here. New function.
2972 (do_one_test): Break out result checking code into ...
2973 (check_result): This. New function.
2974 (do_one_test): Call check_result.
2975 (test_main): Call check1.
2976 * string/bug-strchr1.c (do_test): Moved to ...
2977 * string/test-strchr.c (check1): Here. New function.
2978 (do_one_test): Break out result checking code into ...
2979 (check_result): This. New function.
2980 (do_one_test): Call check_result.
2981 (test_main): Call check1.
2982 * string/bug-strstr1.c (main): Moved to ...
2983 * string/test-strchr.c (check1): Here. New function.
2984 (do_one_test): Break out result checking code into ...
2985 (check_result): This. New function.
2986 (do_one_test): Call check_result.
2987 (test_main): Call check1.
2988 * string/bug-strcasestr1.c: Removed.
2989 * string/bug-strchr1.c: Likewise.
2990 * string/bug-strstr1.c: Likewise.
2991
53cea63e
L
2992 * elf/Makefile (dl-routines): Add hwcaps.
2993 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2994 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2995 (_dl_important_hwcaps): Moved to ...
2996 * elf/dl-hwcaps.c: Here. New file.
2997 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2998
9cee5585 2999 [BZ #14557]
bb859b06
L
3000 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3001 if IS_IN_rtld isn't defined.
3002
9cee5585
L
3003 * elf/dl-support.c (_dl_sysinfo_map): New.
3004 Include "get-dynamic-info.h" and "setup-vdso.h".
3005 (_dl_non_dynamic_init): Call setup_vdso.
3006 * elf/dynamic-link.h: Don't include <assert.h>.
3007 (elf_get_dynamic_info): Moved to ...
3008 * elf/get-dynamic-info.h: Here. New file.
3009 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3010 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3011 * elf/setup-vdso.h: Here. New file.
3012 * elf/rtld.c: Include "setup-vdso.h".
3013 (dl_main): Call setup_vdso.
3014
23c31b76
JM
30152012-10-05 Joseph Myers <joseph@codesourcery.com>
3016
28234b07
JM
3017 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3018 creal in comment listing functions tested. List finite, isinf,
3019 isnan, isless, islessequal, isgreater, isgreaterequal,
3020 islessgreater, isunordered, lgamma_r and pow10 as functions and
3021 macros not tested. Mention which functions not tested are aliases
3022 for other functions. Fix typo. Note that signs of NaNs are not
3023 tested.
3024
23c31b76
JM
3025 * scripts/config.guess: Update from config.git.
3026 * scripts/config.sub: Likewise.
3027
9043e228
RM
30282012-10-04 Roland McGrath <roland@hack.frob.com>
3029
3030 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3031 * misc/madvise.c (madvise): Renamed to __madvise.
3032 Make madvise a weak alias.
3033 * include/sys/mman.h: Declare __madvise.
3034 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3035 * sysdeps/unix/syscalls.list
3036 (madvise): Make __madvise the strong name, and madvise a weak alias.
3037 * sysdeps/unix/sysv/linux/syscalls.list
3038 (madvise, mmap): Remove redundant entries.
3039 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3040 * malloc/malloc.c (mtrim): Likewise.
3041 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3042
f57f8055
RM
30432012-10-03 Roland McGrath <roland@hack.frob.com>
3044
3045 * sysdeps/mach/hurd/dl-cache.c: File removed.
3046 * config.h.in (USE_LDCONFIG): New #undef.
3047 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3048 * configure: Regenerated.
3049 * elf/Makefile (dl-routines): Add dl-cache only under
3050 [$(use-ldconfig) = yes].
3051 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3052 cache on [USE_LDCONFIG].
3053 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3054 [USE_LDCONFIG].
3055 * elf/rtld.c (dl_main): Likewise.
3056
5bb0c10a
PT
30572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3058
3059 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3060 _SC_LEVEL4_CACHE_LINESIZE.
3061
010188c6
RM
30622012-10-03 Roland McGrath <roland@hack.frob.com>
3063
3064 * sysdeps/unix/bsd/confstr.h: File removed.
3065
b6c5ec07
AO
30662012-10-02 Alexandre Oliva <aoliva@redhat.com>
3067
3068 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3069 sys/sdt-config.h.
3070
408223d4
RM
30712012-10-02 Roland McGrath <roland@hack.frob.com>
3072
3073 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3074 Make 'mapoff' field ElfW(Off) rather than off_t.
3075
bb9510dc
DL
30762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3077
fc997c6e
DL
3078 * nscd/Makefile: Remove nscd-cflags and all its users.
3079 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3080 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3081
bb9510dc
DL
3082 [BZ #10631]
3083 * malloc.c (malloc_printerr): Clarify error message.
3084
05699367
L
30852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3086
3087 [BZ #14648]
3088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3089 Set bit_FMA_Usable if FMA is supported.
3090 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3091 macro.
3092 (bit_FMA4_Usable): Updated.
3093 (index_FMA_Usable): New macro.
3094 (CPUID_FMA): Likewise
3095 (HAS_FMA): Defined with bit_FMA_Usable.
3096
51367701
RM
30972012-10-01 Roland McGrath <roland@hack.frob.com>
3098
3099 * bits/types.h (__swblk_t): Type removed.
3100 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3101 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3103 (__SWBLK_T_TYPE): Likewise.
3104 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3105 (__SWBLK_T_TYPE): Likewise.
3106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3107 (__SWBLK_T_TYPE): Likewise.
3108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3109 (__SWBLK_T_TYPE): Likewise.
3110
4d57bf63 31112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3112 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3113
3114 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3115 (xdr_mapname): Use YPMAXMAP as maxsize.
3116 (xdr_peername): Use YPMAXPEER as maxsize.
3117 (xdr_keydat): Use YPAXRECORD as maxsize.
3118 (xdr_valdat): Use YPMAXRECORD as maxsize.
3119
93c65d43
RM
31202012-10-01 Roland McGrath <roland@hack.frob.com>
3121
497a03d6
RM
3122 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3123
93c65d43
RM
3124 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3125 * csu/init-first.c: ... here.
3126 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3127 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3128 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3129 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3130 * sysdeps/i386/init-first.c: File removed.
3131 * sysdeps/sh/init-first.c: File removed.
3132
bec749fd
JM
31332012-10-01 Joseph Myers <joseph@codesourcery.com>
3134
3135 [BZ #14645]
3136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3137 if x * y might underflow to zero and z is zero.
3138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3139 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3140 * math/libm-test.inc (min_subnorm_value): New variable.
3141 (fma_test): Add more tests.
3142 (fma_test_towardzero): Likewise.
3143 (fma_test_downward): Likewise
3144 (fma_test_upward): Likewise.
3145 (initialize): Set min_subnorm_value.
3146
8ec5b013
JM
31472012-09-29 Joseph Myers <joseph@codesourcery.com>
3148
3149 [BZ #14638]
3150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3151 0 + 0.
3152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3153 mode for addition resulting in exact zero.
3154 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3156 exact 0 + 0.
3157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3159 * math/libm-test.inc (fma_test): Add more tests.
3160 (fma_test_towardzero): New function.
3161 (fma_test_downward): Likewise.
3162 (fma_test_upward): Likewise.
3163 (main): Call the new functions.
3164
b1fa802e
DM
31652012-09-28 David S. Miller <davem@davemloft.net>
3166
3167 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3168
d3b9fd9e
RM
31692012-09-28 Roland McGrath <roland@hack.frob.com>
3170
ea4d37b3
RM
3171 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3172 instead of SIGALRM.
3173
ac51c949
RM
3174 * sysdeps/gnu/_G_config.h: Moved to ...
3175 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3176 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3177 * sysdeps/generic/_G_config.h: ... here.
3178
28c195f7
RM
3179 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3180
848917f9
RM
3181 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3182
6bacf05b
RM
3183 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3184 Conditionalize target on [libnss_test1.so-version].
3185
91363dbb
RM
3186 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3187
cc87f7d8
RM
3188 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3189 (elfobjdir): Move out of conditionals.
3190
b1c608fe
RM
3191 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3192 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3193 (__nss_lookup_function): Conditionalize label remove_from_tree on
3194 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3195
1d9a6d96
DM
31962012-09-28 David S. Miller <davem@davemloft.net>
3197
3198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3199 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3200 file.
3201 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3202 sysdep_routines.
3203 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3205 when HWCAP_SPARC_CRYPTO is present.
3206
72581615
PT
32072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3208
3209 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3210
715a900c
JL
32112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3212
3213 [BZ #6530]
3214 * stdio-common/vfprintf.c (process_string_arg): Revert
3215 2000-07-22 change.
3216
32172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3218
3219 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3220 for testcase.
3221 * stdio-common/tst-sprintf.c: Include <locale.h>
3222 (main): Test sprintf's handling of incomplete multibyte
3223 characters.
3224
9bac1d86
L
32252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3226
3227 * elf/dl-runtime.c (VERSYMIDX): Removed.
3228 * elf/dl-version.c (VERSYMIDX): Likewise.
3229 * elf/do-rel.h (VERSYMIDX): Likewise.
3230 (VALIDX): Likewise.
3231 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3232 * elf/rtld.c (VALIDX): Likewise.
3233 (ADDRIDX): Likewise.
9bac1d86
L
3234 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3235 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3236 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3237 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3238 (VALIDX): Likewise.
3239 (ADDRIDX): Likewise.
9bac1d86 3240
b31606c0
PT
32412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3242
3243 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3244
11541177
JL
32452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3246
3247 [BZ #11438]
3248 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3249 to global scope.
3250 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3251 addresses are in the same scope as 192.0.2/24.
3252 * posix/gai.conf: Document new scope table defaults.
3253
adb26fae
SP
32542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3255
3256 [BZ #5298]
3257 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3258 for ftell. Compute offsets from write pointers instead.
3259 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3260
4573c6b0
SP
32612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3262
3263 [BZ #14543]
3264 * libio/Makefile (tests): New test case tst-fseek.
3265 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3266 combination works in wide mode.
3267 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3268 state when the external buffer state changes.
3269
aa9bbfe6
DM
32702012-09-27 David S. Miller <davem@davemloft.net>
3271
3272 [BZ #14376]
3273 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3274 pass reloc->r_addend in as the 'high' argument to
3275 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3276
784421e7
DM
3277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3278
c39bc8b8
PT
32792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3280
3281 * rt/tst-aio2.c: Include <pthread.h>.
3282 * rt/tst-aio3.c: Likewise.
3283
1ccc2399
SE
32842012-09-27 Steve Ellcey <sellcey@mips.com>
3285
3286 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3287
31ed4153
L
32882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3289
25f5f885
L
3290 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3291 contents on [SHARED].
31ed4153 3292
b7bfe116
MP
32932012-09-26 Marek Polacek <polacek@redhat.com>
3294
3295 [BZ #14530]
3296 [BZ #13741]
3297 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3298 for C++ and GCC <4.3 as well as for non GCC compilers.
3299
43c4edba
MT
33002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3301
3302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3303
6a1bf82f
RM
33042012-09-25 Roland McGrath <roland@hack.frob.com>
3305
3306 * Makefile.in (all, install): Declare with .PHONY.
3307 Reported by Michael Hope <michael.hope@linaro.org>.
3308
8ad11b9a
TMQMF
33092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3310
3311 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3312 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3313 system header.
3314 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3315 Likewise.
3316 (sydep_routines): Add the new and the internal functions.
3317 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3318 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3320 (GLIBC_2.17): Add the new function.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3322 (GLIBC_2.17): Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3324 (GLIBC_2.17): Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3326 (GLIBC_2.17): Likewise.
3327 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3328
7e2fca8d
AM
33292012-09-25 Alan Modra <amodra@gmail.com>
3330
3331 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3332 Add release barrier before setting once_control to say
3333 initialisation is done. Add hints on lwarx. Use macro in
3334 place of isync.
3335 (clear_once_control): Add release barrier.
3336
b87c4b24
JM
33372012-09-25 Joseph Myers <joseph@codesourcery.com>
3338
d032e0d2
JM
3339 [BZ #13629]
3340 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3341 specially.
3342 * math/s_clog10.c (__clog10): Likewise.
3343 * math/s_clog10f.c (__clog10f): Likewise.
3344 * math/s_clog10l.c (__clog10l): Likewise.
3345 * math/s_clogf.c (__clogf): Likewise.
3346 * math/s_clogl.c (__clogl): Likewise.
3347 * math/Makefile (libm-calls): Add x2y2m1.
3348 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3349 (__x2y2m1): Likewise.
3350 (__x2y2m1l): Likewise.
3351 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3352 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3353 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3354 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3355 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3356 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3357 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3358 * sysdeps/i386/fpu/libm-test-ulps: Update.
3359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360
b87c4b24
JM
3361 [BZ #14621]
3362 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3363 int as type of variable DEPTH.
3364 (glob): Use size_t instead of int as type of variables NEWCOUNT
3365 and OLD_PATHC.
3366
6d3bf199
LD
33672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3368
22bf5c17
LD
3369 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3370 Add s_sincosf-sse2.
3371 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3372 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3373 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3374 macros for using routine as __sincosf_ia32.
3375 Use macro for function declaration and weak_alias.
3376 * sysdeps/i386/fpu/libm-test-ulps: Update.
3377
3378 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3380
3381 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3382 subnormal argument.
3383 * math/s_cexpf.c (__cexpf): Likewise.
3384 * math/s_csinf.c (__csinf): Likewise.
3385 * math/s_csinhf.c (__csinhf): Likewise.
3386 * math/s_ctanf.c (__ctanf): Likewise.
3387 * math/s_ctanhf.c (__ctanhf): Likewise.
3388 * math/s_ccosh.c (__ccoshf): Likewise.
3389 * math/s_cexp.c (__cexpl): Likewise.
3390 * math/s_csin.c (__csin): Likewise.
3391 * math/s_csinh.c (__csinh): Likewise.
3392 * math/s_ctan.c (__ctan): Likewise.
3393 * math/s_ctanh.c (ctanh): Likewise.
3394 * math/s_ccoshl.c (__ccoshl): Likewise.
3395 * math/s_cexpl.c (__cexpl): Likewise.
3396 * math/s_csinl.c (__csinl): Likewise.
3397 * math/s_csinhl.c (__csinhl): Likewise.
3398 * math/s_ctanl.c (__ctanl): Likewise.
3399 * math/s_ctanhl.c (__ctanhl): Likewise.
3400
203e5603
JM
34012012-09-25 Joseph Myers <joseph@codesourcery.com>
3402
3403 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3404 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3405 (_IO_off_t): Define to __off_t, not _G_off_t.
3406 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3407 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3408 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3409 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3410 type of __dummy and __dummy2 fields.
3411 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3412 (_G_ssize_t): Likewise.
3413 (_G_off_t): Likewise.
3414 (_G_pid_t): Likewise.
3415 (_G_uid_t): Likewise.
3416 (_G_wchar_t): Likewise.
3417 (_G_wint_t): Likewise.
3418 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3419 (_G_ssize_t): Likewise.
3420 (_G_off_t): Likewise.
3421 (_G_pid_t): Likewise.
3422 (_G_uid_t): Likewise.
3423 (_G_wchar_t): Likewise.
3424 (_G_wint_t): Likewise.
3425 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3426 (_G_ssize_t): Likewise.
3427 (_G_off_t): Likewise.
3428 (_G_pid_t): Likewise.
3429 (_G_uid_t): Likewise.
3430 (_G_wchar_t): Likewise.
3431 (_G_wint_t): Likewise.
3432
9fab36eb
SP
34332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3434
3435 * malloc/arena.c: Include malloc-sysdep.h.
3436 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3437 is sufficient to shrink the heap or an unmap is needed.
3438 * sysdeps/generic/malloc-sysdep.h: New file. Define
3439 new function check_may_shrink_heap.
3440 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3441 new function check_may_shrink_heap.
3442
2b4f00d1
SP
34432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3446 comments.
3447
9a9028b1
DL
34482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3449
57c69bef
DL
3450 * catgets/test-gencat.sh: Add "set -e".
3451 * elf/tst-pathopt.sh: Likewise.
3452 * grp/tst_fgetgrent.sh: Likewise.
3453 * iconvdata/run-iconv-test.sh: Likewise.
3454 * intl/tst-gettext.sh: Likewise.
3455 * intl/tst-gettext2.sh: Likewise.
3456 * intl/tst-gettext4.sh: Likewise.
3457 * intl/tst-gettext6.sh: Likewise.
3458 * intl/tst-translit.sh: Likewise.
3459 * io/ftwtest-sh: Likewise.
3460 * libio/test-freopen.sh: Likewise.
3461 * malloc/tst-mtrace.sh: Likewise.
3462 * posix/globtest.sh: Likewise.
3463 * posix/tst-getconf.sh: Likewise.
3464 * posix/wordexp-tst.sh: Likewise.
3465 * stdio-common/tst-printf.sh: Likewise.
3466 * stdio-common/tst-unbputc.sh: Likewise.
3467 * stdlib/tst-fmtmsg.sh: Likewise.
3468 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3469 * catgets/Makefile: Do not specify -e option when running
3470 testsuite shell scripts.
3471 * elf/Makefile: Likewise.
3472 * grp/Makefile: Likewise.
3473 * iconvdata/Makefile: Likewise.
3474 * intl/Makefile: Likewise.
3475 * io/Makefile: Likewise.
3476 * libio/Makefile: Likewise.
3477 * malloc/Makefile: Likewise.
3478 * posix/Makefile: Likewise.
3479 * stdio-common/Makefile: Likewise.
3480 * stdlib/Makefile: Likewise.
3481 * sysdeps/x86_64/Makefile: Likewise.
3482
9a9028b1
DL
3483 * io/ftwtest-sh: Add copyright header.
3484 * posix/globtest.sh: Likewise.
3485 * posix/tst-getconf.sh: Likewise.
3486 * posix/wordexp-tst.sh: Likewise.
3487 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3488
ced6f16e
L
34892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3490
94b32c39
L
3491 [BZ #13679]
3492 * Makeconfig (+link): Defined as $(+link-static) if
3493 $(build-shared) isn't yes.
3494 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3495 isn't yes.
3496 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3497
189e935b
L
3498 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3499
ced6f16e
L
3500 [BZ #14562]
3501 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3502 new chunk size with MALLOC_ALIGN_MASK.
3503
a9f8e53a
JM
35042012-09-24 Joseph Myers <joseph@codesourcery.com>
3505
3506 [BZ #5044]
3507 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3508 <rounding-mode.h>.
3509 (__printf_fphex): Determine rounding using get_rounding_mode and
3510 round_away.
3511 * stdio-common/tst-printf-round.c (struct hex_test): New
3512 structure.
3513 (hex_tests): New variable.
3514 (test_hex_in_one_mode): New function.
3515 (do_test): Also run tests for hex float output.
3516
43153109
JM
35172012-09-21 Joseph Myers <joseph@codesourcery.com>
3518
3519 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3520 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3521 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3522 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3523 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3524 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3525 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3526 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3527
8a26625d
JM
35282012-09-20 Joseph Myers <joseph@codesourcery.com>
3529
3530 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3531 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3532 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3533 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3534
f3fd569c
DL
35352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3536
3537 [BZ #14579]
3538 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3539 mode only.
3540 * elf/tst-rtld-load-self.sh: New test.
3541 * elf/Makefile: Run it.
3542
63bbedd4
JM
35432012-09-18 Joseph Myers <joseph@codesourcery.com>
3544
3545 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3546 (tst-writev-ENV): Remove.
3547 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3548
626f8b6a
CM
35492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3550
3551 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3552
b7aaa4d6
JM
35532012-09-17 Joseph Myers <joseph@codesourcery.com>
3554
3555 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3556 unconditional.
3557 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3558 Likewise.
3559 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3560 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3561 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3562 Likewise.
3563
65513990
L
35642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 [BZ #14587]
3567 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3568 * config.make.in (have-cpp-asm-debuginfo): Removed.
3569 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3570 * configure: Regenerated.
3571
784761be
JM
35722012-09-14 Joseph Myers <joseph@codesourcery.com>
3573
3574 [BZ #5044]
3575 * stdio-common/printf_fp.c: Include <stdbool.h> and
3576 <rounding-mode.h>.
3577 (___printf_fp): Determine rounding using get_rounding_mode and
3578 round_away.
3579 * stdio-common/tst-printf-round.c: New file.
3580 * stdio-common/Makefile (tests): Add tst-printf-round.
3581 (link-libm): New variable.
3582 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3583
9503345f
L
35842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3585
3586 [BZ #14576]
3587 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3588 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3589 Likewise.
3590 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3591 Likewise.
3592
ad35fc00
JM
35932012-09-13 Joseph Myers <joseph@codesourcery.com>
3594
3595 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3596 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3597 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3598 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3599
6c9b0f68
JM
36002012-09-12 Joseph Myers <joseph@codesourcery.com>
3601
3602 [BZ #14518]
3603 * include/rounding-mode.h: New file.
3604 * sysdeps/generic/get-rounding-mode.h: Likewise.
3605 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3606 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3607 (MAX_VALUE): New macro.
3608 (MIN_VALUE): Likewise.
3609 (overflow_value): New function.
3610 (underflow_value): Likewise.
3611 (round_and_return): Use overflow_value and underflow_value to
3612 determine return values in overflow and underflow cases. Use
3613 round_away to determine rounding depending on rounding mode.
3614 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3615 determine return values in overflow and underflow cases.
3616 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3617 (struct test_results): New structure.
3618 (struct test): Use struct test_results to store expected results
3619 for all rounding modes.
3620 (TEST): Include expected results for all rounding modes.
3621 (test_in_one_mode): New function.
3622 (do_test): Use test_in_one_mode to compute and check results.
3623 Check results for all rounding modes.
3624 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3625 $(link-libm).
3626
19fcedd5
AM
36272012-12-09 Allan McRae <allan@archlinux.org>
3628
1e9d84cd 3629 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3630
8bbfd2f1
JM
36312012-09-11 Joseph Myers <joseph@codesourcery.com>
3632
3633 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3634 (_G_int32_t): Likewise.
3635 (_G_uint16_t): Likewise.
3636 (_G_uint32_t): Likewise.
3637 (_G_HAVE_BOOL): Likewise.
3638 (_G_HAVE_ATEXIT): Likewise.
3639 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3640 (_G_HAVE_IO_FILE_OPEN): Likewise.
3641 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3642 (_G_int32_t): Likewise.
3643 (_G_uint16_t): Likewise.
3644 (_G_uint32_t): Likewise.
3645 (_G_HAVE_BOOL): Likewise.
3646 (_G_HAVE_ATEXIT): Likewise.
3647 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3648 (_G_HAVE_IO_FILE_OPEN): Likewise.
3649 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3650 (_G_int32_t): Likewise.
3651 (_G_uint16_t): Likewise.
3652 (_G_uint32_t): Likewise.
3653 (_G_HAVE_BOOL): Likewise.
3654 (_G_HAVE_ATEXIT): Likewise.
3655 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3656 (_G_HAVE_IO_FILE_OPEN): Likewise.
3657
b1dc5912
L
36582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3659
3660 * csu/libc-tls.c: Update copyright years.
3661
0e886ef9
JM
36622012-09-10 Joseph Myers <joseph@codesourcery.com>
3663
28361c5e
JM
3664 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3665 [!_G_USING_THUNKS]: Remove conditional code.
3666 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3667 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3668
0e886ef9
JM
3669 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3670 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3671 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3672 (_G_VTABLE_LABEL_PREFIX): Likewise.
3673 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3674 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3675 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3676 (_G_VTABLE_LABEL_PREFIX): Likewise.
3677 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3678 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3679 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3680 (_G_VTABLE_LABEL_PREFIX): Likewise.
3681 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3682
bcba7aa2
L
36832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * libio/Makefile: Include ../Makeconfig before tests.
3686 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3687 only if $(build-shared) is yes.
3688
06585ee8
L
3689 * iconv/gconv_db.c: Update copyright years.
3690
80ccd52c
LD
36912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3692
3693 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3694 unwind info if defined PIC. Fix special cases description.
3695 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3696
3697 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3698 DP_HI_MASK entry.
3699 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3700
691bc9c1
L
37012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3702
3d9b46b3
L
3703 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3704
de2139a9
L
3705 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3706 is NULL.
3707
5ca78dd0
L
3708 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3709 (LDLIBS-tst-chk4): This.
3710 (LDFLAGS-tst-chk5): Renamed to ...
3711 (LDLIBS-tst-chk5): This.
3712 (LDFLAGS-tst-chk6): Renamed to ...
3713 (LDLIBS-tst-chk6): This.
3714 (LDFLAGS-tst-lfschk4): Renamed to ...
3715 (LDLIBS-tst-lfschk4): This.
3716 (LDFLAGS-tst-lfschk5): Renamed to ...
3717 (LDLIBS-tst-lfschk5): This.
3718 (LDFLAGS-tst-lfschk6): Renamed to ...
3719 (LDLIBS-tst-lfschk6): This.
3720
691bc9c1
L
3721 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3722 on $(common-objpfx)soversions.mk.
3723
65cafb1c
JM
37242012-09-07 Joseph Myers <joseph@codesourcery.com>
3725
3726 [BZ #10014]
3727 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3728 example host name.
3729
c78ab094
SP
37302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3731
3732 * malloc/arena.c (arena_get_retry): New function that gets
3733 another arena for the caller to try its request on.
3734 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3735 current arena cannot fulfill the request.
3736 (__libc_memalign): Likewise.
3737 (__libc_memalign): Likewise.
3738 (__libc_pvalloc): Likewise.
3739 (__libc_calloc): Likewise.
3740
01f49f59
JT
37412012-09-05 John Tobey <john.tobey@gmail.com>
3742
3743 [BZ #13542]
3744 * manual/arith.texi (Operations on Complex): Fix description
3745 of carg branch cut.
3746
4c23fed5
JM
37472012-09-06 Joseph Myers <joseph@codesourcery.com>
3748
1d3c8572
JM
3749 [BZ #10014]
3750 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3751 host name.
3752
4c23fed5
JM
3753 [BZ #10038]
3754 * manual/memory.texi (Memory): Make order of menu items match
3755 order of sections.
3756
04570aaa
L
37572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3760 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3761 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3762
b80af2f4
L
37632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3764
3765 * csu/libc-tls.c (static_dtv): Renamed to ...
3766 (_dl_static_dtv): This. Make it global.
3767 (_dl_initial_dtv): Removed.
3768 (__libc_setup_tls): Updated.
3769 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3770 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3771 DL_INITIAL_DTV.
3772
2abe9f15
PM
37732012-09-06 Petr Machata <pmachata@redhat.com>
3774
3775 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3776 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3777 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3778 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3779
0948c3af
L
37802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3781
3782 [BZ #14545]
3783 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3784 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3785 freeing dtv[-1].
3786
a5055ad1
L
37872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3788
3789 [BZ #14544]
3790 * Makeconfig (link-static-before-libc): Replace $(+prector)
3791 with $(+prectorT).
3792 (link-static-after-libc): Replace $(+postctor) with
3793 $(+postctorT).
3794 (link-bounded): Replace $(+prector)/$(+postctor) with
3795 $(+prectorT)/$(+postctorT).
3796 (+prectorT): New macro.
3797 (+postctorT): Likewise.
3798
ed8c2ecd
JM
37992012-09-06 Joseph Myers <joseph@codesourcery.com>
3800
3801 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3802 (round_str): Handle values above the maximum for IBM long double
3803 as inexact.
3804 * stdlib/tst-strtod-round.c (tests): Regenerated.
3805
14c996c8
AK
38062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3807
3808 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3809 assembler flag.
3810 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3811 zarch_nohighgprs around the zarch optimized routines.
3812 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3813 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3814 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3815 for zarch.
3816
430d6ce6
DM
38172012-09-05 David S. Miller <davem@davemloft.net>
3818
3819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3820
ff04dda4
DM
3821 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3822 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3823 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3824 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3825 entries.
3826
24d4e01b
AO
38272012-09-05 Alexandre Oliva <aoliva@redhat.com>
3828
3829 * malloc/arena.c: Fold copyright years.
3830 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3831
61d58174
AO
38322012-09-05 Alexandre Oliva <aoliva@redhat.com>
3833
3834 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3835
20196a5e
AO
38362012-09-05 Alexandre Oliva <aoliva@redhat.com>
3837
3838 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3839
5c447383
AO
38402012-09-05 Alexandre Oliva <aoliva@redhat.com>
3841
3842 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3843 change internal state upon failure.
3844
fad64255
AO
38452012-09-05 Alexandre Oliva <aoliva@redhat.com>
3846
3847 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3848 * malloc/memusage.c (mmap): Likewise.
3849 (mmap64, mremap): Likewise. Adjust name in comment.
3850
1ffb8c90
SP
38512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3852
3853 * libio/fileops.c: Fix typos in comments.
3854 * libio/oldfileops.c: Likewise.
3855 * libio/wfileops.c: Likewise.
3856
6ef9cc37
SP
38572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
3859 [BZ #1349]
3860 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3861 (tst-malloc-usable-ENV): Set environment for test case.
3862 * malloc/hooks.c (malloc_check_get_size): New function to get
3863 requested size.
3864 * malloc/malloc.c (musable): Use malloc_check_get_size.
3865 * malloc/tst-malloc-usable.c: New test case.
3866
4d038ae3
AS
38672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3868
3869 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3870
c4e85184
AM
38712012-09-05 Allan McRae <allan@archlinux.org>
3872
b9dafc56 3873 [BZ #13966]
c4e85184
AM
3874 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3875 determine header location.
3876 * configure: Regenerated.
3877
e1343020
AS
38782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3879
3880 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3881 float format.
3882 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3883 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3884 format.
e1343020
AS
3885 (test): Regenerate.
3886
0a9f1987
DM
38872012-09-04 David S. Miller <davem@davemloft.net>
3888
3889 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3890 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3891 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3892
29237804
FW
38932012-09-04 Florian Weimer <fweimer@redhat.com>
3894
3895 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3896 failures.
3897
edb3cb88
FW
3898 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3899
60160d83
JM
39002012-09-04 Joseph Myers <joseph@codesourcery.com>
3901
3902 [BZ #9914]
3903 * libio/iogetdelim.c: Include <limits.h>.
3904 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3905 + len + 1 would overflow.
3906
bcd6c8dc
AJ
39072012-09-03 Andreas Jaeger <aj@suse.de>
3908
3909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3910 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911
4ffffbd2
LD
39122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3913
3914 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3915 Add s_sinf-sse2, s_conf-sse2.
3916
3917 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3918 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3919 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3920 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3921
3922 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3923 for using routine as __sinf_ia32.
3924 Use macro for function declaration and weak_alias.
3925 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3926 for using routine as __cosf_ia32.
3927 Use macro for function declaration and weak_alias.
3928
3929 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3930 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3931
3932 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3933 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3935
3936 * math/libm-test.inc (cos_test): Add more test cases.
3937 (sin_test): Likewise.
3938 (sincos_test): Likewise.
3939
511fa286
AK
39402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3941
3942 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3943 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3944 hidden.
3945 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3946
5f30cfec
L
39472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3948
3949 [BZ #14538]
3950 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3951 first element of the GOT.
3952 (elf_machine_load_address): Return the difference between
3953 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3954
0786794f
AM
39552012-09-01 Allan McRae <allan@archlinux.org>
3956
5f30cfec
L
3957 [BZ #13412]
3958 * configure.in (AWK): Require gawk version 3.0 or later.
3959 * configure: Regenerated.
0786794f 3960
26889eac
JM
39612012-09-01 Joseph Myers <joseph@codesourcery.com>
3962
3963 * sysdeps/unix/sysv/linux/kernel-features.h
3964 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3966 [__NR_clock_getres]: Make code unconditional.
3967 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3968 (clock_getcpuclockid): Remove code left unreachable by removal of
3969 conditionals.
3970 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3971 code unconditional.
3972 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3973 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3974 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3975 Make code unconditional.
3976 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3977 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3978 * sysdeps/unix/sysv/linux/clock_settime.c
3979 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3980 conditional code.
3981 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3982 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3983
d22e28b0
L
39842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3985
3986 [BZ #14476]
3987 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3988 scripts/test-installation.pl.
3989
3990 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3991 and $ld_so_version if it is set.
3992
050af9c4
SP
39932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3994
3995 [BZ #14516]
3996 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3997 failure if reading from procfs failed.
3998 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3999
ad845c0b
JM
40002012-08-27 Joseph Myers <joseph@codesourcery.com>
4001
4002 * sysdeps/unix/sysv/linux/kernel-features.h
4003 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4004 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4005 Remove conditional code.
4006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4007 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4008 Remove conditional code.
4009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4010 * sysdeps/unix/sysv/linux/i386/fxstat.c
4011 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4012 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4013 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4014 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4015 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4016 * sysdeps/unix/sysv/linux/i386/lxstat.c
4017 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4018 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4019 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4020 Remove conditional code.
4021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4022 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4023 Remove conditional code.
4024 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4026 <kernel-features.h>.
4027 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4028 Remove.
4029 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4030 Remove conditional code.
4031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4032 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4033 Remove conditional.
4034
5dbf56af
MF
40352012-08-27 Mike Frysinger <vapier@gentoo.org>
4036
4037 [BZ #5400]
4038 * NEWS: Add fixed bug number.
4039
d6e70f43
JM
40402012-08-27 Joseph Myers <joseph@codesourcery.com>
4041
7efb4737
JM
4042 [BZ #14519]
4043 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4044 underflowing exponent in case of negative sign.
4045 * stdlib/tst-strtod-round-data: Add more tests.
4046 * stdlib/tst-strtod-round.c (tests): Regenerated.
4047
af92131a
JM
4048 [BZ #3479]
4049 * stdlib/strtod_l.c (NDIG): Remove.
4050 (HEXNDIG): Likewise.
4051 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4052 smallest representable value.
4053 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4054 lie within an exact representation of 1/2 ulp of the result.
4055 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4056 unconditionally.
4057 (TENS_P9_IDX): Define unconditionally.
4058 (TENS_P9_SIZE): Likewise.
4059 (TENS_P10_IDX): Likewise.
4060 (TENS_P10_SIZE): Likewise.
4061 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4062 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4063 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4064 entries for 10^2^13 and 10^2^14.
4065 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4066 (TENS_P13_IDX): Define.
4067 (TENS_P13_SIZE): Likewise.
4068 (TENS_P14_IDX): Likewise.
4069 (TENS_P14_SIZE): Likewise.
4070 (_fpioconst_pow10): Change array size to
4071 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4072 unconditional.
4073 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4074 1024]: Add entries for 10^2^13 and 10^2^14.
4075 [LAST_POW10 > _LAST_POW10]: Remove #error.
4076 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4077 (_fpioconst_pow10): Change array size to
4078 FPIOCONST_POW10_ARRAY_SIZE.
4079 * stdlib/gen-fpioconst.c: New file.
4080 * stdlib/gen-tst-strtod-round.c: Likewise.
4081 * stdlib/tst-strtod-round-data: Likewise.
4082 * stdlib/tst-strtod-round.c: Likewise.
4083 * stdlib/Makefile (tests): Add tst-strtod-round.
4084
d6e70f43
JM
4085 [BZ #14459]
4086 * stdlib/strtod_l.c: Include <stdint.h>.
4087 (NDEBUG): Do not define.
4088 (round_and_return): Change EXPONENT parameter to type intmax_t.
4089 Rearrange calculations to avoid internal overflow possibilities.
4090 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4091 Rearrange calculations to avoid internal overflow possibilities.
4092 Assert that number fits inside MPNSIZE limbs.
4093 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4094 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4095 calculations and add assertions to avoid internal overflow
4096 possibilities. Add casts to avoid signed/unsigned operations.
4097 * stdlib/tst-strtod-overflow.c: New file.
4098 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4099
1f529f7d
MP
41002012-08-25 Marek Polacek <polacek@redhat.com>
4101
4102 * time/time.h: Fix some typos in comments.
4103
59a629f1
RM
41042012-08-23 Roland McGrath <roland@hack.frob.com>
4105
4106 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4107 * posix/tst-rfc3484-2.c: Likewise.
4108 * posix/tst-rfc3484-3.c: Likewise.
4109
d3bafbc9
SM
41102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4111
4112 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4113 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4114
4efcc022
JM
41152012-08-23 Joseph Myers <joseph@codesourcery.com>
4116
4117 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4118 #include of fxstatat64.c.
4119
3cc3ef96
RM
41202012-08-22 Roland McGrath <roland@hack.frob.com>
4121
f04e2132
RM
4122 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4123 * shadow/getspent_r.c: Likewise.
4124 * shadow/getspnam.c: Likewise.
4125 * shadow/getspnam_r.c: Likewise.
4126 * gshadow/getsgent.c: Likewise.
4127 * gshadow/getsgent_r.c: Likewise.
4128 * gshadow/getsgnam.c: Likewise.
4129 * gshadow/getsgnam_r.c: Likewise.
4130 * inet/getnetbyad.c: Likewise.
4131 * inet/getnetbyad_r.c: Likewise.
4132 * inet/getnetbynm.c: Likewise.
4133 * inet/getnetbynm_r.c: Likewise.
4134 * inet/getnetent.c: Likewise.
4135 * inet/getnetent_r.c: Likewise.
4136 * inet/getproto.c: Likewise.
4137 * inet/getproto_r.c: Likewise.
4138 * inet/getprtent.c: Likewise.
4139 * inet/getprtent_r.c: Likewise.
4140 * inet/getprtname.c: Likewise.
4141 * inet/getprtname_r.c: Likewise.
4142 * inet/getrpcbyname.c: Likewise.
4143 * inet/getrpcbyname_r.c: Likewise.
4144 * inet/getrpcbynumber.c: Likewise.
4145 * inet/getrpcbynumber_r.c: Likewise.
4146 * inet/getrpcent.c: Likewise.
4147 * inet/getrpcent_r.c: Likewise.
4148 * inet/getaliasent.c: Likewise.
4149 * inet/getaliasent_r.c: Likewise.
4150 * inet/getaliasname.c: Likewise.
4151 * inet/getaliasname_r.c: Likewise.
4152 * nscd/getgrgid_r.c: Likewise.
4153 * nscd/getgrnam_r.c: Likewise.
4154 * nscd/gethstbyad_r.c: Likewise.
4155 * nscd/gethstbynm3_r.c: Likewise.
4156 * nscd/getpwnam_r.c: Likewise.
4157 * nscd/getpwuid_r.c: Likewise.
4158 * nscd/getsrvbynm_r.c: Likewise.
4159 * nscd/getsrvbypt_r.c: Likewise.
4160 * nscd/gai.c: Likewise.
4161
c53d909c
RM
4162 * configure.in (build_nscd): New substituted variable, set
4163 by --disable-build-nscd and defaults to $use_nscd.
4164 * configure: Regenerated.
4165 * config.make.in (build-nscd): New substituted variable.
4166 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4167 Change conditional to require [$(build-nscd) = yes] as well.
4168 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4169
3cc3ef96
RM
4170 [BZ# 13696]
4171 * configure.in (use_nscd): New substituted variable, set by
4172 --disable-nscd. If enabled, define USE_NSCD.
4173 * configure: Regenerated.
4174 * config.h.in: Add USE_NSCD.
4175 * config.make.in (use-nscd): New substituted variable.
4176 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4177 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4178 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4179 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4180 (CFLAGS-getgrnam_r.c): Likewise.
4181 (CFLAGS-initgroups.c): Likewise.
4182 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4183 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4184 Variables removed.
4185 * inet/getnetgrent_r.c
4186 (nscd_setnetgrent): New function, broken out of ...
4187 (setnetgrent): ... here. Call it.
4188 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4189 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4190 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4191 * nscd/Makefile (routines, aux): Move definitions after include of
4192 Makeconfig. Conditionalize on [$(use-nscd) != no].
4193 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4194 Conditionalize on [USE_NSCD].
4195 (is_nscd, nscd_init_cb): Likewise.
4196 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4197 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4198 * nss/nss_db/db-init.c: Likewise.
4199 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4200 [USE_NSCD].
4201 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4202 (make_request): Use it.
4203 (cache_valid_p): New function.
4204 (__check_pf): Use it.
4205 * NEWS: Add item for --disable-nscd.
4206
07e51550
DL
42072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4208
4209 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4210 to support sed >= 4.2.1-20-ga9bf076.
4211 * configure: Regenerated.
4212
35a5b08b
RM
42132012-08-22 Roland McGrath <roland@hack.frob.com>
4214
4215 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4216 Conditionalize whole body on [IREL].
4217
8479f23a
JL
42182012-08-22 Jeff Law <law@redhat.com>
4219
4220 [BZ #14505]
4221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4222 if the family is PF_UNSPEC.
4223
48da0b21
MF
42242012-08-22 Mike Frysinger <vapier@gentoo.org>
4225
4226 * Makerules (lib-version): Rename from V.
4227 (install-lib-nosubdir): Change V to lib-version.
4228
15d0da8c
WS
42292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4230
4231 [BZ #14252]
4232 * powerpc32/power6/wcschr.c: New file.
4233 * powerpc32/power6/wcscpy.c: New file.
4234 * powerpc32/power6/wcsrchr.c: New file.
4235 * powerpc64/power6/wcschr.c: New file.
4236 * powerpc64/power6/wcscpy.c: New file.
4237 * powerpc64/power6/wcsrchr.c: New file.
4238
bcca0895
MK
42392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4240
4241 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4242 (two_way_short_needle): Use it.
5a4aaa33
RM
4243 * string/strstr.c (AVAILABLE1_USES_J): Define.
4244 * string/strcasestr.c: Likewise.
99677e57
MK
4245
4246 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4247 array references.
4248 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4249
400726de
MK
4250 [BZ #11607]
4251 * NEWS: Add an entry.
4252 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4253 define their defaults.
4254 (two_way_short_needle): Detect end-of-string on-the-fly.
4255 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4256 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4257 * string/bug-strcasestr1.c: New test.
4258 * string/Makefile: Run it.
4259
20a71f2c
MK
42602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4261
4262 [BZ #11607]
4263 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4264 the first character.
4265
21ad0558
RM
42662012-08-21 Roland McGrath <roland@hack.frob.com>
4267
4268 * csu/elf-init.c (__libc_csu_irel): Function removed.
4269 * csu/libc-start.c (apply_irel): New function.
4270 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4271
0e1d9911
JM
42722012-08-21 Joseph Myers <joseph@codesourcery.com>
4273
4274 * sysdeps/unix/sysv/linux/kernel-features.h
4275 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4276 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4277 <kernel-features.h>.
4278 [__NR_fadvise64_64]: Make code unconditional.
4279 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4280 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4281 !__NR_fadvise64_64)]: Likewise.
4282 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4283 !__NR_fadvise64_64))]: Likewise.
4284 [__NR_fadvise64]: Make code unconditional.
4285 [!__NR_fadvise64]: Remove conditional code.
4286 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4287 <kernel-features.h>.
4288 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4289 unconditional.
4290 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4291 conditional code.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4293 not include <kernel-features.h>.
4294 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4295 unconditional.
4296 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4297 conditional code.
4298 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4299 include <kernel-features.h>.
4300 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4301 unconditional.
4302 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4303 conditional code.
4304
14a50c9d
WS
43052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4306
4307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4308 slight instruction rearrangements per scrollpipe analysis.
4309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4310
c0f4faf0
RM
43112012-08-20 Roland McGrath <roland@hack.frob.com>
4312
696da859
RM
4313 * manual/syslog.texi (syslog; vsyslog, closelog):
4314 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4315 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4316
c0f4faf0
RM
4317 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4318 DSOCAPS to match condition on defining it.
4319
348363b2
JM
43202012-08-20 Joseph Myers <joseph@codesourcery.com>
4321
a35cbf28
JM
4322 * sysdeps/unix/sysv/linux/kernel-features.h
4323 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4325 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4326 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4328 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4329 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4331 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4332 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4333
445f7ecd
JM
4334 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4335 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4336
348363b2
JM
4337 * sysdeps/unix/sysv/linux/kernel-features.h
4338 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4339 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4340 unconditional.
4341 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4342 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4343 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4344 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4345 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4346 Make code unconditional.
4347 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4348 (__mmap64) [!__NR_mmap2]: Likewise.
4349 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4350 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4351 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4352 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4353 [__NR_mmap2]: Make code unconditional.
4354 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4355 (__mmap64) [!__NR_mmap2]: Likewise.
4356
bc5bc0e5
AK
43572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4358
4359 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4360
88d506de
AJ
43612012-08-18 Andreas Jaeger <aj@suse.de>
4362
4363 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4364
493387d2
MF
43652012-08-18 Mike Frysinger <vapier@gentoo.org>
4366
4367 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4368 * include/unistd.h (__have_sock_cloexec): Likewise.
4369 (__have_pipe2): Likewise.
4370 (__have_dup3): Likewise.
4371
a277af22
MF
43722012-08-18 Mike Frysinger <vapier@gentoo.org>
4373
4374 [BZ #9685]
4375 * include/unistd.h (__have_pipe2): Change define into an extern int.
4376 (__have_dup3): Likewise.
4377 * socket/have_sock_cloexec.c: Include fcntl.h.
4378 (__have_pipe2): New variable.
4379 (__have_dup3): Likewise.
4380
fdab8fd3
MF
43812012-08-17 Mike Frysinger <vapier@gentoo.org>
4382
4383 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4384
31035e80
MP
43852012-08-17 Marek Polacek <polacek@redhat.com>
4386
4387 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4388 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4389
3bd9e993
RM
43902012-08-17 Roland McGrath <roland@hack.frob.com>
4391
c91c505f
RM
4392 * configure.in: Add AC_SUBST for sysheaders.
4393 * configure: Regenerated.
4394 * config.make.in (sysheaders): New substituted variable.
4395
7c6f9d53
RM
4396 * sysdeps/unix/mkfifo.c: Moved ...
4397 * sysdeps/posix/mkfifo.c: ... here.
4398 * sysdeps/unix/mkfifoat.c: Moved ...
4399 * sysdeps/posix/mkfifoat.c: ... here.
4400
4401 * sysdeps/unix/utime.c: Moved ...
4402 * sysdeps/posix/utime.c: ... here.
4403
4404 * sysdeps/unix/time.c: Moved ...
4405 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4406 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4407 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4408
4409 * sysdeps/unix/nice.c: Moved ...
4410 * sysdeps/posix/nice.c: ... here.
4411
4412 * sysdeps/unix/alarm.c: Moved ...
4413 * sysdeps/posix/alarm.c: ... here.
4414
3bd9e993
RM
4415 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4416
d1f09384
JL
44172012-08-17 Jeff Law <law@redhat.com>
4418
4419 * intl/Makefile (codeset_mo): New variable.
4420 ($(codeset_mo)): New target.
4421 (tst-codeset.out): Depend on that. Remove explicit rule.
4422 (tst-gettext3.out, tst-gettext5.out): Likewise.
4423 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4424 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4425 * intl/tst-codeset.sh: Remove.
4426 * intl/tst-gettext3.sh: Likewise.
4427 * intl/tst-gettext5.sh: Likewise.
4428
2ae1ae5c
RM
44292012-08-17 Roland McGrath <roland@hack.frob.com>
4430
c31fdb83
RM
4431 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4432 * sysdeps/unix/syscalls.list: ... here.
4433
a0844057
RM
4434 * sysdeps/posix/getaddrinfo.c
4435 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4436 (gaiconf_init, gaiconf_reload): Use them.
4437 [!_STATBUF_ST_NSEC]
4438 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4439 Define using time_t rather than struct timespec.
4440
750c1f2a
RM
4441 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4442 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4443 Macros removed.
4444 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4445 [!NO_THREADS].
4446 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4447 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4448 Likewise.
4449
2ae1ae5c
RM
4450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4451 __libc_cleanup_push argument.
4452
e66a42f5
RM
4453 * bits/param.h: New file.
4454 * misc/sys/param.h: New file.
4455 * include/sys/param.h: New file.
4456 * misc/Makefile (headers): Add bits/param.h.
4457 * sysdeps/generic/sys/param.h: File removed.
4458 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4459 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4460 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4461 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4462
b7c08a66
RM
4463 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4464 last change.
4465
b2e1c562
RM
4466 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4467 [_IO_MTSAFE_IO].
4468 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4469 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4470 New macros.
4471
c75ccd4c
RM
4472 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4473 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4474 rather than -D_IO_MTSAFE_IO conditionally.
4475 * stdio-common/Makefile (CPPFLAGS): Likewise.
4476 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4477 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4478 Use $(libio-mtsafe).
4479 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4480 of -D_IO_MTSAFE_IO.
4481 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4482 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4483 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4484 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4485 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4486 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4487 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4488 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4489 (CFLAGS-fread_u_chk.c): Likewise.
4490 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4491 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4492 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4493 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4494 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4495 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4496 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4497 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4498 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4499
4500 * libio/Makefile: Test [$(libc-reentrant) = yes]
4501 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4502
4503 * Makeconfig
4504 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4505 * sysdeps/pthread/configure: File removed.
4506 * sysdeps/pthread/Makeconfig: New file.
4507 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4508 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4509
d9195db8
GB
45102012-08-16 Gary Benson <gbenson@redhat.com>
4511
4512 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4513 unmapping the first object in a namespace.
4514
86466cd9
RM
45152012-08-16 Roland McGrath <roland@hack.frob.com>
4516
4517 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4518 (__internal_setnetgrent): ... this. Add internal_function to
4519 definition. Add libc_hidden_def.
4520 (setnetgrent): Update caller.
4521 (internal_endnetgrent): Renamed to ...
4522 (__internal_endnetgrent): ... this. Add internal_function to
4523 definition. Add libc_hidden_def.
4524 (endnetgrent): Update caller.
4525 (internal_getnetgrent_r): Renamed to ...
4526 (__internal_getnetgrent_r): ... this. Add internal_function to
4527 definition. Add libc_hidden_def.
4528 (__getnetgrent_r): Update caller.
4529 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4530
c3c8283c
JM
45312012-08-16 Joseph Myers <joseph@codesourcery.com>
4532
4533 * stdlib/longlong.h: Update from GCC.
4534
db1ee0a8
RM
45352012-08-16 Roland McGrath <roland@hack.frob.com>
4536
4537 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4538 on _QL, which is set by umul_ppmm but never used.
4539 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4540 variables, which are set by GMP macros but never used.
4541 * stdio-common/_itowa.c (_itowa): Likewise.
4542 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4543 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4544
30f69637
CD
45452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4546
4547 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4548 struct La_sh_regs is not constant.
4549 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4550 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4551 and struct La_sparc64_regs are not constant.
4552
93a78ac4
JM
45532012-08-16 Joseph Myers <joseph@codesourcery.com>
4554
4555 * sysdeps/unix/sysv/linux/kernel-features.h
4556 (__ASSUME_POSIX_TIMERS): Remove.
4557 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4558 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4559 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4560 Make code unconditional.
4561 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4562 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4563 Make code unconditional.
4564 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4565 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4566 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4567 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4568 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4569 Make code unconditional.
4570 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4571 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4572 (__libc_missing_posix_timers): Remove.
4573
dd924cd7
RM
45742012-08-15 Roland McGrath <roland@hack.frob.com>
4575
4b4f2771
RM
4576 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4577 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4578
601c888b
RM
4579 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4580
176790a7
RM
4581 * elf/dl-sym.c: Include <stdlib.h>.
4582
329bc018
RM
4583 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4584 constants, which avoids warnings in 32-bit builds.
4585
e04e272d
RM
4586 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4587 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4588
952bf94a
RM
4589 * misc/lseek.c: File moved to ...
4590 * io/lseek.c: ... here.
4591
7c99b50a
RM
4592 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4593
dd924cd7
RM
4594 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4595 shifting LEN more than 31 bits at once.
4596
b3f479a8
LD
45972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4598
4599 [BZ #14195]
8c4ae0d4
RM
4600 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4601 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4602 * string/test-strncasecmp.c (check1): Renamed to...
4603 (bz12205): ...this.
4604 (bz14195): Add new testcase for two empty input strings and N > 0.
4605 (test_main): Call new testcase, adapt for renamed function.
4606
9c55864e
AJ
46072012-08-15 Andreas Jaeger <aj@suse.de>
4608
4609 [BZ #14090]
4610 * crypt/md5test2.c: New test, based on test supplied by Serge
4611 Belyshev <belyshev@depni.sinp.msu.ru>.
4612 * crypt/Makefile (xtests): Add md5test-giant..
4613 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4614
02dcb6c5
PE
46152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4616
4617 [BZ #14090]
4618 * crypt/md5.c (md5_process_block): Don't assume the buffer
4619 length is less than 2**32.
4620 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4621 length is less than 2**64.
4622
a3f95dcc
RM
46232012-08-15 Roland McGrath <roland@hack.frob.com>
4624
be75d758
RM
4625 * string/str-two-way.h: Include <sys/param.h>.
4626 (MAX): Macro removed.
4627
7312ca90
RM
4628 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4629 Move #define and #undef of memmove to just before and after
4630 including <string.h>.
4631
9a0a5486
RM
4632 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4633 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4634 and after including <string.h>. Move declarations of
4635 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4636 to before #include "string/memmove.c".
4637
67cc348d
RM
4638 * include/dirent.h: Declare __getdirentries.
4639
a3f95dcc
RM
4640 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4641 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4642
ca98e171
MF
46432012-08-14 Mike Frysinger <vapier@gentoo.org>
4644
4645 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4646 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4647 * sysdeps/i386/configure: Regenerated.
4648 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4649 STABS_CURRENT_FILE, and STABS_FUN.
4650 (END): Remove call to STABS_FUN_END.
4651 (STABS_CURRENT_FILE1): Delete.
4652 (STABS_CURRENT_FILE): Likewise.
4653 (STABS_FUN): Likewise.
4654 (STABS_FUN_END): Likewise.
4655 (STABS_FUN2): Likewise.
4656 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4657 * sysdeps/x86_64/configure: Regenerated.
4658
5908bf46
RM
46592012-08-14 Roland McGrath <roland@hack.frob.com>
4660
4661 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4662 * elf/dl-lookup.c: Likewise.
5908bf46 4663
f2c05b9e
JM
46642012-08-14 Joseph Myers <joseph@codesourcery.com>
4665
4666 * sysdeps/unix/sysv/linux/kernel-features.h
4667 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4668 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4669 unconditionally.
4670 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4671 unconditionally.
4672 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4673 condition on __ASSUME_CLONE_THREAD_FLAGS.
4674
e11f5155
AJ
46752012-08-14 Andreas Jaeger <aj@suse.de>
4676
4677 * sysdeps/i386/fpu/libm-test-ulps: Update.
4678
51a9ba86
MK
46792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4680
2fdd4f78
AJ
4681 * include/atomic.h (atomic_exchange_and_add): Split into ...
4682 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4683 New atomic macros.
51a9ba86 4684
ba6cba9e
MT
46852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4686
4687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4688
42443a47
JL
46892012-08-13 Jeff Law <law@redhat.com>
4690
4691 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4692 null byte in the output string.
4693
121dce05
JM
46942012-08-10 Joseph Myers <joseph@codesourcery.com>
4695
4696 * sysdeps/unix/sysv/linux/kernel-features.h
4697 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4698 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4699 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4700 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4701 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4702 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4703 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4704
bf51f568
JL
47052012-08-09 Jeff Law <law@redhat.com>
4706
4707 [BZ #13939]
4708 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4709 When avoid_arena is set, don't retry in the that arena. Pick the
4710 next one, whatever it might be.
4711 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4712 (arena_lock): Pass in new parameter to arena_get2.
4713 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4714 arena_get2.
4715 (__libc_malloc): Unify retrying after main arena failure with
4716 __libc_memalign version.
4717 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4718
f85fa270
L
47192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4720
4721 [BZ #14166]
4722 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4723 to __redirect_strstr.
4724 (__strstr_sse42): Use typeof __redirect_strstr.
4725 (__strstr_ia32): Likewise.
4726 (__libc_strstr): New prototype.
4727 (strstr): Renamed to ...
4728 (__libc_strstr): This.
4729 (strstr): New strong alias of __libc_strstr.
4730 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4731 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4732 __redirect_time.
4733 Include <time.h>.
4734 (__libc_time): New prototype.
4735 (time_ifunc): Replace time with __libc_time.
4736 (time): New strong alias and hidden definition of __libc_time.
4737 (__GI_time): Remove strong alias.
4738 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4739 Include <stddef.h>.
4740 (memmove): Redefined to __redirect_memmove.
4741 (__memmove_sse2): Use typeof __redirect_memmove.
4742 (__memmove_ssse3): Likewise.
4743 (__memmove_ssse3_back): Likewise.
4744 (__libc_memmove): New prototype.
4745 (memmove): Renamed to ...
4746 (__libc_memmove): This.
4747 (memmove): New strong alias of __libc_memmove.
4748
33b4a91e
MS
47492012-08-08 Mark Salter <msalter@redhat.com>
4750
4751 * elf/elf.h
4752 (R_MN10300_TLS_GD): Define.
4753 (R_MN10300_TLS_LD): Likewise.
4754 (R_MN10300_TLS_LDO): Likewise.
4755 (R_MN10300_TLS_GOTIE): Likewise.
4756 (R_MN10300_TLS_IE): Likewise.
4757 (R_MN10300_TLS_LE): Likewise.
4758 (R_MN10300_TLS_DTPMOD): Likewise.
4759 (R_MN10300_TLS_DTPOFF): Likewise.
4760 (R_MN10300_TLS_TPOFF): Likewise.
4761 (R_MN10300_SYM_DIFF): Likewise.
4762 (R_MN10300_ALIGN): Likewise.
4763 (R_MN10300_NUM): Update.
4764
b36137f1
JM
47652012-08-08 Joseph Myers <joseph@codesourcery.com>
4766
4767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4768 Remove.
4769
cdd915fd
RM
47702012-08-08 Roland McGrath <roland@hack.frob.com>
4771
a2433aac
RM
4772 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4773
cdd915fd
RM
4774 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4775 sysdeps/unix -> sysdeps/posix move.
4776 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4777
bf9b740a
AM
47782012-08-07 Allan McRae <allan@archlinux.org>
4779
4780 [BZ #14303]
4781 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4782 (SUNOS_CPP): Likewise.
4783 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4784 not found.
4785 (open_input): Call CPP using execvp.
4786
93df14ee
JM
47872012-08-07 Joseph Myers <joseph@codesourcery.com>
4788
4789 * sysdeps/unix/sysv/linux/kernel-features.h
4790 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4791 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4792 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4793 (__ASSUME_WAITID_SYSCALL): Likewise.
4794 * sysdeps/unix/sysv/linux/dl-execstack.c
4795 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4796 code unconditional.
4797 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4798 conditional code.
4799 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4800 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4801 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4802 code.
4803 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4804 unconditional.
4805 [__ASSUME_WAITID_SYSCALL]: Likewise.
4806 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4807
d34689de
RM
48082012-08-07 Roland McGrath <roland@hack.frob.com>
4809
a281decc
RM
4810 * sysdeps/unix/closedir.c: Renamed to ...
4811 * sysdeps/posix/closedir.c: ... here.
4812 * sysdeps/unix/dirfd.c: Renamed to ...
4813 * sysdeps/posix/dirfd.c: ... here.
4814 * sysdeps/unix/dirstream.h: Renamed to ...
4815 * sysdeps/posix/dirstream.h: ... here.
4816 * sysdeps/unix/fdopendir.c: Renamed to ...
4817 * sysdeps/posix/fdopendir.c: ... here.
4818 * sysdeps/unix/opendir.c: Renamed to ...
4819 * sysdeps/posix/opendir.c: ... here.
4820 * sysdeps/unix/readdir.c: Renamed to ...
4821 * sysdeps/posix/readdir.c: ... here.
4822 * sysdeps/unix/readdir_r.c: Renamed to ...
4823 * sysdeps/posix/readdir_r.c: ... here.
4824 * sysdeps/unix/rewinddir.c: Renamed to ...
4825 * sysdeps/posix/rewinddir.c: ... here.
4826 * sysdeps/unix/seekdir.c: Renamed to ...
4827 * sysdeps/posix/seekdir.c: ... here.
4828 * sysdeps/unix/telldir.c: Renamed to ...
4829 * sysdeps/posix/telldir.c: ... here.
4830 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4831 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4832 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4833 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4834
22895b47
RM
4835 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4836 * bits/fcntl.h: ... here.
4837
707a53b6
RM
4838 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4839 not 0.
4840 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4841 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4842 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4843 (struct flock): Move l_start, l_len to the beginning.
4844 Use __pid_t for l_pid.
4845 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4846 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4847 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4848 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4849 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4850 [__USE_LARGEFILE64] (struct flock64): New type.
4851 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4852
f0bd3e25
RM
4853 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4854 * bits/dirent.h: ... here.
4855
d34689de
RM
4856 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4857 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4858
6dad2c06
JM
48592012-08-07 Joseph Myers <joseph@codesourcery.com>
4860
4861 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4862 Change from 2.6.0 to 2.6.16.
4863 * sysdeps/unix/sysv/linux/configure: Regenerated.
4864 * sysdeps/unix/sysv/linux/kernel-features.h
4865 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4866 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4867 version.
4868 (__ASSUME_UTIMES): Likewise.
4869 (__ASSUME_CLONE_STOPPED): Remove.
4870 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4871 architectures, not kernel version.
4872 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4873 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4874 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4875 (__ASSUME_WAITID_SYSCALL): Likewise.
4876 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4877 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4878 * README: State 2.6.16 as minimum Linux kernel version. Do not
4879 refer to older versions.
4880
03af9520
RM
48812012-08-06 Roland McGrath <roland@hack.frob.com>
4882
8e49df1d
RM
4883 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4884 Define alphasort64 as an alias.
4885 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4886 Define versionsort64 as an alias.
4887 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4888 Define scandir64 as an alias.
4889 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4890 Define scandirat64 as an alias.
4891 * dirent/alphasort64.c (alphasort64):
4892 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4893 * dirent/versionsort64.c: Likewise.
4894 * dirent/scandir64.c: Likewise.
4895 * dirent/scandirat64.c: Likewise.
4896 * sysdeps/wordsize-64/alphasort.c: File removed.
4897 * sysdeps/wordsize-64/alphasort64.c: File removed.
4898 * sysdeps/wordsize-64/scandir.c: File removed.
4899 * sysdeps/wordsize-64/scandir64.c: File removed.
4900 * sysdeps/wordsize-64/scandirat.c: File removed.
4901 * sysdeps/wordsize-64/scandirat64.c: File removed.
4902 * sysdeps/wordsize-64/versionsort.c: File removed.
4903 * sysdeps/wordsize-64/versionsort64.c: File removed.
4904 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4905 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4906 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4907 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4908 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4909 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4910 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4911 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4912
4913 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4914 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4915 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4917 [defined __arch64__ || defined __sparcv9]
4918 (__INO_T_MATCHES_INO64_T): New macro.
4919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4920 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4921 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4922 * sysdeps/unix/sysv/linux/bits/dirent.h
4923 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4924 (_DIRENT_MATCHES_DIRENT64): New macro.
4925
03af9520
RM
4926 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4927 Define lockf64 as an alias.
4928 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4929 Define fseeko64 as an alias.
4930 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4931 Define ftello64 as an alias.
4932 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4933 Define _IO_fgetpos64 and fgetpos64 as aliases.
4934 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4935 Define _IO_fsetpos64 and fsetpos64 as aliases.
4936 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4937 Conditionalize body on this.
4938 * libio/fseeko64.c: Likewise.
4939 * libio/ftello64.c: Likewise.
4940 * libio/iofgetpos64.c: Likewise.
4941 * libio/iofsetpos64.c: Likewise.
4942 * sysdeps/wordsize-64/lockf.c: File removed.
4943 * sysdeps/wordsize-64/lockf64.c: File removed.
4944 * sysdeps/wordsize-64/fseeko.c: File removed.
4945 * sysdeps/wordsize-64/fseeko64.c: File removed.
4946 * sysdeps/wordsize-64/ftello.c: File removed.
4947 * sysdeps/wordsize-64/ftello64.c: File removed.
4948 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4949 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4950 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4951 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4952 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4953 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4954 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4955 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4956 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4958 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4959 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4960 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4961 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4962
4963 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4965 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4967 [defined __arch64__ || defined __sparcv9]
4968 (__OFF_T_MATCHES_OFF64_T): New macro.
4969 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4970 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4972 (__OFF_T_MATCHES_OFF64_T): New macro.
4973
c5757acd
L
49742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4975
4976 * stdlib/secure-getenv.c (__secure_getenv): Replace
4977 GLIBC_2_16 with GLIBC_2_17.
4978
3a31811e
L
49792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4980
4981 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4982 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4983
faa2bccb
DM
49842012-08-03 David S. Miller <davem@davemloft.net>
4985
4986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4987
85fe1997
JM
49882012-08-03 Joseph Myers <joseph@codesourcery.com>
4989
4990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4991 Remove.
4992 (__ASSUME_CORRECT_SI_PID): Likewise.
4993 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4994 (__ASSUME_TMPFS_NAME): Likewise.
4995 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4996 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4997 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4998 (HAVE_AUX_SECURE): Make definition unconditional.
4999 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5000 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5001
4f75b7a0
RM
50022012-08-03 Roland McGrath <roland@hack.frob.com>
5003
5004 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5005 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5006 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5007 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5008 __eloop_threshold instead of SYMLOOP_MAX.
5009
5010 * sysdeps/generic/eloop-threshold.h: New file.
5011 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5012 of MAXSYMLINKS.
5013 * elf/chroot_canon.c (chroot_canon): Likewise.
5014
7aab07e4
JM
50152012-08-03 Joseph Myers <joseph@codesourcery.com>
5016
5017 [BZ #13717]
5018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5019 Change to 2.6.0 everywhere.
5020 * sysdeps/unix/sysv/linux/configure: Regenerated.
5021 * sysdeps/unix/sysv/linux/kernel-features.h
5022 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5023 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5024 kernel versions.
5025 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5026 (__ASSUME_FUTEX_REQUEUE): Remove.
5027 (__ASSUME_STATFS64): Define unconditionally.
5028 (__ASSUME_AT_SECURE): Likewise.
5029 (__ASSUME_CORRECT_SI_PID): Likewise.
5030 (__ASSUME_TGKILL): Define without depending on kernel version for
5031 i386.
5032 (__ASSUME_UTIMES): Likewise.
5033 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5034 kernel version.
5035 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5036 (__ASSUME_TMPFS_NAME): Likewise.
5037 * README: Update reference to Linux kernel versions.
5038
b67e9372
MP
50392012-08-02 Marek Polacek <polacek@redhat.com>
5040
1f529f7d 5041 [BZ# 14150]
b67e9372
MP
5042 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5043 libc_cv_asm_type_prefix with %.
5044 * configure: Regenerated.
d2441631
RM
5045 * include/libc-symbols.h: Remove comment about
5046 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5047 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5048 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5049 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5050 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5051 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5052 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5053 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5054 * elf/tst-unique2mod1.c: Likewise.
5055 * elf/tst-unique1mod2.c: Likewise.
5056 * elf/tst-unique1mod1.c: Likewise.
5057 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5058 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5059 Replace ASM_TYPE_DIRECTIVE with .type.
5060 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5061 * sysdeps/i386/sysdep.h: Likewise.
5062 * sysdeps/x86_64/sysdep.h: Likewise.
5063 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5065 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5066 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5067 * sysdeps/powerpc/powerpc32/sysdep.h:
5068 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5069 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5070 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5071 * sysdeps/i386/fpu/e_powf.S: Likewise.
5072 * sysdeps/i386/fpu/e_expl.S: Likewise.
5073 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5074 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5075 * sysdeps/i386/fpu/e_pow.S: Likewise.
5076 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5077 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5078 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5079 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5080 * sysdeps/i386/fpu/e_log2.S: Likewise.
5081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5082 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5083 * sysdeps/i386/fpu/e_powl.S: Likewise.
5084 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5085 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5086 * sysdeps/i386/fpu/e_logl.S: Likewise.
5087 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5088 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5089 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5090 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5091 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5092 * sysdeps/i386/fpu/e_log.S: Likewise.
5093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5094 * sysdeps/i386/fpu/e_logf.S: Likewise.
5095 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5097 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5098 * sysdeps/i386/fpu/e_log10.S: Likewise.
5099 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5101 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5102 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5103 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5104 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5105 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5106 * sysdeps/i386/i686/strtok.S: Likewise.
5107 * sysdeps/i386/i386-mcount.S: Likewise.
5108 * sysdeps/i386/strtok.S: Likewise.
5109 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5110 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5111 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5112 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5113 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5114 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5115 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5116 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5118 * sysdeps/x86_64/_mcount.S: Likewise.
5119 * sysdeps/x86_64/strtok.S: Likewise.
5120 * sysdeps/sh/_mcount.S: Likewise.
5121
2747bf9a
RM
51222012-08-01 Roland McGrath <roland@hack.frob.com>
5123
5124 * libio/iofopen.c: Include <fcntl.h>.
5125 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5126 (_IO_fopen64, fopen64): Define as aliases.
5127 * libio/iofopen64.c: Include <fcntl.h>.
5128 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5129 Conditionalize body on this.
5130 * sysdeps/wordsize-64/iofopen.c: File removed.
5131 * sysdeps/wordsize-64/iofopen64.c: File removed.
5132
3fb791b8
MP
51332012-08-01 Marek Polacek <polacek@redhat.com>
5134
5135 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5136 Use dlfcn directly instead of a variable.
5137 (binfmt-subdir): Do not define.
5138 (dlfcn): Likewise.
5139
a9f1039f
JM
51402012-08-01 Joseph Myers <joseph@codesourcery.com>
5141
23bddc06
JM
5142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5143 Remove all definitions.
5144 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5145 <kernel-features.h>.
5146 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5147 (miss_F_GETOWN_EX): Remove all definitions.
5148 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5149 macro definition.
5150 [!__ASSUME_FCNTL64]: Remove conditional code.
5151 [__ASSUME_FCNTL64]: Make code unconditional.
5152 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5153 <kernel-features.h>.
5154 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5155 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5156 (lockf64) [__NR_fcntl64]: Make code unconditional.
5157 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5158
a9f1039f
JM
5159 * sysdeps/unix/sysv/linux/kernel-features.h
5160 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5161 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5162 Make code unconditional.
5163 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5164 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5166 [__NR_vfork]: Make code unconditional.
5167 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5168 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5170 [__NR_vfork]: Make code unconditional.
5171 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5172 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5173
09c0ee5f
RM
51742012-08-01 Roland McGrath <roland@hack.frob.com>
5175
48aec5b9
RM
5176 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5177 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5178
cd97c966
RM
5179 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5180 Define mkstemp64 as an alias.
3f55550c
RM
5181 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5182 Define mkstemps64 as an alias.
cd97c966
RM
5183 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5184 Define mkostemp64 as an alias.
b8625cfc
RM
5185 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5186 Define mkostemps64 as an alias.
cd97c966
RM
5187 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5188 Conditionalize body on this.
5189 * misc/mkostemp64.c: Likewise.
b8625cfc 5190 * misc/mkostemps64.c: Likewise.
3f55550c 5191 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5192 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5193 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5194 * sysdeps/wordsize-64/mkostemp.c: File removed.
5195 * sysdeps/wordsize-64/mkstemp.c: File removed.
5196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5197 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5198 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5199 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5200
09c0ee5f
RM
5201 [BZ #14138]
5202 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5203 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5204 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5205 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5206
5207 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5208 compat_symbol macros from <shlib-compat.h> rather than the underlying
5209 default_symbol_version and symbol_version macros, so that DEFAULT
5210 lines in shlib-versions are respected.
5211 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5212
7e66ee51
FW
52132012-08-01 Florian Weimer <fweimer@redhat.com>
5214
5215 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5216 Declare with warn_unused_result.
5217 (setgid, setregid, setegid, setresgid): Likewise.
5218 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5219 Likewise.
5220 * WUR-REPORT: Remove set*id functions.
5221
d2a54255
PT
52222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5223
5224 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5225
7ecdb005
RM
52262012-07-31 Roland McGrath <roland@hack.frob.com>
5227
789bd351
RM
5228 * include/sys/socket.h (__libc_accept, __libc_accept4):
5229 Add attribute_hidden.
5230 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5231
40ce302d
RM
5232 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5233 use of PTR_MANGLE.
5234 * inet/getnetgrent_r.c (setup): Likewise.
5235
7ecdb005
RM
5236 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5237
e2eabb2c
DM
52382012-07-31 David S. Miller <davem@davemloft.net>
5239
5240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5241
d0419dbf
JM
52422012-07-31 Joseph Myers <joseph@codesourcery.com>
5243
5244 [BZ #13629]
5245 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5246 value between 1.0 and 2.0 and smaller part has absolute value less
5247 than 1.0.
5248 * math/s_clog10.c (__clog10): Likewise.
5249 * math/s_clog10f.c (__clog10f): Likewise.
5250 * math/s_clog10l.c (__clog10l): Likewise.
5251 * math/s_clogf.c (__clogf): Likewise.
5252 * math/s_clogl.c (__clogl): Likewise.
5253 * math/libm-test.inc (clog_test): Add more tests.
5254 (clog10_test): Likewise.
5255 * sysdeps/i386/fpu/libm-test-ulps: Update.
5256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
2bc13872
FW
52582012-07-31 Florian Weimer <fweimer@redhat.com>
5259
5260 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5261 Exit with zero in case no suitable GID is found, and write a
5262 message to standard error.
5263
bea9b193
RM
52642012-07-30 Roland McGrath <roland@hack.frob.com>
5265
5266 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5267 rather than to 1.
5268 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5269 (MAXPATHLEN): Removed.
5270 (NOGROUP, NODEV): New macros.
5271 (setbit, clrbit, isset, isclr): New macros.
5272 (howmany, roundup, powerof2): New macros.
5273 (DEV_BSIZE): New macro.
5274
5275 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5276 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5277
5278 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5279 definition on [!__NO_LONG_DOUBLE_MATH].
5280
5281 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5282 PTR_MANGLE and PTR_DEMANGLE.
5283
5284 * socket/accept4.c (accept4): Rename to __libc_accept4.
5285 Define accept4 as a weak alias.
5286
5287 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5288 on [_DIRENT_HAVE_D_TYPE].
5289 * io/ftw.c (ftw_dir): Likewise.
5290
5291 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5292
5293 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5294
5295 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5296 Use the BSD numbers rather than the arbitrary ones we had.
5297 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5298 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5299 (SIGXCPU, SIGXFSZ): New macros.
5300 (_NSIG): Now 32.
5301
5302 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5303 initializer on [_LIBC_REENTRANT].
5304
5305 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5306 definitions inside [_POSIX_MAPPED_FILES].
5307
5308 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5309
5310 * dirent/opendir.c: Include <fcntl.h>.
5311
5312 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5313 (__libc_getspecific): Likewise.
5314 (__libc_key_create): Likewise.
5315
5316 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5317 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5318 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5319 (tmpfile64): Define as alias.
5320 * sysdeps/wordsize-64/tmpfile.c: File removed.
5321 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5322 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5323 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5324
5325 * stdio-common/vfscanf.c: Include <stdbool.h>.
5326 * nss/makedb.c: Likewise.
5327 * stdio-common/_i18n_number.h: Likewise.
5328 * argp/argp-help.c: Likewise.
5329 * posix/wordexp.c: Likewise.
5330 * sysdeps/posix/spawni.c: Likewise.
5331 * nss/nss_files/files-initgroups.c: Likewise.
5332 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5333 * nss/nss_files/files-initgroups.c: Likewise.
5334 * nss/nss_db/db-netgrp.c: Likewise.
5335 * nss/nss_db/db-initgroups.c: Likewise.
5336 * io/fchmodat.c: Include <sys/stat.h>.
5337
5338 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5339 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5340
5341 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5342 [HAVE_MMAP].
5343
5344 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5345 Add multiple inclusion protection.
5346
e5abc686
DM
53472012-07-27 David S. Miller <davem@davemloft.net>
5348
5349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5350
815e6fa3
GB
53512012-07-27 Gary Benson <gbenson@redhat.com>
5352
5353 [BZ #14298]
5354 * elf/rtld.c: Include <stap-probe.h>.
5355 (dl_main): Added static probes "init_start" and "init_complete".
5356 * elf/dl-load.c: Include <stap-probe.h>.
5357 (lose): Take new parameter "nsid".
5358 Added static probe "map_failed".
5359 (_dl_map_object_from_fd): Pass namespace id to lose.
5360 Added static probe "map_start".
5361 (open_verify): Pass namespace id to lose.
5362 * elf/dl-open.c: Include <stap-probe.h>.
5363 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5364 and "reloc_complete".
5365 * elf/dl-close.c: Include <stap-probe.h>.
5366 (_dl_close_worker): Added static probes "unmap_start" and
5367 "unmap_complete".
5368 * elf/rtld-debugger-interface.txt: New file documenting the above.
5369
9f98c16c
RM
53702012-07-26 Roland McGrath <roland@hack.frob.com>
5371
5372 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5373 rather than a string variable.
5374 * sunrpc/rpc_main.c (h_output): Likewise.
5375 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5376
f3c22df3
PT
53772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5378
5379 * inet/check_native.c: New file.
5380
3129cfc6
JM
53812012-07-26 Joseph Myers <joseph@codesourcery.com>
5382
da865e95
JM
5383 [BZ #13629]
5384 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5385 if larger part has absolute value 1.0.
5386 * math/s_clog10.c (__clog10): Likewise.
5387 * math/s_clog10f.c (__clog10f): Likewise.
5388 * math/s_clog10l.c (__clog10l): Likewise.
5389 * math/s_clogf.c (__clogf): Likewise.
5390 * math/s_clogl.c (__clogl): Likewise.
5391 * math/libm-test.inc (clog_test): Add more tests.
5392 (clog10_test): Likewise.
5393 * sysdeps/i386/fpu/libm-test-ulps: Update.
5394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5395
3129cfc6
JM
5396 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5397 (pltexit): Likewise.
5398 (La_regs): Likewise.
5399 (La_retval): Likewise.
5400 (int_retval): Likewise.
5401 Update #error for removed macros to refer only to definitions in
5402 tst-audit.h.
5403 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5404 macro.
5405 (pltexit): Likewise.
5406 (La_regs): Likewise.
5407 (La_retval): Likewise.
5408 (int_retval): Likewise.
5409 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5410 macro.
5411 (pltexit): Likewise.
5412 (La_regs): Likewise.
5413 (La_retval): Likewise.
5414 (int_retval): Likewise.
5415 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5416 macro.
5417 (pltexit): Likewise.
5418 (La_regs): Likewise.
5419 (La_retval): Likewise.
5420 (int_retval): Likewise.
5421 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5422 macro.
5423 (pltexit): Likewise.
5424 (La_regs): Likewise.
5425 (La_retval): Likewise.
5426 (int_retval): Likewise.
5427 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5428 macro.
5429 (pltexit): Likewise.
5430 (La_regs): Likewise.
5431 (La_retval): Likewise.
5432 (int_retval): Likewise.
5433 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5434 macro.
5435 (pltexit): Likewise.
5436 (La_regs): Likewise.
5437 (La_retval): Likewise.
5438 (int_retval): Likewise.
5439 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5440 macro definitions in tst-audit.h.
5441 * sysdeps/i386/tst-audit.h: New file.
5442 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5443 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5444 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5445 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5446 * sysdeps/sh/tst-audit.h: Likewise.
5447 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5448 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5449 * sysdeps/x86_64/tst-audit.h: Likewise.
5450
bfc07087
AJ
54512012-07-26 Andreas Jaeger <aj@suse.de>
5452
b1b2aaf8
AJ
5453 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5454 ptrace.
5455
5456 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5457 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5458 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5459 PTRACE_O_MASK.
5460 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5462 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5463
bfc07087
AJ
5464 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5465 value.
5466
5467 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5468 _sigsys.
5469 (si_call_addr, si_syscall, si_arch): Define new macro.
5470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5471 _sigsys.
5472 (si_call_addr, si_syscall, si_arch): Define new marcro.
5473 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5474 _sigsys.
5475 (si_call_addr, si_syscall, si_arch): Define new macro.
5476 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5477 _sigsys.
5478 (si_call_addr, si_syscall, si_arch): Define new macro.
5479
89b4b02f
JM
54802012-07-25 Joseph Myers <joseph@codesourcery.com>
5481
5482 [BZ #13717]
5483 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5484 Change to 2.4.21 where previously 2.4.1.
5485 * sysdeps/unix/sysv/linux/configure: Regenerated.
5486 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5487 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5488 Linux kernel version.
5489 (__ASSUME_STD_AUXV): Remove.
5490 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5491 kernel version.
5492 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5493 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5494 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5495 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5496 (__ASSUME_NETLINK_SUPPORT): Likewise.
5497 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5498 (__no_netlink_support): Remove conditional definition.
5499 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5500 Remove.
5501 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5502 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5503 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5504 (if_nameindex_ioctl): Remove.
5505 (if_nameindex_netlink): Do not handle __no_netlink_support.
5506 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5507 code.
5508 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5509 Remove conditional code.
5510 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5511 code.
5512 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5513 unconditional.
5514 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5515 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5516 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5517 Remove.
5518 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5519 [!__ASSUME_STD_AUXV]: Remove conditional code.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5521 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5522 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5524 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5525 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5526 code.
5527 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5529 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5530 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5531 conditional code.
5532 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5534 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5535 code.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5537 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5538 conditional code.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5540 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5541 code unconditional.
5542 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5543 conditional code.
5544 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5545 unconditional.
5546 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5547 conditional code.
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5549 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5550 unconditional.
5551 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5552 conditional code.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5554 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5555 code unconditional.
5556 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5557 conditional code.
5558 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5559 unconditional.
5560 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5561 conditional code.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5563 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5564 code unconditional.
5565 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5566 conditional code.
5567 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5568 unconditional.
5569 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5570 conditional code.
5571
842a39cd
AS
55722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5573
5574 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5575 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5576 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5577 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5578 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5579 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5580 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5581 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5582 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5583 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5584 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5585 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5586 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5587 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5588 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5589 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5590 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5591 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5592 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5594 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5595 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5597
84b3fd84
FW
55982012-07-25 Florian Weimer <fweimer@redhat.com>
5599
5600 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5601 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5602 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5603 Introduce __libc_secure_getenv.
0c7936d5
FW
5604 * stdlib/Versions (2.17): Add secure_getenv
5605 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5606 * stdlib/secure-getenv.c: Rename __secure_getenv to
5607 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5608 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5609 * stdlib/tst-secure-getenv.c: New.
5610 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5611 * manual/startup.texi (Environment Access): Document
5612 secure_getenv.
84b3fd84
FW
5613 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5614 __libc_secure_getenv.
5615 * inet/ruserpass.c (ruserpass): Likewise.
5616 * malloc/mtrace.c (mtrace): Likewise.
5617 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5618 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5619 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5620 * sysdeps/posix/tempname.c: Likewise. Evaluate
5621 HAVE_SECURE_GETENV.
5622 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5623 __secure_getenv to __libc_secure_getenv.
84b3fd84 5624 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5626 Likewise.
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5628 Likewise.
5629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5631 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5636
56e49b71
JM
56372012-07-25 Joseph Myers <joseph@codesourcery.com>
5638
5639 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5640 (struct La_i86_retval): Likewise.
5641 (struct La_x86_64_regs): Likewise.
5642 (struct La_x86_64_retval): Likewise.
5643 (struct La_x32_regs): Likewise.
5644 (struct La_x32_retval): Likewise.
5645 (struct La_ppc32_regs): Likewise.
5646 (struct La_ppc32_retval): Likewise.
5647 (struct La_ppc64_regs): Likewise.
5648 (struct La_ppc64_retval): Likewise.
5649 (struct La_sh_regs): Likewise.
5650 (struct La_sh_retval): Likewise.
5651 (struct La_s390_32_regs): Likewise.
5652 (struct La_s390_32_retval): Likewise.
5653 (struct La_s390_64_regs): Likewise.
5654 (struct La_s390_64_retval): Likewise.
5655 (struct La_sparc32_regs): Likewise.
5656 (struct La_sparc32_retval): Likewise.
5657 (struct La_sparc64_regs): Likewise.
5658 (struct La_sparc64_retval): Likewise.
5659 (struct audit_ifaces): Remove architecture-specific pltenter and
5660 pltexit members.
5661 * sysdeps/i386/ldsodefs.h: New file.
5662 * sysdeps/powerpc/ldsodefs.h: Likewise.
5663 * sysdeps/s390/ldsodefs.h: Likewise.
5664 * sysdeps/sh/ldsodefs.h: Likewise.
5665 * sysdeps/sparc/ldsodefs.h: Likewise.
5666 * sysdeps/x86_64/ldsodefs.h: Likewise.
5667
354691b7
MP
56682012-07-25 Marek Polacek <polacek@redhat.com>
5669
5670 [BZ #6808]
5671 * math/libm-test.inc (yn_test): Add another test.
5672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5673 to ERANGE when the result is +-Inf.
5674 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5675 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5676 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5677 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5678
bf9e2071
JM
56792012-07-24 Joseph Myers <joseph@codesourcery.com>
5680
5681 * conform/data/time.h-data (NULL): Use macro-constant. Require
5682 equal to 0.
5683 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5684 clock_t.
5685 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5686
57633811
TS
56872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5688
5689 * configure.in <sysdeps resolving>: Correct printing
5690 Implies_before.
5691 * configure: Regenerate.
5692
c23c33b0
TS
56932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5694
5695 * math/w_ilogb.c: Include <limits.h>.
5696 * math/w_ilogbl.c: Likewise.
5697
b5982523
JM
56982012-07-20 Joseph Myers <joseph@codesourcery.com>
5699
5700 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5701 va_copy. Document allowing for unavailable va_copy only as
5702 pre-C99 compatibility.
5703 * manual/string.texi (Copying and Concatenation): Use va_copy
5704 instead of __va_copy in concat example.
5705
ac4ea442
PT
57062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5707
5708 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5709 (__sendto): Use create_address_port. Initialize APORT and deallocate
5710 it if not null.
5711
f98eafbd
PT
5712 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5713 with O_NOLINK passed to __file_name_lookup.
5714
898c7aab
PT
5715 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5716 with O_NOLINK passed to __file_name_lookup.
5717
0ced335a
PT
5718 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5719 negative N or less than NGIDS.
5720
b3404dbd
PT
5721 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5722 type to string_t. Set ERANGE as errno and return it if NAME is not big
5723 enough. Use memcpy instead of strncpy.
5724
0f48659e
JM
57252012-07-20 Joseph Myers <joseph@codesourcery.com>
5726
5727 * elf/Makefile (check-data): Remove.
5728 (localplt.data): New vpath directive.
5729 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5730 instead of $(check-data).
5731 * scripts/data/localplt-generic.data: Move to ...
5732 * sysdeps/generic/localplt.data: ... here.
5733 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5734 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5735 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5737 ... here.
5738 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5740 ... here.
5741 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5743 ... here.
5744 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5746 ... here.
5747 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5749 ... here.
5750 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5752 ... here.
5753
d37cbdaa
AZ
57542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755
5756 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5757 PPC32 and PPC64 files.
5758 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5759 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5760
46f85fc2
AK
57612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5762
5763 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5764 __makecontext_ret to ...
5765 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5766 ... here and call exit if uc_link is NULL. New file.
5767 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5768 __makecontext_ret.S.
5769 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5770 __makecontext_ret to ...
5771 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5772 ... here and call exit if uc_link is NULL. New file.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5774 __makecontext_ret.S.
5775
08f43f9b
AK
57762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5777
5778 * elf/elf.h (R_390_IRELATIVE): New definition.
5779 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5780 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5781 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5783 (elf_machine_lazy_rel): Likewise.
5784 * sysdeps/s390/dl-irel.h: New file.
5785 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5786 * sysdeps/s390/s390-64/memset.S: New asm code.
5787 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5788 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5789 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5790 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5791 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5792 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5793 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5794 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5795 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5796 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5797 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5798 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5799 * sysdeps/s390/s390-32/memset.S: New asm code.
5800 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5801
3b05db33
MP
58022012-07-17 Marek Polacek <polacek@redhat.com>
5803
5804 [BZ #14349]
5805 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5806 * sysdeps/s390/s390-64/configure.in: Likewise.
5807 * sysdeps/sparc/configure.in: Likewise.
5808 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5809 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5810 * sysdeps/i386/configure.in: Likewise.
5811 * sysdeps/x86_64/configure.in: Likewise.
5812 * sysdeps/sh/configure.in: Likewise.
5813 * sysdeps/s390/s390-32/configure: Regenerated.
5814 * sysdeps/s390/s390-64/configure: Likewise.
5815 * sysdeps/x86_64/configure: Likewise.
5816 * sysdeps/sh/configure: Likewise.
5817 * sysdeps/powerpc/powerpc64/configure: Likewise.
5818 * sysdeps/powerpc/powerpc32/configure: Likewise.
5819 * sysdeps/sparc/configure: Likwise.
5820 * sysdeps/i386/configure: Likewise.
5821
a66877c6
MP
5822 * elf/dl-open.c: Comment fixes.
5823
cfc82fd8
JM
58242012-07-17 Joseph Myers <joseph@codesourcery.com>
5825
bd29910a
JM
5826 * Makefile [CXX] (check-data): Remove.
5827 [CXX] (c++-types.data): New vpath directive.
5828 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5829 vpath. Do not allow for C++ type data being missing.
5830 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5831 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5832 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5833 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5834 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5835 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5836 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5838 ... here.
5839 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5841 ... here.
5842 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5844 ... here.
5845 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5847 ... here.
5848 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5850 ... here.
5851 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5853 ... here.
5854 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5856 ... here.
5857 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5859
cfc82fd8
JM
5860 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5861 definitions to architecture-specific files.
5862 (TLS_IE): Likewise.
5863 (TLS_LD): Likewise.
5864 (TLS_GD): Likewise.
5865 * sysdeps/i386/tls-macros.h: New file.
5866 * sysdeps/powerpc/tls-macros.h: Likewise.
5867 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5868 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5869 * sysdeps/sh/tls-macros.h: Likewise.
5870 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5871 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5872 * sysdeps/x86_64/tls-macros.h: Likewise.
5873
f7db3170
TS
58742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5875
07cbfc23
TS
5876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5877 zero value for regular exit case.
5878
f7db3170
TS
5879 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5880 (__start_context): Preserve zero value for regular exit case.
5881
dc97c227
TS
58822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5883 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5884
5885 * manual/setjmp.texi (setcontext): Clarify normal process
5886 termination when uc_link is the null pointer.
5887 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5888 exit call.
5889
d0cd7d02
AS
58902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5891
5892 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5893 preprocessor. Test for each exception mask separately.
5894
dd318934
AJ
58952012-07-16 Andreas Jaeger <aj@suse.de>
5896
5897 * po/ru.po: Update from translation team.
5898
8048311a
JM
58992012-07-15 Joseph Myers <joseph@codesourcery.com>
5900
5901 * conform/data/string.h-data (NULL): Use macro-constant. Require
5902 equal to 0.
5903 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5904 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5905 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5906 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5907 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5908
b637d46e
AJ
59092012-07-13 Andreas Jaeger <aj@suse.de>
5910
5911 * po/fr.po: Update from translation team.
5912
541428fe
MP
59132012-07-12 Marek Polacek <polacek@redhat.com>
5914
5915 [BZ #14173]
5916 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5917 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5918 loop condition.
5919
ec332e94
JM
59202012-07-12 Joseph Myers <joseph@codesourcery.com>
5921
5922 [BZ #13717]
5923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5924 Change to 2.4.1 where previously 2.4.0.
5925 * sysdeps/unix/sysv/linux/configure: Regenerated.
5926 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5927 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5928 version.
5929 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5930 (__ASSUME_AT_CLKTCK): Remove.
5931 (__ASSUME_AT_PAGESIZE): Likewise.
5932 (__ASSUME_AT_XID): Likewise.
5933 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5934 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5935 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5936 unconditionally.
5937 (HAVE_AUX_PAGESIZE): Likewise.
5938 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5939 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5940 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5941
7b6e99be
JB
59422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5943
5944 [BZ #14307]
5945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5946 the temporary buffer used to invoke __gethostbyname2_r,
5947 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5948 host_data / struct gaih_addrtuple.
5949 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5950 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5951 header file nss/nsswitch.h.
5952 * nss/nsswitch.h (global scope): Add definition of implementation
5953 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5954 resolv/nss_dns/dns-host.c).
5955
608404eb
AJ
59562012-07-11 Andreas Jaeger <aj@suse.de>
5957
5958 * po/fr.po: Update from translation team.
5959
71220aca
AJ
5960 * po/sv.po: Update from translation team
5961 * po/fr.po: Another update from translation team.
5962
28cfe843
AZ
59632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5964
5965 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5966 for subnormals or multiply small sinh result by itself.
5967 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5969
6b90f981
DM
59702012-07-11 David S. Miller <davem@davemloft.net>
5971
5972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5973
c6825772
AS
59742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5975
5976 [BZ #14347]
5977 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5978 (INTERNAL_MARK): Shift it here.
5979
7b8e0d49
MP
59802012-07-10 Marek Polacek <polacek@redhat.com>
5981
5982 [BZ #14151]
5983 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5984 libc_cv_asm_global_directive with .globl.
5985 * configure: Regenerated.
5986 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5987 with .globl.
5988 * sysdeps/i386/configure: Regenerated.
5989 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5990 with .globl.
5991 * sysdeps/x86_64/configure: Regenerated.
5992 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5993 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5994 * elf/tst-unique2mod2.c: Likewise.
5995 * elf/tst-unique2mod1.c: Likewise.
5996 * elf/tst-unique1mod2.c: Likewise.
5997 * elf/tst-unique1mod1.c: Likewise.
5998 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5999 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6000 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6001 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6002 * sysdeps/mach/sysdep.h: Likewise.
6003 * sysdeps/i386/sysdep.h: Likewise.
6004 * sysdeps/i386/i386-mcount.S: Likewise.
6005 * sysdeps/x86_64/_mcount.S: Likewise.
6006 * sysdeps/x86_64/sysdep.h: Likewise.
6007 * sysdeps/sh/_mcount.S: Likewise.
6008 * sysdeps/sh/sysdep.h: Likewise.
6009 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6010 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6011 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6012 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6013 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6014 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6015 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6016 * locale/localeinfo.h: Likewise.
6017 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6018 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6019
6c55cda3
RM
60202012-07-09 Roland McGrath <roland@hack.frob.com>
6021
6022 [BZ #14336]
6023 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6024 system".
6025 * manual/message.texi (The Uniforum approach): Likewise.
6026 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6027 (glibc iconv Implementation): Likewise.
6028
638a572e
JM
60292012-07-09 Joseph Myers <joseph@codesourcery.com>
6030
6031 [BZ #14337]
6032 * math/s_clog.c (__clog): Avoid scaling a value down where that
6033 could result in underflow.
6034 * math/s_clog10.c (__clog10): Likewise.
6035 * math/s_clog10f.c (__clog10f): Likewise.
6036 * math/s_clog10l.c (__clog10l): Likewise.
6037 * math/s_clogf.c (__clogf): Likewise.
6038 * math/s_clogl.c (__clogl): Likewise.
6039 * math/libm-test.inc (clog_test): Add more tests.
6040 (clog10_test): Likewise.
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6043
261f4859
AS
60442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6045
0abaf3e4
AS
6046 [BZ #14283]
6047 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6048 by 7 not 8 to examine high bit of fractional part.
6049
261f4859
AS
6050 [BZ #14042]
6051 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6052 for call to __mcount_internal.
6053 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6054 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6055 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6056
f17ac40d
JM
60572012-07-06 Joseph Myers <joseph@codesourcery.com>
6058
9ad63c23
JM
6059 [BZ #14154]
6060 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6061 approximation for values within 0x1p-13f of an odd multiple of
6062 pi/4.
6063 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6064 exception. Add more tests.
6065 * sysdeps/i386/fpu/libm-test-ulps: Update.
6066
f17ac40d
JM
6067 [BZ #6778]
6068 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6069 inputs and return -1 for them. Do not check for +Inf in case not
6070 reachable for +Inf.
6071 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6072 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6073 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6074 and return -1 for them. Do not check for +Inf in case not
6075 reachable for +Inf.
6076 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6077 define.
6078 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6079 and return -1 for them. Do not check for +Inf in case not
6080 reachable for +Inf.
6081 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6082 spurious underflow.
6083 * sysdeps/i386/fpu/libm-test-ulps: Update.
6084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6085
fb21f89b
MF
60862012-07-06 Mike Frysinger <vapier@gentoo.org>
6087
6088 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6089
cdfe2c5e
JM
60902012-07-05 Joseph Myers <joseph@codesourcery.com>
6091
6092 [BZ #14157]
6093 [BZ #14331]
6094 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6095 could result in spurious underflow. Scale down values above
6096 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6097 * math/s_csqrtf.c (__csqrtf): Likewise.
6098 * math/s_csqrtl.c (__csqrtl): Likewise.
6099 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6100 spurious underflow.
6101 * sysdeps/i386/fpu/libm-test-ulps: Update.
6102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6103
70d35b67
AS
61042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6105
704bc459
AS
6106 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6107 xopen-msg.sed.
6108 * catgets/xopen-msg.awk: New file.
6109 * catgets/xopen-msg.sed: Removed.
6110
70d35b67
AS
6111 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6112 po2text.sed.
6113 * intl/po2test.awk: New file.
6114 * intl/po2test.sed: Removed.
6115
ca61cf32
JM
61162012-07-04 Joseph Myers <joseph@codesourcery.com>
6117
6118 [BZ #14328]
6119 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6120 or multiply small sinh result by itself.
6121 * math/s_ctanf.c (__ctanf): Likewise.
6122 * math/s_ctanh.c (__ctanh): Likewise.
6123 * math/s_ctanhf.c (__ctanhf): Likewise.
6124 * math/s_ctanhl.c (__ctanhl): Likewise.
6125 * math/s_ctanl.c (__ctanl): Likewise.
6126 * math/libm-test.inc (ctan_test_tonearest): New function.
6127 (ctan_test_towardzero): Likewise.
6128 (ctan_test_downward): Likewise.
6129 (ctan_test_upward): Likewise.
6130 (ctanh_test_tonearest): Likewise.
6131 (ctanh_test_towardzero): Likewise.
6132 (ctanh_test_downward): Likewise.
6133 (ctanh_test_upward): Likewise.
6134 (main): Call these new functions.
6135 * sysdeps/i386/fpu/libm-test-ulps: Update.
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6137
ca48a46a
MF
61382012-07-03 Mike Frysinger <vapier@gentoo.org>
6139
6140 * .gitignore: Delete /ports entry.
6141
9d63d37d
AJ
61422012-07-03 Andreas Jaeger <aj@suse.de>
6143
6144 * po/bg.po: Update from translation team.
6145 * po/cs.po: Likewise.
6146 * po/de.po: Likewise.
6147 * po/hr.po: Likewise.
6148 * po/nl.pl: Likewise.
6149 * po/pl.po: Likewise.
6150 * po/vi.po: Likewise.
6151
370ca3d2
JM
61522012-07-03 Joseph Myers <joseph@codesourcery.com>
6153
95f5a9a8
JM
6154 * Makeconfig [!+link] (+link-before-libc): New variable.
6155 [!+link] (+link-after-libc): Likewise.
6156 [!+link] (+link-tests): Likewise.
6157 [!+link] (+link): Define in terms of $(+link-before-libc) and
6158 $(+link-after-libc).
6159 [!+link-static] (+link-static-before-libc): New variable.
6160 [!+link-static] (+link-static-after-libc): Likewise.
6161 [!+link-static] (+link-static-tests): Likewise.
6162 [!+link-static] (+link-static): Define in terms of
6163 $(+link-static-before-libc) and $(+link-static-after-libc).
6164 [build-shared] (link-libc-before-gnulib): New variable.
6165 [build-shared] (link-libc-tests): Likewise.
6166 [build-shared] (link-libc): Define in terms of
6167 $(link-libc-before-gnulib).
6168 [!build-shared] (link-libc-tests): New variable.
6169 (link-libc-static-tests): New variable.
6170 [!gnulib] (gnulib-arch): New variable.
6171 [!gnulib] (gnulib-tests): Likewise.
6172 [!gnulib] (static-gnulib-arch): Likewise.
6173 [!gnulib] (static-gnulib-tests): Likewise.
6174 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6175 Define with "=" instead of ":=".
6176 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6177 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6178 * Rules (binaries-all-notests): New variable.
6179 (binaries-all-tests): Likewise.
6180 (binaries-static-notests): Likewise.
6181 (binaries-static-tests): Likewise.
6182 (binaries-all): Define using $(binaries-all-notests) and
6183 $(binaries-all-tests).
6184 (binaries-static): Define using $(binaries-static-notests) and
6185 $(binaries-static-tests).
6186 (binaries-shared-tests): New variable.
6187 (binaries-shared-notests): Likewise.
6188 (binaries-shared): Remove variable.
6189 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6190 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6191 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6192 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6193 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6194 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6195 * elf/Makefile (sln-modules): New variable.
6196 (extra-objs): Add $(sln-modules:=.o).
6197 (ldconfig-modules): Add static-stubs.
6198 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6199 * elf/static-stubs.c: New file.
6200
7a845b2c
JM
6201 [BZ #14283]
6202 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6203 by 7 not 8 to examine high bit of fractional part. Use volatile
6204 variables when splitting into final array of floats if
6205 __FLT_EVAL_METHOD__ != 0.
6206 * math/libm-test.inc (cos_test): Add another test.
6207 (sin_test): Likewise.
6208 * sysdeps/i386/fpu/libm-test-ulps: Update.
6209
e2283f38
JM
6210 [BZ #14273]
6211 * math/libm-test.inc (cosh_test): Add more tests.
6212
370ca3d2
JM
6213 * version.h (RELEASE): Set to "development".
6214 (VERSION): Set to "2.16.90".
6215
ee9247c3
CD
62162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6217
6218 * NEWS: Update copyright. Remove last-updated date.
6219 Mention math library bug fixes and timezone data changes.
6220 * README: Mention GNU/Hurd, x32, and HPPA support status.
6221
4648c381
TS
62222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6223
6224 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6225
aac78a43
AJ
62262012-06-27 Andreas Jaeger <aj@suse.de>
6227
6228 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6229
ed3dbfad
AJ
62302012-06-25 Andreas Jaeger <aj@suse.de>
6231
6232 * sysdeps/s390/fpu/libm-test-ulps: Update.
6233
4d0ee855
AS
62342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6235 Thomas Schwinge <thomas@codesourcery.com>
6236
6237 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6238 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6239 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6240 fanotify_mark.
6241
af1bce34
TS
62422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6243
a9fa33ba
TS
6244 * sysdeps/mach/start.c: Remove file.
6245 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6246 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6247 * sysdeps/sh/init-first.c: Likewise.
6248
58f902b8
TS
6249 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6250 registers for frame unwinding purposes, add CFI directives.
6251 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6253 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6254 Likewise.
6255
1518f58b
TS
6256 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6257 __fortify_fail returning.
6258 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6259
db9b5059
TS
6260 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6261 sysdeps/sh/____longjmp_chk.S.
6262 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6263 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6264 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6265 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6266
967705fe
TS
6267 * sysdeps/sh/abort-instr.h: New file.
6268 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6269 process in case exit returns.
6270
a9def8c4
TS
6271 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6272 initialize the GOT register before use.
6273
2a649725
TS
6274 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6275 calculation of ARGC > 4.
6276
af1bce34
TS
6277 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6278 meaningful names to some local labels.
6279
d230f50a
KK
62802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6281 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6282
6283 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6284 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6285 (__arch_compare_and_exchange_val_16_acq): Likewise.
6286 (__arch_compare_and_exchange_val_32_acq): Likewise.
6287 (atomic_exchange_and_add): Fix gUSA sequence.
6288 (atomic_add): Likewise.
6289 (atomic_add_negative): Likewise.
6290 (atomic_add_zero): Likewise.
6291 (atomic_bit_test_set): Likewise.
6292
0479b305
AS
62932012-06-22 Andreas Schwab <schwab@redhat.com>
6294
6295 [BZ #13579]
6296 * include/link.h (struct link_map): Add l_free_initfini.
6297 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6298 l_initfini.
6299 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6300 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6301 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6302 set.
6303
0e3933b9
CD
63042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6305
6306 * configure.in: Use AC_LANG_SOURCE.
6307 * configure: Regenerate.
6308
4248b1b1
RM
63092012-06-22 Roland McGrath <roland@hack.frob.com>
6310
6311 * configure.in (libc_cv_localstatedir): New substituted variable.
6312 * configure: Regenerated.
6313 * config.make.in (localstatedir): New variable, substituted from
6314 libc_cv_localstatedir.
6315 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6316 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6317 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6318 * sysdeps/gnu/configure: Regenerated.
6319
006dd861
JL
63202012-06-21 Jeff Law <law@redhat.com>
6321
6322 [BZ #14277]
6323 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6324 free. Simplify list management for _LIBC case.
6325
79662d42
JM
63262012-06-21 Joseph Myers <joseph@codesourcery.com>
6327
b7abb4bf
JM
6328 [BZ #14273]
6329 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6330 Clear sign bit of 64-bit integer value before comparing against
6331 overflow value.
6332
79662d42
JM
6333 * sysdeps/mach/configure: Regenerated.
6334
1f150908
L
63352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6336
6337 [BZ #14278]
6338 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6339
28363bbf
JL
63402012-06-21 Jeff Law <law@redhat.com>
6341
6342 [BZ #13882]
6343 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6344 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6345 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6346 * elf/dl-open.c (dl_open_worker): Likewise.
6347
09615db4
CD
63482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6349
6350 * scripts/list-sources.sh: Scan PORTS for translations.
6351 * po/libc.pot: Regenerated.
6352
2174c6dd
AJ
63532012-06-21 Andreas Jaeger <aj@suse.de>
6354
6355 [BZ #12194]
6356 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6357 warning.
6358 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6359 * bits/byteswap-16.h (__bswap_16): Likewise.
6360 * bits/byteswap.h (__bswap_constant_16): Likewise.
6361
3ee947b1
L
63622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6363
6364 [BZ #14117]
a2f34833
L
6365 * sysdeps/i386/fpu_control.h: Removed.
6366 * sysdeps/x86_64/fpu_control.h: Moved to ...
6367 * sysdeps/x86/fpu_control.h: Here.
6368
3ee947b1
L
6369 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6370 (_FPU_SETCW): Likewise.
6371
ed1825f8
L
63722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6373
25f1282a
L
6374 [BZ #14117]
6375 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6376 * sysdeps/x86/fpu/bits/mathinline.h: This.
6377 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6378
ed1825f8
L
6379 [BZ #14050]
6380 [BZ #14117]
6381 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6382 functions if __x86_64__ is defined.
6383
36d54b74
CLT
63842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6385
6386 * string/endian.h: Add !__ASSEMBLER__ condition for including
6387 conversion interfaces.
6388
10285c21
JM
63892012-06-15 Joseph Myers <joseph@codesourcery.com>
6390
6391 [BZ #14241]
6392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6393 of ABS(x) in calculating zero to negative powers other than odd
6394 integers.
6395 * math/libm-test.inc (pow_test): Add more tests.
6396
06c5abbd
AJ
63972012-06-15 Andreas Jaeger <aj@suse.de>
6398
6399 * manual/contrib.texi (Contributors): Update entry of Liubov
6400 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6401 Machado Filho.
6402
a3aeac40
CH
64032012-06-15 Cyril Hrubis <metan@ucw.cz>
6404
6405 * string/string.h: Add __wur to GNU version of strerror_r.
6406
49bdf4c1
L
64072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6408
6409 [BZ #14229]
6410 * string/Makefile (tests): Add tst-strtok_r.
6411 * string/tst-strtok_r.c: New file.
6412 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6413 RAX_LP/RDX_LP on SAVE_PTR.
6414
834f9b8d
RM
64152012-06-14 Roland McGrath <roland@hack.frob.com>
6416
6417 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6418
75fa1921
JM
64192012-06-14 Joseph Myers <joseph@codesourcery.com>
6420
6421 * libm_test.inc (csqrt_test): Allow more spurious underflow
6422 exceptions.
6423 (j0_test): Likewise.
6424 (j1_test): Likewise.
6425 (y0_test): Likewise.
6426 (y1_test): Likewise.
6427
771766df
CD
64282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6429
6430 * po/Makefile (libc.pot): Use UTF-8 charset.
6431
ceb9e56b
PP
64322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6433
6434 [BZ #14210]
6435 Suppress sign-conversion warning from FD_SET.
6436 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6437 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6438 not unsigned long int.
6439 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6440
ddb28975
L
64412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6442
6443 [BZ #14050]
6444 [BZ #14117]
6445 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6446 __extern_always_inline instead of __extern_inline.
6447 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6448 (__signbit): Likewise.
6449 (__signbitl): Support C++ namespace.
6450 (lrintf): New inline function.
6451 (lrint): Likewise.
6452 (llrintf): Likewise.
6453 (llrint): Likewise.
6454 (fmaxf): Likewise.
6455 (fmax): Likewise.
6456 (fminf): Likewise.
6457 (fmin): Likewise.
6458 (rint): Likewise.
6459 (rintf): Likewise.
6460 (ceil): Likewise.
6461 (ceilf): Likewise.
6462 (floor): Likewise.
6463 (floorf): Likewise.
6464 (nearbyint): Likewise.
6465 (nearbyintf): Likewise.
6466
d7b4fb26
TS
64672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6468
6469 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6470 non-default versions.
6471
eb55f5c2
RM
64722012-06-11 Roland McGrath <roland@hack.frob.com>
6473
6474 [BZ #14218]
6475 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6476
366af02c
TS
64772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6478
99ff6e5c
TS
6479 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6480 (FE_UPWARD, FE_DOWNWARD): Don't define.
6481 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6482 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6483
366af02c
TS
6484 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6485 reading it.
6486 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6487 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6488
793ea851
KK
64892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6490
6491 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6493 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6494 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6495
a728a38f
L
64962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6497
6498 [BZ #14117]
c08010c7
L
6499 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6500 * sysdeps/i386/fpu/Implies: New file.
6501 * sysdeps/x86_64/fpu/Implies: Likewise.
6502 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6503 * sysdeps/x86/fpu/bits/fenv.h: This.
6504
a728a38f
L
6505 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6506 __SSE_MATH__.
6507
6e230d11
SP
65082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6509
6510 [BZ #14134]
6511 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6512 character 0xffff that matches the last element of the
6513 conversion table.
6514
1b671feb
AZ
65152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6516
6517 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6518 fmodl commit.
6519
6043738b
AZ
65202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6521
6522 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6523 values higher than 25.6283.
6524
34ae0b32
AZ
65252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6526
6527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6528 subnormal exponent extraction and add some __builtin_expect.
6529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6530 Fix for subnormal mantissa calculation.
6531
1214ec8f
MF
65322012-06-04 Mike Frysinger <vapier@gentoo.org>
6533
6534 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6535 cpu2 is -1 and errno is not ENOSYS.
6536
f3d1f93c
L
65372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6538
6539 [BZ #14117]
0e4a3cd7
L
6540 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6541 * sysdeps/x86/bits/string.h: This.
6542 * sysdeps/x86_64/bits/string.h: Removed.
6543
6704c645
L
6544 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6545 if not compiling for x86-64, but compiling for >= i486.
6546
48495318
L
6547 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6548 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6549
14adcbfc
L
6550 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6551 New macro from Linux kernel 3.4.0.
6552 (FP_XSTATE_MAGIC2): Likewise.
6553 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6554 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6555 (struct _fpx_sw_bytes): New struct.
6556 (struct _xsave_hdr): Likewise.
6557 (struct _ymmh_state): Likewise.
6558 (struct _xstate): Likewise.
6559
68e408ab
L
6560 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6561 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6562 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6563 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6564 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6565 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6566
f3d1f93c
L
6567 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6568 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6569 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6570 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6571 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6572 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6573
d9dc34cd
TMQMF
65742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6575
6576 [BZ #13743]
6577 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6578 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6579 (sysdep_headers): Include sys/platform/ppc.h.
6580 * sysdeps/powerpc/test-gettimebase.c: Test for
6581 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6582 * manual/Makefile (appendices): Include platform.texi.
6583 * manual/contrib.texi (Contributors): Update @node pointers.
6584 * manual/maint.texi (Maintenance): Likewise.
6585 (Platform): New node.
6586 * manual/platform.texi: New file. Document the new features.
6587
4af3879c
SP
65882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6589 Jakub Jelinek <jakub@redhat.com>
6590
6591 [BZ #14188]
6592 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6593 where __builtin_expect is unavailable.
6594
2fd6ff13
DM
65952012-06-03 David S. Miller <davem@davemloft.net>
6596
6597 * stdlib/longlong.h: Updated from GCC.
6598
173f7220
AS
65992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6600
6601 [BZ #14042]
6602 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6603 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6604 __mcount_internal.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6606 (GLIBC_2.16): Likewise.
6607
f34a1c6f
L
66082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6609
6610 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6611
88a4576f
JM
66122012-06-01 Joseph Myers <joseph@codesourcery.com>
6613
ea32bcdd
JM
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6615 (default-abi): New variable.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6617 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6618 variable.
6619 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6620 Likewise.
6621 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6622 Likewise.
6623 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6624 Likewise.
6625
88a4576f
JM
6626 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6627 definition. Document in comment.
6628
402fe938
DM
66292012-06-01 David S. Miller <davem@davemloft.net>
6630
6631 * stdlib/longlong.h: Updated from GCC.
6632
3553723f
L
66332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6634
6635 [BZ #14117]
3bd872c4
L
6636 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6637 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6638 sys/debugreg.h sys/io.h here.
6639 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6640 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6641 sys/io.h.
6642 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6643 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6644 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6645 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6646 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6647 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6648
3553723f
L
6649 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6650 Define only if __x86_64__ is defined.
6651
4842e4fe
JM
66522012-06-01 Joseph Myers <joseph@codesourcery.com>
6653
c5bfe3d5
JM
6654 [BZ #14048]
6655 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6656 Use int64_t for variable i.
6657 * math/libm-test.inc (fmod_test): Add more tests.
6658
4842e4fe
JM
6659 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6660 z computation is not scheduled after fetestexcept.
6661 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6662 Use math_force_eval instead of asm to ensure calculation scheduled
6663 before exception test.
6664 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6665 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6666
efb73488
AJ
66672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6668
6669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6670 computation is not scheduled after fetestexcept.
6671
29bcce7c
L
66722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6673
6674 [BZ #14117]
6675 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6676 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6677
73a68f94
AZ
66782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6679
6680 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6681 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6682
67b6df78
L
66832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6684
edf2933a 6685 [BZ #14117]
ebc64a18
L
6686 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6687 <bits/wordsize.h>.
6688 (__WCHAR_MIN): Support __WORDSIZE == 64.
6689 (__WCHAR_MAX): Likewise.
6690
edf2933a
L
6691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6692 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6693
57c6cf40
L
6694 [BZ #14183]
6695 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6696 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6697
67b6df78 6698 [BZ #14117]
8eb6281e
L
6699 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6700 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6701
aac639f4
L
6702 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6703 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6704
67b6df78
L
6705 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6706 Defined to 1 if __x86_64__ isn't defined.
6707 (_STAT_VER_LINUX_OLD): New.
6708 (st_atime): Remove duplicate.
6709 (st_mtime): Likewise.
6710 (st_ctime): Likewise.
6711
1c2cfe81
DM
67122012-05-31 David S. Miller <davem@davemloft.net>
6713
6714 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6715 entries.
6716
5be8418c
AS
67172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6718
e7725326
AS
6719 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6720 gen-libm-test.pl.
6721
5be8418c
AS
6722 [BZ #14132]
6723 * elf/dl-reloc.c: Include <_itoa.h>.
6724 (_dl_reloc_bad_type): Remove use of INTUSE.
6725 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6726 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6727 * stdio-common/psiginfo.c (psiginfo): Likewise.
6728 * stdio-common/psignal.c (psignal): Likewise.
6729 * string/strsignal.c (strsignal): Likewise.
6730 * include/signal.h (_sys_siglist): Declare hidden proto.
6731 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6732 INTVARDEF with libc_hidden_data_def.
6733 * stdio-common/itoa-udigits.c: Likewise.
6734 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6735 (_itoa_lower_digits_internal): Remove declaration.
6736 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6737 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6738 (_sys_sigabbrev_internal): Remove aliases.
6739 (_sys_siglist): Define hidden alias.
6740
507352f1
MT
67412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6742
6743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6744 bits/sysctl.h.
6745
42bbb1c3
L
67462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6747
6748 [BZ #14117]
6bd784b6
L
6749 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6750 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6751
8bca20f0
L
6752 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6753 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6754 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6755 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6756 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6757 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6758
f9e890a9
L
6759 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6760 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6761 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6762
471101a1
L
6763 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6764 with __addr.
6765 (insw): Likewise.
6766 (insl): Likewise.
6767 (outsb): Likewise.
6768 (outsw): Likewise.
6769 (outsl): Likewise.
6770
6451c862
L
6771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6773 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6774
a254b8c9
L
6775 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6776 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6777 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6778 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6779 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6780 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6781
b8dfdd92
L
6782 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6783 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6784
578cd270
L
6785 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6786 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6787
de662f5f
L
6788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6789 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6791
25653439
L
6792 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6793 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6794 to ...
6795 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6796
6bad24a0
L
6797 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6798 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6799 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6800
42bbb1c3
L
6801 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6802 for x86-64.
6803 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6804
2d10d547
JM
68052012-05-31 Joseph Myers <joseph@codesourcery.com>
6806
6807 * math/math.h (M_El): Use two more decimal places.
6808 (M_LOG2El): Likewise.
6809 (M_LOG10El): Likewise.
6810 (M_LN2l): Likewise.
6811 (M_LN10l): Likewise.
6812 (M_PIl): Likewise.
6813 (M_PI_2l): Likewise.
6814 (M_PI_4l): Likewise.
6815 (M_1_PIl): Likewise.
6816 (M_2_PIl): Likewise.
6817 (M_2_SQRTPIl): Likewise.
6818 (M_SQRT2l): Likewise.
6819 (M_SQRT1_2l): Likewise.
6820
f230c29b
DM
68212012-05-31 David S. Miller <davem@davemloft.net>
6822
6823 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6824 values between float registers.
6825 * sysdeps/sparc/sparc64/memset.S: Likewise.
6826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6827
fed806c3
MF
68282012-05-31 Mike Frysinger <vapier@gentoo.org>
6829
6830 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6831 -D_FORTIFY_SOURCE=1.
6832 (CPPFLAGS-tst-longjmp_chk.c): Define.
6833 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6834 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6835 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6836 CFLAGS-tst-wchar-h.c.
6837
30917259
MP
68382012-05-31 Marek Polacek <polacek@redhat.com>
6839
6840 [BZ #14132]
6841 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6842 __endmntent_internal): Remove declaration.
6843 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6844 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6845 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6846
1c58d5dc
DM
68472012-05-30 David S. Miller <davem@davemloft.net>
6848
6849 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6850 (___Q_simulate_exceptions): Use real FP ops rather than writing
6851 into the %fsr.
6852 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6853 Likewise.
6854
7dc00e0d
L
68552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6856
6857 [BZ #14117]
0bd53985
L
6858 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6859 * sysdeps/x86/bits/xtitypes.h: This.
6860
3a257e66
L
6861 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6862 * sysdeps/x86/bits/wordsize.h: This.
6863
62f62904
L
6864 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6865 * sysdeps/x86/bits/huge_vall.h: This.
6866
404fe9d9
L
6867 * sysdeps/i386/bits/select.h: Removed.
6868 * sysdeps/x86_64/bits/select.h: Renamed to ...
6869 * sysdeps/x86/bits/select.h: This.
6870
d48d0446
L
6871 * sysdeps/i386/bits/setjmp.h: Removed.
6872 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6873 * sysdeps/x86/bits/setjmp.h: This.
6874
7dc00e0d
L
6875 * sysdeps/i386/bits/mathdef.h: Removed.
6876 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6877 * sysdeps/x86/bits/mathdef.h: This.
6878
03277f8f
AS
68792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6880
6881 [BZ #14132]
6882 * include/sys/socket.h (__connect_internal)
6883 (__libc_sa_len_internal): Remove declaration.
6884 (__connect, __libc_sa_len): Declare hidden_proto.
6885 (SA_LEN): Remove use of INTUSE.
6886 * socket/connect.c: Add libc_hidden_def.
6887 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6888 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6889 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6890 alias.
6891 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6892 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6893 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6894 of adding _internal alias.
6895
13764867
L
68962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6897
6898 [BZ #14117]
6bd97696
L
6899 * sysdeps/i386/bits/link.h: Removed.
6900 * sysdeps/i386/bits/linkmap.h: Likewise.
6901 * sysdeps/x86_64/bits/link.h: Renamed to ...
6902 * sysdeps/x86/bits/link.h: This.
6903 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6904 * sysdeps/x86/bits/linkmap.h: This.
6905
f726f0bb
L
6906 * sysdeps/i386/bits/endian.h: Removed.
6907 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6908 * sysdeps/x86/bits/endian.h: This.
6909
13764867
L
6910 * sysdeps/i386/bits/byteswap.h: Removed.
6911 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6912 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6913 * sysdeps/x86/bits/byteswap.h: This.
6914 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6915 * sysdeps/x86/bits/byteswap-16.h: This.
6916 * sysdeps/i386/Implies: Add x86.
6917 * sysdeps/x86_64/Implies: Likewise.
6918
ae251b0b
DM
69192012-05-30 David S. Miller <davem@davemloft.net>
6920
6921 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6922 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6923 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6924 (FP_TRAPPING_EXCEPTIONS): Define.
6925 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6926 (FP_TRAPPING_EXCEPTIONS): Define.
6927 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6928 subnormals only when inexact has been signalled or underflow
6929 exceptions are enabled.
6930 (_FP_PACK_CANONICAL): Likewise.
6931
d5c90867
L
69322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6933
6934 [BZ #14183]
6935 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6936 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6937
63f1549e
RH
69382012-05-30 Richard Henderson <rth@twiddle.net>
6939
8d8f2279
RH
6940 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6941 with #ifndef NOT_IN_libc.
6942
63f1549e
RH
6943 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6944 marked to avoid plt entry.
6945
0ab0291b
L
69462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6947
6948 [BZ #14112]
6949 * Makeconfig (default-abi): New macro.
6950 (abi-includes): Likewise.
6951 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6952 $(abi-$(default-abi)-lib-soname) for soname if defined.
6953 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6954 abi-variants.
6955 * Makefile (installed-stubs): Likewise.
6956 * include/stubs-biarch.h: Removed.
6957 * scripts/lib-names.awk: Only handle one library at a time.
6958 * scripts/soversions.awk: Remove WORDSIZE support.
6959 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6960 entries.
6961 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6962 Removed.
6963 (syscall-list-default-condition): Likewise.
6964 (syscall-list-default-condition): Likewise.
6965 (syscall-list-includes): Likewise.
6966 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6967 syscall-list-* with abi-*. Handle undefined abi-variants.
6968 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6969 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6970 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6971 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6972 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6973 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6974 Removed.
6975 (syscall-list-32-options): Likewise.
6976 (syscall-list-32-condition): Likewise.
6977 (syscall-list-64-options): Likewise.
6978 (syscall-list-64-condition): Likewise.
6979 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6980 macro.
6981 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6982 Renamed to ...
6983 (abi-*): This.
6984 (abi-64-ld-soname): New macro.
6985 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6986 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6987 Renamed to ...
6988 (abi-*): This.
6989 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6990 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6991
4da0431d
JM
69922012-05-30 Joseph Myers <joseph@codesourcery.com>
6993
3a85279c
JM
6994 * sysdeps/unix/sysv/linux/kernel-features.h
6995 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6996 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6997 include <kernel-features.h>.
6998 [!__NR_ftruncate64]: Remove conditional code.
6999 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7000 [__NR_ftruncate64]: Make code unconditional.
7001 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7002 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7003 include <kernel-features.h>.
7004 [!__NR_ftruncate64]: Remove conditional code.
7005 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7006 [__NR_ftruncate64]: Make code unconditional.
7007 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7009 include <kernel-features.h>.
7010 [!__NR_ftruncate64]: Remove conditional code.
7011 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7012 [__NR_ftruncate64]: Make code unconditional.
7013 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7015 include <kernel-features.h>.
7016 [!__NR_ftruncate64]: Remove conditional code.
7017 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7018 [__NR_ftruncate64]: Make code unconditional.
7019 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7020
4da0431d
JM
7021 * configure.in (libc_cv_fpie): Weaken to a compile test using
7022 LIBC_TRY_CC_OPTION.
7023 * configure: Regenerated.
7024
11ef492c
AK
70252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7026
7027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7031 Refreshed.
7032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7038 Refreshed.
7039
d66ef399
DM
70402012-05-27 David S. Miller <davem@davemloft.net>
7041
7042 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7043 (___Q_zero): New.
7044 (__Q_simulate_exceptions): Return void. Change to simulate
7045 exceptions by writing into the %fsr.
7046 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7047 (__Qp_handle_exceptions): Likewise.
7048 (numbers): Delete.
7049 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7050 __Qp_handle_exceptions.
7051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7052 __Qp_handle_exceptions.
7053 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7054 as unused and give dummy FP_RND_NEAREST initializer.
7055 (FP_INHIBIT_RESULTS): Define.
7056 (___Q_simulate_exceptions): Update declaration.
7057 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7058 formatting.
7059 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7060 as unused and give dummy FP_RND_NEAREST initializer.
7061 (__Qp_handle_exceptions): Update declaration.
7062 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7063 formatting.
7064
04fb54b5
TS
70652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7066
7067 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7068 the temporary FPU control word.
7069 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7070 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7071 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7072 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7073 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7074 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7075 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7076 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7077 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7078 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7079 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7080
3f99608f
KK
70812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7082
7083 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7084 fields.
7085
65a4de4e
CLT
70862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7087
7088 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7089 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7090 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7091 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7092 Likewise.
7093 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7094 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7095 Likewise.
7096
15749d40
UD
70972012-05-27 Ulrich Drepper <drepper@gmail.com>
7098
7099 * po/h.po: Update from translation team.
7100
25dbcb27
AS
71012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7102
3d3f8e55
AS
7103 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7104
25dbcb27
AS
7105 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7106 handling of denormals.
7107 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7108 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7109 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7113 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7114 Likewise.
7115
7ad47a80 71162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7117
7118 [BZ #14152]
7119 * math/libm-test.inc (fma_test): Don't always expect underflow
7120 exception.
7121
9c6ea9fa
SP
71222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7123
7124 [BZ #12416]
7125 * elf/tst-execstack.c: Include stackinfo.h.
7126 (do_test): Adjust test case to ensure that pthread_getattr_np
7127 behaviour remains the same after marking stack executable.
7128
a8239222
JM
71292012-05-25 Joseph Myers <joseph@codesourcery.com>
7130
7131 * sysdeps/unix/sysv/linux/kernel-features.h
7132 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7133 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7134 kernel-features.h.
7135 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7136 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7137 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7138 kernel-features.h.
7139 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7140 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7141
918b5606
L
71422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7143
7144 * configure.in: Define the default includes to being none.
7145 * configure: Regenerated.
7146
3a097cc7
RM
71472012-05-25 Roland McGrath <roland@hack.frob.com>
7148
8422c9a5
RM
7149 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7150 * sysdeps/x86_64/setjmp.S: Likewise.
7151 * sysdeps/i386/bsd-setjmp.S: Likewise.
7152 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7153 * sysdeps/i386/setjmp.S: Likewise.
7154 * sysdeps/i386/__longjmp.S: Likewise.
7155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7156 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7157
3a097cc7
RM
7158 * include/stap-probe.h: New file.
7159 * configure.in: Handle --enable-systemtap.
7160 * configure: Regenerated.
7161 * config.h.in (USE_STAP_PROBE): New #undef.
7162 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7163 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7164 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7165
21708942
JM
71662012-05-25 Joseph Myers <joseph@codesourcery.com>
7167
7168 [BZ #13717]
7169 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7170 to 2.4.0 where earlier.
7171 * sysdeps/unix/sysv/linux/configure: Regenerated.
7172 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7173 <kernel-features.h>.
7174 [__ASSUME_32BITUIDS]: Make code unconditional.
7175 [!__ASSUME_32BITUIDS]: Remove conditional code.
7176 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7177 <kernel-features.h>.
7178 [__ASSUME_32BITUIDS]: Make code unconditional.
7179 [!__ASSUME_32BITUIDS]: Remove conditional code.
7180 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7181 [__ASSUME_32BITUIDS]: Make code unconditional.
7182 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7183 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7184 <kernel-features.h>.
7185 [__ASSUME_32BITUIDS]: Make code unconditional.
7186 [!__ASSUME_32BITUIDS]: Remove conditional code.
7187 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7188 <kernel-features.h>.
7189 [__ASSUME_32BITUIDS]: Make code unconditional.
7190 [!__ASSUME_32BITUIDS]: Remove conditional code.
7191 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7192 <kernel-features.h>.
7193 [__ASSUME_32BITUIDS]: Make code unconditional.
7194 [!__ASSUME_32BITUIDS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7196 <kernel-features.h>.
7197 [__ASSUME_32BITUIDS]: Make code unconditional.
7198 [!__ASSUME_32BITUIDS]: Remove conditional code.
7199 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7200 <kernel-features.h>.
7201 [__ASSUME_32BITUIDS]: Make code unconditional.
7202 [!__ASSUME_32BITUIDS]: Remove conditional code.
7203 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7204 <kernel-features.h>.
7205 [__ASSUME_32BITUIDS]: Make code unconditional.
7206 [!__ASSUME_32BITUIDS]: Remove conditional code.
7207 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7208 <kernel-features.h>.
7209 [__ASSUME_32BITUIDS]: Make code unconditional.
7210 [!__ASSUME_32BITUIDS]: Remove conditional code.
7211 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7212 <kernel-features.h>.
7213 [__ASSUME_32BITUIDS]: Make code unconditional.
7214 [!__ASSUME_32BITUIDS]: Remove conditional code.
7215 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7216 <kernel-features.h>.
7217 [__ASSUME_32BITUIDS]: Make code unconditional.
7218 [!__ASSUME_32BITUIDS]: Remove conditional code.
7219 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7220 <kernel-features.h>.
7221 [__ASSUME_32BITUIDS]: Make code unconditional.
7222 [!__ASSUME_32BITUIDS]: Remove conditional code.
7223 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7224 <kernel-features.h>.
7225 [__NR_setresgid] (__setresgid): Do not declare.
7226 [__ASSUME_32BITUIDS]: Make code unconditional.
7227 [!__ASSUME_32BITUIDS]: Remove conditional code.
7228 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7229 <kernel-features.h>.
7230 [__NR_setresuid] (__setresuid): Do not declare.
7231 [__ASSUME_32BITUIDS]: Make code unconditional.
7232 [!__ASSUME_32BITUIDS]: Remove conditional code.
7233 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7234 <kernel-features.h>.
7235 [__ASSUME_32BITUIDS]: Make code unconditional.
7236 [!__ASSUME_32BITUIDS]: Remove conditional code.
7237 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7238 <kernel-features.h>.
7239 [__ASSUME_32BITUIDS]: Make code unconditional.
7240 [!__ASSUME_32BITUIDS]: Remove conditional code.
7241 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7242 <kernel-features.h>.
7243 [__ASSUME_32BITUIDS]: Make code unconditional.
7244 [!__ASSUME_32BITUIDS]: Remove conditional code.
7245 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7246 <kernel-features.h>.
7247 [__ASSUME_32BITUIDS]: Make code unconditional.
7248 [!__ASSUME_32BITUIDS]: Remove conditional code.
7249 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7250 <kernel-features.h>.
7251 [__ASSUME_32BITUIDS]: Make code unconditional.
7252 [!__ASSUME_32BITUIDS]: Remove conditional code.
7253 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7254 <kernel-features.h>.
7255 [__ASSUME_32BITUIDS]: Make code unconditional.
7256 [!__ASSUME_32BITUIDS]: Remove conditional code.
7257 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7258 <kernel-features.h>.
7259 [__ASSUME_32BITUIDS]: Make code unconditional.
7260 [!__ASSUME_32BITUIDS]: Remove conditional code.
7261 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7262 <kernel-features.h>.
7263 [__ASSUME_32BITUIDS]: Make code unconditional.
7264 [!__ASSUME_32BITUIDS]: Remove conditional code.
7265 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7266 <kernel-features.h>.
7267 [__ASSUME_32BITUIDS]: Make code unconditional.
7268 [!__ASSUME_32BITUIDS]: Remove conditional code.
7269 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7270 <kernel-features.h>.
7271 [__ASSUME_32BITUIDS]: Make code unconditional.
7272 [!__ASSUME_32BITUIDS]: Remove conditional code.
7273 * sysdeps/unix/sysv/linux/kernel-features.h
7274 (__ASSUME_SETRESUID_SYSCALL): Remove.
7275 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7276 (__ASSUME_32BITUIDS): Likewise.
7277 (__ASSUME_LDT_WORKS): Likewise.
7278 (__ASSUME_O_DIRECTORY): Likewise.
7279 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7280 architecture but not kernel version.
7281 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7282 (__ASSUME_MMAP2_SYSCALL): Likewise.
7283 (__ASSUME_STAT64_SYSCALL): Likewise.
7284 (__ASSUME_IPC64): Likewise.
7285 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7286 <kernel-features.h>.
7287 [__ASSUME_32BITUIDS]: Make code unconditional.
7288 [!__ASSUME_32BITUIDS]: Remove conditional code.
7289 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7290 <kernel-features.h>.
7291 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7292 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7293 132096]: Remove conditional code.
7294 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7295 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
7300 <kernel-features.h>.
7301 [__ASSUME_32BITUIDS]: Make code unconditional.
7302 [!__ASSUME_32BITUIDS]: Remove conditional code.
7303 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7304 <kernel-features.h>.
7305 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7306 unconditional.
7307 (__setresgid): Do not declare.
7308 [__ASSUME_32BITUIDS]: Make code unconditional.
7309 [!__ASSUME_32BITUIDS]: Remove conditional code.
7310 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7311 <kernel-features.h>.
7312 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7313 unconditional.
7314 (__setresuid): Do not declare.
7315 [__ASSUME_32BITUIDS]: Make code unconditional.
7316 [!__ASSUME_32BITUIDS]: Remove conditional code.
7317 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
7322 <kernel-features.h>.
7323 [__ASSUME_32BITUIDS]: Make code unconditional.
7324 [!__ASSUME_32BITUIDS]: Remove conditional code.
7325
a386f1cc
RH
73262012-05-25 Richard Henderson <rth@twiddle.net>
7327
7328 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7329 dl_hwcap to ifunc resolver.
7330 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7331 elf_ifunc_invoke.
7332 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7333 dl_hwcap to ifunc resolver.
7334 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7335
b6550497
JM
73362012-05-24 Joseph Myers <joseph@codesourcery.com>
7337
7338 [BZ #14153]
7339 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7340 for |x| <= 2**-26, not 2**-57.
7341 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7342 exception.
7343
b0bc23a1
JL
73442012-05-24 Jeff Law <law@redhat.com>
7345
7346 * stdio-common/Makefile (tests): Add bug25.
7347 * stdio-common/bug25.c: New test.
7348
347c92e9
L
73492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7350
7351 [BZ #13576]
7352 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7353 multiple of MALLOC_ALIGNMENT in size.
7354 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7355
6bcc8b3f
JM
73562012-05-24 Joseph Myers <joseph@codesourcery.com>
7357
7358 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7359 Require >= 256.
7360 (FILENAME_MAX): Use macro-int-constant.
7361 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7362 (_IOFBF): Use macro-int-constant.
7363 (_IOLBF): Likewise.
7364 (_IONBF): Likewise.
7365 (SEEK_CUR): Likewise.
7366 (SEEK_END): Likewise.
7367 (SEEK_SET): Likewise.
7368 (TMP_MAX): Likewise.
7369 (EOF): Use macro-int-constant. Require < 0.
7370 (NULL): Use macro-constant. Require == 0.
7371 (stdin): Require type to be FILE *.
7372 (stdout): Likewise.
7373 (stderr): Likewise.
7374 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7375 macro-int-constant.
7376 (EXIT_SUCCESS): Likewise.
7377 (NULL): Use macro-constant. Require == 0.
7378 (RAND_MAX): Use macro-int-constant.
7379 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7380 [C99-based standards] (strtof): Require function.
7381 [C99-based standards] (strtold): Likewise.
7382 [C99-based standards] (strtoll): Likewise.
7383 [C99-based standards] (strtoull): Likewise.
7384 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7385 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7386 [ISO || ISO99 || ISO11] (math.h): Likewise.
7387 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7388 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7390
d18ea0c5
AS
73912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7392
7393 [BZ #14132]
56d25bb8
AS
7394 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7395 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7396 * intl/dgettext.c (DCGETTEXT): Likewise.
7397 * intl/gettext.c (DCGETTEXT): Likewise.
7398 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7399 * posix/regex_internal.h (gettext): Likewise.
7400 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7401 Remove declaration.
7402 * include/argz.h (__argz_count_internal)
7403 (__argz_stringify_internal): Remove declaration.
7404 (__argz_count, __argz_stringify): Declare hidden proto.
7405 * intl/dcgettext.c: Remove use of INTDEF.
7406 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7407 * string/argz-stringify.c: Likewise.
7408 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7409 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7410 Declare hidden proto.
d18ea0c5
AS
7411 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7412 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7413 Declare hidden proto.
7414 * include/stdio.h (__asprintf_internal): Don't declare.
7415 (__asprintf): Don't define as macro. Declare hidden proto.
7416 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7417 (__fsetlocking): Declare hidden proto.
7418 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7419 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7420 hidden proto.
7421 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7422 (_IO_setlinebuf): Remove use of INTUSE.
7423 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7424 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7425 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7426 Remove declaration.
7427 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7428 (_IO_do_flush): Remove use of INTUSE.
7429 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7430 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7431 (_IO_adjust_column, _IO_least_wmarker)
7432 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7433 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7434 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7435 (_IO_default_doallocate, _IO_wdefault_doallocate)
7436 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7437 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7438 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7439 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7440 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7441 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7442 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7443 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7444 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7445 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7446 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7447 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7448 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7449 proto.
7450 (_IO_flush_all_internal, _IO_adjust_column_internal)
7451 (_IO_default_uflow_internal, _IO_default_finish_internal)
7452 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7453 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7454 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7455 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7456 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7457 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7458 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7459 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7460 (_IO_file_close_internal, _IO_file_close_it_internal)
7461 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7462 (_IO_file_init_internal, _IO_file_attach_internal)
7463 (_IO_file_fopen_internal, _IO_file_read_internal)
7464 (_IO_file_sync_internal, _IO_file_seek_internal)
7465 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7466 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7467 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7468 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7469 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7470 (_IO_list_all_internal, _IO_link_in_internal)
7471 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7472 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7473 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7474 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7475 (_IO_do_write_internal, _IO_padn_internal)
7476 (_IO_getline_info_internal, _IO_getline_internal)
7477 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7478 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7479 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7480 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7481 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7482 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7483 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7484 with libc_hidden_ver, remove use of INTUSE.
7485 * libio/genops.c: Likewise.
7486 * libio/freopen.c: Likewise.
7487 * libio/freopen64.c: Likewise.
7488 * libio/iofclose.c: Likewise.
7489 * libio/iofdopen.c: Likewise.
7490 * libio/iofflush.c: Likewise.
7491 * libio/iofflush_u.c: Likewise.
7492 * libio/iofgets.c: Likewise.
7493 * libio/iofgets_u.c: Likewise.
7494 * libio/iofopen.c: Likewise.
7495 * libio/iofopncook.c: Likewise.
7496 * libio/iofread.c: Likewise.
7497 * libio/iofread_u.c: Likewise.
7498 * libio/ioftell.c: Likewise.
7499 * libio/iofwrite.c: Likewise.
7500 * libio/iogetline.c: Likewise.
7501 * libio/iogets.c: Likewise.
7502 * libio/iogetwline.c: Likewise.
7503 * libio/iopadn.c: Likewise.
7504 * libio/iopopen.c: Likewise.
7505 * libio/ioseekoff.c: Likewise.
7506 * libio/ioseekpos.c: Likewise.
7507 * libio/iosetbuffer.c: Likewise.
7508 * libio/iosetvbuf.c: Likewise.
7509 * libio/ioungetc.c: Likewise.
7510 * libio/ioungetwc.c: Likewise.
7511 * libio/iovdprintf.c: Likewise.
7512 * libio/iovsprintf.c: Likewise.
7513 * libio/iovsscanf.c: Likewise.
7514 * libio/memstream.c: Likewise.
7515 * libio/obprintf.c: Likewise.
7516 * libio/oldfileops.c: Likewise.
7517 * libio/oldiofclose.c: Likewise.
7518 * libio/oldiofdopen.c: Likewise.
7519 * libio/oldiofopen.c: Likewise.
7520 * libio/oldiopopen.c: Likewise.
7521 * libio/oldstdfiles.c: Likewise.
7522 * libio/putc.c: Likewise.
7523 * libio/setbuf.c: Likewise.
7524 * libio/setlinebuf.c: Likewise.
7525 * libio/stdfiles.c: Likewise.
7526 * libio/strops.c: Likewise.
7527 * libio/vasprintf.c: Likewise.
7528 * libio/vscanf.c: Likewise.
7529 * libio/vsnprintf.c: Likewise.
7530 * libio/vswprintf.c: Likewise.
7531 * libio/wfiledoalloc.c: Likewise.
7532 * libio/wfileops.c: Likewise.
7533 * libio/wgenops.c: Likewise.
7534 * libio/wmemstream.c: Likewise.
7535 * libio/wstrops.c: Likewise.
7536 * libio/__fpurge.c: Likewise.
7537 * libio/__fsetlocking.c: Likewise.
7538 * assert/assert.c: Likewise.
7539 * debug/fgets_chk.c: Likewise.
7540 * debug/fgets_u_chk.c: Likewise.
7541 * debug/fread_chk.c: Likewise.
7542 * debug/fread_u_chk.c: Likewise.
7543 * debug/gets_chk.c: Likewise.
7544 * debug/obprintf_chk.c: Likewise.
7545 * debug/vasprintf_chk.c: Likewise.
7546 * debug/vdprintf_chk.c: Likewise.
7547 * debug/vsnprintf_chk.c: Likewise.
7548 * debug/vsprintf_chk.c: Likewise.
7549 * malloc/mtrace.c: Likewise.
7550 * misc/error.c: Likewise.
7551 * misc/syslog.c: Likewise.
7552 * stdio-common/asprintf.c: Likewise.
7553 * stdio-common/fxprintf.c: Likewise.
7554 * stdio-common/getw.c: Likewise.
7555 * stdio-common/isoc99_fscanf.c: Likewise.
7556 * stdio-common/isoc99_scanf.c: Likewise.
7557 * stdio-common/isoc99_vfscanf.c: Likewise.
7558 * stdio-common/isoc99_vscanf.c: Likewise.
7559 * stdio-common/isoc99_vsscanf.c: Likewise.
7560 * stdio-common/printf-prs.c: Likewise.
7561 * stdio-common/printf_fp.c: Likewise.
7562 * stdio-common/printf_fphex.c: Likewise.
7563 * stdio-common/printf_size.c: Likewise.
7564 * stdio-common/putw.c: Likewise.
7565 * stdio-common/scanf.c: Likewise.
7566 * stdio-common/sprintf.c: Likewise.
7567 * stdio-common/tmpfile.c: Likewise.
7568 * stdio-common/vfprintf.c: Likewise.
7569 * stdio-common/vfscanf.c: Likewise.
7570 * stdlib/strfmon_l.c: Likewise.
7571 * sunrpc/openchild.c: Likewise.
7572 * sunrpc/xdr_stdio.c: Likewise.
7573 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7574 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7575
d6c33fda
RM
75762012-05-24 Roland McGrath <roland@hack.frob.com>
7577
c1487492
RM
7578 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7579
7580 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7581 in the third column, to generate for the shared library an IFUNC
7582 that uses _dl_vdso_vsym.
7583 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7584 * Makeconfig (object-suffixes-noshared): New variable.
7585
7586 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7587 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7588 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7589 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7590
d6c33fda
RM
7591 [BZ #14132]
7592 * include/sys/time.h (__gettimeofday): Remove macro.
7593 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7594 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7595 Remove INTDEF.
7596 (__gettimeofday): Add libc_hidden_def.
7597 (gettimeofday): Add libc_hidden_weak.
7598 * sysdeps/mach/gettimeofday.c: Likewise.
7599 * sysdeps/posix/gettimeofday.c: Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7601 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7603 (__gettimeofday_internal): Remove strong_alias.
7604 (__gettimeofday): Add libc_hidden_def.
7605 (gettimeofday): Add libc_hidden_weak.
7606 * sysdeps/unix/syscalls.list (gettimeofday):
7607 Remove __gettimeofday_internal alias.
7608
b5a2bbe6
L
76092012-05-24 Daniel Jacobowitz <drow@false.org>
7610 H.J. Lu <hongjiu.lu@intel.com>
7611
7612 [BZ #12495]
7613 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7614 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7615 (largebin_index_32_big): New.
7616 (largebin_index): Use it for 16-byte alignment.
7617 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7618 correction with front_misalign.
7619
cfba4fda
L
76202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7621
7f907421
L
7622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7624 Likewise.
7625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7626 Likewise.
7627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7628 Likewise.
7629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7630 Likewise.
7631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7632 Likewise.
7633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7634 Likewise.
7635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7636 Likewise.
7637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7638 Likewise.
7639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7640 Likewise.
7641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7642 Likewise.
7643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7644 Likewise.
7645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7646 Likewise.
7647
cfba4fda
L
7648 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7649 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7650
80bad0cc
JM
76512012-05-24 Joseph Myers <joseph@codesourcery.com>
7652
7a25eb06
JM
7653 [BZ #10846]
7654 [BZ #14036]
7655 * math/libm-test.inc (exp_test): Add test from bug 14036.
7656 (pow_test): Add test from bug 10846.
7657
795405f9
JM
7658 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7659 and other flags.
7660 (special_function): Do not include flags in test name.
7661 (parse_args): Likewise.
7662 * sysdeps/i386/fpu/libm-test-ulps: Update.
7663 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7664 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7665 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7667
80bad0cc
JM
7668 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7669 exceptions.
7670 * math/libm-test.inc ("Philosophy"): Update comment about
7671 exception testing.
7672 (UNDERFLOW_EXCEPTION): New macro.
7673 (UNDERFLOW_EXCEPTION_OK): Likewise.
7674 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7675 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7676 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7677 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7678 (INVALID_EXCEPTION_OK): Update value.
7679 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7680 (OVERFLOW_EXCEPTION_OK): Likewise.
7681 (IGNORE_ZERO_INF_SIGN): Likewise.
7682 (test_exceptions): Handle underflow exceptions.
7683 (acos_test): Update for underflow exception expectations.
7684 (cexp_test): Likewise.
7685 (clog_test): Likewise.
7686 (clog10_test): Likewise.
7687 (csqrt_test): Likewise.
7688 (ctan_test): Likewise.
7689 (ctanh_test): Likewise.
7690 (exp_test): Likewise.
7691 (exp10_test): Likewise.
7692 (exp2_test): Likewise.
7693 (expm1_test): Likewise.
7694 (fma_test): Likewise.
7695 (j0_test): Likewise.
7696 (jn_test): Likewise.
7697 (nexttoward_test): Likewise.
7698 (pow_test): Likewise.
7699 (scalbn_test): Likewise.
7700 (scalbln_test): Likewise.
7701 (tan_test): Likewise.
7702 (y1_test): Likewise.
7703 * sysdeps/i386/fpu/libm-test-ulps: Update.
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7705
9e0e3d0b
DM
77062012-05-23 David S. Miller <davem@davemloft.net>
7707
7708 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7709 (__libc_sigaction): Remove unused local variables.
7710
ccd0a08f
L
77112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7712
7713 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7714
62bdf9a6
PE
77152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7716
f8591f80
PE
7717 mktime: avoid signed integer overflow
7718 * time/mktime.c (__mktime_internal): Do not mishandle the case
7719 where diff == INT_MIN.
7720
94c7d826
PE
7721 mktime: simplify computation of average
7722 * time/mktime.c (ranged_convert): Use new time_t_avg function
7723 instead of rolling our own (probably-slower) code.
7724
ce73d683
PE
7725 mktime: do not assume signed right shift propagates sign bit
7726 * time/mktime.c (isdst_differ): New static function.
7727 (__mktime_internal): No need to normalize tm_isdst now.
7728 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7729 tm_isdst values.
7730
72a22e59
PE
7731 mktime: merge another wrapv change from gnulib
7732 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7733 from some compilers.
7734
68605433
PE
7735 mktime: remove incorrect attempt at unusual arithmetics
7736 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7737 The code didn't really work on such machines anyway.
7738 (TYPE_MINIMUM): Assume two's complement.
7739 (twos_complement_arithmetic): Verify that long_int and time_t
7740 are two's complement (or unsigned, in the latter case).
7741
03cf7fe3
PE
7742 mktime: check signed shifts on long_int and time_t, too
7743 * time/mktime.c (SHR): Check that shifts work as desired
7744 on the types long_int and time_t too, as SHR is used on
7745 such types.
7746
f04dfbc2
PE
7747 mktime: do not assume 'long' is wide enough
7748 * time/mktime.c (verify): Move decl up.
7749 (long_int): New type.
7750 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7751 to remove assumption in the code that 'long' is wide enough to
7752 store year values. This assumption is not true on x32 and on
7753 some non-glibc platforms.
7754
62bdf9a6
PE
7755 mktime: merge wrapv change from gnulib
7756 * time/mktime.c (WRAPV): New macro.
7757 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7758 (guess_time_tm, __mktime_internal): Do not assume that signed
7759 integer overflow wraps around; modern compilers generate code
7760 where this assumption is no longer valid.
7761
5e292e4f
L
77622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7763
7764 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7765 Replace "jmp L(pseudo_end)" with "ret".
7766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7767 Likewise.
7768
8caf8c87
AJ
77692012-05-23 Andreas Jaeger <aj@suse.de>
7770
7771 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7772 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7773
1a09dc56
AJ
77742012-05-23 Andreas Jaeger <aj@suse.de>
7775 Maximilian Attems <max@stro.at>
7776
7777 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7778 New macros.
7779
1c87aba0
L
77802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7781
7782 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7783 code so that pseudo_end is just ret and the stack pointer is
7784 correct also for static library in error case.
7785
40e45bd5
JM
77862012-05-23 Joseph Myers <joseph@codesourcery.com>
7787
c2670533
JM
7788 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7789 move to syscalls.list.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7794
40e45bd5
JM
7795 * manual/install.texi (Running make install): Do not mention Linux
7796 kernel version for which pt_chown is not needed.
7797 (Linux): Do not mention problems with nscd with 2.0 kernels.
7798 * INSTALL: Regenerated.
7799
be08eda5
AJ
78002012-05-23 Andreas Jaeger <aj@suse.de>
7801
7802 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7803 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7804 macro.
7805 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7806 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7807 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7808 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7809 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7810 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7812 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7813 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7814 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7815 * sysdeps/unix/sysv/linux/bits/in.h
7816 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7817
a6a056bb
RM
78182012-05-22 Roland McGrath <roland@hack.frob.com>
7819
7820 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7821 (PREPARE_VERSION): Just use assert instead, it will be elided
7822 under [NDEBUG] anyway.
7823
c9009328
L
78242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7825
7826 * sysdeps/unix/sysv/linux/Makefile: Include
7827 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7828 (sysdep_routines): Remove sysctl.
c9009328
L
7829 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7830 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7831 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7833 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7834
73338355
AJ
78352012-05-22 Andreas Jaeger <aj@suse.de>
7836
7837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7838 that pseudo_end is just ret and the stack pointer is correct also
7839 for static library in error case.
7840
d44638b0
PP
78412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7842
7843 [BZ #14122]
7844 * nss/nsswitch.c (defconfig_entries): New variable.
7845 (__nss_database_lookup): Don't leak defconfig entries.
7846 (nss_parse_service_list): Don't leak on error paths.
7847 (free_database_entries): New function.
7848 (free_defconfig): New function.
7849 (free_mem): Move common code to free_database_entries.
7850
31a39bd8
L
78512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7852
da0331a8
L
7853 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7854 Add arch_prctl.
7855 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7856
31a39bd8
L
7857 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7858 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7860 New macro.
7861 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7862 (INTERNAL_SYSCALL_TYPES): Likewise.
7863 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7864 (LOAD_REGS_TYPES_[1-6]): Likewise.
7865 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7866 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7867
45470df3
AZ
78682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7869
7870 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7871 copysignl for GLIBC_2_0.
7872 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7873 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7874 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7875 logbl for GLIBC_2_0.
7876 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7877 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7878
98a61bcb
L
78792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7880
a4f6e481
L
7881 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7882 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7883
f63d5db6
L
7884 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7885 Use "neg %eax".
7886
98a61bcb
L
7887 * time/mktime.c: Update copyright years.
7888
95770f14
PE
78892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7890
6226efbd
PE
7891 mktime: merge comment-quoting-style change from gnulib
7892 * time/mktime.c: Quote 'like this' in comments.
7893 The GNU coding standards suggest that we no longer quote `like this',
7894 as "`" and "'" are typically rendered asymmetrically nowadays.
7895 The typical gnulib style is to quote 'like this' when quoting
7896 code, and "like this" when quoting English.
7897
b99e4f78
PE
7898 * time/mktime.c (compile-command): Add "-I.".
7899
643e01e6
PE
7900 mktime: merge mktime-internal.h change from gnulib
7901 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7902
2554247d
PE
7903 mktime: merge time_r change from gnulib
7904 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7905
826dd0ab
PE
7906 mktime: merge DEBUG change from gnulib
7907 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7908 case system <time.h> has a #define.
7909
bd83aabe
PE
7910 mktime: merge <sys/types.h> change from gnulib
7911 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7912 since <time.t> is now guaranteed to define time_t.
7913
95770f14
PE
7914 mktime: merge HAVE_CONFIG_H change from gnulib
7915 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7916
5e1a27a9
L
79172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7918
0e44a77e
L
7919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7920 Use "neg %eax".
7921
5e1a27a9
L
7922 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7923 __rlim_t cast.
7924 (struct rusage): Use anonymous union to pad each field to
7925 __syscall_slong_t.
7926
46259bec
DM
79272012-05-21 David S. Miller <davem@davemloft.net>
7928
7929 * Makefules (o-iterator): Remove .s cases.
7930 (compile-command.s): Delete.
7931 (COMPILE.s): Delete.
7932 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7933
59f0c22e
JM
79342012-05-21 Joseph Myers <joseph@codesourcery.com>
7935
7936 * configure.in (libc_cv_predef_stack_protector): Only consider
7937 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7938 * configure: Regenerated.
7939
20c07380
L
79402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7941
bbb3154b
L
7942 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7943 New macro. Use R*LP on int and pointer.
7944 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7945 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7946 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7947 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7948
20c07380
L
7949 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7950 [__WORDSIZE_TIME64_COMPAT32] instead of
7951 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7952 (struct utmp): Likewise.
7953 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7954 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7955 Renamed to ...
7956 (__WORDSIZE_TIME64_COMPAT32): This.
7957 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7958 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7959 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7960 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7962 (__WORDSIZE_TIME64_COMPAT32): New macro.
7963
d8d1017e
AJ
79642012-05-21 Andreas Jaeger <aj@suse.de>
7965
7966 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7967 only if [SHARED]. Add prototype for __wcschr_ia32.
7968
6c7fb145
RM
79692012-05-21 Roland McGrath <roland@hack.frob.com>
7970
7971 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7972 of %rbp unmolested in the jmp_buf while mangling the low bits.
7973 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7974 unmolested high bits of %rbp while demangling the low bits.
7975 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7976
66274218
AJ
79772012-05-21 Andreas Jaeger <aj@suse.de>
7978
07c58f8f
AJ
7979 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7980 * sunrpc/svc_simple.c: Use it for registerrpc.
7981 * sunrpc/xcrypt.c: Use it for passwd2des.
7982
66274218
AJ
7983 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7984
61f65140
L
79852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7988 Don't define if [__SYSCALL_WORDSIZE != 32].
7989 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7990 New macro.
7991
5fefb436
AJ
79922012-05-21 Bruno Haible <bruno@clisp.org>
7993 Andreas Jaeger <aj@suse.de>
7994
7995 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7996 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7997 inptr and inend for must_buffer_ch.
7998 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7999 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8000 * stdio-common/Makefile (tests): Remove bug15.
8001 (bug15-ENV): Remove macro.
8002 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8003 anymore.
8004
d8e272ab
AJ
80052012-05-19 Andreas Jaeger <aj@suse.de>
8006 Roland McGrath <roland@hack.frob.com>
8007
8008 * manual/contrib.texi: Completely rewritten. It contains now an
8009 alphabetical list of contributors and their contributions.
8010
4a56a162
RH
80112012-05-21 Richard Henderson <rth@twiddle.net>
8012
8013 * misc/getauxval.c (__getauxval): Use unsigned long int.
8014 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8015 (getauxval): Use unsigned long int.
8016
d024d23c
L
80172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8020
cbc00a03
RM
80212012-05-21 Roland McGrath <roland@hack.frob.com>
8022
8023 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8024 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8025 __alignof__ (long double).
8026
478143fa
AZ
80272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8028
8029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8030
c7683a6d
RH
80312012-05-20 Richard Henderson <rth@twiddle.net>
8032
8033 * misc/getauxval.c: New file.
8034 * misc/sys/auxv.h: New file.
8035 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8036 (routines): Add getauxval.
8037 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8038 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8039 * elf/dl-sysdep.c (_dl_auxv): Remove.
8040 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8041 * elf/dl-support.c (_dl_auxv): New variable.
8042 (_dl_aux_init): Initialize it.
8043 * manual/startup.texi (Auxiliary Vector): New node.
8044 * sysdeps/generic/bits/hwcap.h: New file.
8045 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8046 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8047 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8048 * sysdeps/sparc/sysdep.h: ... here. Include it.
8049 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8050 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8052 Update.
c7683a6d
RH
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8061
a6f1845d
AZ
80622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063
8064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8065
cbcbe830
DM
80662012-05-19 David S. Miller <davem@davemloft.net>
8067
8068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8069
e0b16cc2
JM
80702012-05-19 Joseph Myers <joseph@codesourcery.com>
8071
8072 [BZ #14123]
8073 * math/s_ccosh.c: Include <float.h>
8074 (__ccosh): Avoid internal overflow calculating sinh and cosh
8075 values before multiplying by sin and cos values.
8076 * math/s_ccoshf.c: Likewise.
8077 * math/s_ccoshl.c: Likewise.
8078 * math/s_csin.c: Likewise.
8079 * math/s_csinf.c: Likewise.
8080 * math/s_csinl.c: Likewise.
8081 * math/s_csinh.c: Likewise.
8082 * math/s_csinhf.c: Likewise.
8083 * math/s_csinhl.c: Likewise.
8084 * math/libm-test.inc (ccos_test): Add more tests.
8085 (ccosh_test): Likewise.
8086 (csin_test): Likewise.
8087 (csinh_test): Likewise.
8088 * sysdeps/i386/fpu/libm-test-ulps: Update.
8089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8090
6ad13e08
L
80912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8092
f66f0ce8
L
8093 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8094 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8095
6ad13e08
L
8096 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8097
b1d072a7
JM
80982012-05-19 Joseph Myers <joseph@codesourcery.com>
8099
8100 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8101 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8102 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8103 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8104 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8105 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8106 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8107 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8108 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8109 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8110 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8111 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8112 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8113 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8114 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8115 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8116 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8117 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8118 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8119 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8120 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8121 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8122 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8123 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8124 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8125 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8126 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8127 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8128 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8129 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8130 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8131
9eae47cb
AJ
81322012-05-18 Andreas Jaeger <aj@suse.de>
8133
8134 * csu/.gitignore: Delete.
8135
bb07f69f
L
81362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8137
8138 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8139 (timex): Use __syscall_slong_t.
8140
e6bdb741
AJ
81412012-05-18 Andreas Jaeger <aj@suse.de>
8142 Carlos O'Donell <carlos_odonell@mentor.com>
8143
8144 * manual/install.texi (Configuring and compiling): Update
8145 description about files modified in the source directory.
d6c33fda 8146 * INSTALL: Regenerated.
e6bdb741 8147
1b74487e
L
81482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8149
8150 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8151 value. Use "or" to set return value to -1.
8152 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8153 negate return value.
8154
a88b64b9
TMQMF
81552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8156
8157 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8158 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8159 failure if the compiler has Graphite support disabled.
8160 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8161 Likewise.
8162 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8163 CFLAGS-memmove.c): Likewise.
8164 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8165 Likewise.
8166
3707636e
L
81672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8168
610b8622
L
8169 * sysdeps/x86_64/x32/_itoa.h: New file.
8170
7cd195df
L
8171 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8172 getdents system call only if kernel and user dirents have the
8173 same d_ino and d_off.
8174
94b07d20
L
8175 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8176 LLONG_MAX != LONG_MAX.
8177 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8178 (_fitoa_word): Likewise.
8179
18298070
L
8180 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8181 years.
8182 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8183 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8184 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8185
553c7ea4
L
8186 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8187 include <bits/wordsize.h>. Check __x86_64__ instead of
8188 __WORDSIZE.
8189 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8190 if __x86_64__ is defined. Use anonymous union on fpstate.
8191
3707636e
L
8192 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8193 anonymous union.
8194
b53ef01a
AS
81952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8196
37fb1dc0
AS
8197 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8198 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8199 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8200 Refer to _rtld_local_ro instead of _rtld_global_ro.
8201 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8202 Likewise.
8203 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8204 Likewise.
8205 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8206 Likewise.
8207 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8208 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8209 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8210
b53ef01a
AS
8211 * sysdeps/powerpc/powerpc32/dl-machine.c
8212 (__elf_machine_runtime_setup) [PROF]: Don't reference
8213 _dl_prof_resolve.
8214
7a185db2
AJ
82152012-05-18 Andreas Jaeger <aj@suse.de>
8216
8217 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8218 function only available for GCCs before 3.4 since GCC 3.4
8219 introduced a builtin.
8220 (lrint): Likewise.
8221 (llrintf): Likewise.
8222 (llrint): Likewise.
8223 (fmaxf): Likewise.
8224 (fmax): Likewise.
8225 (fminf): Likewise.
8226 (fmin): Likewise.
8227 (rint): Likewise.
8228 (rintf): Likewise.
8229 (nearbyint): Likewise.
8230 (nearbyintf): Likewise.
8231 (ceil): Likewise.
8232 (ceilf): Likewise.
8233 (floor): Likewise.
8234 (floorf): Likewise.
8235
3e5aef87
L
82362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8237
428bd707
L
8238 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8239 on both fields and cast pointer to __syscall_ulong_t.
8240
3e5aef87
L
8241 * bits/types.h (__fsword_t): New type.
8242 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8243 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8245 (__FSWORD_T_TYPE): Likewise.
8246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8247 (__FSWORD_T_TYPE): Likewise.
8248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8249 (__FSWORD_T_TYPE): Likewise.
8250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8251 (__FSWORD_T_TYPE): Likewise.
8252 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8253 __SWORD_TYPE with __fsword_t.
8254 (statfs64): Likewise.
8255
1ba7c3dc
DM
82562012-05-17 David S. Miller <davem@davemloft.net>
8257
8258 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8259
59910343
AJ
82602012-05-17 Andreas Jaeger <aj@suse.de>
8261
8262 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8263 warning.
8264
2e4c1e9e
L
82652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8266
8267 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8268
de7f5ce7
AJ
82692012-05-17 Andreas Jaeger <aj@suse.de>
8270
8271 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8272 when it is used.
8273
286abc3d
CM
82742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8275
8276 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8277
477cc68e
L
82782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8279
8280 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8281 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8282
1a0994f5
CD
82832012-05-17 Andreas Jaeger <aj@suse.de>
8284 Carlos O'Donell <carlos_odonell@mentor.com>
8285
8286 [BZ #14059]
8287 * sysdeps/x86_64/multiarch/init-arch.h
8288 (bit_YMM_Usable): Rename to...
8289 (bit_AVX_Usable): ... this.
8290 (bit_FMA4_Usable): New macro.
8291 (bit_XMM_state): New macro.
8292 (bit_YMM_state): New macro.
8293 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8294 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8295 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8296 (CPUID_OSXSAVE): New macro.
8297 (CPUID_AVX): New macro.
8298 (CPUID_FMA4): New macro.
8299 (index_YMM_Usable): Rename to...
8300 (index_AVX_Usable): ... this.
8301 (HAS_AVX): Use HAS_ARCH_FEATURE.
8302 (HAS_FMA4): Likewise.
8303 (HAS_YMM_USABLE): Remove.
8304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8305 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8306 are present.
8307 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8308 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8309 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8310 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8311 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8312
0af797de
CM
83132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8314
8315 * math/libm-test.c: Support platforms without multiple rounding modes.
8316 * math/bug-nextafter.c: Support platforms without FP exceptions.
8317 * math/bug-nexttoward.c: Likewise.
8318 * math/test-fenv.c: Likewise.
8319 * math/test-misc.c: Likewise.
8320 * stdlib/bug-getcontext.c: Likewise.
8321
e39745ff
AJ
83222012-05-17 Andreas Jaeger <aj@suse.de>
8323
8324 * manual/examples/search.c (critter_cmp): Change signature to
8325 avoid warnings.
8326 * manual/string.texi (Collation Functions): Likewise.
8327
48970aba
L
83282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8329
8330 * bits/types.h: Fold copyright years.
8331 * bits/typesizes.h: Likewise.
8332 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8335 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8336 * time/time.h: Likewise.
8337
bedee953
PP
83382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8339
8340 [BZ #208]
8341 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8342 in instead of returning them. Return void.
8343 (__libc_mallinfo): Accumulate over all arenas.
8344 (__malloc_stats): Adjust for change in int_mallinfo interface.
8345
61653dfb
RM
83462012-05-16 Roland McGrath <roland@hack.frob.com>
8347
30b99d79
RM
8348 [BZ #10375]
8349 * configure.in (NM): Add AC_CHECK_TOOL for it.
8350 (libc_extra_cflags): New substituted variable.
8351 Check for -fstack-protector being used implicitly.
8352 * configure: Regenerated.
8353 * config.make.in (config-extra-cflags): New variable,
8354 gets @libc_extra_cflags@.
8355 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8356
61653dfb
RM
8357 [BZ #10375]
8358 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8359 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8360 * configure: Regenerated.
8361 * config.make.in (CPPUNDEFS): New substituted variable.
8362 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8363 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8364 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8365
661768bb
L
83662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8367
8368 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8369 (mq_attr): Use __syscall_slong_t.
8370
d4261567
L
83712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8372
8373 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8374 Check __x86_64__ instead of __WORDSIZE.
8375 (_STAT_VER_LINUX): Likewise.
8376 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8377 __syscall_ulong_t and __syscall_slong_t.
8378 (stat64): Likewise.
8379
cf3ff365
L
83802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8381
8382 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8383
76cf3e4d
L
83842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8385
8386 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8387
a637753a
L
83882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8389
8390 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8391 __syscall_ulong_t.
8392
d5e05119
L
8393 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8394 include <bits/wordsize.h>. Check __x86_64__ instead of
8395 __WORDSIZE.
8396 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8397 defined.
8398 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8399
f62ee380
L
8400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8401 include <bits/wordsize.h>. Check __x86_64__ instead of
8402 __WORDSIZE.
8403 (user_regs_struct): Use "__extension__ unsigned long long"
8404 instead of "unsigned long" if __x86_64__ is defined.
8405 (user): Likewise. Pad after pointer field if __ILP32__ is
8406 defined.
8407
4e124ced
JM
84082012-05-16 Joseph Myers <joseph@codesourcery.com>
8409
6a3951a0
JM
8410 * configure.in (makeinfo): Require version 4.5 or later. Allow
8411 versions 5 to 9.
8412 * configure: Regenerated.
8413 * manual/install.texi (texinfo): Increase version requirement to
8414 4.5 or later.
8415 * INSTALL: Regenerated.
8416
4e124ced
JM
8417 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8418
953ca31a
L
84192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8420
8421 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8422
617aca05
L
8423 * sysdeps/x86_64/x32/ffs.c: New file.
8424
5762f7ae
L
8425 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8426 __syscall_ulong_t.
8427 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8428 defined. Use __syscall_ulong_t.
8429 (shminfo): Use __syscall_ulong_t.
8430 (shm_info): Likewise.
8431
a26b6856
L
8432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8433 __syscall_ulong_t.
8434
cb2b9ef7
L
8435 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8436 <bits/wordsize.h>.
8437 (msgqnum_t): Use __syscall_ulong_t.
8438 (msglen_t): Likewise.
8439 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8440 __syscall_ulong_t.
8441
34683bb0
L
8442 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8443 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8444
84a68786
L
8445 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8446
48baa5f1
L
8447 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8448 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8449
180be88b
L
8450 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8451 __syscall_slong_t.
8452
5e90c8ad
L
8453 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8454 include <bits/wordsize.h>. Check __x86_64__ instead of
8455 __WORDSIZE.
8456
23dfb58b
L
8457 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8458 "unsigned long long int" if __x86_64__ is defined.
8459 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8460
ce5d54b0
L
8461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8462 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8463 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8464
13dc9eac
L
8465 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8466 <stdint.h>.
8467 (GET_PC): Cast to uintptr_t first.
8468 (GET_FRAME): Likewise.
8469 (GET_STACK): Likewise.
8470
a7895d15
L
8471 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8472 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8473 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8474 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8475 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8476 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8477 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8478 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8479 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8480 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8481 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8482 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8483 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8484 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8486 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8487 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8488 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8489 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8490 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8491 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8492 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8493 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8494 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8495 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8496 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8497 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8498 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8499 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8500
656416c9
AS
85012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8502
5bd66283
AS
8503 * Makerules (+depfiles): Also collect depfiles from .oS in
8504 $(extra-objs).
8505 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8506 .oS, $(libnldbl-routines)).
8507
656416c9
AS
8508 * Makerules (native-compile-mkdep-flags): Define.
8509 * sunrpc/Makefile (extra-objs): Add $(addprefix
8510 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8511 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8512 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8513 calling $(make-target-directory).
8514
a46f2169
L
85152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * bits/types.h (__snseconds_t): Removed.
8518 * time/time.h (struct timespec): Replace __snseconds_t with
8519 __syscall_slong_t.
8520 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8521 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8522 Likewise.
8523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8524 (__SNSECONDS_T_TYPE): Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8526 (__SNSECONDS_T_TYPE): Likewise.
8527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8528 (__SNSECONDS_T_TYPE): Likewise.
8529
6af6528b
L
85302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8531
8532 * sysdeps/mach/hurd/bits/typesizes.h
8533 (__SYSCALL_SLONG_TYPE): New macro.
8534 (__SYSCALL_ULONG_TYPE): Likewise.
8535
de986b56
L
85362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 * bits/types.h (__syscall_slong_t): New type.
8539 (__syscall_ulong_t): Likewise.
8540
8541 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8542 (__SYSCALL_ULONG_TYPE): Likewise.
8543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8544 (__SYSCALL_SLONG_TYPE): Likewise.
8545 (__SYSCALL_ULONG_TYPE): Likewise.
8546 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8547 (__SYSCALL_SLONG_TYPE): Likewise.
8548 (__SYSCALL_ULONG_TYPE): Likewise.
8549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8550 (__SYSCALL_SLONG_TYPE): Likewise.
8551 (__SYSCALL_ULONG_TYPE): Likewise.
8552
85736dc7
L
85532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8554
8555 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8556 Add sigaltstack-offsets.sym.
8557 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8558 <sigaltstack-offsets.h>.
8559 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8560 longjmp_msg pointer.
8561 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8562 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8563 signal stack.
8564 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8565
cc03b296
JM
85662012-05-15 Joseph Myers <joseph@codesourcery.com>
8567
a9538892
JM
8568 * elf/stackguard-macros.h: Remove file.
8569 * sysdeps/generic/stackguard-macros.h: New file.
8570 * sysdeps/i386/stackguard-macros.h: Likewise.
8571 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8572 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8573 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8574 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8575 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8576 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8577 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8578 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8579 <elf/stackguard-macros.h>.
8580
cc03b296
JM
8581 [BZ #14109]
8582 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8583 __aligned__ in attribute.
8584 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8585 (gregset_t): Likewise.
8586
93171016
L
85872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8588
8589 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8590 * sysdeps/x86_64/64/Implies-after: Here. New file.
8591 * sysdeps/x86_64/x32/Implies-after: New file.
8592
d86813a0
L
85932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8594
8595 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8596 and access return value for _dl_profile_fixup. Use R10_LP to
8597 load frame size.
8598
2953ec75
L
85992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8602
3b550e9e
L
86032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8606 * sysdeps/x86_64/x32/sysdep.h: New file.
8607
eda41706
L
86082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8609
8610 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8611 * sysdeps/x86_64/setjmp.S: Likewise.
8612
9ea01d93
AZ
86132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614
8615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8616 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8617 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8618 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8619 remove unused global constant.
8620
02a91938
CM
86212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8622
8623 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8624 include of <not-cancel.h>.
8625
6540185f
RM
86262012-05-15 Roland McGrath <roland@hack.frob.com>
8627
8628 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8629
509072a0
AJ
86302012-05-15 Jeff Law <law@redhat.com>
8631 Andreas Jaeger <aj@suse.de>
8632
8633 [BZ #13594]
8634 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8635 out from...
8636 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8637 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8638 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8639 code changing __hst_map_handle.map.
8640
ba75122d
RM
86412012-05-15 Roland McGrath <roland@hack.frob.com>
8642
8643 * configure.in (sysnames): Look for Implies-before and Implies-after
8644 files.
8645 * configure: Regenerated.
8646
890d8bd8
L
86472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8648
8649 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8650 8-byte data alignment with LP_SIZE alignment.
8651
f6ee6623
L
86522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8653
8654 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8655 into R10_LP.
8656
ea2626f6
L
86572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8658
8659 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8660
085f715e
L
86612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8662
8663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8664 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8665 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8666 Likewise.
8667 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8668
be8498fc
L
86692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8670
8671 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8672 (stackinfo_sub_sp): Likewise.
8673
70bc83b9
L
86742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8675
8676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8677 RAX_LP.
8678
9bc0b730
L
86792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8680
8681 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8682 into R*_LP.
8683
6d2850e7
L
86842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8687 sizes into R*_LP.
8688
3cb84561
L
86892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8690
8691 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8692
54e2ed81
L
86932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8694
8695 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8696 into R11_LP and load __x86_64_shared_cache_size_half into
8697 R8_LP.
8698
8a17f349
L
86992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8700
8701 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8702 R8_LP.
8703
777b1eea
AZ
87042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8705
8706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8707 logb for POWER7.
8708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8709 logbf for POWER7.
8710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8711 logbl for POWER7.
8712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8713 powerpc32/power7/fpu/s_logb.c via #include.
8714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8715 powerpc32/power7/fpu/s_logbf.c via #include.
8716 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8717 powerpc32/power7/fpu/s_logbl.c via #include.
8718
d20d4ac2
JM
87192012-05-15 Joseph Myers <joseph@codesourcery.com>
8720
8721 * README.libm: Remove file.
8722
6cdef1ab
L
87232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8726 count for x32. Use R*_LP and omit operand-size suffix.
8727
0b254d8f
L
87282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8731 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8732 * sysdeps/x86_64/x32/shlib-versions: New file.
8733
ceb809dc
RM
87342012-05-14 Roland McGrath <roland@hack.frob.com>
8735
8736 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8737 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8738 Use _dl_fatal_printf instead.
8739
37f1abd4
JM
87402012-05-14 Joseph Myers <joseph@codesourcery.com>
8741
8742 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8743 set if not set by the user. Do not allow for being unset.
8744 * sysdeps/unix/sysv/linux/configure: Regenerated.
8745
11de3a33
L
87462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8747
8748 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8749 the `q' suffix from lea and replace .quad with ASM_ADDR.
8750
e02f153a
L
87512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8752
8753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8754 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8755 instead of $17.
8756 (PTR_DEMANGLE): Likewise.
8757
520ae0fd
L
87582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8759
8760 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8761 (LP_OP): Likewise.
8762 (ASM_ADDR): Likewise.
8763 (RAX_LP): Likewise.
8764 (RBP_LP): Likewise.
8765 (RBX_LP): Likewise.
8766 (RCX_LP): Likewise.
8767 (RDI_LP): Likewise.
8768 (RSI_LP): Likewise.
8769 (RSP_LP): Likewise.
8770 (R8_LP): Likewise.
8771 (R9_LP): Likewise.
8772 (R10_LP): Likewise.
8773 (R10_LP): Likewise.
8774 (R11_LP): Likewise.
8775 (R12_LP): Likewise.
8776 (R13_LP): Likewise.
8777 (R14_LP): Likewise.
8778 (R15_LP): Likewise.
8779
b985be81
L
87802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8781
8782 * sysdeps/x86_64/x32/dl-machine.h: New file.
8783
6a4888ff
AJ
87842012-05-14 Andreas Jaeger <aj@suse.de>
8785
8786 * manual/Makefile (subdir): Remove export of subdir.
8787 (all): Remove target.
8788 (.PHONY): Remove all from list.
8789 (mkinstalldirs): Remove.
8790 (.PHONY): Remove installdirs from list.
8791 ($(inst_infodir)/libc.info): Use make-target-directory.
8792 (installdirs): Remove.
8793 (subdir_%): Remove.
8794 (glibc-targets): Remove.
8795 (lib): Remove.
8796 (stubs): Remove.
8797 ($(objpfx)stubs ../po/manual.pot): Remove.
8798 ($(objpfx)stamp%): Remove.
8799 (make-target-directory): Remove.
8800 (subdir_install): Remove.
8801 (routines): Remove.
8802 (aux): Remove.
8803 (sources): Remove.
8804 (objects): Remove.
8805 (headers): Remove.
8806
8807 [BZ #13750]
8808 * manual/.gitignore: Remove, it's not needed anymore.
8809 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8810 all files in it.
8811 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8812 directory.
8813 (texis): Renamed to $(objpfx)texis.
8814 (texis-path): New, contains path to generated files.
8815 (chapters.%): Use texis-path for complete path, add extra argument
8816 libc-texinfo.sh.
8817 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8818 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8819 (summary,texi, stamp-summary): Use complete path of
8820 files. Generate files in build dir.
8821 (dir-add.texi): Build in build dir.
8822 (libm-err.texi,stamp-libm-err): Likewise.
8823 (version.texi, stamp-version): Likewise.
8824 (.%c.texi): Likewise.
8825 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8826 (mostlyclean): Remove target.
8827 (realclean): Remove target.
8828 (generated): Add new variable with contents from mostlyclean and
8829 realclean, remove entries duplicated in common-mostlyclean, add
8830 stamp-libm-err and stamp-version.
8831 (generated-dirs): Add libc directory.
8832 ($(inst_infodir)/libc.info): Install files from build dir.
8833
8834 * manual/install.texi (Configuring and compiling): Adjust since
8835 the info files are not part of the tar ball anymore.
8836
7ac77294
AJ
88372012-05-14 Andreas Jaeger <aj@suse.de>
8838
8839 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8840 variable.
8841
ffb7875d
JM
88422012-05-14 Joseph Myers <joseph@codesourcery.com>
8843
8844 [BZ #13717]
8845 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8846 to 2.2.0 where earlier.
8847 * sysdeps/unix/sysv/linux/configure: Regenerated.
8848 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8849 Remove conditional code.
8850 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8851 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8852 Remove conditional code.
8853 [!__NR_lchown]: Likewise.
8854 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8855 [__NR_lchown]: Likewise.
8856 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8857 comment referencing __ASSUME_LCHOWN_SYSCALL.
8858 * sysdeps/unix/sysv/linux/i386/sigaction.c
8859 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8860 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8861 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8862 Remove conditional code.
8863 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8864 (__protocol_available): Remove #if 0 code.
8865 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8866 conditional code.
8867 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8868 * sysdeps/unix/sysv/linux/kernel-features.h
8869 (__ASSUME_GETCWD_SYSCALL): Don't define.
8870 (__ASSUME_REALTIME_SIGNALS): Likewise.
8871 (__ASSUME_PREAD_SYSCALL): Likewise.
8872 (__ASSUME_PWRITE_SYSCALL): Likewise.
8873 (__ASSUME_POLL_SYSCALL): Likewise.
8874 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8875 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8876 non-SPARC.
8877 (__ASSUME_SIOCGIFNAME): Don't define.
8878 (__ASSUME_MSG_NOSIGNAL): Likewise.
8879 (__ASSUME_SENDFILE): Define unconditionally.
8880 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8881 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8882 conditional code.
8883 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8884 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8885 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8886 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8887 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8888 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8889 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8891 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8894 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8897 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8898 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8903 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8904 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8906 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8907 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8909 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8912 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8914 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8915 Remove conditional code.
8916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8917 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8918 Remove conditional code.
8919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8920 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8921 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8922 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8923 Remove conditional code.
8924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8925 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8926 Remove conditional code.
8927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8928 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8929 Remove conditional code.
8930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8931 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8932 Remove conditional code.
8933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8934 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8935 Remove conditional code.
8936 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8937 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8938 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8939 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8940 * sysdeps/unix/sysv/linux/sigaction.c
8941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8943 * sysdeps/unix/sysv/linux/sigpending.c
8944 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8945 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8946 * sysdeps/unix/sysv/linux/sigprocmask.c
8947 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8948 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8949 * sysdeps/unix/sysv/linux/sigsuspend.c
8950 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8951 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8952 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8953 (__libc_missing_rt_sigs): Remove.
8954 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8955 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8956 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8957 Remove conditional code.
8958 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8959 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8960 return 1.
8961 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8962 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8963 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8964 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8965
1bfb7291
AJ
89662012-05-14 Andreas Jaeger <aj@suse.de>
8967
caae5a81
AJ
8968 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8969 it's not used in glibc.
8970 (__coshm1): Likewise.
8971 (__acosh1p): Likewise.
8972 (__sgn): Likewise.
8973
1bfb7291
AJ
8974 * manual/string.texi (Copying and Concatenation): Add missing
8975 variable in concat example.
8976 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8977
c044d724
L
89782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8979
144c5467 8980 [BZ #14103]
c044d724
L
8981 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8982 __builtin_clzl with __builtin_clzll.
8983
2523c62b
L
89842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8985
8986 [BZ #14104]
8987 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8988 libc_freeres_ptr.
8989
d7bb4c42
LD
89902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8991
8992 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8993 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8994 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8995 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8996
9dc4e1fb
MF
89972012-05-14 Mike Frysinger <vapier@gentoo.org>
8998
8999 * NEWS: Update ia64 info.
9000
c7df0112
AS
90012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9002
9003 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9004 used as bcopy.
9005
dc70356c
TS
90062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9007
9008 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9009 * sysdeps/unix/syscalls.list (dup3): Likewise.
9010 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9011 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9012
9fb1a21f
L
90132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9014
9015 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9016 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9017
4822a2a5
L
90182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9019
9020 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9021 thread pointer.
9022 (TLS_IE): Use mov/add instead of movq/addq to load thread
9023 pointer.
9024 (TLS_GD_PREFIX): New.
9025 (TLS_GD): Use it.
9026
842b81d6
DM
90272012-05-11 David S. Miller <davem@davemloft.net>
9028
9029 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9030 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9031 (_FPU_SETCW): Likewise.
9032
1cf463cd
L
90332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9034
9035 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9036 is 32-byte aligned.
9037
60cc4a18
AS
90382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9039
9040 [BZ #11837]
9041 * iconvdata/gb18030.c: Update tables.
9042 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9043 characters specially.
9044 (BODY for TO_LOOP): Add encoding of missing ranges.
9045
febb44a4
TS
90462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9047
9048 [BZ #13673]
9049 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9050 * sysdeps/mach/hurd/dup3.c: Likewise.
9051 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9052 * sysdeps/powerpc/memmove.c:: Likewise.
9053
0a10fb9e
L
90542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9055
9056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9057 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9058
df8a552f
L
90592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9060
9061 * elf/elf.h (R_X86_64_RELATIVE64): New.
9062 (R_X86_64_NUM): Updated.
9063 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9064 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9065 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9066 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9067 tst-quad1pie tst-quad2pie
9068 (modules-names): Add tst-quadmod1 tst-quadmod2.
9069 ($(objpfx)tst-quad1): New dependency.
9070 ($(objpfx)tst-quad2): Likewise.
9071 ($(objpfx)tst-quad1pie): Likewise.
9072 ($(objpfx)tst-quad2pie): Likewise.
9073 * sysdeps/x86_64/tst-quad1.c: New file.
9074 * sysdeps/x86_64/tst-quad1pie.c: New file.
9075 * sysdeps/x86_64/tst-quad2.c: Likewise.
9076 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9077 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9078 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9079 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9080 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9081
f34d6f84
ST
90822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9083
f42d41d1
ST
9084 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9085 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9086 * streams/stropts.h (t_scalar_t): Define type.
9087
3c3571fc
ST
9088 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9089 (_PATH_PRESERVE): Set to "/var/lib".
9090 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9091
61f06bd3
ST
9092 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9093 instead of int.
9094
918d4d71
ST
9095 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9096 if __dir_mkfile succeeded.
9097
f34d6f84
ST
9098 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9099 checking for _hurd_dtablesize. Unlock it right after having
9100 finished _hurd_dtable allocation.
9101
10589b4a
TS
91022012-05-10 Thomas Schwinge <thomas@schwinge.name>
9103
674cdbc7
TS
9104 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9105 * sysdeps/mach/hurd/configure: Regenerated.
9106 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9107 special-casing to...
9108 * sysdeps/gnu/configure.in: ... this new file.
9109 * sysdeps/unix/sysv/linux/configure: Regenerated.
9110 * sysdeps/gnu/configure: New generated file.
9111
8e41b99f
TS
9112 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9113 for Linux: use nsec instead of usec, as well as:
9114 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9115 members of type struct timespec.
9116 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9117 New macros.
9118 (struct stat64): Likewise.
9119 (_STATBUF_ST_NSEC): New macro.
9120 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9121
10589b4a
TS
9122 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9123 __strtoul_internal rather than strtoul.
9124
63643c85
PT
91252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9126
9127 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9128 and reject them.
9129
3faebe6a
ST
91302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9131
9132 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9133 which preserves existing values.
9134 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9135
c6474b07
PT
91362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9137
9138 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9139 TIMEOUT values. Return EINVAL for NFDS values either negative or
9140 greater than FD_SETSIZE.
9141
1043890b
ST
91422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9143
9144 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9145 allocated, call __vm_protect to finish enabling the existing space, and
9146 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9147 allocate the remainder.
9148
37ed8b9b
PT
91492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9150
9151 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9152 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9153
db653660
ST
91542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9155
37ed8b9b
PT
9156 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9157 sysdeps/mach/hurd/readlink.c.
b29d4053 9158
db653660
ST
9159 * posix/tst-sysconf.c (posix_options): Only use
9160 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9161 _POSIX_SYNCHRONIZED_IO when they are defined
9162 * sysdeps/mach/hurd/bits/posix_opt.h:
9163 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9164 (_XOPEN_REALTIME): Undefine macro.
9165 (_XOPEN_REALTIME_THREADS): Undefine macro.
9166 (_XOPEN_SHM): Undefine macro.
9167 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9168 macro to -1.
9169 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9170 macro to -1.
9171 (_POSIX_ASYNC_IO): Undefine macro.
9172 (_POSIX_PRIORITIZED_IO): Undefine macro.
9173 (_POSIX_SPIN_LOCKS): Define macro to -1.
9174
ee16e894
ST
9175 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9176 SA_NODEFER, SA_RESETHAND.
9177 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9178 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9179 F_DUPFD_CLOEXEC.
9180
6103ae3b
TS
91812012-05-10 Thomas Schwinge <thomas@schwinge.name>
9182
9183 * elf/Makefile (pldd-modules): Define unconditionally.
9184
80b4e5f3
TS
91852012-05-10 Thomas Schwinge <thomas@schwinge.name>
9186
9187 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9188
edadcbd6
ST
91892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9190
9191 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9192 Return ENOENT when name is empty.
9193 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9194
80694780
TS
91952012-05-10 Thomas Schwinge <thomas@schwinge.name>
9196
1792c087
TS
9197 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9198
80694780
TS
9199 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9200
6b645f0d
ST
92012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9202
80694780
TS
9203 Fix mlock in all cases except non-readable pages.
9204 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9205 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9206
6b645f0d
ST
9207 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9208 (__mkdir): When path is `/', just fail with EEXIST.
9209 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9210
e468f8a3
TS
92112012-05-10 Thomas Schwinge <thomas@schwinge.name>
9212
9213 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9214 <sys/uio.h> (for writev).
9215 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9216 and <sys/param.h> (for MIN).
9217
a4186cff
PT
92182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9219
9220 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9221 REQUESTED_TIME. Properly set the remaining time and return EINTR
9222 if interrupted.
9223
510bbf14
TS
92242012-05-10 Thomas Schwinge <thomas@schwinge.name>
9225
9226 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9227 Depend on against $(link-rpcuserlibs).
9228
5d5722e8
ST
92292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9230
a4186cff
PT
9231 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9232 (__libc_stack_end): Do not use attribute_relro.
9233 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9234 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9235 to libthread-provided value.
a4186cff
PT
9236 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9237 attribute_relro.
5d5722e8 9238
37233df9
TS
92392012-05-10 Thomas Schwinge <thomas@schwinge.name>
9240
be971a2b
TS
9241 [BZ #3748]
9242 * bits/libc-lock.h (__libc_once_get): New macro.
9243 * sysdeps/mach/bits/libc-lock.h: Likewise.
9244 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9245 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9246 instead of using implementation details.
9247
37233df9
TS
9248 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9249 * libio/freopen.c: Likewise.
9250 * libio/freopen64.c: Likewise.
9251 * misc/syslog.c: Likewise.
9252 * nscd/connections.c: Likewise.
9253 * nscd/netgroupcache.c: Likewise.
9254 * sysdeps/posix/getcwd.c: Likewise.
9255
38de94a5
RM
92562012-05-10 Roland McGrath <roland@hack.frob.com>
9257
9258 * math/w_ilogbf.c: Add #include <limits.h>.
9259
67530489
ST
92602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9261
a4186cff 9262 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9263 path instead of returning without unlocking.
9264
67530489
ST
9265 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9266 immediate-write ioctls.
9267 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9268
5aa3a74a
TS
92692012-05-10 Thomas Schwinge <thomas@schwinge.name>
9270
18bad2ae
TS
9271 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9272 __builtin_frame_address instead of making assumptions about the
9273 location of the return address relative to DATA. Force early load of
9274 the return address.
9275 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9276 __builtin_frame_address.
9277
5aa3a74a
TS
9278 dup3 for GNU Hurd.
9279 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9280 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9281 implement dup3 and do some further code clean-ups.
9282 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9283 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9284
ecd0de9a
ST
92852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9286
cd9fa985
ST
9287 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9288
a4186cff
PT
9289 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9290 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9291 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9292 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9293 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9294 d->port.lock.
802ca5a5 9295
a4186cff
PT
9296 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9297 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9298 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9299
bcf55240
TS
93002012-05-10 Thomas Schwinge <thomas@schwinge.name>
9301
6960eb42
TS
9302 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9303 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9304 definitions.
9305
eb43375f
TS
9306 accept4 for GNU Hurd.
9307 * include/sys/socket.h (__libc_accept4): New prototype.
9308 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9309 to implement __libc_accept4.
9310 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9311 __libc_accept4.
9312 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9313
bcf55240
TS
9314 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9315 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9316 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9317 signal-defines.sym.
9318
6178c55b
ST
93192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9320
a4186cff 9321 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9322
6f080c2f
TS
93232012-05-10 Thomas Schwinge <thomas@schwinge.name>
9324
9325 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9326 assertion on O_CLOEXEC flag.
9327 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9328 * hurd/intern-fd.c: Likewise.
9329 * hurd/port2fd.c: Likewise.
9330
bcfe3a54
ST
93312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9332
9333 [BZ #3906]
9334 * bits/in.h (IPV6_PKTINFO): Define new macro.
9335 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9336
89c9aa49
AZ
93372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9338
9339 [BZ #13954]
9340 [BZ #13955]
9341 [BZ #13956]
9342 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9344 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9345 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9347 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9348 * math/libm-test.inc (logb_test) : Additional logb tests.
9349
021db4be
AJ
93502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9351 Andreas Jaeger <aj@suse.de>
9352
9353 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9354 * configure: Regenerated.
9355 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9356 * config.make.in (link-obsolete-rpc): New substituted variable.
9357 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9358 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9359 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9360 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9361 so that libc.a contains the symbols.
9362 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9363 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9364 * sunrpc/auth_none.c: Likewise.
9365 * sunrpc/auth_unix.c: Likewise.
9366 * sunrpc/authdes_prot.c: Likewise.
9367 * sunrpc/authuxprot.c: Likewise.
9368 * sunrpc/clnt_gen.c: Likewise.
9369 * sunrpc/clnt_perr.c: Likewise.
9370 * sunrpc/clnt_raw.c: Likewise.
9371 * sunrpc/clnt_simp.c: Likewise.
9372 * sunrpc/clnt_tcp.c: Likewise.
9373 * sunrpc/clnt_udp.c: Likewise.
9374 * sunrpc/clnt_unix.c: Likewise.
9375 * sunrpc/des_crypt.c: Likewise.
9376 * sunrpc/des_soft.c: Likewise.
9377 * sunrpc/get_myaddr.c: Likewise.
9378 * sunrpc/key_call.c: Likewise.
9379 * sunrpc/key_prot.c: Likewise.
9380 * sunrpc/netname.c: Likewise.
9381 * sunrpc/pm_getmaps.c: Likewise.
9382 * sunrpc/pm_getport.c: Likewise.
9383 * sunrpc/pmap_clnt.c: Likewise.
9384 * sunrpc/pmap_prot.c: Likewise.
9385 * sunrpc/pmap_prot2.c: Likewise.
9386 * sunrpc/pmap_rmt.c: Likewise.
9387 * sunrpc/publickey.c: Likewise.
9388 * sunrpc/rpc_cmsg.c: Likewise.
9389 * sunrpc/rpc_common.c: Likewise.
9390 * sunrpc/rpc_dtable.c: Likewise.
9391 * sunrpc/rpc_prot.c: Likewise.
9392 * sunrpc/rpc_thread.c: Likewise.
9393 * sunrpc/rtime.c: Likewise.
9394 * sunrpc/svc.c: Likewise.
9395 * sunrpc/svc_auth.c: Likewise.
9396 * sunrpc/svc_raw.c: Likewise.
9397 * sunrpc/svc_run.c: Likewise.
9398 * sunrpc/svc_tcp.c: Likewise.
9399 * sunrpc/svc_udp.c: Likewise.
9400 * sunrpc/svc_unix.c: Likewise.
9401 * sunrpc/svcauth_des.c: Likewise.
9402 * sunrpc/xcrypt.c: Likewise.
9403 * sunrpc/xdr.c: Likewise.
9404 * sunrpc/xdr_array.c: Likewise.
9405 * sunrpc/xdr_float.c: Likewise.
9406 * sunrpc/xdr_intXX_t.c: Likewise.
9407 * sunrpc/xdr_mem.c: Likewise.
9408 * sunrpc/xdr_rec.c: Likewise.
9409 * sunrpc/xdr_ref.c: Likewise.
9410 * sunrpc/xdr_sizeof.c: Likewise.
9411 * sunrpc/xdr_stdio.c: Likewise.
9412
b5c086a2
RM
94132012-05-10 Roland McGrath <roland@hack.frob.com>
9414
9415 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9416 change. Update copyright years.
9417
6d74dd09
JM
94182012-05-10 Joseph Myers <joseph@codesourcery.com>
9419
9420 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9421
28e72501
MK
94222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9423 Joseph Myers <joseph@codesourcery.com>
9424 Paul Pluzhnikov <ppluzhnikov@google.com>
9425
9426 [BZ #14012]
9427 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9428 requiring rpcgen.
9429 [cross-compiling] (extra-libs): Likewise.
9430 [cross-compiling] (extra-libs-others): Likewise.
9431 [cross-compiling] (librpcsvc-routines): Likewise.
9432 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9433 [cross-compiling] (omit-deps): Likewise.
9434 (sunrpc-CPPFLAGS): New variable.
9435 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9436 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9437 (cross-rpcgen-objs): New variable.
9438 (extra-objs): Append $(cross-rpcgen-objs).
9439 ($(cross-rpcgen-objs)): New rule.
9440 ($(objpfx)cross-rpcgen): Likewise.
9441 (rpcgen-cmd): Define to use $(built-program-file). Expand
9442 comment.
9443 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9444 ($(objpfx)x%.stmp): Likewise.
9445 * sunrpc/proto.h [IS_IN_build] (_): Define.
9446 [IS_IN_build] (_libc_intl_domainname): Likewise.
9447
c8c59454
L
94482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9449
9450 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9451 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9452 and R_X86_64_TPOFF64.
9453
6f27cd16
JM
94542012-05-10 Joseph Myers <joseph@codesourcery.com>
9455
9456 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9457 sysdeps/unix/sysv/syscalls.list.
9458 (stime): Likewise.
9459 (utime): Likewise.
9460 * sysdeps/unix/sysv/syscalls.list: Remove file.
9461
02467e1c
PE
94622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9463
9464 [BZ #3440]
9465 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9466 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9467 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9468 (__LC_IDENTIFICATION): Make these macros useful in #if
9469 expressions, as required by C99.
9470
da392631
AS
94712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9472
9473 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9474 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9475 after this.
9476
8115f29b
L
94772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * stdlib/longlong.h: Updated from GCC.
9480
bdd74070
AJ
94812012-05-09 Andreas Jaeger <aj@suse.de>
9482
edfe0dbe
AJ
9483 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9484 default is first entry.
9485 (run_mode): Set type.
9486 (main): Remove informal message about syslog.
9487 (options): Fix typo.
9488
bcfe3a54
ST
9489 [BZ #14053]
9490 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9491 to asm.
bcfe3a54
ST
9492 (lrint): Likewise.
9493 (llrintf): Likewise.
9494 (llrint): Likewise.
9495 (rint): Likewise.
9496 (rintf): Likewise.
9497 (nearbyint): Likewise.
9498 (nearbyintf): Likewise.
bdd74070 9499
91d8d69e
AJ
95002012-05-09 Andreas Jaeger <aj@suse.de>
9501 Pedro Alves <palves@redhat.com>
9502
9503 * nscd/nscd.c (run_mode): Use enum.
9504 (main): Cleanup coding style issue.
9505
bb90b80b
AJ
95062012-05-09 Alexandre Oliva <aoliva@redhat.com>
9507 Andreas Jaeger <aj@suse.de>
9508
bcfe3a54
ST
9509 * nscd/nscd.c (go_background): Replaced with...
9510 (run_mode): ... this.
bb90b80b 9511 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9512 (options): Add -F --foreground.
9513 (main): Implement it.
9514 (parse_opt): Parse it.
bb90b80b 9515
1a4b75a1
AJ
95162012-05-09 Andreas Jaeger <aj@suse.de>
9517
9518 [BZ #14083]
9519 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9520 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9521 -Wconversion warning.
9522 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9523 Likewise.
9524
b1cc2472
JM
95252012-05-09 Joseph Myers <joseph@codesourcery.com>
9526
9527 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9528 == 0.
9529 (LC_ALL): Use macro-int-constant.
9530 (LC_COLLATE): Likewise.
9531 (LC_CTYPE): Likewise.
9532 (LC_MESSAGES): Likewise.
9533 (LC_MONETARY): Likewise.
9534 (LC_NUMERIC): Likewise.
9535 (LC_TIME): Likewise.
9536 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9537 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9539 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9540 Specify type.
9541 [C99-based standards] (float_t): Expect type.
9542 [C99-based standards] (double_t): Expect type.
9543 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9544 type.
9545 [C99-based standards] (HUGE_VALL): Likewise.
9546 [C99-based standards] (INFINITY): Likewise.
9547 [C99-based standards] (NAN): Likewise.
9548 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9549 [C99-based standards] (FP_NAN): Likewise.
9550 [C99-based standards] (FP_NORMAL): Likewise.
9551 [C99-based standards] (FP_SUBNORMAL): Likewise.
9552 [C99-based standards] (FP_ZERO): Likewise.
9553 [C99-based standards] (FP_FAST_FMA): Use
9554 optional-macro-int-constant. Specify type. Require == 1.
9555 [C99-based standards] (FP_FAST_FMAF): Likewise.
9556 [C99-based standards] (FP_FAST_FMAL): Likewise.
9557 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9558 [C99-based standards] (FP_ILOGBNAN): Likewise.
9559 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9560 Specify type.
9561 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9562 [C99-based standards] (math_errhandling): Specify type.
9563 [ISO99 || ISO11] (signgam): Do not allow.
9564 [non-C99-based standards] (copysignf): Do not allow.
9565 [non-C99-based standards] (exp2f): Likewise.
9566 [non-C99-based standards] (log2f): Likewise.
9567 [non-C99-based standards] (modff): Allow.
9568 [non-C99-based standards] (erff): Do not allow.
9569 [non-C99-based standards] (erfcf): Likewise.
9570 [non-C99-based standards] (gammaf): Likewise.
9571 [non-C99-based standards] (hypotf): Likewise.
9572 [non-C99-based standards] (j0f): Likewise.
9573 [non-C99-based standards] (j1f): Likewise.
9574 [non-C99-based standards] (jnf): Likewise.
9575 [non-C99-based standards] (lgammaf): Likewise.
9576 [non-C99-based standards] (tgammaf): Likewise.
9577 [non-C99-based standards] (y0f): Likewise.
9578 [non-C99-based standards] (y1f): Likewise.
9579 [non-C99-based standards] (ynf): Likewise.
9580 [non-C99-based standards] (isnanf): Likewise.
9581 [non-C99-based standards] (acoshf): Likewise.
9582 [non-C99-based standards] (asinhf): Likewise.
9583 [non-C99-based standards] (atanhf): Likewise.
9584 [non-C99-based standards] (cbrtf): Likewise.
9585 [non-C99-based standards] (expm1f): Likewise.
9586 [non-C99-based standards] (ilogbf): Likewise.
9587 [non-C99-based standards] (log1pf): Likewise.
9588 [non-C99-based standards] (logbf): Likewise.
9589 [non-C99-based standards] (nextafterf): Likewise.
9590 [non-C99-based standards] (remainderf): Likewise.
9591 [non-C99-based standards] (rintf): Likewise.
9592 [non-C99-based standards] (scalbf): Likewise.
9593 [non-C99-based standards] (copysignl): Likewise.
9594 [non-C99-based standards] (exp2l): Likewise.
9595 [non-C99-based standards] (log2l): Likewise.
9596 [non-C99-based standards] (modfl): Allow.
9597 [non-C99-based standards] (erfl): Do not allow.
9598 [non-C99-based standards] (erfcl): Likewise.
9599 [non-C99-based standards] (gammal): Likewise.
9600 [non-C99-based standards] (hypotl): Likewise.
9601 [non-C99-based standards] (j0l): Likewise.
9602 [non-C99-based standards] (j1l): Likewise.
9603 [non-C99-based standards] (jnl): Likewise.
9604 [non-C99-based standards] (lgammal): Likewise.
9605 [non-C99-based standards] (tgammal): Likewise.
9606 [non-C99-based standards] (y0l): Likewise.
9607 [non-C99-based standards] (y1l): Likewise.
9608 [non-C99-based standards] (ynl): Likewise.
9609 [non-C99-based standards] (isnanl): Likewise.
9610 [non-C99-based standards] (acoshl): Likewise.
9611 [non-C99-based standards] (asinhl): Likewise.
9612 [non-C99-based standards] (atanhl): Likewise.
9613 [non-C99-based standards] (cbrtl): Likewise.
9614 [non-C99-based standards] (expm1l): Likewise.
9615 [non-C99-based standards] (ilogbl): Likewise.
9616 [non-C99-based standards] (log1pl): Likewise.
9617 [non-C99-based standards] (logbl): Likewise.
9618 [non-C99-based standards] (nextafterl): Likewise.
9619 [non-C99-based standards] (remainderl): Likewise.
9620 [non-C99-based standards] (rintl): Likewise.
9621 [non-C99-based standards] (scalbl): Likewise.
9622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9623 [non-C99-based standards] (FP_*): Do not allow.
9624 [C99-based standards] (FP_*): Change to
9625 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9626 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9627 allow.
9628 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9629 (SIG_ERR): Likewise.
9630 [X/Open-based standards] (SIG_HOLD): Likewise.
9631 (SIG_IGN): Likewise.
9632 (SIGABRT): Use macro-int-constant. Specify type. Require
9633 positive value.
9634 (SIGFPE): Likewise.
9635 (SIGILL): Likewise.
9636 (SIGINT): Likewise.
9637 (SIGSEGV): Likewise.
9638 (SIGTER): Likewise.
9639 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9640 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9641 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9642 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9643 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9644 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9645 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9646 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9647 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9648 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9649 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9650 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9651 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9652 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9653 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9654 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9655 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9656 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9657 [X/Open-based standards] (SIGTRAP): Likewise.
9658 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9659 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9660 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9661 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9662 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9663 allow.
9664
b9f1922d
IW
96652012-05-08 Ian Wienand <ianw@vmware.com>
9666
9667 [BZ #14080]
9668 * time/tzset.c (__tzset_parse_tz): Update default rules for
9669 daylight time changes in the Energy Policy Act of 2005.
9670
1db86e88
AJ
96712012-05-09 Andreas Jaeger <aj@suse.de>
9672
9673 [BZ #13983]
9674 * elf/ldconfig.c (parse_conf): Change string to make clear that
9675 ldconfig only issued a warning if ld.so.conf does not exist.
9676
dee4a4e3
DM
96772012-05-08 David S. Miller <davem@davemloft.net>
9678
ee0db190
DM
9679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9680 movxtod instead of popping the value on the stack.
9681
dee4a4e3
DM
9682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9683
6a43ec98
CD
96842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9685
9686 * config.h.in: Add HAVE_ARM_PCS_VFP.
9687
05c2c961
RMG
96882012-05-08 Roland Mc Grath <roland@hack.frob.com>
9689
bcfe3a54
ST
9690 [BZ #13979]
9691 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9692 checking but the checks are disabled for any reason.
05c2c961 9693
4b30f61a
L
96942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9695
9696 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9697 and ELF64_R_TYPE with ELFW(R_TYPE).
9698
eee2bc67
JM
96992012-05-08 Joseph Myers <joseph@codesourcery.com>
9700
7ea5391a
JM
9701 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9702 (ulimit): Likewise.
9703
eee2bc67
JM
9704 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9705 (settimeofday): Likewise.
9706
abb66a67
MF
97072012-05-08 Mike Frysinger <vapier@gentoo.org>
9708
9709 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9710 a struct th_u2 inside the union, and move tu_block/tu_code into
9711 a new th_u3 union of tu_block/tu_code inside of that. Move
9712 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9713 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9714 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9715 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9716 (th_stuff): Change to th_u1.tu_stuff.
9717 (th_data): Define.
9718 (th_msg): Change to th_u1.th_u2.tu_data.
9719
7f18b530
DM
97202012-05-07 David S. Miller <davem@davemloft.net>
9721
05760585
DM
9722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9723
7f18b530
DM
9724 [BZ #14074]
9725 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9726 (SETUP_PIC_REG): Use it.
9727 (SETUP_PIC_REG_LEAF): Use it.
9728
495fd99f
JM
97292012-05-07 Joseph Myers <joseph@codesourcery.com>
9730
9731 [BZ #13885]
9732 [BZ #13923]
9733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9734 USE_AS_EXPM1L.
9735 (EXPL_FINITE): Likewise.
9736 (FLDLOG): Likewise.
9737 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9738 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9739 e_expl.S.
9740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9741 USE_AS_EXPM1L.
9742 (EXPL_FINITE): Likewise.
9743 (FLDLOG): Likewise.
9744 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9745 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9746 e_expl.S.
9747 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9748 test of -max_value argument for long double.
9749 * sysdeps/i386/fpu/libm-test-ulps: Update.
9750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9751
6693d694
DM
97522012-05-06 David S. Miller <davem@davemloft.net>
9753
9754 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9755 quad soft-float symbols whose references which are compiler
9756 generated.
9757 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9758
6c23e11c
JM
97592012-05-06 Joseph Myers <joseph@codesourcery.com>
9760
d8b82cad
JM
9761 [BZ #13884]
9762 [BZ #13914]
9763 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9764 USE_AS_EXP10L.
9765 (EXPL_FINITE): Likewise.
9766 (FLDLOG): Likewise.
9767 (c0): Likewise.
9768 (c1): Likewise.
9769 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9770 Adjust comments for base varying.
9771 (__expl_finite): Change alias to EXPL_FINITE.
9772 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9773 e_expl.S.
9774 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9775 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9777 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9778 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9779 USE_AS_EXP10L.
9780 (EXPL_FINITE): Likewise.
9781 (FLDLOG): Likewise.
9782 (c0): Likewise.
9783 (c1): Likewise.
9784 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9785 Adjust comments for base varying.
9786 (__expl_finite): Change alias to EXPL_FINITE.
9787 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9788 tests for bugs.
9789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9790
6c23e11c
JM
9791 [BZ #14064]
9792 * math/libm-test.inc (check_float_internal): Correct ulp
9793 calculation for subnormal expected results.
9794
29ba805c
AJ
97952012-05-06 Andreas Jaeger <aj@suse.de>
9796
9797 * Makeconfig (+math-flags): New, set to -frounding-math.
9798 (+cflags): Add +math-flags so that all of glibc gets compiled with
9799 it.
9800
9801 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9802
7b17aeda
JM
98032012-05-05 Joseph Myers <joseph@codesourcery.com>
9804
5779f134
JM
9805 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9806 Disable one test.
9807
41498f4d
JM
9808 [BZ #13787]
9809 [BZ #13922]
9810 [BZ #14036]
9811 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9812 (__ieee754_expl): Allow for and saturate large arguments.
9813 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9814 (u_threshold): Likewise.
9815 (__exp): Call __ieee754_exp before checking for overflow and
9816 underflow.
9817 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9818 (u_threshold): Likewise.
9819 (__expf): Call __ieee754_expf before checking for overflow and
9820 underflow.
9821 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9822 (u_threshold): Likewise.
9823 (__expl): Call __ieee754_expl before checking for overflow and
9824 underflow.
9825 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9826 (__ieee754_expl): Allow for and saturate large arguments.
9827 * math/libm-test.inc (exp_test): Add another test. Do not allow
9828 missing overflow exception on overflow.
9829 (expm1_test): Do not allow missing overflow exception on overflow.
9830
6698b8bf
JM
9831 * sysdeps/i386/fpu/e_expl.c: Move to ...
9832 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9833 rather than using inline asm.
9834 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9835 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9836 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9837
7b17aeda
JM
9838 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9839 (nice): Likewise.
9840 (poll): Likewise.
9841 (signal): Likewise.
9842 (time): Likewise.
9843 (times): Likewise.
9844
f7c85819
JM
98452012-05-04 Joseph Myers <joseph@codesourcery.com>
9846
9847 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9848 sysdeps/unix/common/syscalls.list.
9849 (fchmod): Likewise.
9850 (fchown): Likewise.
9851 (ftruncate): Likewise.
9852 (getrusage): Likewise.
9853 (gettimeofday): Likewise.
9854 (setpgid): Likewise.
9855 (setregid): Likewise.
9856 (setreuid): Likewise.
9857 (sigaction): Likewise.
9858 (truncate): Likewise.
9859 (vhangup): Likewise.
9860 * sysdeps/unix/common/syscalls.list: Remove file.
9861 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9862 * sysdeps/unix/sysv/linux/Implies: Likewise.
9863
336270d0
L
98642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9865
9866 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9868 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9869 Moved to ...
9870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9871 Here.
9872 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9873 to ...
9874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9875 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9876 to ...
9877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9878 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9879 to ...
9880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9881 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9882 to ...
9883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9884 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9885 to ...
9886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9887 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9888 to ...
9889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9890 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9891 to ...
9892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9893 Here.
9894 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9895 to ...
9896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9897 Here.
9898 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9899 to ...
9900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9901 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9902 Moved to ...
9903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9904 Here.
9905 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9906 to ...
9907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9908
d128e450
JM
99092012-05-04 Joseph Myers <joseph@codesourcery.com>
9910
fa8ee516
JM
9911 * sysdeps/unix/common/bits/dirent.h: Remove file.
9912 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9913
d128e450
JM
9914 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9915 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9916 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9917 * sysdeps/unix/bsd/isatty.c: Likewise.
9918 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9919 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9920 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9921
ff8faaf0 99222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9923
62881be4 9924 [BZ #13563]
31dc8730
AZ
9925 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9926 long double comparison inaccuracies.
9927 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9929
6fef930c
AS
99302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9931
9932 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9933 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9934
8f203e6c
JM
99352012-05-04 Joseph Myers <joseph@codesourcery.com>
9936
9937 [BZ #14049]
9938 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9939 nonzero digits before rounding a hex value.
9940 * stdlib/tst-strtod.c (tests): Add another test.
9941
5197d9c2
AK
99422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9943
9944 * sysdeps/s390/fpu/libm-test-ulps: Update.
9945
f0c1dedf
AJ
99462012-05-03 Andreas Jaeger <aj@suse.de>
9947
9948 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9949 does not get optimized out.
9950 (malloc_opt_barrier): New.
9951
a65ef2ae 99522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9953 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9954
2b942cb7 9955 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9956 intermediate file deletion.
2b942cb7 9957 (generated): Add .symlist files.
a65ef2ae 9958
54b71e02
JM
99592012-05-03 Joseph Myers <joseph@codesourcery.com>
9960
9961 [BZ #13775]
9962 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9963 Redirect under this condition.
9964 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9965 [__USE_GNU] (__dprintf_chk): Not under this condition.
9966 [__USE_GNU] (__vdprintf_chk): Likewise.
9967 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9968 under this condition.
9969 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9970 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9971 [__USE_XOPEN2K8] (vdprintf): Likewise.
9972 [__USE_GNU] (__dprintf_chk): Not under this condition.
9973 [__USE_GNU] (__vdprintf_chk): Likewise.
9974 [__USE_GNU] (dprintf): Likewise.
9975 [__USE_GNU] (vdprintf): Likewise.
9976
d3dfcc41
RM
99772012-05-03 Roland McGrath <roland@hack.frob.com>
9978
9979 * elf/Makefile (common-generated): Set this instead of generated for
9980 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9981 $(all-built-dso)-derived lists.
9982
7ac30cc5
AJ
99832012-05-03 Andreas Jaeger <aj@suse.de>
9984
0c51e550
AJ
9985 * sysdeps/i386/fpu/libm-test-ulps: Update.
9986
7ac30cc5
AJ
9987 * FAQ: Removed.
9988 * FAQ.in: Likewise.
9989 * scripts/gen-FAQ.pl: Likewise.
9990 * manual/install.texi (Installation): Point to online location of
9991 FAQ.
9992 * Makefile (files-for-dist): Remove FAQ.
9993 (FAQ): Remove.
9994
d4c2917f
AM
99952012-05-02 Allan McRae <allan@archlinux.org>
9996
9997 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9998 (LDFLAGS-reldepmod5.so): Likewise.
9999 (LDFLAGS-reldep6mod1.so): Likewise.
10000 (LDFLAGS-reldep6mod4.so): Likewise.
10001 (LDFLAGS-reldep8mod3.so): Likewise.
10002 (LDFLAGS-unload4mod1.so): Likewise.
10003 (LDFLAGS-unload4mod2.so): Likewise.
10004 (LDFLAGS-tst-initorder): Likewise.
10005 (LDFLAGS-tst-initordera2.so): Likewise.
10006 (LDFLAGS-tst-initordera3.so): Likewise.
10007 (LDFLAGS-tst-initordera4.so): Likewise.
10008 (LDFLAGS-tst-initorderb2.so): Likewise.
10009 (LDFLAGS-noload): Likewise.
10010 (LDFLAGS-next): Likewise.
10011 (LDFLAGS-order2mod1.so): Likewise.
10012 (LDFLAGS-order2mod2.so): Likewise.
10013 (LDFLAGS-tst-initorder2): Likewise.
10014 (LDFLAGS-tst-initorder2a.so): Likewise.
10015 (LDFLAGS-tst-initorder2b.so): Likewise.
10016 (LDFLAGS-tst-initorder2c.so): Likewise.
10017 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10018
d77f993f
DM
100192012-05-02 David S. Miller <davem@davemloft.net>
10020
10021 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10022
171a70b4
PP
100232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10024
10025 [BZ #14055]
10026 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10027
0be196ad
AJ
100282012-05-02 Andreas Jaeger <aj@suse.de>
10029
10030 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10031 since we manipulate rounding mode.
10032 (CPPFLAGS-test-idouble.c): Likewise.
10033 (CPPFLAGS-test-ifloat.c): Likewise.
10034 (CFLAGS-test-ldouble.c): Likewise.
10035 (CFLAGS-test-double.c): Likewise.
10036 (CFLAGS-test-float.c): Likewise.
10037 (CFLAGS-test-misc.c): Likewise.
10038 (CFLAGS-test-test-fenv.c): Likewise.
10039
4f9d04aa
AZ
100402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10041
2b942cb7
RM
10042 [BZ #2550]
10043 [BZ #2570]
10044 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10045 comparisons to determine direction to adjust input.
4f9d04aa 10046
82a79e7d
RM
100472012-05-01 Roland McGrath <roland@hack.frob.com>
10048
f5a01ca9
RM
10049 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10050 output to the target.
10051
90fe4186
RM
10052 * scripts/localplt.awk: New file.
10053 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10054 (check-localplt-CFLAGS): Variable removed.
10055 ($(all-built-dso:=.jmprel)): New static pattern rule.
10056 (generated): Add those targets.
10057 (localplt-built-dso): New variable.
10058 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10059
10060 * elf/check-localplt.c: File removed.
10061
82397ed6
RM
10062 * scripts/check-execstack.awk: New file.
10063 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10064 (check-execstack-CFLAGS): Variable removed.
10065 ($(objpfx)check-execstack.h): Target removed.
10066 ($(objpfx)execstack-default): New target.
10067 (generated): Add that instead of check-execstack.h.
10068 ($(all-built-dso:=.phdr)): New static pattern rule.
10069 (generated): Add those targets.
10070 * elf/check-execstack.c: File removed.
10071
82a79e7d
RM
10072 * scripts/check-textrel.awk: New file.
10073 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10074 (check-textrel-CFLAGS): Variable removed.
10075 (all-built-dso): Use := to define.o
10076 ($(all-built-dso:=.dyn)): New static pattern rule.
10077 (generated): Add those targets.
10078 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10079 * config.make.in (READELF): New substituted variable.
10080 * elf/check-textrel.c: File removed.
10081
62fde54f 100822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10083
615605c9
JM
10084 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10085 allow.
10086 * conform/data/ctype.h-data [C99-based standards] (isblank):
10087 Expect function.
10088 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10089 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10090 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10091 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10092 Specify type. Require positive value.
10093 (EILSEQ): Likewise.
10094 (ERANGE): Likewise.
10095 [ISO || POSIX] (EILSEQ): Do not expect.
10096 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10097 Specify type. Require positive value.
10098 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10099 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10100 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10101 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10102 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10103 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10104 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10105 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10106 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10107 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10108 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10109 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10110 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10111 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10112 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10113 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10114 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10115 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10116 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10117 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10118 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10119 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10120 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10121 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10122 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10123 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10124 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10125 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10126 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10127 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10128 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10129 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10130 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10131 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10132 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10133 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10135 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10136 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10137 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10138 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10140 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10141 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10150 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10152 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10157 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10158 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10159 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10160 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10161 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10162 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10163 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10164 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10165 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10166 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10167 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10168 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10169 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10170 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10171 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10172 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10173 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10174 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10175 Require >= 2.
10176 (FLT_ROUNDS): Expect as macro, not constant.
10177 (FLT_MANT_DIG): Use macro-int-constant.
10178 (DBL_MANT_DIG): Likewise.
10179 (LDBL_MANT_DIG): Likewise.
10180 (FLT_DIG): Likewise.
10181 (DBL_DIG): Likewise.
10182 (LDBL_DIG): Likewise.
10183 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10184 (DBL_MIN_EXP): Likewise.
10185 (LDBL_MIN_EXP): Likewise.
10186 (FLT_MAX_EXP): Use macro-int-constant.
10187 (DBL_MAX_EXP): Likewise.
10188 (LDBL_MAX_EXP): Likewise.
10189 (FLT_MAX_10_EXP): Likewise.
10190 (DBL_MAX_10_EXP): Likewise.
10191 (LDBL_MAX_10_EXP): Likewise.
10192 (FLT_MAX): Use macro-constant.
10193 (DBL_MAX): Likewise.
10194 (LDBL_MAX): Likewise.
10195 (FLT_EPSILON): Use macro-constant. Give upper bound.
10196 (DBL_EPSILON): Likewise.
10197 (LDBL_EPSILON): Likewise.
10198 (FLT_MIN): Likewise.
10199 (DBL_MIN): Likewise.
10200 (LDBL_MIN): Likewise.
10201 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10202 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10203 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10204 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10205 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10206 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10207 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10208 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10209 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10210 [ISO11] (FLT_TRUE_MIN): Likewise.
10211 [ISO11] (LDBL_TRUE_MIN): Likewise.
10212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10213 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10214 (SCHAR_MIN): Use macro-int-constant. Specify type.
10215 (SCHAR_MAX): Likewise.
10216 (UCHAR_MAX): Likewise.
10217 (CHAR_MIN): Likewise.
10218 (CHAR_MAX): Likewise.
10219 (MB_LEN_MAX): Use macro-int-constant.
10220 (SHRT_MIN): Use macro-int-constant. Specify type.
10221 (SHRT_MAX): Likewise.
10222 (USHRT_MAX): Likewise.
10223 (INT_MAX): Likewise.
10224 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10225 bound negative.
10226 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10227 bound with "U".
10228 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10229 bound with "L".
10230 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10231 bound negative. Suffix upper bound with "L".
10232 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10233 bound with "UL".
10234 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10235 Specify type.
10236 [C99-based standards] (LLONG_MAX): Likewise.
10237 [C99-based standards] (ULLONG_MAX): Likewise.
10238 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10239 == 0.
10240 [ISO11] (max_align_t): Require type.
10241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10242
c9140a62
JM
10243 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10244 from $CFLAGS, without defining away __attribute__ calls.
10245 (checknamespace): Use $CFLAGS_namespace.
10246
9af0bf29
JM
10247 * conform/conformtest.pl (@keywords): Only include C99 keywords
10248 for standards based on C99 or C11.
10249
343222a2
JM
10250 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10251 Disable tests.
10252 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10253 UNIX98]: Likewise.
10254
661f8cf0
JM
10255 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10256 usability of symbols in #if.
10257
ee74b9cb
JM
10258 * conform/conformtest.pl: If macro or constant types start
10259 "promoted:", expect the symbol to be of the following type
10260 promoted by the integer promotions.
62fde54f 10261
aafc49b3
JM
10262 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10263 in one place. Also handle "macro-constant".
10264
fefdf574
JM
10265 * conform/conformtest.pl: Only accept expected macro values with
10266 "==". Parse all "macro" lines in one place.
10267 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10268
f2d922fe
JM
10269 * conform/conformtest.pl: Handle braced types on "constant" lines
10270 instead of handling "typed-constant".
10271 * conform/data/signal.h-data: Use "constant" instead of
10272 "typed-constant".
10273
d22956c9
JM
10274 * conform/conformtest.pl: Handle "optional-" at start of lines in
10275 one place rather than duplicating several cases. Handle each
10276 format of "macro" line with initial "optional-".
10277
028e2e38
JM
10278 * conform/conformtest.pl: Only accept expected constant or
10279 optional-constant values with "==". Parse all "constant" lines in
10280 one place. Parse all "optional-constant" lines in one place.
10281 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10282 * conform/data/fmtmsg.h-data: Likewise.
10283 * conform/data/netinet/in.h-data: Likewise.
10284 * conform/data/tar.h-data: Likewise.
10285 * conform/data/limits.h-data: Use "==" form on "constant" and
10286 "optional-constant" lines.
10287
1b8f2850
JM
10288 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10289 Use -std=c99 for XOPEN2K.
10290 (@knownproblems): Remove.
10291 (newtoken): Don't check %isknown.
10292
a05a144b
JM
10293 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10294 Do not expect macro.
10295 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10298 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10299 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10307 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10308 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10309 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10325 [XPG3] (acosh): Likewise.
10326 [XPG3] (asinh): Likewise.
10327 [XPG3] (atanh): Likewise.
10328 [XPG3] (cbrt): Likewise.
10329 [XPG3] (expm1): Likewise.
10330 [XPG3] (ilogb): Likewise.
10331 [XPG3] (log1p): Likewise.
10332 [XPG3] (logb): Likewise.
10333 [XPG3] (nextafter): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10336 [XPG3] (remainder): Likewise.
10337 [XPG3] (rint): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10345 [UNIX98 || XOPEN2K] (scalb): Expect.
10346 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10347 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10445 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10446 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10447 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10448 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10449 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10450 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10451 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10452 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10453 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10454 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10455 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10456 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10457 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10458 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10459 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10460 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10461 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10462 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10463 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10464 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10465 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10466 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10467 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10468 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10469 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10470 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10471 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10472 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10473 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10474 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10475 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10476 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10477 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10478 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10479 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10480 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10481 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10482 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10483
73c5ebe3
JM
10484 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10485 _XOPEN_SOURCE_EXTENDED for XPG4.
10486
39c33b6c
JM
10487 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10488
62fde54f
JM
10489 * Makeconfig (localtime): Remove variable.
10490 (inst_localtime-file): Likewise.
10491
0741d64c
AS
104922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10493
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10495 Update.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10497 Update.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10499 Update.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10501 Update.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10503 Update.
10504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10505 Update.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10507 Update.
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10509 Update.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10511 Update.
10512
7cb029ee
JM
105132012-05-01 Joseph Myers <joseph@codesourcery.com>
10514
10515 [BZ #2550]
10516 [BZ #2570]
10517 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10518 comparisons to determine direction to adjust input.
10519 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10520 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10522 Likewise.
10523 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10524 Likewise.
10525 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10526 Likewise.
10527 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10528 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10529 Likewise.
10530 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10531 Likewise.
10532 * math/libm-test.inc (nexttoward_test): Add more tests.
10533
412bd966
AS
105342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10535
10536 [BZ #14040]
10537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10538 in version GLIBC_2.1, not GLIBC_2.0.
10539 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10540 Likewise.
10541
9568c0c2
JM
105422012-04-30 Joseph Myers <joseph@codesourcery.com>
10543
adfbc8ac
JM
10544 [BZ #13942]
10545 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10546 (1 - x) * (1 + x).
10547 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10548 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10549 * math/libm-test.inc (acos_test): Add more tests.
10550 (asin_test): Likewise.
10551 * sysdeps/i386/fpu/libm-test-ulps: Update.
10552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10553
5ba3cc69
JM
10554 [BZ #14034]
10555 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10556 of square root.
10557 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10558 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10559 * math/libm-test.inc (acos_test_tonearest): New function.
10560 (acos_test_towardzero): Likewise.
10561 (acos_test_downward): Likewise.
10562 (acos_test_upward): Likewise.
10563 (asin_test_tonearest): Likewise.
10564 (asin_test_towardzero): Likewise.
10565 (asin_test_downward): Likewise.
10566 (asin_test_upward): Likewise.
10567 (main): Call the new functions.
10568 * sysdeps/i386/fpu/libm-test-ulps: Update.
10569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10570
9568c0c2
JM
10571 [BZ #13884]
10572 [BZ #13924]
10573 * math/e_exp10.c: Include <float.h>.
10574 (__ieee754_exp10): Handle underflow here rather than multiplying
10575 large negative argument by M_LN10.
10576 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10577 of __ieee754_expf.
10578 * math/e_exp10l.c: Include <float.h>.
10579 (__ieee754_exp10l): Handle underflow here rather than multiplying
10580 large negative argument by M_LN10l.
10581 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10582 spurious overflow exception on underflow.
10583
5ac3ea17
MP
105842012-04-29 Marek Polacek <polacek@redhat.com>
10585
10586 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10587 (__fortify_function): New macro.
10588 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10589 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10590 __extern_always_inline.
10591 * libio/bits/stdio2.h: Likewise.
10592 * libio/bits/stdio.h: Likewise.
10593 * string/string.h: Likewise.
10594 * string/bits/string3.h: Likewise.
10595 * include/stdio.h: Likewise.
10596 * stdlib/bits/stdlib.h: Likewise.
10597 * stdlib/stdlib.h: Likewise.
10598 * rt/bits/mqueue2.h: Likewise.
10599 * rt/mqueue.h: Likewise.
10600 * posix/bits/unistd.h: Likewise.
10601 * posix/unistd.h: Likewise.
10602 * io/bits/poll2.h: Likewise.
10603 * io/bits/fcntl2.h: Likewise.
10604 * io/fcntl.h: Likewise.
10605 * io/sys/poll.h: Likewise.
10606 * misc/bits/syslog.h: Likewise.
10607 * misc/bits/syslog-ldbl.h: Likewise.
10608 * misc/sys/syslog.h: Likewise.
10609 * socket/bits/socket2.h: Likewise.
10610 * socket/sys/socket.h: Likewise.
10611 * debug/tst-chk1.c: Likewise.
10612 * wcsmbs/bits/wchar2.h: Likewise.
10613 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10614 * wcsmbs/wchar.h: Likewise.
10615
ecf0ebfb
AJ
106162012-04-29 Andreas Jaeger <aj@suse.de>
10617
10618 * Makerules (tests): Remove enable-check-abi protection.
10619 (check-abi-warn): Remove.
10620 (check-abi-%): Remove check-abi-warn usage.
10621
10622 * configure.in: Remove check-abi configure option.
10623 * configure: Regenerated.
10624 * config.make.in (enable-check-abi): Remove.
10625
6d5c57fa
AS
106262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10627
24c5d07e 10628 [BZ #14033]
ded5180a
AS
10629 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10630 double functions to double *_finite functions.
10631
7e0d315d
AS
10632 [BZ #13941]
10633 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10634 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10635 LDBL_MIN_EXP.
10636 * stdio-common/Makefile (tests): Add tst-sprintf3.
10637 * stdio-common/tst-sprintf3.c: New file.
10638
6d5c57fa
AS
10639 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10640 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10641
0749ff8b
JM
106422012-04-28 Joseph Myers <joseph@codesourcery.com>
10643
10644 * conform/conformtest.pl: Remove duplicate typed-constant
10645 handling.
10646
8dbd5d7b
DM
106472012-04-28 David S. Miller <davem@davemloft.net>
10648
10649 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10650 (check-abi-%): Remove AWK script prerequisite and explicit
10651 abilist directory.
10652 (check-abi): Rewrite to just diff the symlist with the abilist.
10653 (config-tls, config-abi-config): Delete, no longer used.
10654 (update-abi-%): Remove AWK script and explicit abilist directory.
10655 (update-abi): Rewrite to simply compare and conditionally copy the
10656 symlist and the sysdep abilist file. Remove update-abi-config
10657 checks.
10658 * abilist/ld.abilist: Remove.
10659 * abilist/libBrokenLocale.abilist: Remove.
10660 * abilist/libanl.abilist: Remove.
10661 * abilist/libcrypt.abilist: Remove.
10662 * abilist/libdl.abilist: Remove.
10663 * abilist/librt.abilist: Remove.
10664 * abilist/libthread_db.abilist: Remove.
10665 * abilist/libutil.abilist: Remove.
10666 * scripts/extract-abilist.awk: Remove.
10667 * scripts/merge-abilist.awk: Remove.
10668 * sysdeps/generic/libcidn.abilist: New file.
10669 * sysdeps/generic/libnss_compat.abilist: New file.
10670 * sysdeps/generic/libnss_db.abilist: New file.
10671 * sysdeps/generic/libnss_dns.abilist: New file.
10672 * sysdeps/generic/libnss_files.abilist: New file.
10673 * sysdeps/generic/libnss_hesiod.abilist: New file.
10674 * sysdeps/generic/libnss_nis.abilist: New file.
10675 * sysdeps/generic/libnss_nisplus.abilist: New file.
10676 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10677 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10678 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10679 file.
10680 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10681 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10682 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10683 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10684 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10685 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10686 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10687 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10688 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10689 file.
10690 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10691 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10693 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10694 file.
10695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10696 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10698 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10699 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10700 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10701 file.
10702 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10703 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10704 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10705 file.
10706 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10708 New file.
10709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10710 New file.
10711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10712 New file.
10713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10714 New file.
10715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10716 New file.
10717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10718 New file.
10719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10720 New file.
10721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10722 New file.
10723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10724 New file.
10725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10726 New file.
10727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10728 New file.
10729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10730 New file.
10731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10732 New file.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10734 file.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10736 New file.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10738 New file.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10740 file.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10742 New file.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10744 New file.
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10746 file.
10747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10748 New file.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10750 New file.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10752 New file.
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10754 New file.
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10756 New file.
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10758 New file.
10759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10761 file.
10762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10763 New file.
10764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10765 file.
10766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10767 file.
10768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10769 file.
10770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10771 file.
10772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10773 file.
10774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10775 New file.
10776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10777 file.
10778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10779 file.
10780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10781 New file.
10782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10783 file.
10784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10786 file.
10787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10788 New file.
10789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10790 file.
10791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10792 file.
10793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10794 file.
10795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10796 file.
10797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10798 file.
10799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10800 New file.
10801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10802 file.
10803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10804 file.
10805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10806 New file.
10807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10808 file.
10809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10810 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10811 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10812 file.
10813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10814 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10815 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10816 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10817 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10818 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10819 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10821 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10822 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10825 file.
10826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10827 New file.
10828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10829 file.
10830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10831 file.
10832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10833 file.
10834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10835 file.
10836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10837 file.
10838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10839 New file.
10840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10841 New file.
10842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10843 file.
10844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10845 New file.
10846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10847 file.
10848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10850 file.
10851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10852 New file.
10853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10854 file.
10855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10856 file.
10857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10858 file.
10859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10860 file.
10861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10862 file.
10863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10864 New file.
10865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10866 New file.
10867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10868 file.
10869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10870 New file.
10871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10872 file.
10873
41d73a1b
JM
108742012-04-28 Joseph Myers <joseph@codesourcery.com>
10875
10876 * conform/conformtest.pl: Fix typo in handling typed-constant from
10877 allow-header.
10878
28aeeda4
JM
108792012-04-27 Joseph Myers <joseph@codesourcery.com>
10880
adae8f5e
JM
10881 * README: Cut down references to pre-2.6 Linux kernels and
10882 Linuxthreads. Update lists of configurations in libc and ports
10883 and sort alphabetically. Say "or newer" with Linux kernel version
10884 requirements.
10885
28aeeda4
JM
10886 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10887
a462cb63
RA
108882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10889
10890 [BZ #887]
10891 * math/libm-test.inc (logb_test_downward): New test to expose
10892 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10893 rounding mode.
10894
6ad3493e
JM
108952012-04-27 Joseph Myers <joseph@codesourcery.com>
10896
10897 [BZ #14027]
10898 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10899 to be done.
10900 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10901 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10902
2ce4f015
JM
109032012-04-26 Joseph Myers <joseph@codesourcery.com>
10904
5aeb141a
JM
10905 * sysdeps/unix/i386/brk.S: Remove file.
10906 * sysdeps/unix/i386/dl-brk.S: Likewise.
10907 * sysdeps/unix/i386/pipe.S: Likewise.
10908 * sysdeps/unix/i386/sigreturn.S: Likewise.
10909 * sysdeps/unix/i386/syscall.S: Likewise.
10910 * sysdeps/unix/i386/vfork.S: Likewise.
10911 * sysdeps/unix/i386/wait.S: Likewise.
10912
7143acae
JM
10913 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10914 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10915
2ce4f015
JM
10916 * configure.in (arm*-none*): Do not allow without
10917 --enable-hacker-mode.
10918 (netbsd*): Remove case setting base_os.
10919 (386bsd*): Likewise.
10920 (freebsd*): Likewise.
10921 (bsdi*): Likewise.
10922 (osf*): Likewise.
10923 (sunos*): Likewise.
10924 (ultrix*): Likewise.
10925 (newsos*): Likewise.
10926 (dynix*): Likewise.
10927 (*bsd*): Likewise.
10928 (sysv*): Likewise.
10929 (isc*): Likewise.
10930 (esix*): Likewise.
10931 (sco*): Likewise.
10932 (minix*): Likewise.
10933 (irix4*): Likewise.
10934 (irix6*): Likewise.
10935 (solaris[2-9]*): Likewise.
10936 (none): Likewise.
10937 * configure: Regenerated.
10938
0ac229c8
AZ
109392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10940
10941 [BZ #11521]
10942 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10943 overflow or cancellation in calculating denominator.
10944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10946 down expression to avoid unexpected rounding in newer GCCs.
10947 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10948
33f244f4
DM
109492012-04-26 David S. Miller <davem@davemloft.net>
10950
10951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10952 long-double compat symbols.
10953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10966
cfa1f3e8
DM
109672012-04-25 David S. Miller <davem@davemloft.net>
10968
10969 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10970 HWCAP_* values only after the memory barriers have been defined.
10971 (atomic_full_barrier): Define.
10972 (atomic_read_barrier): Define.
10973 (atomic_write_barrier): Define.
10974
6e236b92
SP
109752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10976
10977 * shlib-versions: Add libgcc_s version information.
10978 * sysdeps/generic/libgcc_s.h: Remove.
10979 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10980 libgcc_s.h.
10981 * sysdeps/gnu/unwind-resume.c: Likewise.
10982 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10983
aab39a09
DM
109842012-04-25 David S. Miller <davem@davemloft.net>
10985
10986 * sysdeps/unix/sparc/brk.S: Delete.
10987 * sysdeps/unix/sparc/dl-brk.S: Delete.
10988 * sysdeps/unix/sparc/pipe.S: Delete.
10989 * sysdeps/unix/sparc/sysdep.S: Delete.
10990 * sysdeps/unix/sparc/sysdep.h: Delete.
10991 * sysdeps/unix/sparc/vfork.S: Delete.
10992 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10993 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10994 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10995 ret_ERRVAL, r0, r1, MOVE): Define.
10996 (JUMPTARGET): Remove.
10997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10998 sysdeps/unix/sparc/sysdep.h
10999 (ENTRY, END): Remove.
11000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11001
a3cc4f48
JM
110022012-04-25 Joseph Myers <joseph@codesourcery.com>
11003
2ed8cda2
JM
11004 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11005 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11006 -DIS_IN_build.
11007
35d76d59
JM
11008 * timezone/README: Update upstream location and email address for
11009 tzcode and tzdata.
11010 * timezone/zdump.c: Update from tzcode 2012b.
11011 * timezone/zic.c: Likewise.
11012
a3cc4f48
JM
11013 * configure.in (libc_cv_as_needed): Remove test.
11014 * configure: Regenerated.
11015 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11016 conditional definition.
11017 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11018 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11019 * config.make.in (have-as-needed): Remove variable.
11020
ceab42c3
SP
110212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11022 Paul Pluzhnikov <ppluzhnikov@google.com>
11023
11024 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11025 strings correctly.
11026
3ce2865f
CLT
110272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11028
11029 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11030 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11031 * sysdeps/sh/strlen.S: Likewise.
11032
f37e0d68
JM
110332012-04-24 Joseph Myers <joseph@codesourcery.com>
11034
ae186e9a
JM
11035 * sysdeps/unix/fork.S: Remove file.
11036 * sysdeps/unix/i386/fork.S: Likewise.
11037 * sysdeps/unix/sparc/fork.S: Likewise.
11038
b96914af
JM
11039 * sysdeps/unix/system.c: Remove file.
11040 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11041
f37e0d68
JM
11042 * sysdeps/unix/getegid.S: Remove file.
11043 * sysdeps/unix/geteuid.S: Likewise.
11044
87ef29ca
RM
110452012-04-24 Roland McGrath <roland@hack.frob.com>
11046
83bcd236
RM
11047 * scripts/check-localplt.awk: New file.
11048 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11049 of diff.
11050 * scripts/data/localplt-generic.data: Add a comment.
11051
87ef29ca
RM
11052 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11053 NODE when __dir_mkfile failed.
11054 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11055 Reported by Ludovic Courtès <ludo@gnu.org>.
11056
e5a6e567
AJ
110572012-04-24 Andreas Jaeger <aj@suse.de>
11058
11059 * Makerules (common-clean): Also remove gen-as-const-headers
11060 files.
11061
c1820385
JM
110622012-04-24 Joseph Myers <joseph@codesourcery.com>
11063
11064 * Makerules (native-compile): Do not change working directory for
11065 build. Use $(OUTPUT_OPTION) in command.
11066 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11067
94e02fc4
AZ
110682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
11070 [BZ #13886]
11071 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11072 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11073 * math/libm-test.inc (floor_test): Add more tests.
11074 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11075
3a533ca3
JM
110762012-04-24 Joseph Myers <joseph@codesourcery.com>
11077
940ab4b3
JM
11078 * sysdeps/unix/getdents.c: Remove file.
11079 * sysdeps/unix/sysv/getdents.c: Likewise.
11080 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11081
90e037bd
JM
11082 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11083 sysdeps/unix/mman/syscalls.list.
11084 (mmap): Likewise.
11085 (mprotect): Likewise.
11086 (msync): Likewise.
11087 (munmap): Likewise.
11088 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11089 * sysdeps/unix/mman/syscalls.list: Remove.
11090 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11091
3a533ca3
JM
11092 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11093 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11094 * configure: Regenerated.
11095 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11096 $(libgcc_s_suffix).
11097 * config.make.in (libgcc_s_suffix): Remove variable.
11098
1ad743de
JM
110992012-04-23 Joseph Myers <joseph@codesourcery.com>
11100
4ad451e2
JM
11101 * sysdeps/unix/sysv/gethostname.c: Move to ...
11102 * sysdeps/posix/gethostname.c: ... here.
11103
5e37ce39
JM
11104 * sysdeps/unix/execve.S: Remove file.
11105
1ad743de
JM
11106 * sysdeps/unix/_exit.S: Remove file.
11107
4e681b5b
AJ
111082012-04-23 Andreas Jaeger <aj@suse.de>
11109
11110 [BZ #13739]
11111 * manual/Makefile: Remove make dist support, there's no
11112 need for a stand-alone documentation tar ball.
11113 (TEXI2DVI): Define always, it's not in Makeconfig.
11114 (dist): Removed.
11115 (tar-it): Removed.
11116 (edition): Removed.
11117 (glibc-doc-$(edition).tar): Removed
11118 (%.Z): Removed.
11119 (%.gz): Removed.
11120 (%.uu): Removed.
11121 (ETAGS): Remove, it's in Makeconfig.
11122 (move-if-change): Remove, it's in Makeconfig.
11123
c0baea34
PE
111242013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11125
11126 [BZ #13970]
11127 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11128 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11129 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11130 (strtod_l, strtof_l, strtold_l): Remove __wur.
11131 It is not necessarily an error to ignore strtol's return value.
11132 One can reliably look at the stored endptr to decide whether
11133 the number had valid syntax.
11134
7c0616fa
AJ
111352012-04-21 Andreas Jaeger <aj@suse.de>
11136
803cb6b7 11137 [BZ #13739]
7c0616fa
AJ
11138 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11139
b0fe253f
JM
111402012-04-21 Joseph Myers <joseph@codesourcery.com>
11141
11142 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11143 * sysdeps/unix/sysv/Versions: Remove file.
11144
8280f22d
MT
111452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11146
11147 [BZ #13927]
11148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11149
75ce411f 111502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11151
11152 [BZ #7064]
11153 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11154 version from __vm86.
11155
097d59fa
JM
111562012-04-20 Joseph Myers <joseph@codesourcery.com>
11157
a90f3bcb
JM
11158 * sysdeps/unix/common/lxstat.c: Remove file.
11159 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11160
edc7ea78
JM
11161 * sysdeps/unix/sysv/Makefile: Remove file.
11162
cb78c221
JM
11163 * sysdeps/unix/sysv/direct.h: Remove file.
11164
efa6a45f
JM
11165 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11166 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11167 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11168 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11169 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11170 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11171 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11172
9c9f2d0c
JM
11173 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11174
4541c83b
JM
11175 * sysdeps/unix/xmknod.c: Remove file.
11176 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11177
f5d153a0
JM
11178 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11179
aa746595
JM
11180 * sysdeps/unix/sysv/i386/time.S: Remove file.
11181
cce5905e
JM
11182 * sysdeps/unix/fxstat.c: Remove file.
11183 * sysdeps/unix/xstat.c: Likewise.
11184 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11185
37fa3841
JM
11186 * sysdeps/unix/sysv/sigaction.c: Remove file.
11187
ff1962a3
JM
11188 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11189 (sysdep_headers): Remove variable.
11190 [termio.h not in sysdep_headers] (generated): Likewise.
11191 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11192 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11193 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11194 * sysdeps/unix/sysv/tcflow.c: Likewise.
11195 * sysdeps/unix/sysv/tcflush.c: Likewise.
11196 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11197 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11198 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11199 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11200 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11201
e7740d31
JM
11202 * sysdeps/unix/siglist.c: Remove file.
11203
ee06f18b
JM
11204 * sysdeps/unix/getppid.S: Remove file.
11205
097d59fa
JM
11206 * sysdeps/unix/mkdir.c: Remove file.
11207 * sysdeps/unix/rmdir.c: Likewise.
11208
ff3d51ec
AS
112092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11210
11211 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11212 ERR_MAX value.
11213 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11214 errlist-compat value.
11215
50f81fd7
DM
112162012-04-18 David S. Miller <davem@davemloft.net>
11217
11218 * sysdeps/generic/memcopy.h (reg_char): Delete.
11219 * debug/strcat_chk.c: Use char, not reg_char.
11220 * debug/strcpy_chk.c: Likewise.
11221 * debug/strncat_chk.c: Likewise.
11222 * debug/strncpy_chk.c: Likewise.
11223 * string/memchr.c: Likewise.
11224 * string/memrchr.c: Likewise.
11225 * string/rawmemchr.c: Likewise.
11226 * string/strcat.c: Likewise.
11227 * string/strchr.c: Likewise.
11228 * string/strchrnul.c: Likewise.
11229 * string/strcmp.c: Likewise.
11230 * string/strcpy.c: Likewise.
11231 * string/strncat.c: Likewise.
11232 * string/strncmp.c: Likewise.
11233 * string/strncpy.c: Likewise.
11234
8ff41c46
WS
112352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11236
11237 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11238 __builtin_memcopy is called when src and dest ranges are known to not
11239 overlap.
11240
6b652f46
WS
112412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11242
11243 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11244 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11245 fwd_align_merge macro call.
11246 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11247 bwd_align_merge macro call.
11248 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11249
b282631e
WS
112502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11251
11252 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11253 bwd_align_merge macros.
11254 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11255 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11256 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11257
95aa737c
DM
112582012-04-18 David S. Miller <davem@davemloft.net>
11259
11260 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11261
7a99a614
AJ
112622012-04-18 Andreas Jaeger <aj@suse.de>
11263
11264 [BZ# 6794]
11265 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11266 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11267 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11268
11269 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11270 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11271 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11272
11273 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11274 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11275 Adjust for changed ldbl-128 files.
11276
11277 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11278 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11279 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11280
e5270c23
DM
112812012-04-17 David S. Miller <davem@davemloft.net>
11282
11283 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11284
fb5e92c9
AS
112852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11286
11287 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11288 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11289 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11290 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11291 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11292 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11293
76da7265
AZ
112942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11295
11296 [BZ #6794]
11297 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11298 * math/libm-test.inc: Add ilogb errno and exception tests.
11299 * math/w_ilogb.c: New file: ilogb wrapper.
11300 * math/w_ilogbf.c: New file: ilogbf wrapper.
11301 * math/w_ilogbl.c: New file: ilogbl wrapper.
11302 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11303 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11304 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11305 exception being thrown with 0.0 as argument.
11306 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11307 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11308 exception being thrown with 0.0 as argument.
11309 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11310 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11311 exception being thrown with 0.0 as argument.
11312 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11313 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11314 exception being thrown with 0.0 as argument.
11315 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11316 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11317 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11318 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11319 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11320 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11321 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11322 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11323 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11324
0396e69d
PB
113252012-04-17 Petr Baudis <pasky@ucw.cz>
11326
11327 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11328 with altivec.
11329
750b5926
MP
113302012-04-16 Marek Polacek <polacek@redhat.com>
11331
11332 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11333
751728a1
MP
113342012-04-16 Marek Polacek <polacek@redhat.com>
11335
11336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11337 operands of fdivp instruction.
11338
34a27407
L
113392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11340
11341 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11342 * elf/tst-auditmod3b.c: Likewise.
11343 * elf/tst-auditmod4b.c: Likewise.
11344 * elf/tst-auditmod5b.c: Likewise.
11345 * elf/tst-auditmod6b.c: Likewise.
11346 * elf/tst-auditmod6c.c: Likewise.
11347 * elf/tst-auditmod7b.c: Likewise.
11348 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11349 * sysdeps/x86_64/preconfigure.in: Likewise.
11350 * sysdeps/x86_64/preconfigure: Regenerated.
11351
7e73e17d
L
113522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11355 __ILP32__.
11356
c7a6ab72
AB
113572012-04-13 Antoine Balestrat <merkil33@gmail.com>
11358
11359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11360 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11361
a9e8e0e0
CL
113622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11363
11364 [BZ #13973]
11365 * locale/iso-639.def: Fix gl language name. Spotted by
11366 Yaron Shahrabani.
11367
ec98af7d
RM
113682012-04-12 Roland McGrath <roland@hack.frob.com>
11369
11370 [BZ #2074]
11371 * libio/libio.h (__io_write_fn): Update comment.
11372
247c3ede
PB
113732012-04-12 Petr Baudis <pasky@ucw.cz>
11374
11375 [BZ #2074]
11376 * stdio.texi (Hook Functions): The user provided writer function
11377 is not allowed to return -1.
11378
55939d6d
DM
113792012-04-11 David S. Miller <davem@davemloft.net>
11380
11381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11382
90020f5a
MF
113832012-04-11 Mike Frysinger <vapier@gentoo.org>
11384
11385 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11386 Add a leading slash to rtkaio.
11387
288f9098
JM
113882012-04-11 Jim Meyering <meyering@redhat.com>
11389
90020f5a
MF
11390 [BZ #11959]
11391 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11392 It is not necessarily an error to ignore fwrite's return
11393 value. One can reliably use ferror to test for errors after
11394 the fact.
288f9098 11395
4be2b570
L
113962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11397
11398 * bits/types.h (__snseconds_t): New type.
11399 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11400
11401 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11403 (__SNSECONDS_T_TYPE): Likewise.
11404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11405 (__SNSECONDS_T_TYPE): Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11407 (__SNSECONDS_T_TYPE): Likewise.
11408
288f9098 114092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11410
11411 [BZ #2636]
11412 * manual/time.texi (Processor Time): Return type of times is
11413 elapsed real time since an arbitrary point in the past.
11414 (CPU Time): Move CLK_TCK from here...
11415 (Processor Time): ...to here. Correct description.
11416 * manual/conf.texi (Constants for Sysconf): Correct description of
11417 _SC_CLK_TCK.
11418
d7dd4413
DM
114192012-04-10 David S. Miller <davem@davemloft.net>
11420
11421 [BZ #13967]
11422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11423 where the is a gap between DT_REL(A) and DT_JMPREL.
11424
b46068fc
L
114252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11426
11427 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11428 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11429 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11430
73d65cc3
SP
114312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11432
11433 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11434 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11435 (dl_main): Handle --inhibit-cache.
11436 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11437 _dl_inhibit_cache.
11438 * elf/dl-load.c (_dl_map_object): Use it.
11439 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11440
bcc8d661
JM
114412012-04-09 Joseph Myers <joseph@codesourcery.com>
11442
8f9a2fae
JM
11443 [BZ #13872]
11444 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11445 (__ieee754_powl): Saturate large exponents rather than testing for
11446 overflow of y*log2(x).
11447 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11448 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11449 exceptions.
11450
bcc8d661
JM
11451 [BZ #11521]
11452 * math/s_ctan.c: Include <float.h>.
11453 (__ctan): Avoid internal overflow or cancellation in calculating
11454 denominator.
11455 * math/s_ctanf.c: Likewise.
11456 * math/s_ctanl.c: Likewise.
11457 * math/s_ctanh.c: Likewise.
11458 * math/s_ctanhf.c: Likewise.
11459 * math/s_ctanhl.c: Likewise.
11460 * math/libm-test.inc (ctan_test): Add more tests.
11461 (ctanh_test): Likewise.
11462 * sysdeps/i386/fpu/libm-test-ulps: Update.
11463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11464
823fbbb4
AJ
114652012-04-09 Andreas Jaeger <aj@suse.de>
11466
03879793
AJ
11467 [BZ #6894]
11468 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11469 is an optional BSD extension.
11470
823fbbb4
AJ
11471 [BZ #10254]
11472 * manual/stdio.texi (Opening Streams): Document additional fopen
11473 parameters.
11474
8de131cb
RM
114752012-04-09 Roland McGrath <roland@hack.frob.com>
11476
11477 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11478 %eax without telling the compiler.
11479
c0ed9d7d
CD
114802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11481
11482 [BZ # 13963]
11483 * manual/install.texi: Use sourceware.org.
11484
c483f6b4
JM
114852012-04-09 Joseph Myers <joseph@codesourcery.com>
11486
d7dd9453
JM
11487 [BZ #13873]
11488 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11489 (__ieee754_pow): Generate overflow and underflow using huge*huge
11490 and tiny*tiny rather than just returning constant infinity or zero
11491 for large exponents.
11492 * math/libm-test.inc (pow_test): Require overflow exceptions for
11493 applicable cases of large exponents.
11494
c483f6b4
JM
11495 [BZ #706]
11496 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11497 (__ieee754_pow): Use iterative multiplication algorithm only for
11498 integer exponents with absolute value below 1024. Check for odd
11499 integer exponents when using algorithm for real exponents.
11500 * math/libm-test.inc (pow_test): Add more tests.
11501 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11502
d2de7579
JM
115032012-04-08 Joseph Myers <joseph@codesourcery.com>
11504
11505 [BZ #13705]
11506 * math/libm-test.inc (exp_test): Do not allow overflow exception
11507 on underflow test.
11508
f77f1232
AJ
115092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11510
11511 [BZ #13705]
11512 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11513 instead of __kernel_standard_f.
11514
3884932b
MF
115152012-04-08 Mike Frysinger <vapier@gentoo.org>
11516
11517 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11518 * sysdeps/x86_64/memset_chk.S: Likewise.
11519
54472e9c
AJ
115202012-04-08 Andreas Jaeger <aj@suse.de>
11521
6ab0fbfc
AJ
11522 [BZ #10153]
11523 * manual/startup.texi (Environment Access): Describe return value
11524 for putenv and setenv.
11525
61efba8c
AJ
11526 [BZ #6895]
11527 * manual/filesys.texi (Directory Entries): Add description for
11528 DT_LNK.
11529
95c3f29a
AJ
11530 [BZ #6890]
11531 * manual/filesys.texi (Directory Entries): Clarify that it's file
11532 system not operating system in the description of DT_UNKNOWN.
11533
54472e9c
AJ
11534 [BZ #6578]
11535 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11536
624254b1
SC
115372012-04-08 Stephen Compall <s11@member.fsf.org>
11538
11539 [BZ #6649]
11540 * manual/llio.texi (Opening and Closing Files): Add cross
11541 reference to explain mode argument.
11542
1e4920e0
MF
115432012-04-07 Mike Frysinger <vapier@gentoo.org>
11544
11545 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11546 * sysdeps/x86_64/memset_chk.S: Likewise.
11547
5ed848f3
DM
115482012-04-07 David S. Miller <davem@davemloft.net>
11549
11550 * elf/elf.h (R_SPARC_WDISP10): Define.
11551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11552 R_SPARC_SIZE32.
11553 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11554 R_SPARC_SIZE64 and R_SPARC_H34.
11555
96154cd8
CD
115562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11557
11558 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11559 conditions and remove no longer applicable assertion.
11560
9904dc47
L
115612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11562
11563 * bits/byteswap.h: Include <features.h>.
11564 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11565 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11566
f8887d0a
L
115672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11568
11569 * bits/byteswap.h (__bswap_16): Removed.
11570 Include <bits/byteswap-16.h> to get __bswap_16.
11571 * sysdeps/i386/bits/byteswap.h: Likewise.
11572 * sysdeps/s390/bits/byteswap.h: Likewise.
11573 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11574 * bits/byteswap-16.h: New file.
11575 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11576 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11577 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11578 * string/Makefile (headers): Add bits/byteswap-16.h.
11579
62470f60
PP
115802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11581
11582 [BZ #13895]
11583 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11584 extra indirection.
11585 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11586 * nss/tst-nss-static.c: New.
11587
4dad7bab
RM
115882012-04-06 Robert Millan <rmh@gnu.org>
11589
11590 [BZ #6486]
11591 * manual/llio.texi (File Position Primitive): lseek
11592 refers to WHENCE when it really means OFFSET.
11593
e9142a17
AJ
115942012-04-06 Andreas Jaeger <aj@suse.de>
11595
2c040eff
AJ
11596 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11597 strncmp declarations.
11598
e9142a17
AJ
11599 * abilist/libc.abilist: Add __poll and __ppoll.
11600
ff9f1c5f
DM
116012012-04-05 David S. Miller <davem@davemloft.net>
11602
dcd2ae90
DM
11603 * scripts/check-local-headers.sh: Accept a host triplet in the
11604 path matched by the exclude regexp.
11605
993eb054
DM
11606 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11607 definition.
11608 * sysdeps/powerpc/powerpc32/dl-machine.h
11609 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11610 * sysdeps/s390/s390-32/dl-machine.h
11611 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11612 * sysdeps/sparc/sparc32/dl-machine.h
11613 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11614 * sysdeps/sparc/sparc64/dl-machine.h
11615 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11616
ff9f1c5f
DM
11617 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11618 lazy binding.
48e2e132 11619 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11620 undefined symbol errors.
11621
48e2e132 11622 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11623 DT_NEEDED entries.
11624
e80d6f94
MM
116252012-04-05 Michael Matz <matz@suse.de>
11626
11627 [BZ #13592]
11628 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11629
349fa79f
AJ
116302012-04-05 Andreas Jaeger <aj@suse.de>
11631
11632 [BZ #13908]
11633 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11634 comment.
11635
f402708f
KK
116362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11637
11638 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11639 which ROUND is no valid rounding mode.
11640
2ecccfc9
KK
116412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11642
11643 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11644 read again.
11645 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11646
8a53f50f
KK
116472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11648
11649 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11650 an exception using FPU order intentionally.
11651
116522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11653
11654 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11655 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11656 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11657 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11658
d653abb7
SJ
116592012-04-05 Simon Josefsson <simon@josefsson.org>
11660
11661 [BZ #12340]
11662 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11663 EINVAL when BUFLEN is too smal.
11664
c3b1bf7d
TS
116652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11666
11667 [BZ #13553]
11668 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11669 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11670
b1aa60f3
AJ
116712012-04-03 Andreas Jaeger <aj@suse.de>
11672
c3b1bf7d 11673 [BZ #13938]
67f60a26
AJ
11674 * manual/setjmp.texi (System V contexts): Fix sentence.
11675
b1aa60f3
AJ
11676 [BZ #13926]
11677 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11678 New macro for this case.
11679 [!__GNUC__] (__bswap_64): New inline function for this case.
11680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11681 * bits/byteswap.h: Likewise.
11682 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11683 ull, guard with __GLIBC_HAVE_LONG_LONG.
11684
11685 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11686 __GLIBC_HAVE_LONG_LONG.
11687
11688 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11689 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11690
39c59c35
TMQMF
116912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11692
11693 [BZ #13691]
11694 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11695 inptr and inend, rather than using last_ch.
11696
135ffda8
DM
116972012-04-02 David S. Miller <davem@davemloft.net>
11698
11699 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11700 * stdio-common/printf-parse.h (read_int): Change return type to
11701 'int', return -1 on INT_MAX overflow.
11702 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11703 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11704 overflows INT_MAX. Check for overflow of in-format-string precision
11705 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11706 SIZE_MAX not INT_MAX for integer overflow test.
11707 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11708 skip the construct in the format string but do not record anything.
11709 * stdio-common/bug22.c: Adjust to test both width/prevision
11710 INT_MAX overflow as well as total length INT_MAX overflow. Check
11711 explicitly for proper errno values.
11712
228c019e
TS
117132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11714
302cadd3
TS
11715 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11716 CHAR_MAX.
11717 * string/test-strcmp.c [! WIDE]: Likewise.
11718 * time/tst-mktime2.c: Likewise for INT_MAX.
11719 * string/test-string.h: #include <sys/param.h> for MIN.
11720
228c019e
TS
11721 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11722 * sysdeps/i386/init-first.c (init): Likewise.
11723 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11724 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11725 * sysdeps/sh/init-first.c (init): Likewise.
11726
cfa633f5
UD
117272012-04-01 Ulrich Drepper <drepper@gmail.com>
11728
11729 * po/ru.po: Update from translation team.
d1635ef8 11730 * po/vi.po: Likewise.
cfa633f5 11731
6cd0a5ea
SP
117322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11733
11734 * resolv/nss_dns/dns-host.c: Merge copyright years.
11735
4b43400f
LD
117362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11737
11738 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11739 Optimize memcpy with prefetch if
11740 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11741 src, dst pointers have unequal 16 byte alignments.
11742
48c41d04
SP
117432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11744
11745 [BZ #13928]
11746 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11747 from a CNAME entry and return the minimum ttl for the query.
11748 (gaih_getanswer_slice): Likewise.
11749
b8dc394d
JL
117502012-03-30 Jeff Law <law@redhat.com>
11751
11752 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11753 due to long keys.
11754 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11755 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11756
2f5a5ed0
JL
11757 * resolv/nss_dns/dns-host.c: Update copyright year.
11758
1d39e359
UD
117592012-03-30 Ulrich Drepper <drepper@gmail.com>
11760
c030f70c 11761 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11762 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11763
1d39e359
UD
11764 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11765 comments for sendmmsg.
11766
117672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11768
11769 [BZ #13691]
11770 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11771 with only 1 character between 0x0041 and 0x01b0.
11772 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11773 * wcsmbs/tst-mbsnrtowcs.c: New file.
11774
20fde227
DM
117752012-03-29 David S. Miller <davem@davemloft.net>
11776
11777 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11778 small copies by hand.
11779
984a4237
JL
117802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11781
11782 [BZ #13761]
11783 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11784 _nss_compat_initgroups_dyn): Fall back to malloc/free
11785 for large group memberships.
11786
18c9d62b
DM
117872012-03-28 David S. Miller <davem@davemloft.net>
11788
88d85d4f
DM
11789 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11790 that branches into memcpy.
11791 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11793 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11794 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11795 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11796 bits.
11797 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11798 implementation too.
11799 * sysdeps/sparc/mempcpy.S: New file.
11800
e5aa83e1
DM
11801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11802 the IFUNC routine in the libc case.
11803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11804
88570753
DM
11805 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11806 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11807 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11808 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11809 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11810 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11811 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11812 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11813
249d7567
DM
11814 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11815 loop to 256 bytes instead of 64 bytes and fix test signedness.
11816
18c9d62b
DM
11817 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11818 * sysdeps/sparc/sparc32/Makefile: rather than here...
11819 * sysdeps/sparc/sparc64/Makefile: and here.
11820
05f3d1f6
UD
118212012-03-28 Ulrich Drepper <drepper@gmail.com>
11822
11823 * malloc/mallocbug.c: Avoid warnings about unused variables.
11824
86ae07a8
JL
118252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11826
11827 [BZ #13760]
11828 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11829 in the right place. Discard and retry query if response is
11830 larger than input buffer size.
11831
41bf21a1
JM
118322012-03-28 Joseph Myers <joseph@codesourcery.com>
11833
d6270972
JM
11834 [BZ #369]
11835 [BZ #2678]
11836 [BZ #3866]
11837 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11838 x for large integer exponent.
11839 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11840 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11841 sign of result as needed afterwards.
11842 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11843 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11844 result for underflowing pow the same as for overflow.
11845 (__kernel_standard_l): Handle powl overflow and underflow here
11846 rather than calling __kernel_standard.
11847 * math/libm-test.inc (pow_test): Add more tests.
11848
414fca03 11849 [BZ #3868]
41bf21a1
JM
11850 [BZ #13879]
11851 [BZ #13910]
11852 [BZ #13911]
11853 [BZ #13912]
11854 [BZ #13913]
11855 [BZ #13915]
11856 [BZ #13916]
11857 [BZ #13917]
11858 [BZ #13918]
11859 [BZ #13919]
11860 [BZ #13920]
11861 [BZ #13921]
11862 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11863 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11864 (__kernel_standard_l): New function.
11865 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11866 __kernel_standard.
11867 * math/w_acosl.c (__acosl): Likewise.
11868 * math/w_asinl.c (__asinl): Likewise.
11869 * math/w_atan2l.c (__atan2l): Likewise.
11870 * math/w_atanhl.c (__atanhl): Likewise.
11871 * math/w_coshl.c (__coshl): Likewise.
11872 * math/w_exp10l.c (__exp10l): Likewise.
11873 * math/w_exp2l.c (__exp2l): Likewise.
11874 * math/w_fmodl.c (__fmodl): Likewise.
11875 * math/w_hypotl.c (__hypotl): Likewise.
11876 * math/w_j0l.c (__j0l, __y0l): Likewise.
11877 * math/w_j1l.c (__j1l, __y1l): Likewise.
11878 * math/w_jnl.c (__jnl, __ynl): Likewise.
11879 * math/w_lgammal.c (__lgammal): Likewise.
11880 * math/w_log10l.c (__log10l): Likewise.
11881 * math/w_log2l.c (__log2l): Likewise.
11882 * math/w_logl.c (__logl): Likewise.
11883 * math/w_powl.c (__powl): Likewise.
11884 * math/w_remainderl.c (__remainderl): Likewise.
11885 * math/w_scalbl.c (sysv_scalbl): Likewise.
11886 * math/w_sinhl.c (__sinhl): Likewise.
11887 * math/w_sqrtl.c (__sqrtl): Likewise.
11888 * math/w_tgammal.c (__tgammal): Likewise.
11889 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11890 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11891 * math/libm-test.inc (acos_test): Add more tests.
11892 (acosh_test): Likewise.
11893 (asin_test): Likewise.
11894 (atanh_test): Likewise.
11895 (exp_test): Likewise.
11896 (exp10_test): Likewise.
11897 (exp2_test): Likewise.
11898 (expm1_test): Likewise.
11899 (lgamma_test): Likewise.
11900 (log_test): Likewise.
11901 (log10_test): Likewise.
11902 (log1p_test): Likewise.
11903 (log2_test): Likewise.
11904 (pow_test): Do not allow some spurious overflow exceptions.
11905 (sqrt_test): Add more tests.
11906 (tgamma_test): Likewise.
11907 (y0_test): Likewise.
11908 (y1_test): Likewise.
11909 (yn_test): Likewise.
11910
dd62fda6
AB
119112012-03-27 Anton Blanchard <anton@samba.org>
11912
11913 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11914 MAP_HUGETLB.
11915 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11917 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11918
1e3cdfda
AJ
119192012-03-27 David S. Miller <davem@davemloft.net>
11920
b855ab85
DM
11921 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11922
1e3cdfda
AJ
11923 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11924 have-as-vis3 check.
11925
119262012-03-27 Andreas Jaeger <aj@suse.de>
11927
11928 * sysdeps/x86_64/elf/configure.in: Moved to ...
11929 * sysdeps/x86_64/configure.in: ... here.
11930 * sysdeps/x86_64/elf/start.S: Moved to ...
11931 * sysdeps/x86_64/start.S: ... here.
11932 * sysdeps/x86_64/elf/configure: Delete.
11933
11934 * sysdeps/x86_64/configure.in: Merge contents from
11935 sysdeps/i386/configure.in (without i686 check).
11936
11937 * sysdeps/i386/elf/Versions: Merge into ...
11938 * sysdeps/i386/Versions: ... this.
11939 * sysdeps/i386/elf/Versions: Delete file.
11940 * sysdeps/i386/elf/start.S: Moved to ...
11941 * sysdeps/i386/start.S: ...here.
11942 * sysdeps/i386/elf/configure.in: Merge into...
11943 * sysdeps/i386/configure.in: ...here.
11944 * sysdeps/i386/elf/configure.in: Delete file.
11945 * sysdeps/i386/elf/configure: Delete file.
11946
11947 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11948 * debug/backtracesyms.c: ... here.
11949 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11950 * debug/backtracesymsfd.c: ... here.
11951 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11952 * sysdeps/generic/ifunc-sel.h: ... here.
11953
11954 * sysdeps/unix/i386/start.c: Delete file.
11955 * sysdeps/unix/sparc/start.c: Delete file.
11956 * sysdeps/unix/start.c: Delete file.
11957
11958 * sysdeps/sh/elf/configure.in: Moved to ...
11959 * sysdeps/sh/configure.in: ... here.
11960 * sysdeps/sh/elf/start.S: Moved to ...
11961 * sysdeps/sh/start.S: ... here.
11962 * sysdeps/sh/elf/configure: Delete file.
11963
11964 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11965 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11966 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11967 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11968 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11969 * sysdeps/powerpc/powerpc64/start.S: here.
11970 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11971 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11972 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11973 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11974 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11975
11976 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11977 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11978 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11979 * sysdeps/powerpc/powerpc32/start.S: ... here.
11980 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11981 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11982 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11983
11984 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11985 * sysdeps/powerpc/ifunc-sel.h: ... here.
11986 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11987 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11988
11989 * sysdeps/sparc/elf/configure.in: Moved to ...
11990 * sysdeps/sparc/configure.in: ... here.
11991 * sysdeps/sparc/elf/configure: Delete file.
11992 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11993 * sysdeps/sparc/sparc32/start.S: ... here.
11994 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11995 * sysdeps/sparc/sparc64/start.S: ... here.
11996 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11997 * sysdeps/sparc/sparc32/Makefile: ... this.
11998 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11999 * sysdeps/sparc/sparc64/Makefile: ... this.
12000
12001 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12002 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12003 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12004 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12005 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12006 * sysdeps/s390/s390-32/setjmp.S: ... here.
12007 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12008 * sysdeps/s390/s390-32/configure.in: ... here.
12009 * sysdeps/s390/s390-32/elf/configure: Delete file.
12010 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12011 * sysdeps/s390/s390-32/start.S: ... here.
12012
12013 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12014 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12015 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12016 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12017 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12018 * sysdeps/s390/s390-64/setjmp.S: ... here.
12019 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12020 * sysdeps/s390/s390-64/configure.in: ... here
12021 * sysdeps/s390/s390-64/elf/configure: Delete file.
12022 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12023 * sysdeps/s390/s390-64/start.S: ... here.
12024 * sysdeps/s390/s390-64/elf/configure: Delete.
12025
12026 * configure.in: Remove support for elf directories in sysdeps.
12027
12028 * configure: Regenerated.
12029 * sysdeps/i386/configure: Regenerated.
12030 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12031 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12032 * sysdeps/s390/s390-32/configure: Regenerated.
12033 * sysdeps/s390/s390-64/configure: Regenerated.
12034 * sysdeps/sh/configure: Regenerated.
12035 * sysdeps/sparc/configure: Regenerated.
12036 * sysdeps/x86_64/configure: Regenerated.
12037
a3f61311
AS
120382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12039
c876e002
AS
12040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12041
a3f61311
AS
12042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12043 denormal result into account.
12044
ac4c54f0
RM
120452012-03-25 Roland McGrath <roland@hack.frob.com>
12046
12047 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12048 Reported by Allan McRae <allan@archlinux.org>.
12049
6a9b9c02
JL
120502012-03-23 Jeff Law <law@redhat.com>
12051
12052 * nss/getnssent.c (__nss_getent): Fix typo.
12053
4c42a0c1
DM
120542012-03-23 David S. Miller <davem@davemloft.net>
12055
12056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12057
1532c7ac
L
120582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12059
12060 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12061 to pad to uint64_t for each field.
12062 (dl_tls_index): Replace unsigned long with uint64_t.
12063
3ff42526
PP
120642012-03-23 Daniel Jacobowitz <dmj@google.com>
12065 Paul Pluzhnikov <ppluzhnikov@google.com>
12066
12067 [BZ #6528]
12068 * grp/Makefile (otherlibs): Don't set it.
12069 * inet/Makefile (otherlibs): Likewise.
12070 * login/Makefile (otherlibs): Likewise.
12071 * nscd/Makefile (otherlibs): Likewise.
12072 * posix/Makefile (otherlibs): Likewise.
12073 * pwd/Makefile (otherlibs): Likewise.
12074 * rt/Makefile (otherlibs): Likewise.
12075 * sunrpc/Makefile (otherlibs): Likewise.
12076 * nss/Makefile (otherlibs): Likewise.
12077 Add libnss_files to routines and static-only-routines.
12078 ($(objpfx)getent): Remove rule.
12079 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12080 static-only-routines.
12081
7c69cd14
JM
120822012-03-22 Joseph Myers <joseph@codesourcery.com>
12083
12084 [BZ #13892]
12085 * math/s_cexp.c: Include <float.h>.
12086 (__cexp): Handle exp result overflowing not necessarily
12087 overflowing both real and imaginary parts of result.
12088 * math/s_cexpf.c: Likewise.
12089 * math/s_cexpl.c: Likewise.
12090 * math/libm-test.inc (cexp_test): Add more tests.
12091 * sysdeps/i386/fpu/libm-test-ulps: Update.
12092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12093
81b035fe
L
120942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12095
12096 * include/link.h (ELFW): New macro.
12097 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12098 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12099
1da7940c
L
121002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12101
12102 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12103 with uint64_t.
12104
b749dbb9
L
121052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12106
12107 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12108 declaration.
12109 (struct La_x32_retval): Likewise.
12110
2ff87f3f
L
121112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12112
12113 * sysdeps/x86_64/preconfigure.in: New file.
12114 * sysdeps/x86_64/preconfigure: New generated file.
12115
c0df8e69
JM
121162012-03-22 Joseph Myers <joseph@codesourcery.com>
12117
48e44791
JM
12118 [BZ #13824]
12119 * math/e_exp2l.c: Include <float.h>.
12120 (__ieee754_exp2l): Handle overflow and underflow cases
12121 separately. Only pass fractional part of argument to
12122 __ieee754_expl.
12123 * math/libm-test.inc (exp2_test): Add more tests.
12124
c0df8e69
JM
12125 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12126 negating x to take absolute value.
12127 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12128 Likewise.
12129 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12130 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12131 Likewise.
12132 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12133 computing low part if x was negated.
12134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12135
c8e43ba7
L
121362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12137
12138 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12139 la_x32_gnu_pltexit.
12140 (pltexit): Cast int_retval to ptrdiff_t.
12141 * elf/tst-auditmod3b.c: Likewise.
12142 * elf/tst-auditmod4b.c: Likewise.
12143 * elf/tst-auditmod5b.c: Likewise.
12144 * elf/tst-auditmod6b.c: Likewise.
12145 * elf/tst-auditmod6c.c: Likewise.
12146 * elf/tst-auditmod7b.c: Likewise.
12147
12148 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12149 and x32_gnu_pltexit.
12150
12151 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12152 __ELF_NATIVE_CLASS.
12153 (La_x32_regs): New macro.
12154 (La_x32_retval): Likewise.
12155 (la_x32_gnu_pltenter): New function prototype.
12156 (la_x32_gnu_pltexit): Likewise.
12157
7998fa78
AS
121582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12159
dcb33988
AS
12160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12161 exponent.
12162
233fc563
AS
12163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12164
7998fa78
AS
12165 * configure.in (libc_cv_cc_nofma): Check for option to disable
12166 generation of FMA instructions.
12167 * configure: Regenerate.
12168 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12169 * sysdeps/ieee754/dbl-64/Makefile: New file.
12170 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12171 Remove brandred-fma4.
12172 (CFLAGS-brandred-fma4.c): Remove.
12173 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12174 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12175 define.
12176 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12177 define.
12178
8e95c99a
L
121792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12180
12181 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12182 LLONG_MAX != LONG_MAX.
12183 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12184 (_fitoa_word): Likewise.
12185 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12186 LLONG_MAX != LONG_MAX.
12187 * stdio-common/_itowa.h: Include <_itoa.h>.
12188 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12189 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12190 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12191 only if not defined.
12192 (_ITOA_WORD_TYPE): Likewise.
12193 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12194 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12195
6f4db457
DM
121962012-03-21 David S. Miller <davem@davemloft.net>
12197
12198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12199
7785fe5a
L
122002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12201
12202 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12203 of x86_64 when setting libc_cv_slibdir, libdir and
12204 libc_cv_localedir.
12205 * sysdeps/unix/sysv/linux/configure: Regenerated.
12206
4535cd55
JM
122072012-03-21 Joseph Myers <joseph@codesourcery.com>
12208
12209 * manual/lang.texi (Old Varargs): Remove section.
12210 (How Variadic): Update menu.
12211 (va_start): Do not mention varargs.h.
12212
17228132
TS
122132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12214 Joseph Myers <joseph@codesourcery.com>
12215
12216 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12217 link test.
12218 * configure: Regenerated.
12219
8149f976
TS
122202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12221
05f3d1f6
UD
12222 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12223 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12224 conformtest.pl
8149f976 12225
1a4ac776
JM
122262012-03-21 Joseph Myers <joseph@codesourcery.com>
12227
be22ce65
JM
12228 * NOTES: Remove.
12229 * Makefile (files-for-dist): Remove NOTES.
12230 (NOTES): Remove rule.
12231 * README: Don't refer to NOTES.
12232 * manual/creature.texi: Don't include macros.texi.
12233 * manual/intro.texi (creature.texi): Remove comment referring to
12234 NOTES.
12235
40b601fb
JM
12236 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12237 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12238 * configure: Regenerated.
12239 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12240 LIBC_TRY_CC_OPTION.
12241 (libc_cv_as_i686): Likewise.
12242 (libc_cv_cc_avx): Likewise.
12243 (libc_cv_cc_sse2avx): Likewise.
12244 (libc_cv_cc_fma4): Likewise.
12245 (libc_cv_cc_novzeroupper): Likewise.
12246 * sysdeps/i386/configure: Regenerated.
12247
1a4ac776
JM
12248 [BZ #13883]
12249 * sysdeps/i386/fpu/s_cexp.S: Remove.
12250 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12251 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12252 * math/libm-test.inc (cexp_test): Add more tests.
12253 * sysdeps/i386/fpu/libm-test-ulps: Update.
12254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12255
a458e7fe
AM
122562012-03-21 Allan McRae <allan@archlinux.org>
12257
12258 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12259
0cb7efc5
JM
122602012-03-21 Joseph Myers <joseph@codesourcery.com>
12261
12262 [BZ #13871]
12263 * math/w_exp2.c: Do not include <float.h>.
12264 (o_threshold, u_threshold): Remove.
12265 (__exp2): Calculate result before checking finiteness and calling
12266 __kernel_standard.
12267 * math/w_exp2f.c: Likewise.
12268 * math/w_exp2l.c: Likewise.
12269 * math/libm-test.inc (exp2_test): Require overflow exception for
12270 1e6 input.
2460d3aa
JM
12271
12272 [BZ #3866]
12273 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12274 range of signed 64-bit integers before using fistpll. Remove
12275 checks for whether integers fit in mantissa bits.
12276 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12277 the range of signed 32-bit integers before using fistpl. Remove
12278 checks for whether integers fit in mantissa bits.
12279 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12280 (__ieee754_powl): Test for y outside the range of signed 64-bit
12281 integers before using fistpll. Reduce 64-bit values to 63-bit
12282 ones as needed.
12283 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12284 divide-by-zero is raised for zero to large negative powers.
12285 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12286 (__ieee754_powl): Test for y outside the range of signed 64-bit
12287 integers before using fistpll. Reduce 64-bit values to 63-bit
12288 ones as needed.
12289 * math/libm-test.inc (pow_test): Add more tests.
12290
eb96ffb0
L
122912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12292
12293 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12294 <stdio-common/_itoa.h>.
12295 * debug/segfault.c: Likewise.
12296 * elf/dl-cache.c: Likewise.
12297 * elf/dl-minimal.c: Likewise.
12298 * elf/dl-misc.c: Likewise.
12299 * elf/dl-sysdep.c: Likewise.
12300 * elf/dl-version.c: Likewise.
12301 * elf/rtld.c: Likewise.
12302 * hurd/hurdsock.c: Likewise.
12303 * hurd/lookup-retry.c: Likewise.
12304 * malloc/malloc.c: Likewise.
12305 * malloc/mtrace.c: Likewise.
12306 * nscd/nscd_getgr_r.c: Likewise.
12307 * nscd/nscd_getpw_r.c: Likewise.
12308 * nscd/nscd_getserv_r.c: Likewise.
12309 * posix/getopt_init.c: Likewise.
12310 * posix/wordexp.c: Likewise.
12311 * stdio-common/_itoa.c: Likewise.
12312 * stdio-common/printf_fphex.c: Likewise.
12313 * stdio-common/vfprintf.c: Likewise.
12314 * string/_strerror.c: Likewise.
12315 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12316 * sysdeps/i386/i686/hp-timing.h: Likewise.
12317 * sysdeps/mach/_strerror.c: Likewise.
12318 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12319 * sysdeps/mach/hurd/sethostid.c: Likewise.
12320 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12321 * sysdeps/mach/xpg-strerror.c: Likewise.
12322 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12323 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12324 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12325 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12327 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12328 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12329 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12330 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12331 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12332 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12333 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12334 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12335 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12336 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12337 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12340 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12341 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12342 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12343
12344 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12345
12346 * stdio-common/_itoa.h: Moved to ...
12347 * sysdeps/generic/_itoa.h: Here.
12348
12349 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12350
12351 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12352 instead of "_itoa.h" and "_itowa.h".
12353 * stdio-common/vfprintf.: Likewise.
12354
d1af992d
L
123552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12358 <bits/wordsize.h>.
12359 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12360 (__signbit): Likwise.
12361 (llrintf): Likwise.
12362 (llrint): Likwise.
12363
114883e0
L
123642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12365
12366 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12367 __WORDSIZE != 64.
12368
c135cc1b
JM
123692012-03-20 Joseph Myers <joseph@codesourcery.com>
12370
12371 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12372 OVERFLOW_EXCEPTION_OK.
12373 * math/libm-test.inc ("Philosophy"): Update comment about
12374 exception testing.
12375 (OVERFLOW_EXCEPTION): Define.
12376 (OVERFLOW_EXCEPTION_OK): Likewise.
12377 (INVALID_EXCEPTION_OK): Renumber.
12378 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12379 (IGNORE_ZERO_INF_SIGN): Likewise.
12380 (test_exceptions): Handle FE_OVERFLOW.
12381 (exp10_test): Expect overflow exceptions.
12382 (exp2_test): Likewise.
12383 (expm1_test): Likewise.
12384 (nextafter_test): Likewise.
12385 (pow_test): Likewise.
12386 (scalbn_test): Likewise.
12387 (scalbln_test): Likewise.
12388
95443d88
L
123892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12390
12391 * sysdeps/x86_64/bits/atomic.h
12392 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12393 64bit integer.
12394 (atomic_exchange_acq): Likewise.
12395 (__arch_exchange_and_add_body): Likewise.
12396 (__arch_add_body): Likewise.
12397 (atomic_add_negative): Likewise.
12398 (atomic_add_zero): Likewise.
12399
490df6c4
L
124002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12401
c2722551 12402 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12403 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12404
5e52b189
L
124052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12406
12407 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12408 Check __x86_64__ instead of __WORDSIZE.
12409
a9879d4c
L
124102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12411
12412 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12413
5df98260
DM
124142012-03-19 David S. Miller <davem@davemloft.net>
12415
e1497744
DM
12416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12417
5df98260
DM
12418 * sysdeps/sparc/fpu/fenv_private.h: New file.
12419 * sysdeps/sparc/fpu/math_private.h: Use it.
12420 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12421 Remove.
12422 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12423 (libc_feholdexcept_setroundl): Remove.
12424 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12425 Remove.
12426 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12427 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12428
b4c35121
L
124292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12430
12431 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12432 int64_t instead of long int.
12433 (INSERT_WORDS64): Likwise.
12434
56965fd7
L
124352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12436
12437 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12438 _Unwind_GetCFA return to _Unwind_Ptr first.
12439
83d1aec8
JM
124402012-03-19 Joseph Myers <joseph@codesourcery.com>
12441
1897ad44
JM
12442 [BZ #13629]
12443 * math/s_clog.c: Include <float.h>.
12444 (__clog): Scale large or subnormal inputs.
12445 * math/s_clogf.c: Likewise.
12446 * math/s_clogl.c: Likewise.
12447 * math/s_clog10.c: Include <float.h>.
12448 (M_LOG10_2): Define.
12449 (__clog10): Scale large or subnormal inputs.
12450 * math/s_clog10f.c: Likewise.
12451 * math/s_clog10l.c: Likewise.
12452 * math/libm-test.inc (clog_test): Add more tests.
12453 (clog10_test): Likewise.
12454 * sysdeps/i386/fpu/libm-test-ulps: Update.
12455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12456
7726d6a9
JM
12457 [BZ #11451]
12458 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12459 x and y.
12460 * math/libm-test.inc (atan2_test): Add another test.
12461
83d1aec8
JM
12462 * Makerules (common-objdir-compile): Remove.
12463 * sysdeps/unix/Makefile (config-generated): Do not add
12464 $(unix-generated) to variable.
12465 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12466 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12467 Remove rule.
12468 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12469 Likewise.
12470 [generic bits/local_lim.h] (before-compile): Do not append to
12471 variable.
12472 [generic bits/local_lim.h] (common-generated): Likewise.
12473 [generic sys/param.h] (before-compile): Do not append to variable.
12474 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12475 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12476 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12477 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12478 include.
12479 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12480 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12481 [generic sys/param.h] ($(addprefix
12482 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12483 [generic sys/param.h] (common-generated): Do not append to
12484 variable.
12485 [generic sys/param.h] (sysdep_headers): Likewise.
12486 [generic bits/errno.h] (before-compile): Do not append to
12487 variable.
12488 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12489 rule.
12490 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12491 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12492 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12493 [generic bits/errno.h] (common-generated): Do not append to
12494 variable.
12495 [generic bits/ioctls.h] (before-compile): Do not append to
12496 variable.
12497 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12498 rule.
12499 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12500 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12501 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12502 rule.
12503 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12504 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12505 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12506 [generic bits/ioctls.h] (common-generated): Do not append to
12507 variable.
12508 [generic sys/syscall.h] (syscall.h): Remove variable.
12509 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12510 rule.
12511 [generic sys/syscall.h] (before-compile): Do not append to
12512 variable.
12513 [generic sys/syscall.h] (common-generated): Likewise.
12514 * sysdeps/unix/errnos-tmpl.c: Remove file.
12515 * sysdeps/unix/errnos.awk: Likewise.
12516 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12517 * sysdeps/unix/ioctls.awk: Likewise.
12518 * sysdeps/unix/mk-local_lim.c: Likewise.
12519 * sysdeps/unix/snarf-ioctls: Likewise.
12520
4851a949
RH
125212012-03-19 Richard Henderson <rth@twiddle.net>
12522
bd37f2ee
RH
12523 * sysdeps/i386/fpu/fenv_private.h: New file.
12524 * sysdeps/i386/fpu/math_private.h: Use it.
12525 (math_opt_barrier, math_force_eval): Remove.
12526 (libc_feholdexcept_setround_53bit): Remove.
12527 (libc_feupdateenv_53bit): Remove.
12528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12529 (math_opt_barrier, math_force_eval): Remove.
12530 (libc_feholdexcept): Remove.
12531 (libc_feholdexcept_setround): Remove.
12532 (libc_fetestexcept, libc_fesetenv): Remove.
12533 (libc_feupdateenv_test): Remove.
12534 (libc_feupdateenv, libc_feholdsetround): Remove.
12535 (libc_feresetround): Remove.
12536
d0adc922
RH
12537 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12538 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12539
0fe0f1f8
RH
12540 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12541 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12542 (libc_feupdateenv_testl): New.
12543 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12544 (libc_feupdateenv_testf): New.
12545 (libc_feupdateenv): Use libc_feupdateenv_test.
12546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12547 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12548
eb92c487
RH
12549 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12550 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12551 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12552 (libc_feresetround_noex): New.
12553 (libc_feresetround_noexf): New.
12554 (libc_feresetround_noexl): New.
12555 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12556 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12557 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12558 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12559 SET_RESTORE_ROUND.
12560 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12561 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12562 (__cos): Likewise.
12563 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12564 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12565 SET_RESTORE_ROUND_NOEX.
12566 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12567 SET_RESTORE_ROUND_NOEXF.
12568 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12569 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12570 (libc_feholdsetroundf): New.
12571 (libc_feresetround, libc_feresetroundf): New.
12572
7d2e8012
RH
12573 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12574 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12575 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12576
b4dabbb4
RH
12577 * sysdeps/generic/math_private.h: Include <fenv.h>.
12578 (default_libc_feholdexcept): New.
12579 (default_libc_feholdexcept_setround): New.
12580 (default_libc_fesetenv, default_libc_feupdateenv): New.
12581 (libc_feholdexcept): Only define if undefined.
12582 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12583 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12584 (libc_feholdexcept_setroundl): Likewise.
12585 (libc_feholdexcept_setround_53bit): Likewise.
12586 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12587 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12588 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12589 (libc_feupdateenv_53bit): Likewise.
12590 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12591 (libc_feholdexcept): Convert from macro to inline function.
12592 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12593 (libc_fesetenv, libc_feupdateenv): Likewise.
12594
4851a949
RH
12595 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12596 not previously defined.
12597 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12598 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12599 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12600 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12601 * sysdeps/ieee754/flt-32/math_private.h: New file.
12602 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12603 math_private.h below SET_FLOAT_WORD.
12604 (__isnan, __isinf_ns, __finite): Remove.
12605 (__isnanf, __isinf_nsf, __finitef): Remove.
12606
e79d442e
AS
126072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12608
12609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12610
90b80344
DM
126112012-03-17 David S. Miller <davem@davemloft.net>
12612
12613 [BZ #6471]
12614 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12615 for 2.16.
12616
edc21804
DM
126172012-03-16 David S. Miller <davem@davemloft.net>
12618
77e927af
DM
12619 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12620 warnings.
12621
374976dd
DM
12622 [BZ #6471]
12623 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12624 properly.
12625 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12626 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12627 sysdep_routines when subdir is sysvipc.
12628 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12629 __getshmlba helper.
12630
edc21804
DM
12631 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12632
473c3ef3
L
126332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12634
12635 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12636 [__LP64__].
12637
eb0f39b6
L
126382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12641 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12642 (__lround): Renamed to ...
12643 (__llround): This. Replace long int with long long int.
12644 Define lround functions as aliases of llround functions.
12645 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12646
6b6cd74b
L
126472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12648
12649 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12650 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12651 adresses to uintptr_t. Replace "long int" and "unsigned long
12652 int" with "greg_t" on va_arg.
12653
f1a77b01
L
126542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12655
12656 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12657 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12658
12659 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12660 Move e_machine check before EI_CLASS check. Handle x32
12661 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12662 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12663 SKIP_EM_IA_64 and include
12664 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12665
12666 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12667 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12668 (add_system_dir): New macro.
12669
12670 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12671 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12672
11b90b9f
JM
126732012-03-16 Joseph Myers <joseph@codesourcery.com>
12674
c36e1d23
JM
12675 [BZ #2551]
12676 [BZ #2552]
12677 [BZ #2553]
12678 [BZ #2554]
12679 [BZ #2562]
12680 [BZ #2563]
12681 [BZ #2565]
12682 [BZ #2566]
12683 [BZ #2576]
12684 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12685 (y0): Likewise.
12686 * math/w_j0f.c (j0f): Likewise.
12687 (y0f): Likewise.
12688 * math/w_j0l.c (__j0l): Likewise.
12689 (__y0l): Likewise.
12690 * math/w_j1.c (j1): Likewise.
12691 (y1): Likewise.
12692 * math/w_j1f.c (j1f): Likewise.
12693 (y1f): Likewise.
12694 * math/w_j1l.c (__j1l): Likewise.
12695 (__y1l): Likewise.
12696 * math/w_jn.c (jn): Likewise.
12697 (yn): Likewise.
12698 * math/w_jnf.c (jnf): Likewise.
12699 (ynf): Likewise.
12700 * math/w_jnl.c (__jnl): Likewise.
12701 (__ynl): Likewise.
12702 * math/libm-test.inc (j0_test): Add more tests.
12703 (j1_test): Likewise.
12704 (jn_test): Likewise. Add trailing semicolon to existing test.
12705 (y0_test): Likewise.
12706 (y1_test): Likewise.
12707 * sysdeps/i386/fpu/libm-test-ulps: Update.
12708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12709
11b90b9f
JM
12710 [BZ #13851]
12711 [BZ #13854]
12712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12713 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12714 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12715 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12716 (__tanl): Set errno for infinite argument.
12717 * sysdeps/i386/fpu/mptan.c: Remove.
12718 * sysdeps/i386/fpu/s_tan.S: Likewise.
12719 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12720 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12721 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12722 * math/libm-test.inc (tan_test): Add more tests and enable more
12723 tests for double and long double.
12724 * sysdeps/i386/fpu/libm-test-ulps: Update.
12725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726
6a1bd2a1
JK
127272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12728
12729 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12730 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12731
10a803e0
RM
127322012-03-16 Roland McGrath <roland@hack.frob.com>
12733
12734 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12735 * configure.in: Use it for both main tree and add-ons.
12736 * configure: Regenerated.
12737
f196c7f7
L
127382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12739
12740 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12741
8848d99d
JM
127422012-03-16 Joseph Myers <joseph@codesourcery.com>
12743
96cbe7f4
JM
12744 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12745 in comment.
12746
8848d99d
JM
12747 [BZ #13851]
12748 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12749 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12753 infinite argument.
12754 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12756 != 0 for prec == 2.
12757 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12758 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12759 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12760 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12761 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12762 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12763 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12764 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12765 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12766 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12767 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12768 * math/libm-test.inc (cos_test): Add more tests and enable more
12769 tests for long double.
12770 (sin_test): Likewise.
12771 (sincos_test): Likewise.
12772 * sysdeps/i386/fpu/libm-test-ulps: Update.
12773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12774
dd7f4703
DM
127752012-03-16 David S. Miller <davem@davemloft.net>
12776
12777 * sysdeps/sparc/fpu/math_private.h: New file.
12778
006f1daa
DM
127792012-03-15 David S. Miller <davem@davemloft.net>
12780
c0c83bc8
DM
12781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12782 file.
e6a62e18 12783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12785 file.
e6a62e18
DM
12786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12791 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12792 sysdep routines.
12793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12794
88cb87d9
DM
12795 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12796 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12797
006f1daa 12798 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12800 sparc-ifunc.h
006f1daa 12801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12803 Likewise.
12804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12805 Likewise.
006f1daa
DM
12806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12810 Likewise.
006f1daa
DM
12811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12816 Likewise.
12817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12818 Likewise.
006f1daa
DM
12819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12827 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12837 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12838 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12839 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12840 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12843
11e0098e
AS
128442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12845
12846 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12847 scaling.
12848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12849
e85b09d0
AJ
128502012-03-15 Andreas Jaeger <aj@suse.de>
12851
12852 [BZ #13852]
12853 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12854 ieee754/flt-32 implementation for sin, cos and sincos.
12855 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12856 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12857 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12858 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12859 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12860 ieee754/flt-32 implementation for tan.
12861
12862 * math/libm-test.inc (cos_test): Enable some large input tests for
12863 float as well
12864 (sin_test): Likewise.
12865 (sincos_test): Likewise.
12866 (tan_test): Add tests for large input.
12867
12868 * sysdeps/i386/fpu/libm-test-ulps: Update.
12869
81c64153
AJ
128702012-03-15 Andreas Jaeger <aj@suse.de>
12871
12872 [BZ #13658]
12873 * math/libm-test.inc (cos_test): Add more test cases.
12874 (sin_test): Likewise.
12875 (sincos_test): Likewise.
12876
7bbfa5c6
AJ
128772012-03-15 Andreas Jaeger <aj@suse.de>
12878
12879 [BZ #13837]
12880 * math/libm-test.inc (cos_test): Add a test case for large input
12881 value.
12882 (sin_test): Likewise.
12883 (sincos_test): Likewise.
12884
128852012-03-15 Andreas Jaeger <aj@suse.de>,
12886 Joseph Myers <joseph@codesourcery.com>
12887
12888 [BZ #13658]
0671f479 12889 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12890 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12891 * sysdeps/i386/fpu/branred.c: Likewise.
12892 * sysdeps/i386/fpu/dosincos.c: Likewise.
12893 * sysdeps/i386/fpu/mpa.c: Likewise.
12894 * sysdeps/i386/fpu/s_cos.S: Likewise.
12895 * sysdeps/i386/fpu/s_sin.S: Likewise.
12896 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12897 * sysdeps/i386/fpu/sincos32.c: Likewise.
12898
12899 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12900 Define.
12901 (libc_feupdateenv_53bit): Define.
12902 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12903 Define.
12904 (libc_feupdateenv_53bit): Define.
12905
12906 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12907 53 bit (without extend i386 double precision).
12908
12909 * math/libm-test.inc (sincos_test): Add tests for large input.
12910 (sin): Likewise.
12911 (cos): Likewise.
12912
12913 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12914
9cad04ea
AS
129152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12916
12917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12918
f7062b9a
DM
129192012-03-15 David S. Miller <davem@davemloft.net>
12920
12921 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12922 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12923 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12924 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12937 file.
f7062b9a 12938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12940 file.
f7062b9a 12941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12943 file.
f7062b9a 12944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12946 file.
f7062b9a
DM
12947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12949 fmin/fmax sysdep routines.
12950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12951
7bd951ff
DM
129522012-03-14 David S. Miller <davem@davemloft.net>
12953
559398ab
DM
12954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12976 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12977 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12980 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12981 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12983 routines.
12984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12985 file.
559398ab 12986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12988 file.
559398ab 12989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12991 file.
559398ab 12992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12994 file.
559398ab 12995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12997 file.
559398ab 12998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13000 file.
13001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13002 file.
13003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13004 file.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13006 file.
13007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13008 New file.
13009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13010 file.
13011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13012 file.
559398ab 13013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
13014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13015 file.
559398ab 13016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
13017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13018 file.
559398ab 13019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
13020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13021 file.
559398ab 13022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
13023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13024 VIS3 routines.
559398ab
DM
13025
13026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13027 New file.
13028
5a1c1e32
DM
13029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13030
eae47a36
DM
13031 * sysdeps/sparc/configure.in: New file.
13032 * sysdeps/sparc/configure: Generate.
13033 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13034 * configure: Regenerate.
13035 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13036 * config.make.in (have-as-vis3): New.
13037 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13038 available use -Av9d instead of -Av9a.
13039 * sysdeps/sparc/sparc64/Makefile: Likewise.
13040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13042 New file.
13043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13044 file.
13045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13046 New file.
13047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13048 file.
eae47a36
DM
13049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13053 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13054
c0c83bc8
DM
13055 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13056 fzeros/fnegs to load 0x80000000 into a float register instead of
13057 using the stack.
7bd951ff
DM
13058 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13059
bd951ccb
JM
130602012-03-14 Joseph Myers <joseph@codesourcery.com>
13061
13062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13063 bits/syscall.h.
13064 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13065 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13066 ($(inst_includedir)/bits/syscall.h): Remove rule.
13067 ($(objpfx)bits/syscall.d): Include instead of
13068 $(objpfx)syscall-list.d.
13069 (generated): Change syscall-list.h and syscall-list.d to
13070 bits/syscall.h and bits/syscall.d.
13071
bb4e6db2
RM
130722012-03-14 Roland McGrath <roland@hack.frob.com>
13073
13074 [BZ #13846]
13075 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13076
aa4a2ae1
JM
130772012-03-14 Joseph Myers <joseph@codesourcery.com>
13078
e456826d
JM
13079 [BZ #13841]
13080 * math/s_csqrt.c: Include <float.h>.
13081 (__csqrt): Scale large or subnormal inputs.
13082 * math/s_csqrtf.c: Likewise.
13083 * math/s_csqrtl.c: Likewise.
13084 * math/libm-test.inc (csqrt_test): Add more tests.
13085 * sysdeps/i386/fpu/libm-test-ulps: Update.
13086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13087
aa4a2ae1
JM
13088 [BZ #13840]
13089 * math/libm-test.inc (hypot_test): Add more tests.
13090
7c10fd35
DM
130912012-03-13 David S. Miller <davem@davemloft.net>
13092
13093 [BZ #13840]
13094 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13095 double-precision for the calculation instead of scaling.
13096
f453b98b
JM
130972012-03-13 Joseph Myers <joseph@codesourcery.com>
13098
13099 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13100 manipulate bits before adding and subtracting TWO52[sx].
13101 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13103 Likewise.
13104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13105
09a3453f
DM
131062012-03-13 David S. Miller <davem@davemloft.net>
13107
8e59da90
DM
13108 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13109 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13111 rtld-global-offsets.h
13112 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13113
2a8ab7f2
DM
13114 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13115 large parameters.
13116
10f62770
DM
13117 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13118
5f0bdb18
DM
13119 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13120 'err' in the ifdef scope in which it is actually used.
13121
09a3453f
DM
13122 * nss/nss_db/db-init.c: Include string.h
13123
b4b2eb5e
DM
131242012-03-12 David S. Miller <davem@davemloft.net>
13125
98bb2f1c
DM
13126 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13127 masking out of the most significant byte of random value used.
13128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13129 Fix coding style in previous change.
13130
b4b2eb5e
DM
13131 * sysdeps/unix/sysv/linux/kernel-features.h
13132 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13133 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13134 expression.
13135 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13136 later.
13137
6e226b09
DM
131382012-03-11 David S. Miller <davem@davemloft.net>
13139
a1bcbd40
DM
13140 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13141 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13143 for 'resultvar' otherwise things get truncated on 64-bit.
13144
cb9d6174
DM
13145 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13146 Fix masking out of the most significant byte of random value used.
13147
6e226b09
DM
13148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13149
058c132d
AS
131502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13151
13152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13153
2d2cd515
DM
131542012-03-09 David S. Miller <davem@davemloft.net>
13155
13156 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13157 variables with appropriate CPP guards.
13158 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13159 frame pointer, not the stack pointer. Correct layout comments. Fix test
13160 on resulting framesize and the management of the outregs buffer for pltexit.
13161 Preserve floating point return values across _dl_call_pltexit call.
13162 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13163 framesize and the management of the outregs buffer for pltexit.
13164 Preserve floating point return values across _dl_call_pltexit
13165 call.
13166 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13167 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13168 (print_exit): Fix format string for return register value.
13169
9a07f9d0
JM
131702012-03-10 Joseph Myers <joseph@codesourcery.com>
13171
13172 * sunrpc/Makefile (others): Add rpcgen.
13173 ($(objpfx)rpcgen): Remove special build rule and dependency on
13174 libc.
13175 * sunrpc/rpcgen.c: New file.
13176
547b5e30
PE
131772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13178
c524201a
PE
13179 [BZ #13673]
13180 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13181 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13182 * sysdeps/i386/crti.S: Likewise.
13183 * sysdeps/i386/crtn.S: Likewise.
13184 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13185 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13186 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13187 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13188 * sysdeps/sh/crti.S: Likewise.
13189 * sysdeps/sh/crtn.S: Likewise.
13190 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13191
7b6235f2
PE
13192 [BZ #13673]
13193 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13194 with URL.
13195 * locale/programs/locfile-kw.gperf: Likewise.
13196 * locale/programs/charmap-kw.h: Regenerated.
13197 * locale/programs/locfile-kw.h: Likewise.
13198
547b5e30
PE
13199 [BZ #13673]
13200 * intl/plural.y: Replace FSF snail mail address with URL.
13201 * intl/plural.c: Regenerated.
13202
5f0a5dae
RH
132032012-03-09 Richard Henderson <rth@twiddle.net>
13204
13205 * include/math_private.h: Remove file.
13206 * math/math_private.h: Move file ...
13207 * sysdeps/generic/math_private.h: ... here.
13208
b8c03620
RH
13209 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13210 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13211 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13212
4e234f5d 13213 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13214 and <math_private.h>.
13215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13266 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13267 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13268 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13269 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13270 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13273 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13274 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13276 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13278 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13279 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13284 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13288 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13289 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13295 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13302 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13303 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13304 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13305 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13306 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13308 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13309 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13310 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13312 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13315 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13316 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13317 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13318 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13320 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13321 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13322 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13323 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13325 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13326 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13327 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13328 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13329 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13331 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13332 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13333 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13334 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13338 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13342 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13343 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13344 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13345 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13346 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13347 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13348 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13349 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13350 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13351 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13353 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13354 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13357 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13358 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13359 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13363 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13364 * sysdeps/ieee754/k_standard.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13447 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13454 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13456 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13458 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13468 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13469 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13475 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13484 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13488 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13490 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13491 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13492 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13493 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13494 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13495 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13496 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13497 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13498 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13499 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13500 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13501 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13502 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13503 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13504 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13505 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13508 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13509 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13510 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13511 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13512 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13513 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13514 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13515 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13516 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13519 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13520 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13521 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13522 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13523 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13524 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13525 * sysdeps/ieee754/s_lib_version.c: Likewise.
13526 * sysdeps/ieee754/s_matherr.c: Likewise.
13527 * sysdeps/ieee754/s_signgam.c: Likewise.
13528 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13529 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13530 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13531 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13533 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13534 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13535 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13536 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13537 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13538 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13539 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13540 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13541 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13542 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13543 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13544 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13545 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13549
1991fa03
JM
135502012-03-09 Joseph Myers <joseph@codesourcery.com>
13551
13552 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13553 * sunrpc/rpc_main.c: Likewise.
13554 * sunrpc/rpc_svcout.c: Likewise.
13555
60d6f5a6
DM
135562012-03-09 David S. Miller <davem@davemloft.net>
13557
13558 * include/math_private.h: New file.
13559
4962050e
JM
135602012-03-09 Joseph Myers <joseph@codesourcery.com>
13561
02a6f887
JM
13562 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13563 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13564 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13565 from <bits/socket_type.h>.
13566 (enum __socket_type): Don't define here.
13567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13569 bits/socket_type.h.
13570
c6e013c1
JM
13571 [BZ #13566]
13572 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13573 checking __USE_GNU.
13574
4962050e
JM
13575 * Makerules ($(inst_includedir)/%.h): New rule.
13576 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13577 (install-others): Remove variable setting.
13578 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13579
38842f45
RH
135802012-03-08 Richard Henderson <rth@twiddle.net>
13581
67bb6da6
RH
13582 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13583 from macro to inline function; merge with the
13584 !__LIBC_INTERNAL_MATH_INLINES version.
13585 (__ieee754_sqrtf): Likewise.
13586
15194b4b
RH
13587 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13588 to inline function.
13589 (__rintf, __floor, __floorf): Likewise.
13590
64e21ede
RH
13591 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13592 macro to inline function.
13593 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13594
38842f45
RH
13595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13596 not <math/math_private.h>.
13597
c64bf5fe
DM
135982012-03-08 David S. Miller <davem@davemloft.net>
13599
13600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13601 copyright year.
13602 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13603
82d86f28
TS
136042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13605
13606 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13607 normalization.
13608 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13609 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13610
aea5d727
UD
136112012-03-08 Ulrich Drepper <drepper@gmail.com>
13612
13613 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13614 be defined individually, they must be defined as a block. Define
13615 S for printing a string instead of hidint the different by using a
13616 macro for adding the 'l'.
13617 * stdio-common/tst-fphex-wide.c: Adjust.
13618
70bca0a3
MP
136192012-03-07 Marek Polacek <polacek@redhat.com>
13620
13621 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13622
65b81130
MP
136232012-03-08 Marek Polacek <polacek@redhat.com>
13624
13625 [BZ #13806]
13626 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13627 * stdio-common/tst-fphex.c: Define a few macros to make the
13628 test reusable. Use them.
13629 * stdio-common/tst-fphex-wide.c: New file.
13630
07037eeb
JM
136312012-03-08 Joseph Myers <joseph@codesourcery.com>
13632
a7a93d50
JM
13633 [BZ #6911]
13634 * manual/macros.texi (gnusystems): New macro.
13635 (nongnusystems): Likewise.
13636 (gnulinuxhurdsystems): Likewise.
13637 (gnuhurdsystems): Likewise..
13638 (gnulinuxsystems): Likewise.
13639 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13640 variants of the GNU system, not "GNU system".
13641 * manual/conf.texi: Likewise.
13642 * manual/errno.texi: Likewise. Update example of errno macro
13643 expansion.
13644 * manual/filesys.texi: Likewise.
13645 (getumask): Document as specific to GNU/Hurd.
13646 * manual/install.texi: Likewise. Reword some references to
13647 GNU/Linux.
13648 * manual/intro.texi: Likewise.
13649 * manual/io.texi: Likewise.
13650 (File Name Portability): Detail which constraints are inapplicable
13651 to all GNU systems and which are only inapplicable to GNU/Hurd.
13652 * manual/job.texi: Likewise.
13653 * manual/llio.texi: Likewise.
13654 (O_NOCTTY): Document as present on GNU/Linux.
13655 * manual/maint.texi: Likewise.
13656 * manual/memory.texi: Likewise.
13657 * manual/pattern.texi: Likewise.
13658 * manual/pipe.texi: Likewise.
13659 * manual/process.texi: Likewise.
13660 * manual/resource.texi: Likewise.
13661 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13662 child on GNU/Hurd.
13663 * manual/setjmp.texi: Likewise.
13664 * manual/signal.texi: Likewise.
13665 * manual/startup.texi: Likewise.
13666 * manual/stdio.texi: Likewise.
13667 * manual/terminal.texi: Likewise.
13668 (ONLCR): Document as POSIX.
13669 (OXTABS): Document availability on GNU/Linux as XTABS.
13670 (ONOEOT): Document availability separately from other bits.
13671 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13672 * manual/time.texi: Likewise.
13673 * manual/users.texi: Likewise.
13674 * INSTALL: Regenerated.
13675 * sysdeps/gnu/errlist.c: Regenerated.
13676
07037eeb
JM
13677 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13678 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13679 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13680 puts.
13681 * configure: Regenerated.
13682
d1d3431a
JM
136832012-03-07 Joseph Myers <joseph@codesourcery.com>
13684
af6a1e37
JM
13685 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13686 default includes instead of AC_HEADER_CHECK.
13687 * sysdeps/i386/configure: Regenerated.
13688
d1d3431a
JM
13689 [BZ #10716]
13690 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13691 * math/s_cacoshf.c (__cacoshf): Likewise.
13692 * math/s_cacoshl.c (__cacoshl): Likewise.
13693 * math/s_casinh.c (__casinh): Set signs of result from argument.
13694 * math/s_casinhf.c (__casinhf): Likewise.
13695 * math/s_casinhl.c (__casinhl): Likewise.
13696 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13697 (casinh_test): Add more tests.
13698 * sysdeps/i386/fpu/libm-test-ulps: Update.
13699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13700
482ff4da
UD
137012012-03-07 Ulrich Drepper <drepper@gmail.com>
13702
872fda05
UD
13703 * po/zh_TW.po: Update from translation team.
13704
a4300c7a
UD
13705 * login/Makefile (distribute): Remove variable.
13706 * catgets/Makefile: Likewise.
13707 * mach/Makefile: Likewise.
13708 * malloc/Makefile: Likewise.
13709 * misc/Makefile: Likewise.
13710 * iconv/Makefile: Likewise.
13711 * nscd/Makefile: Likewise.
13712 * hurd/Makefile: Likewise.
13713 * manual/Makefile: Likewise.
13714 * locale/Makefile: Likewise.
13715 * intl/Makefile: Likewise.
13716 * conform/Makefile: Likewise.
13717 * nss/Makefile: Likewise.
13718 * time/Makefile: Likewise.
13719 * soft-fp/Makefile: Likewise.
13720 * dirent/Makefile: Likewise.
13721 * gmon/Makefile: Likewise.
13722 * po/Makefile: Likewise.
13723 * rt/Makefile: Likewise.
13724 * socket/Makefile: Likewise.
13725 * math/Makefile: Likewise.
13726 * signal/Makefile: Likewise.
13727 * debug/Makefile: Likewise.
13728 * elf/Makefile: Likewise.
13729 * timezone/Makefile: Likewise.
13730 * stdlib/Makefile: Likewise.
13731 * iconvdata/Makefile: Likewise.
13732 * sunrpc/Makefile: Likewise.
13733 * io/Makefile: Likewise.
13734 * argp/Makefile: Likewise.
13735 * inet/Makefile: Likewise.
13736 * hesiod/Makefile: Likewise.
13737 * grp/Makefile: Likewise.
13738 * csu/Makefile: Likewise.
13739 * wctype/Makefile: Likewise.
13740 * crypt/Makefile: Likewise.
13741 * libio/Makefile: Likewise.
13742 * string/Makefile: Likewise.
13743 * nis/Makefile: Likewise.
13744 * resolv/Makefile: Likewise.
13745 * stdio-common/Makefile: Likewise.
13746 * wcsmbs/Makefile: Likewise.
13747 * dlfcn/Makefile: Likewise.
13748 * posix/Makefile: Likewise.
13749
3b7c4e74 13750 [BZ #6959]
482ff4da
UD
13751 * timezone/Makefile: Don't install timezone files, just the programs
13752 and scripts.
13753
f72ed77d
UD
137542012-03-06 Ulrich Drepper <drepper@gmail.com>
13755
a000466f
UD
13756 * nss/databases.def: Add missing gshadow entry.
13757
f72ed77d
UD
13758 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13759
a53b7a4e
MP
137602012-03-06 Marek Polacek <polacek@redhat.com>
13761
13762 [BZ #13726]
13763 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13764 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13765 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13766 * stdio-common/tst-long-dbl-fphex.c: New file.
13767
e9258400
DM
137682012-03-06 David S. Miller <davem@davemloft.net>
13769
13770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13771 (set_obp_int): New function.
13772 (get_obp_int): New function.
13773 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13775 Avoid unused variable warnings on 'val' and use builtin_expect.
13776 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13777 __builtin_expect.
e9258400
DM
13778 (INLINE_CLONE_SYSCALL): Likewise.
13779
3bd2c723
DM
137802012-03-05 David S. Miller <davem@davemloft.net>
13781
13782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13783
bbb78d03
AS
137842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13785
884c5db4
AS
13786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13787
bbb78d03
AS
13788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13789 only for |x| >= 40.
13790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13791
1c9f702a 137922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13793
13794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13795 Replace gettimeofday with __vdso_gettimeofday.
13796
7be16f82
RM
13797 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13798 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13799 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13800
13801 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13802 time with __vdso_time.
13803
ed58a00f
JM
138042012-03-05 Joseph Myers <joseph@codesourcery.com>
13805
13806 * manual/lang.texi (size_t): Note types to which size_t may be
13807 equivalent with the GNU C Library, but do not describe when
13808 differences between them are significant.
13809
30ee4ced
AJ
138102012-03-05 Andreas Jaeger <aj@suse.de>
13811
13812 * sysdeps/i386/fpu/libm-test-ulps: Update.
13813
b7cd39e8
JM
138142012-03-05 Joseph Myers <joseph@codesourcery.com>
13815
13816 [BZ #3976]
13817 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13818 (__ieee754_pow): Save and restore rounding mode and use
13819 round-to-nearest for main computations.
13820 * math/libm-test.inc (pow_test_tonearest): New function.
13821 (pow_test_towardzero): Likewise.
13822 (pow_test_downward): Likewise.
13823 (pow_test_upward): Likewise.
13824 (main): Call the new functions.
13825 * sysdeps/i386/fpu/libm-test-ulps: Update.
13826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13827
13828 [BZ #3976]
13829 * math/libm-test.inc (cosh_test_tonearest): New function.
13830 (cosh_test_towardzero): Likewise.
13831 (cosh_test_downward): Likewise.
13832 (cosh_test_upward): Likewise.
13833 (sinh_test_tonearest): Likewise.
13834 (sinh_test_towardzero): Likewise.
13835 (sinh_test_downward): Likewise.
13836 (sinh_test_upward): Likewise.
13837 (main): Call the new functions.
13838 * sysdeps/i386/fpu/libm-test-ulps: Update.
13839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13840
6c6a98c9
TV
138412012-03-05 Tom de Vries <tom@codesourcery.com>
13842
13843 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13844 default stack guard is set in last bytes.
13845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13846
21bb2d2e 138472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13848
21bb2d2e 13849 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13850
21bb2d2e
AJ
13851 [BZ #13656]
13852 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13853 possibly allocate from heap instead of stack.
13854 * stdio-common/bug-vfprintf-nargs.c: New file.
13855 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13856
c6922934
AS
138572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13858
13859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13860
bc957d53
MP
138612012-03-03 Marek Polacek <polacek@redhat.com>
13862
13863 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13864 * math/math_private.h: Likewise.
13865 * stdlib/tst-strtod.c: Likewise.
13866 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13867 * sysdeps/x86_64/bits/atomic.h: Likewise.
13868
6358490d
DM
138692012-03-02 David S. Miller <davem@davemloft.net>
13870
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13875 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13876 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13877 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13878 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13879
01ae168d
RM
138802012-03-02 Roland McGrath <roland@hack.frob.com>
13881
d9a17c07
RM
13882 [BZ #13792]
13883 * manual/examples/README: New file, says the example source files
13884 can be used under GPL>=2.
13885 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13886 line containing just "*/".
13887 * manual/examples/add.c: Add copyright header (GPL>=2).
13888 * manual/examples/argp-ex1.c: Likewise.
13889 * manual/examples/argp-ex2.c: Likewise.
13890 * manual/examples/argp-ex3.c: Likewise.
13891 * manual/examples/argp-ex4.c: Likewise.
13892 * manual/examples/atexit.c: Likewise.
13893 * manual/examples/db.c: Likewise.
13894 * manual/examples/dir.c: Likewise.
13895 * manual/examples/dir2.c: Likewise.
13896 * manual/examples/execinfo.c: Likewise.
13897 * manual/examples/filecli.c: Likewise.
13898 * manual/examples/filesrv.c: Likewise.
13899 * manual/examples/fmtmsgexpl.c: Likewise.
13900 * manual/examples/genpass.c: Likewise.
13901 * manual/examples/inetcli.c: Likewise.
13902 * manual/examples/inetsrv.c: Likewise.
13903 * manual/examples/isockad.c: Likewise.
13904 * manual/examples/longopt.c: Likewise.
13905 * manual/examples/memopen.c: Likewise.
13906 * manual/examples/memstrm.c: Likewise.
13907 * manual/examples/mkfsock.c: Likewise.
13908 * manual/examples/mkisock.c: Likewise.
13909 * manual/examples/mygetpass.c: Likewise.
13910 * manual/examples/pipe.c: Likewise.
13911 * manual/examples/popen.c: Likewise.
13912 * manual/examples/rprintf.c: Likewise.
13913 * manual/examples/search.c: Likewise.
13914 * manual/examples/select.c: Likewise.
13915 * manual/examples/setjmp.c: Likewise.
13916 * manual/examples/sigh1.c: Likewise.
13917 * manual/examples/sigusr.c: Likewise.
13918 * manual/examples/stpcpy.c: Likewise.
13919 * manual/examples/strdupa.c: Likewise.
13920 * manual/examples/strftim.c: Likewise.
13921 * manual/examples/strncat.c: Likewise.
13922 * manual/examples/subopt.c: Likewise.
13923 * manual/examples/swapcontext.c: Likewise.
13924 * manual/examples/termios.c: Likewise.
13925 * manual/examples/testopt.c: Likewise.
13926 * manual/examples/testpass.c: Likewise.
13927 * manual/examples/timeval_subtract.c: Likewise.
13928
01ae168d
RM
13929 [BZ #13792]
13930 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13931 function to ...
13932 * manual/timeval_subtract.c.texi: ... here, new file.
13933
49efa33d
DM
139342012-03-02 David S. Miller <davem@davemloft.net>
13935
13936 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13937
28afd92d
JM
139382012-03-02 Joseph Myers <joseph@codesourcery.com>
13939
804360ed
JM
13940 [BZ #3976]
13941 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13942 (__sin): Save and restore rounding mode and use round-to-nearest
13943 for all computations.
13944 (__cos): Save and restore rounding mode and use round-to-nearest
13945 for all computations.
13946 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13947 <fenv.h>.
13948 (tan): Save and restore rounding mode and use round-to-nearest for
13949 all computations.
13950 * math/libm-test.inc (cos_test_tonearest): New function.
13951 (cos_test_towardzero): Likewise.
13952 (cos_test_downward): Likewise.
13953 (cos_test_upward): Likewise.
13954 (sin_test_tonearest): Likewise.
13955 (sin_test_towardzero): Likewise.
13956 (sin_test_downward): Likewise.
13957 (sin_test_upward): Likewise.
13958 (tan_test_tonearest): Likewise.
13959 (tan_test_towardzero): Likewise.
13960 (tan_test_downward): Likewise.
13961 (tan_test_upward): Likewise.
13962 (main): Call the new functions.
13963 * sysdeps/i386/fpu/libm-test-ulps: Update.
13964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13965
a6d06d7b
JM
13966 [BZ #10135]
13967 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13968 small n, then large n, before computing and testing k+n.
13969 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13971 Likewise.
13972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13973 Likewise.
13974 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13975 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13978 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13979 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13982 * math/libm-test.inc (scalbn_test): Add more tests.
13983 (scalbln_test): Likewise.
13984
07e12bb3
JM
13985 * manual/filesys.texi (mode_t): Describe constraints on size and
13986 signedness, not exact equivalence to a particular type.
13987 (ino_t): Likewise.
13988 (ino64_t): Likewise.
13989 (dev_t): Likewise.
13990 (nlink_t): Likewise.
13991 (blkcnt_t): Likewise.
13992 (blkcnt64_t): Likewise.
13993 * manual/llio.texi (off_t): Likewise.
13994
28afd92d
JM
13995 [BZ #3976]
13996 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13997 (__ieee754_exp): Save and restore rounding mode and use
13998 round-to-nearest for all computations.
13999 * math/libm-test.inc (exp_test_tonearest): New function.
14000 (exp_test_towardzero): Likewise.
14001 (exp_test_downward): Likewise.
14002 (exp_test_upward): Likewise.
14003 (main): Call the new functions.
14004 * sysdeps/i386/fpu/libm-test-ulps: Update.
14005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14006
b1eeb65d
CD
140072012-03-01 Chris Demetriou <cgd@google.com>
14008
14009 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14010 have predictable order.
14011
53362a4b
DM
140122012-03-01 David S. Miller <davem@davemloft.net>
14013
3c969083
DM
14014 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14015
759707de
DM
14016 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14017 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14018 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14019 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14020
dfdb8ff2
DM
14021 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14022 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14023 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14025 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14026 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14027 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14028 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14029 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14030
ead89f96
DM
14031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14032
7f66bd07
DM
14033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14034 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14036
53362a4b
DM
14037 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14038 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14039 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14040 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14041 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14042 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14044 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14045 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14046 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14047 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14050 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14051 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14053 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14054 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14055 * sysdeps/sparc/elf/configure: Regenerated.
14056
7b1902cb
JM
140572012-03-01 Joseph Myers <joseph@codesourcery.com>
14058
bec039bc
JM
14059 * configure.in (AS, LD): Require binutils 2.20 or later.
14060 * configure: Regenerated.
14061 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14062 as required minimum version.
14063 * INSTALL: Regenerated.
14064
7b1902cb
JM
14065 [BZ #2541]
14066 [BZ #4108]
14067 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14068 before squaring exponent.
14069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14070 bottom long double and 27 bits of top long double before squaring
14071 exponent.
14072 * math/libm-test.inc (erfc_test): Add more tests.
14073 * sysdeps/i386/fpu/libm-test-ulps: Update.
14074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14076
f775c276
KT
140772012-03-01 Kai Tietz <ktietz@redhat.com>
14078
14079 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14080 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14081 containing bit-fields.
14082 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14083 * soft-fp/single.h (_FP_UNION_S): Likewise.
14084 * soft-fp/double.h (_FP_UNION_D): Likewise.
14085
5b8a4d4a
JM
140862012-02-29 Joseph Myers <joseph@codesourcery.com>
14087
0bab47b6
JM
14088 [BZ #13786]
14089 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14090 not include ../strcmp.S.
14091 [USE_AS_STRNCASECMP_L]: Likewise.
14092 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14093 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14094 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14095 (__strncasecmp_l_ia32): Define as alias to
14096 __strncasecmp_l_nonascii.
14097
0fcad3e2
JM
14098 [BZ #5794]
14099 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14100 * sysdeps/i386/fpu/libm-test-ulps: Update.
14101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14102
5b8a4d4a
JM
14103 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14105
8fdceb2e
JL
141062012-02-29 Jeff Law <law@redhat.com>
14107
14108 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14109 out of bounds read.
14110
1f393a11
MP
141112012-02-29 Marek Polacek <polacek@redhat.com>
14112
14113 [BZ #13706]
14114 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14115 * elf/Makefile: Add rules to run tst-unused-dep.out.
14116
8847f037
DM
141172012-02-28 David S. Miller <davem@davemloft.net>
14118
14119 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14120 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14121 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14125
169d7f11
JM
141262012-02-29 Joseph Myers <joseph@codesourcery.com>
14127
14128 * math/libm-test.inc (llround_test): Move one test from
14129 lround_test. Use TEST_f_L in moved test.
14130 (lround_test): Move misplaced test to llround_test. Add testcase
14131 from bug 2561.
14132
39adf059
UD
141332012-02-28 Ulrich Drepper <drepper@gmail.com>
14134
14135 * sysdeps/x86_64/fpu/e_expf.S: New file.
14136 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14137
71b5d1c5
SB
141382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14139
14140 [BZ #13637]
14141 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14142 of remain_len that may cause incomplete multi-byte character and
14143 false match.
14144 * posix/bug-regex33.c: New file.
14145 * posix/Makefile (tests): Add bug-regex33.
14146
1f77f049
JM
141472012-02-28 Joseph Myers <joseph@codesourcery.com>
14148
14149 * manual/macros.texi: New file.
14150 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14151 * manual/libc.texinfo: Include macros.texi.
14152 * manual/creatute.texi: Likewise.
14153 * manual/install.texi: Likewise.
14154 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14155 @glibcadj{} in references to the GNU C Library.
14156 * manual/charset.texi: Likewise.
14157 * manual/conf.texi: Likewise.
14158 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14159 when not using those macros.
14160 * manual/creature.texi: Likewise.
14161 * manual/crypt.texi: Likewise.
14162 * manual/errno.texi: Likewise.
14163 * manual/filesys.texi: Likewise.
14164 * manual/header.texi: Likewise.
14165 * manual/install.texi: Likewise.
14166 * manual/intro.texi: Likewise.
14167 * manual/io.texi: Likewise.
14168 * manual/job.texi: Likewise.
14169 * manual/lang.texi: Likewise.
14170 * manual/libc.texiinfo: Likewise.
14171 * manual/llio.texi: Likewise.
14172 * manual/locale.texi: Likewise.
14173 * manual/maint.texi: Likewise.
14174 * manual/math.texi: Likewise.
14175 * manual/memory.texi: Likewise.
14176 * manual/message.texi: Likewise.
14177 * manual/nss.texi: Likewise.
14178 * manual/pattern.texi: Likewise.
14179 * manual/process.texi: Likewise.
14180 * manual/resource.texi: Likewise.
14181 * manual/search.texi: Likewise.
14182 * manual/setjmp.texi: Likewise.
14183 * manual/signal.texi: Likewise.
14184 * manual/socket.texi: Likewise.
14185 * manual/startup.texi: Likewise.
14186 * manual/stdio.texi: Likewise.
14187 * manual/string.texi: Likewise.
14188 * manual/sysinfo.texi: Likewise.
14189 * manual/syslog.texi: Likewise.
14190 * manual/terminal.texi: Likewise.
14191 * manual/time.texi: Likewise.
14192 * manual/users.texi: Likewise.
14193 * INSTALL: Regenerated.
14194 * NOTES: Regenerated.
d40c5d54 14195 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14196
450bf206
AS
141972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14198
14199 * include/dirent.h: Include <dirstream.h> before
14200 <dirent/dirent.h>.
14201
741a235b
DM
142022012-02-28 David S. Miller <davem@davemloft.net>
14203
14204 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14205 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14206 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14207 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14208
d6b5aa58
DM
142092012-02-27 David S. Miller <davem@davemloft.net>
14210
1aff59a3
DM
14211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14213 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14214 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14215
d6b5aa58
DM
14216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14217 frame pointer instead of stack pointer relative arg slot.
14218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14221
433f48bf
CD
142222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14223
14224 [BZ #3992]
14225 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14226
d674b76d
DM
142272012-02-27 David S. Miller <davem@davemloft.net>
14228
14229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14235 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14236 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14237
0e7727f7
JM
142382012-02-27 Joseph Myers <joseph@codesourcery.com>
14239
14240 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14241 later. Allow versions 5-9.
43be4ca2 14242 * configure: Regenerated.
0e7727f7
JM
14243 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14244 required minimum version and 4.6 as recommended version. Do not
14245 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14246 * INSTALL: Regenerated.
0e7727f7 14247
a78bc654
DM
142482012-02-27 David S. Miller <davem@davemloft.net>
14249
428d5830
DM
14250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14254 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14255 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14256 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14257 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14258
a78bc654
DM
14259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14260 manipulate bits before adding and subtracting TWO112[sx].
14261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14262
4579f81c
RM
142632012-02-27 Roland McGrath <roland@hack.frob.com>
14264
36c8acb4
RM
14265 [BZ #13775]
14266 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14267 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14268 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14269 being in POSIX, because they are in 1003.1-2008.
14270
84ad622b
RM
14271 * rt/tst-aio.c: Include <fcntl.h>.
14272 * rt/tst-aio7.c: Likewise.
14273 * rt/tst-aio64.c: Likewise.
14274
4579f81c
RM
14275 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14276
abd923db
JM
142772012-02-27 Joseph Myers <joseph@codesourcery.com>
14278
14279 * manual/install.texi (--with-headers): Describe headers as
14280 interface headers, not private headers.
14281 (Specific advice for GNU/Linux systems): Describe use of headers
14282 from "make headers_install", not private headers from older
14283 kernels.
43be4ca2 14284 * INSTALL: Regenerated.
abd923db
JM
14285 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14286 Change to 2.6.19.
14287 * sysdeps/unix/sysv/linux/configure: Regenerated.
14288
6664049b
JM
14289 * manual/llio.texi (fclean): Remove documentation.
14290
bb8b6697
JM
14291 * manual/Makefile (libc-texi-generated): New variable. Include
14292 version.texi.
14293 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14294 $(libc-texi-generated), not duplicated list of files.
14295 (version.texi, stamp-version): New rules.
14296 (realclean): Remove $(libc-texi-generated), not individual files
14297 from that list. Do not remove dir-add.texinfo.
14298 * manual/libc.texinfo: Comment out uses of edition numbers and
14299 references to printed manual. Remove last-updated dates.
14300 (EDITION): Comment out.
14301 (ISBN): Likewise.
14302 (VERSION, UPDATED): Remove.
14303 (version.texi): Include.
14304
12e5c3b9
AS
143052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14306
14307 * sysdeps/posix/spawni.c: Include <signal.h>.
14308 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14309 * sysdeps/pthread/aio_fsync.c: Likewise.
14310
4efeffc1 143112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14312
ba63ba08
UD
14313 * conform/Makefile (tests): Run only when not cross-compiling and
14314 when fast-check is not defined.
14315
d94a4670
UD
14316 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14317 * conform/data/limits.h-data: Fixes for POSIX2008.
14318 * conform/run-conformtest.sh: Run all tests.
14319 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14320 headers.
14321 * include/bits/dlfcn.h: Likewise.
14322 * include/langinfo.h: Likewise.
14323 * include/monetary.h: Likewise.
14324 * include/sys/poll.h: Likewise.
14325
14326 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14327 for __USE_GNU.
14328 * posix/spawn.h: Define __need_sigset_t.
14329 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14330 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14331 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14332 to get sigevent_t only.
14333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14334 only for __USE_GNU.
14335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14336 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14337 process_vm_writev only for __USE_GNU.
14338 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14339
14340 * conform/Makefile: For now ignore errors from run-conformtest.
14341 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14342 POSIX to avoid namespace pollution. Don't prepend headers.
14343 * conform/data/aio.h-data: Fixes for POSIX testing.
14344 * conform/data/fcntl.h-data: Likewise.
14345 * conform/data/glob.h-data: Likewise.
14346 * conform/data/grp.h-data: Likewise.
14347 * conform/data/pthread.h-data: Likewise.
14348 * conform/data/pwd.h-data: Likewise.
14349 * conform/data/signal.h-data: Likewise.
14350 * conform/data/spawn.h-data: Likewise.
14351 * conform/data/stdio.h-data: Likewise.
14352 * conform/data/stdlib.h-data: Likewise.
14353 * conform/data/stropts.h-data: Likewise.
14354 * conform/data/sys/mman.h-data: Likewise.
14355 * conform/data/sys/stat.h-data: Likewise.
14356 * conform/data/sys/types.h-data: Likewise.
14357 * conform/data/sys/wait.h-data: Likewise.
14358 * conform/data/time.h-data: Likewise.
14359 * conform/data/unistd.h-data: Likewise.
14360 * conform/data/utime.h-data: Likewise.
14361
14362 * io/sys/stat.h: fchmod was always in POSIX.
14363 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14364 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14365 * rt/aio.h: Define __need_timespec before including <time.h>.
14366 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14367 struct. Add forward declaration of pthread_attr_t and use it in
14368 sigevent.
14369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14371 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14372 always remove CLK_TCK definition.
14373
c20105c3
AS
143742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14375
14376 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14377
7a270350
UD
143782012-02-25 Ulrich Drepper <drepper@gmail.com>
14379
31341567
UD
14380 * conform/run-conformtest.sh: New file.
14381 * conform/Makefile: Run run-conformtest for tests.
14382 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14383 support.
14384
14385 * conform/data/uchar.h-data: New file.
14386 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14387 * conform/data/arpa/inet.h-data: Likewise.
14388 * conform/data/assert.h-data: Likewise.
14389 * conform/data/complex.h-data: Likewise.
14390 * conform/data/cpio.h-data: Likewise.
14391 * conform/data/ctype.h-data: Likewise.
14392 * conform/data/dirent.h-data: Likewise.
14393 * conform/data/dlfcn.h-data: Likewise.
14394 * conform/data/errno.h-data: Likewise.
14395 * conform/data/fcntl.h-data: Likewise.
14396 * conform/data/float.h-data: Likewise.
14397 * conform/data/fmtmsg.h-data: Likewise.
14398 * conform/data/fnmatch.h-data: Likewise.
14399 * conform/data/ftw.h-data: Likewise.
14400 * conform/data/glob.h-data: Likewise.
14401 * conform/data/grp.h-data: Likewise.
14402 * conform/data/iconv.h-data: Likewise.
14403 * conform/data/inttypes.h-data: Likewise.
14404 * conform/data/langinfo.h-data: Likewise.
14405 * conform/data/libgen.h-data: Likewise.
14406 * conform/data/limits.h-data: Likewise.
14407 * conform/data/locale.h-data: Likewise.
14408 * conform/data/math.h-data: Likewise.
14409 * conform/data/monetary.h-data: Likewise.
14410 * conform/data/mqueue.h-data: Likewise.
14411 * conform/data/ndbm.h-data: Likewise.
14412 * conform/data/net/if.h-data: Likewise.
14413 * conform/data/netdb.h-data: Likewise.
14414 * conform/data/netinet/in.h-data: Likewise.
14415 * conform/data/nl_types.h-data: Likewise.
14416 * conform/data/poll.h-data: Likewise.
14417 * conform/data/pthread.h-data: Likewise.
14418 * conform/data/pwd.h-data: Likewise.
14419 * conform/data/regex.h-data: Likewise.
14420 * conform/data/sched.h-data: Likewise.
14421 * conform/data/search.h-data: Likewise.
14422 * conform/data/semaphore.h-data: Likewise.
14423 * conform/data/setjmp.h-data: Likewise.
14424 * conform/data/signal.h-data: Likewise.
14425 * conform/data/spawn.h-data: Likewise.
14426 * conform/data/stdarg.h-data: Likewise.
14427 * conform/data/stdio.h-data: Likewise.
14428 * conform/data/stdlib.h-data: Likewise.
14429 * conform/data/string.h-data: Likewise.
14430 * conform/data/strings.h-data: Likewise.
14431 * conform/data/stropts.h-data: Likewise.
14432 * conform/data/sys/ipc.h-data: Likewise.
14433 * conform/data/sys/mman.h-data: Likewise.
14434 * conform/data/sys/msg.h-data: Likewise.
14435 * conform/data/sys/resource.h-data: Likewise.
14436 * conform/data/sys/select.h-data: Likewise.
14437 * conform/data/sys/sem.h-data: Likewise.
14438 * conform/data/sys/shm.h-data: Likewise.
14439 * conform/data/sys/socket.h-data: Likewise.
14440 * conform/data/sys/stat.h-data: Likewise.
14441 * conform/data/sys/statvfs.h-data: Likewise.
14442 * conform/data/sys/time.h-data: Likewise.
14443 * conform/data/sys/timeb.h-data: Likewise.
14444 * conform/data/sys/times.h-data: Likewise.
14445 * conform/data/sys/types.h-data: Likewise.
14446 * conform/data/sys/uio.h-data: Likewise.
14447 * conform/data/sys/un.h-data: Likewise.
14448 * conform/data/sys/utsname.h-data: Likewise.
14449 * conform/data/sys/wait.h-data: Likewise.
14450 * conform/data/syslog.h-data: Likewise.
14451 * conform/data/tar.h-data: Likewise.
14452 * conform/data/termios.h-data: Likewise.
14453 * conform/data/utime.h-data: Likewise.
14454 * conform/data/utmpx.h-data: Likewise.
14455 * conform/data/varargs.h-data: Likewise.
14456 * conform/data/wchar.h-data: Likewise.
14457 * conform/data/wctype.h-data: Likewise.
14458 * conform/data/wordexp.h-data: Likewise.
14459
14460 * include/stropts.h: New file.
14461 * include/uchar.h: New file.
14462 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14463 * include/assert.h: Likewise.
14464 * include/ctype.h: Likewise.
14465 * include/dirent.h: Likewise.
14466 * include/dlfcn.h: Likewise.
14467 * include/fcntl.h: Likewise.
14468 * include/fnmatch.h: Likewise.
14469 * include/glob.h: Likewise.
14470 * include/grp.h: Likewise.
14471 * include/libio.h: Likewise.
14472 * include/locale.h: Likewise.
14473 * include/math.h: Likewise.
14474 * include/net/if.h: Likewise.
14475 * include/netdb.h: Likewise.
14476 * include/netinet/in.h: Likewise.
14477 * include/pthread.h: Likewise.
14478 * include/pwd.h: Likewise.
14479 * include/regex.h: Likewise.
14480 * include/sched.h: Likewise.
14481 * include/search.h: Likewise.
14482 * include/setjmp.h: Likewise.
14483 * include/signal.h: Likewise.
14484 * include/stdio.h: Likewise.
14485 * include/stdlib.h: Likewise.
14486 * include/string.h: Likewise.
14487 * include/sys/cdefs.h: Likewise.
14488 * include/sys/mman.h: Likewise.
14489 * include/sys/msg.h: Likewise.
14490 * include/sys/resource.h: Likewise.
14491 * include/sys/select.h: Likewise.
14492 * include/sys/socket.h: Likewise.
14493 * include/sys/stat.h: Likewise.
14494 * include/sys/statvfs.h: Likewise.
14495 * include/sys/time.h: Likewise.
14496 * include/sys/times.h: Likewise.
14497 * include/sys/uio.h: Likewise.
14498 * include/sys/utsname.h: Likewise.
14499 * include/sys/wait.h: Likewise.
14500 * include/termios.h: Likewise.
14501 * include/time.h: Likewise.
14502 * include/ulimit.h: Likewise.
14503 * include/unistd.h: Likewise.
14504 * include/utime.h: Likewise.
14505 * include/wchar.h: Likewise.
14506 * include/wctype.h: Likewise.
14507 * include/wordexp.h: Likewise.
14508
14509 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14510
7a270350
UD
14511 * time/time.h: TIME_UTC must be a macro.
14512 Make timespec_get available for ISO C11 only as well.
14513
7724defc
UD
145142012-02-24 Ulrich Drepper <drepper@gmail.com>
14515
14516 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14517 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14518
6b1d1d46
JM
145192012-02-24 Joseph Myers <joseph@codesourcery.com>
14520
14521 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14522
0f8bbd69
JM
145232012-02-24 Joseph Myers <joseph@codesourcery.com>
14524
14525 * manual/texinfo.tex: Update to version 2012-01-19.16.
14526
66ab80bc
JM
145272012-02-24 Joseph Myers <joseph@codesourcery.com>
14528
14529 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14530
74981cc5
RM
145312012-02-24 Roland McGrath <roland@hack.frob.com>
14532
ee968201
RM
14533 [BZ #13738]
14534 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14535 * manual/fdl-1.3.texi: New file.
14536 * manual/fdl-1.1.texi: File removed.
14537
74981cc5
RM
14538 [BZ #13738]
14539 * manual/libc.texinfo (FDL_VERSION): New @set.
14540 Use it for mention of FDL in cover text.
14541 (Documentation License): Use it in @include file name.
14542
7bb764bc
JM
145432012-02-22 Joseph Myers <joseph@codesourcery.com>
14544 Roland McGrath <roland@hack.frob.com>
14545
14546 [BZ #5461]
14547 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14548 not LONG_LONG_MAX and LONG_LONG_MIN.
14549 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14550 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14551 name.
14552 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14553
6cbeae47
JM
145542012-02-22 Joseph Myers <joseph@codesourcery.com>
14555
14556 [BZ #2547]
14557 [BZ #11365]
14558 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14559 manipulate bits before adding and subtracting TWO23[sx].
14560 * math/libm-test.inc (nearbyint_test): Add more tests.
14561
fe45ce09
JM
145622012-02-22 Joseph Myers <joseph@codesourcery.com>
14563
14564 [BZ #2548]
14565 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14566 bits before adding and subtracting TWO23[sx].
14567 * math/libm-test.inc (rint_test): Add more tests.
14568 (rint_test_tonearest): Likewise.
14569 (rint_test_towardzero): Likewise.
14570 (rint_test_downward): Likewise.
14571 (rint_test_upward: Likewise.
14572
ff3b3d82
JM
145732012-02-22 Joseph Myers <joseph@codesourcery.com>
14574
14575 [BZ #10110]
14576 * include/stdc-predef.h: New file. Extracted from features.h.
14577 * include/features.h: Include stdc-predef.h.
14578 * Makefile (headers): Add stdc-predef.h.
14579 * CONFORMANCE (Compiler limitations): Update.
14580
ef0aab35
JM
145812012-02-22 Joseph Myers <joseph@codesourcery.com>
14582
14583 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14584
58639409
DM
145852012-02-21 David S. Miller <davem@davemloft.net>
14586
14587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14589
c0e70b25
DM
145902012-02-20 David S. Miller <davem@davemloft.net>
14591
14592 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14593 using a normal save/restore sequence, rather than allocating a
14594 dummy stack frame just to store a frame pointer and restore.
14595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14596
fb06851d
JM
145972012-02-21 Joseph Myers <joseph@codesourcery.com>
14598
14599 * manual/install.texi: Fix stray word in line-wrapped comment.
14600
7a8b71c3
DM
146012012-02-20 David S. Miller <davem@davemloft.net>
14602
d510c123
DM
14603 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14604 both binutils and gcc support GOTDATA.
14605
0722d7c2
DM
14606 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14607 "rd %pc" in the PIC register setup sequences.
14608
3d2b3019
DM
14609 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14610 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14611 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14612 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14613 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14618 (SYSCALL_ERROR_HANDLER): Likewise.
14619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14622 (SYSCALL_ERROR_HANDLER): Likewise.
14623
c80098a9
DM
14624 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14625 (HAVE_GCC_GOTDATA): New.
14626 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14627 relocation support in both binutils and gcc.
14628 * sysdeps/sparc/elf/configure: Regenerate.
14629
3a2545a0
DM
14630 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14631 * sysdeps/sparc/sparc32/elf/configure: Delete.
14632 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14633 * sysdeps/sparc/sparc64/elf/configure: Delete.
14634 * sysdeps/sparc/elf/configure.in: New file.
14635 * sysdeps/sparc/elf/configure: Generate.
14636
7a8b71c3
DM
14637 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14638 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14639 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14640 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14641 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14642
f1e86fca
JM
146432012-02-21 Joseph Myers <joseph@codesourcery.com>
14644
14645 * manual/install.texi: Do not mention specific glibc version
14646 numbers.
14647 * manual/libc.texinfo (VERSION, UPDATED): Update.
14648 (@copying): Use @copyright{} and range of years.
14649
0e7dfaef
JM
146502012-02-21 Joseph Myers <joseph@codesourcery.com>
14651
14652 [BZ #13695]
14653 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14654 [crti.S not in sysdirs] (generated): Do not append.
14655 [crti.S not in sysdirs] (omit-deps): Likewise.
14656 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14657 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14658 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14659 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14660 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14661 Likewise.
14662 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14663 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14664 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14665 * csu/defs.awk: Remove file.
14666 * sysdeps/generic/initfini.c: Likewise.
14667 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14668 variable.
14669 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14670 Likewise.
14671
599af3ca
JM
146722012-02-20 Joseph Myers <joseph@codesourcery.com>
14673
14674 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14675 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14676 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14678 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14679 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14680 <bits/epoll.h>.
14681 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14682 (__EPOLL_PACKED): Define to empty if not defined by
14683 <bits/epoll.h>.
14684 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14686 bits/epoll.h.
14687
0e499750
JM
146882012-02-20 Joseph Myers <joseph@codesourcery.com>
14689
14690 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14691 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14692 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14693 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14694 <bits/timerfd.h>.
14695 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14697 bits/timerfd.h.
14698
5ad91f6e
JM
146992012-02-20 Joseph Myers <joseph@codesourcery.com>
14700
14701 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14702 in C locale.
14703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14707
06b99b02
AJ
147082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14709
14710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14712
7638c0fd
AS
147132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14714
14715 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14716 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14717 defined.
14718 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14719 Likewise.
14720 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14721 entry for 2.16.
14722
92221550
AJ
147232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14724
14725 * math/w_acos.c: Use non-signaling floating-point comparisons.
14726 * math/w_acosf.c: Likewise.
14727 * math/w_acosh.c: Likewise.
14728 * math/w_acoshf.c: Likewise.
14729 * math/w_acoshl.c: Likewise.
14730 * math/w_acosl.c: Likewise.
14731 * math/w_asin.c: Likewise.
14732 * math/w_asinf.c: Likewise.
14733 * math/w_asinl.c: Likewise.
14734 * math/w_atanh.c: Likewise.
14735 * math/w_atanhf.c: Likewise.
14736 * math/w_atanhl.c: Likewise.
14737 * math/w_exp2.c: Likewise.
14738 * math/w_exp2f.c: Likewise.
14739 * math/w_exp2l.c: Likewise.
14740 * math/w_j0.c: Likewise.
14741 * math/w_j0f.c: Likewise.
14742 * math/w_j0l.c: Likewise.
14743 * math/w_j1.c: Likewise.
14744 * math/w_j1f.c: Likewise.
14745 * math/w_j1l.c: Likewise.
14746 * math/w_jn.c: Likewise.
14747 * math/w_jnf.c: Likewise.
14748 * math/w_log.c: Likewise.
14749 * math/w_log10.c: Likewise.
14750 * math/w_log10f.c: Likewise.
14751 * math/w_log10l.c: Likewise.
14752 * math/w_log2.c: Likewise.
14753 * math/w_log2f.c: Likewise.
14754 * math/w_log2l.c: Likewise.
14755 * math/w_logf.c: Likewise.
14756 * math/w_logl.c: Likewise.
14757 * math/w_sqrt.c: Likewise.
14758 * math/w_sqrtf.c: Likewise.
14759 * math/w_sqrtl.c: Likewise.
14760 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14761 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14763 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14764 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14765
ebaf36eb
JM
147662012-02-19 Joseph Myers <joseph@codesourcery.com>
14767
14768 [BZ #9739]
14769 * manual/string.texi (strnlen): Use correct parameter name in
14770 equivalent expression.
14771
71c254a6
JM
147722012-02-19 Joseph Myers <joseph@codesourcery.com>
14773
14774 [BZ #11174]
14775 * manual/users.texi (seteuid): Consistently use neweuid for
14776 argument name.
14777
16d2c631
JM
147782012-02-19 Joseph Myers <joseph@codesourcery.com>
14779
14780 [BZ #13704]
14781 * manual/nss.texi (Services in the NSS configuration): Correct
14782 list of services in example configuration file.
14783
cd837b09
NB
147842012-02-19 Nick Bowler <nbowler@draconx.ca>
14785
14786 [BZ #11322]
14787 * manual/arith.texi: Remove statements about negative zero
14788 behaving identically to zero.
14789
02c4bbad
JM
147902012-02-18 Joseph Myers <joseph@codesourcery.com>
14791
14792 [BZ #5993]
14793 * manual/install.texi: Do not document upgrading from libc5.
14794
366842e7
JM
147952012-02-18 Joseph Myers <joseph@codesourcery.com>
14796
14797 [BZ #4596]
14798 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14799
dd54084d
DM
148002012-02-18 David S. Miller <davem@davemloft.net>
14801
14802 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14803 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14804 %o7 across the call.
14805 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14806 instead.
14807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14808 SETUP_PIC_REG_LEAF.
14809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14810 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14811 * sysdeps/sparc/crtn.S: Likewise.
14812
2bcc53a3
UD
148132012-02-17 Ulrich Drepper <drepper@gmail.com>
14814
14815 * aout/Makefile: Remove.
14816
09c093b5
RK
148172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14818
14819 [BZ #13058]
14820 * manual/examples/argp-ex1.c (main): Format definition in GNU
14821 style.
14822 * manual/examples/argp-ex2.c (main): Likewise.
14823 * manual/examples/argp-ex3.c (main): Likewise.
14824 * manual/examples/argp-ex4.c (main): Likewise.
14825 * manual/examples/longopt.c (main): Use new-style prototype
14826 definition.
14827 * manual/examples/strncat.c (main): Specify return type and use
14828 (void) for arguments.
14829 * manual/examples/subopt.c (main): Use char **argv argument.
14830
2ee633a2
JM
148312012-02-17 Joseph Myers <joseph@codesourcery.com>
14832
14833 [BZ #5077]
14834 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14835 rounding modes.
14836
0520adde
FB
148372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14838
14839 [BZ #6907]
14840 * manual/string.texi (strchr): Change when strchrnul is
14841 recommended.
14842
3f4081cd
DGM
148432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14844
14845 [BZ #174]
14846 * manual/locale.texi (setlocale): Document LOCPATH.
14847
d1b10e78
JM
148482012-02-17 Joseph Myers <joseph@codesourcery.com>
14849
14850 [BZ #10210]
14851 * manual/process.texi (execle): Move @dots{} before last argument.
14852
79c6869c
PB
148532012-02-17 Paul Bolle <pebolle@tiscali.nl>
14854
14855 [BZ #12047]
14856 * manual/charset.texi (Generic Charset Conversion): Fix typo
14857 (LC_TYPE -> LC_CTYPE).
14858
cc6e48bc
NB
148592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14860
14861 [BZ #5805]
14862 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14863 (scalbnf): Likewise.
14864 (scalbnl): Likewise.
14865 (scalbln): Likewise.
14866 (scalblnf): Likewise.
14867 (scalblnl): Likewise.
14868 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14869 (vwarnx): Likewise.
14870 (verr): Likewise.
14871 (verrx): Likewise.
14872 * manual/filesys.texi (telldir): Use braces around return type.
14873 * manual/llio.texi (mmap): Add space after comma.
14874 (mmap64): Likewise.
14875 * manual/math.texi (jn): Use @var{} on parameter names.
14876 (jnf): Likewise.
14877 (jnl): Likewise.
14878 (yn): Likewise.
14879 (ynf): Likewise.
14880 (ynl): Likewise.
14881 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14882 line.
14883 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14884 "...".
14885 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14886 (sched_get_priority_max): Likewise.
14887 * manual/signal.texi (sigvec): Add space after comma.
14888 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14889 names.
14890 (if_indextoname): Likewise.
14891 (if_freenameindex): Likewise.
14892 (sendto): Use ',' instead of '.' in prototype.
14893 * manual/startup.texi (syscall): Use @dots{} instead of literal
14894 "...".
14895 * manual/stdio.texi (__fpending): Separate initial words of
14896 paragraph from @deftypefun line.
14897 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14898 "...".
14899 (vsyslog): Use @var{} on parameter names.
14900 * manual/terminal.texi (stty): Use @var{} on parameter names.
14901 * manual/users.texi (getutmp): Use @var{} on parameter names.
14902 (getutmpx): Likewise.
14903
5b23062f
JM
149042012-02-17 Joseph Myers <joseph@codesourcery.com>
14905
14906 [BZ #6884]
14907 * manual/stdio.texi (fopen): Fix typos in description of
14908 ",ccs=STRING".
14909
8dee4833
AJ
149102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14911
14912 [BZ #4026]
14913 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14914 get clock_id definition.
14915
9078ce93
TS
149162012-02-17 Thomas Schwinge <thomas@schwinge.name>
14917
14918 [BZ #4822]
14919 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14920 (madvise): Cast every argument to void on its own.
14921
3835c55f
JM
149222012-02-17 Joseph Myers <joseph@codesourcery.com>
14923
14924 [BZ #9902]
14925 * manual/startup.texi (Exit Status): Fix typo.
14926
35c47e37
JM
149272012-02-17 Joseph Myers <joseph@codesourcery.com>
14928
14929 [BZ #10140]
14930 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14931 * manual/examples/argp-ex2.c: Likewise.
14932 * manual/examples/argp-ex3.c: Likewise.
14933
e3b69ca7
RH
149342012-02-16 Richard Henderson <rth@redhat.com>
14935
14936 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14937 * sysdeps/s390/s390-32/initfini.c: Remove.
14938 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14939 * sysdeps/s390/s390-64/initfini.c: Remove.
14940
df83af67
KK
149412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14942
14943 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14944 compiler output for sysdeps/generic/initfini.c.
14945 * sysdeps/sh/elf/initfini.c: Remove file.
14946
f63f3380
DM
149472012-02-16 David S. Miller <davem@davemloft.net>
14948
fb59b3a4
DM
14949 [BZ #11494]
14950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14951
f63f3380
DM
14952 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14953 * sysdeps/sparc/crti.S: New file.
14954 * sysdeps/sparc/crtn.S: New file.
14955 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14956 * sysdeps/sparc/sparc64/Makefile: Likewise.
14957
df6a4a4a
MF
149582012-02-15 Mike Frysinger <vapier@gentoo.org>
14959
6dd8f3dc 14960 [BZ #3335]
df6a4a4a
MF
14961 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14962
1cac7236
RM
149632012-02-15 Roland McGrath <roland@hack.frob.com>
14964
d2c736f8
RM
14965 [BZ #4822]
14966 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14967
1cac7236
RM
14968 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14969 (write, read, close): Likewise.
14970 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14971
8e475601
JM
149722012-02-15 Joseph Myers <joseph@codesourcery.com>
14973
14974 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14975 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14976 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14977 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14978 <bits/signalfd.h>.
14979 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14981 bits/signalfd.h.
14982
ed656b40
MP
149832012-02-14 Marek Polacek <polacek@redhat.com>
14984
14985 * sysdeps/x86_64/crti.S: New file.
14986 * sysdeps/x86_64/crtn.S: New file.
14987 * sysdeps/x86_64/elf/initfini.c: Remove file.
14988
2a979d3a
JM
149892012-02-13 Joseph Myers <joseph@codesourcery.com>
14990
14991 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14992 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14993 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14994 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14995 <bits/inotify.h>.
14996 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14998 bits/inotify.h.
14999
2a418ac3
JM
150002012-02-13 Joseph Myers <joseph@codesourcery.com>
15001
15002 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15003 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15004 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15005 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15006 <bits/eventfd.h>.
15007 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15009 bits/eventfd.h.
15010
fb779be7
TS
150112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15012
e19e83c5
RM
15013 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15014 __feraiseexcept instead of feraiseexcept.
7c35ffed 15015
fb779be7
TS
15016 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15017 nanosleep invocations.
15018 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15019 strings, and add error checking for a nanosleep invocations.
15020
59ba27a6
PE
150212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15022
15023 Replace FSF snail mail address with URLs, as per GNU coding standards.
15024 Most of the snail mail addresses were wrong anyway, and omitting
15025 them makes the source code easier to maintain. Almost all of the
15026 changes are to license notices and to locale LC_IDENTIFICATION
15027 addresses, except for this one:
15028 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15029 not its snail mail address.
15030
57b957eb
RH
150312012-02-09 Richard Henderson <rth@twiddle.net>
15032
af850b1c
RH
15033 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15034 of kernel-features.h.
15035
57b957eb
RH
15036 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15037
6b73181a
MP
150382012-02-08 Marek Polacek <polacek@redhat.com>
15039
15040 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15041 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15042 * sysdeps/gnu/_G_config.h: Likewise.
15043 * sysdeps/generic/_G_config.h: Likewise.
15044
26ecc33a
AS
150452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15046
6c6dbc63
AS
15047 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15048 tests.
15049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15050
e216c012
AS
15051 * sysdeps/powerpc/powerpc32/crti.S: New file.
15052 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15053 * sysdeps/powerpc/powerpc64/crti.S: New file.
15054 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15055
26ecc33a
AS
15056 * Makeconfig (have-initfini): Don't set.
15057 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15058 * configure.in (nopic_initfini): Don't substitute.
15059 * config.h.in (HAVE_INITFINI): Don't #undef.
15060 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15061 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15062
3add8e13
JM
150632012-02-08 Joseph Myers <joseph@codesourcery.com>
15064
15065 Support crti.S and crtn.S provided directly by architectures.
15066 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15067 [crti.S in sysdirs] (omit-deps): Likewise.
15068 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15069 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15070 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15071 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15072 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15073 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15074 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15075 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15076 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15077 compiler output for sysdeps/generic/initfini.c.
15078 * sysdeps/i386/elf/Makefile: Remove file.
15079 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15080
a22f12b4
MP
150812012-02-07 Marek Polacek <polacek@redhat.com>
15082
15083 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15084 * sysdeps/gnu/_G_config.h: Likewise.
15085 * sysdeps/mach/hurd/_G_config.h: Likewise.
15086
148cf100
MP
150872012-02-07 Marek Polacek <polacek@redhat.com>
15088
15089 * math/Makefile (tests): Add tst-CMPLX2.
15090 * math/tst-CMPLX2.c: New file.
15091
cfdc0dd7
AS
150922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15093
84ba42c4
AS
15094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15095
cfdc0dd7
AS
15096 * math/libm-test.inc (jn_test): Add missing L suffix.
15097
622c86f4
MP
150982012-02-06 Marek Polacek <polacek@redhat.com>
15099
15100 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15101 * sysdeps/i386/fpu/e_powf.S: Likewise.
15102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15103 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15105 * sysdeps/i386/fpu/e_pow.S: Likewise.
15106 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15107 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15108 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15109 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15110 * sysdeps/i386/fpu/e_log2.S: Likewise.
15111 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15112 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15113 * sysdeps/i386/fpu/e_powl.S: Likewise.
15114 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15116 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15117 * sysdeps/i386/fpu/e_logl.S: Likewise.
15118 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15119 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15120 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15121 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15123 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15124 * sysdeps/i386/fpu/e_log.S: Likewise.
15125 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15127 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15128 * sysdeps/i386/fpu/e_logf.S: Likewise.
15129 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15131 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15132 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15133 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15134 * sysdeps/i386/fpu/e_log10.S: Likewise.
15135 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15136 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15137 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15138 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15139 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15140 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15141 * sysdeps/i386/asm-syntax.h: Likewise.
15142 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15144 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15145 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15146 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15148 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15149 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15150 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15151 * sysdeps/powerpc/sysdep.h: Likewise.
15152 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15154
d4a54ac6
JM
151552012-02-06 Joseph Myers <joseph@codesourcery.com>
15156
15157 [BZ #411]
15158 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15159
314054ea
JM
151602012-02-06 Joseph Myers <joseph@codesourcery.com>
15161
15162 * sysdeps/i386/sysdep.h: Include <features.h>.
15163 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15164 version.
15165
d8e0ca50
JM
151662012-02-05 Joseph Myers <joseph@codesourcery.com>
15167
15168 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15169 Define.
15170 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15171 LOAD_PIC_REG_STR.
15172
b1da7dd9
JM
151732012-02-03 Joseph Myers <joseph@codesourcery.com>
15174
15175 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15176 (SETUP_PIC_REG): Use GET_PC_THUNK.
15177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15178 macro.
15179
9a1d9254
JM
151802012-02-03 Joseph Myers <joseph@codesourcery.com>
15181
15182 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15183 for non-PIC compilation.
15184 (SETUP_PIC_REG): Add .p2align directive.
15185 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15186 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15187 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15188 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15190 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15191 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15193 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15194 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15195 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15196 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15197 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15198 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15199 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15200 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15201 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15205 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15207 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15208 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15211 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15217 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15218 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15219 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15220 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15221 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15222 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15223 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15224 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15225 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15226
65dc3b75
JM
152272012-02-03 Joseph Myers <joseph@codesourcery.com>
15228
15229 * math/tst-CMPLX.c: Include <stdio.h>.
15230
d55bf177
JM
152312012-01-31 Joseph Myers <joseph@codesourcery.com>
15232
15233 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15234 float.
15235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15236 * sysdeps/sparc/bits/mathdef.h: Likewise.
15237
69db4f8f
MP
152382012-01-31 Marek Polacek <polacek@redhat.com>
15239
15240 * libio/libio.h: Don't define _PARAMS.
15241 * locale/programs/config.h: Don't define PARAMS.
15242 * stdlib/strtol_l.c: Likewise.
15243 (__strtol_l): Remove PARAMS from the prototype.
15244
41b81892
UD
152452012-01-31 Ulrich Drepper <drepper@gmail.com>
15246
3b49edc0
UD
15247 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15248 names. Just use the correct names. Remove unnecessary wrapper
15249 functions.
15250 * malloc/arena.c: Likewise.
15251 * malloc/hooks.c: Likewise.
15252
41b81892
UD
15253 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15254 ARENA_TEST says not to. Simplify test for creation of a new arena.
15255 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15256
27a25b6e
UD
152572012-01-30 Ulrich Drepper <drepper@gmail.com>
15258
15259 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15260 into tail calls.
15261 (update_get_addr): New function.
15262 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15263 GET_ADDR_MODULE parameter.
15264
c8a89e7d
JM
152652012-01-30 Joseph Myers <joseph@codesourcery.com>
15266
15267 * crypt/cert.c: Remove __STDC__ conditionals.
15268 * crypt/crypt-entry.c: Likewise.
15269 * crypt/crypt_util.c: Likewise.
15270 * libio/filedoalloc.c: Likewise.
15271 * libio/fileops.c: Likewise.
15272 * libio/genops.c: Likewise.
15273 * libio/iofclose.c: Likewise.
15274 * libio/iofdopen.c: Likewise.
15275 * libio/iofopen.c: Likewise.
15276 * libio/iofopen64.c: Likewise.
15277 * libio/iogetdelim.c: Likewise.
15278 * libio/iopopen.c: Likewise.
15279 * libio/obprintf.c: Likewise.
15280 * libio/oldfileops.c: Likewise.
15281 * libio/oldiofclose.c: Likewise.
15282 * libio/oldiofdopen.c: Likewise.
15283 * libio/oldiofopen.c: Likewise.
15284 * libio/oldiopopen.c: Likewise.
15285 * libio/wfiledoalloc.c: Likewise.
15286 * libio/wgenops.c: Likewise.
15287 * locale/programs/xmalloc.c: Likewise.
15288 * misc/syslog.c: Likewise.
15289 * stdio-common/xbug.c: Likewise.
15290 * string/memchr.c: Likewise.
15291 * string/memcmp.c: Likewise.
15292 * string/memrchr.c: Likewise.
15293 * string/rawmemchr.c: Likewise.
15294 * sysdeps/posix/getcwd.c: Likewise.
15295 * time/strftime_l.c: Likewise.
15296
3b100462
JM
152972012-01-30 Joseph Myers <joseph@codesourcery.com>
15298
15299 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15300 * config.make.in (config-cflags-sse2avx): Define.
15301 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15302 Fix typo.
15303
607998af
CM
153042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15305
15306 * scripts/config.guess: Update from upstream config git repository.
15307 * scripts/config.sub: Likewise.
15308
3601428f
CM
153092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15310
3ac8b282
CM
15311 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15312 (EM_NUM): Update.
15313 (R_TILEPRO_*, R_TILEGX_*): New macros.
15314
e034841e
CM
15315 * scripts/firstversions.awk: Fix bug in version range handling.
15316
540d7568
CM
15317 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15318
3601428f
CM
15319 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15320
463de862
CM
15321 * include/sys/epoll.h: New file.
15322 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15323 libc_hidden_def.
15324
73139a76
UD
153252012-01-28 Ulrich Drepper <drepper@gmail.com>
15326
96bc5b45
UD
15327 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15328 Avoid unnecessary __WORDSIZE == 64 test.
15329 (fmaxf): Use VEX format if possible.
15330 (fmax): Likewise.
15331 (fminf): Likewise.
15332 (fmin): Likewise.
15333
56f6f6a2
UD
15334 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15335 * math/math_private.h: Remove libc_fegetround* and
15336 libc_fesetround*.
15337 * sysdeps/i386/configure.in: Check for -msse2avx.
15338 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15339 also if SSE2AVX is defined.
15340 Remove libc_fegetround* and libc_fesetround*.
15341 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15342 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15344 of HAS_YMM_USABLE.
15345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15346 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15350
73139a76
UD
15351 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15352
d73f93a4
AZ
153532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15354
15355 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15356 size is not set.
15357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15358
6ee65ed6
UD
153592012-01-27 Ulrich Drepper <drepper@gmail.com>
15360
15361 [BZ #13618]
15362 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15363 relocation.
15364 * Makeconfig (libm): Define.
15365 * elf/Makefile: Add rules to build and run tst-relsort1.
15366 * elf/tst-relsort1.c: New file.
15367 * elf/tst-relsort1mod1.c: New file.
15368 * elf/tst-relsort1mod2.c: New file.
15369
8db21882
JM
153702012-01-27 Joseph Myers <joseph@codesourcery.com>
15371
15372 * math/s_ldexp.c: Remove __STDC__ conditionals.
15373 * math/s_ldexpf.c: Likewise.
15374 * math/s_ldexpl.c: Likewise.
15375 * math/s_nextafter.c: Likewise.
15376 * math/s_nexttowardf.c: Likewise.
15377 * math/s_significand.c: Likewise.
15378 * math/s_significandf.c: Likewise.
15379 * math/s_significandl.c: Likewise.
15380 * math/w_jnl.c: Likewise.
15381 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15382 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15383 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15384 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15385 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15387 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15388 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15395 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15396 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15397 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15402 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15403 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15405 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15406 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15407 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15412 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15413 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15415 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15416 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15417 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15418 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15419 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15420 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15421 * sysdeps/ieee754/k_standard.c: Likewise.
15422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15458 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15467 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15471 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15472 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15480 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15482 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15483 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15484 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15485 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15486 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15487 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15488 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15490 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15491 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15497 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15498 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15499 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15500 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15501 * sysdeps/ieee754/s_matherr.c: Likewise.
15502 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15506
965a54a4
JM
155072012-01-26 Joseph Myers <joseph@codesourcery.com>
15508
15509 * crypt/md5.h: Remove __STDC__ conditionals.
15510 * libio/libioP.h: Likewise.
15511 * locale/programs/config.h: Likewise.
15512 * sysdeps/generic/sysdep.h: Likewise.
15513 * sysdeps/i386/asm-syntax.h: Likewise.
15514 * sysdeps/s390/asm-syntax.h: Likewise.
15515 * sysdeps/unix/sysdep.h: Likewise.
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15518
7071ad79
JM
155192012-01-26 Joseph Myers <joseph@codesourcery.com>
15520
15521 * libio/libio.h: Remove __STDC__ conditionals.
15522 * malloc/obstack.h: Likewise.
15523 * math/complex.h: Likewise.
15524 * math/math.h: Likewise.
15525 * sysdeps/generic/_G_config.h: Likewise.
15526 * sysdeps/gnu/_G_config.h: Likewise.
15527 * sysdeps/mach/hurd/_G_config.h: Likewise.
15528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15529 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15530 * sysdeps/sparc/bits/mathdef.h: Likewise.
15531
afc5ed09
UD
155322012-01-26 Ulrich Drepper <drepper@gmail.com>
15533
15534 [BZ #13583]
15535 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15536 Clean up HAS_* macros.
afc5ed09 15537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15538 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15539 possible.
15540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15541 HAS_AVX.
15542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15547
bdb6de1d
JM
155482012-01-25 Joseph Myers <joseph@codesourcery.com>
15549
15550 * elf/tst-unique3.cc (gets): Remove declaration.
15551 * elf/tst-unique3lib.cc (gets): Likewise.
15552 * elf/tst-unique3lib2.cc (gets): Likewise.
15553 * elf/tst-unique4.cc (gets): Likewise.
15554
b15549e6
UD
155552012-01-24 Ulrich Drepper <drepper@gmail.com>
15556
15557 * include/stdio.h: Add C++ protection. Add gets declarations and
15558 definitions.
15559 * debug/tst-chk1.c: Don't declare gets here.
15560 * stdio-common/tst-gets.c: Likewise.
15561
a037381f
JM
155622012-01-24 Joseph Myers <joseph@codesourcery.com>
15563
15564 * posix/glob: Remove directory.
15565
f1d4aa75
JM
155662012-01-24 Joseph Myers <joseph@codesourcery.com>
15567
15568 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15569
81c0c964
PT
155702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15571
15572 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15573 of the non-standard EPFNOSUPPORT.
15574
0ea698ae
ST
155752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15576
15577 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15578 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15579 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15580
d220b117
UD
155812012-01-21 Ulrich Drepper <drepper@gmail.com>
15582
15583 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15584
3e1aa84e
UD
155852012-01-20 Ulrich Drepper <drepper@gmail.com>
15586
15587 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15588 transient errors.
15589 * nscd/grpcache.c (cache_addgr): Likewise.
15590 * nscd/hstcache.c (cache_addhst): Likewise.
15591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15592 * nscd/pwdcache.c (cache_addpw): Likewise.
15593 * nscd/servicescache.c (cache_addserv): Likewise.
15594
400aa020
UD
155952012-01-16 Ulrich Drepper <drepper@gmail.com>
15596
d77e7869
UD
15597 * malloc/malloc.c: Various cleanups.
15598 * malloc/hooks.c: Likewise.
15599
400aa020
UD
15600 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15601 * stdlib/bug-fmtmsg1.c: New file.
15602
15603 * stdlib/fmtmsg.c (init): Add missing unlock.
15604 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15605
e0a309cf
MP
156062012-01-12 Marek Polacek <polacek@redhat.com>
15607
15608 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15609 and _GNU_SOURCE.
15610
929d11c7
WS
156112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15612
15613 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15615 macro to ensure uniqueness of label name.
15616 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15617 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15618
41d0e869
UD
156192012-01-11 Ulrich Drepper <drepper@gmail.com>
15620
0cc5ed3b
UD
15621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15622
41d0e869
UD
15623 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15624 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15627
a47a831a
UD
156282012-01-10 Ulrich Drepper <drepper@gmail.com>
15629
daa891c0
UD
15630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15631
15632 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15633 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15634 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15635
e58ef0f2
UD
15636 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15637
a47a831a 15638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15642
15643 * math/bits/math-finite.h: Add ldexp support.
15644
a0bfc9c7
MP
156452012-01-10 Marek Polacek <polacek@redhat.com>
15646
15647 * locale/programs/localedef.h (show_archive_content): Add noreturn
15648 attribute.
15649
d6e97a1d
UD
156502012-01-09 Ulrich Drepper <drepper@gmail.com>
15651
15652 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15653
d5835c26
UD
156542012-01-08 Ulrich Drepper <drepper@gmail.com>
15655
e5f484c6
UD
15656 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15657
d5835c26
UD
15658 * io/Makefile (headers): Add bits/poll2.h.
15659
d1f741e9
WS
156602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15661
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15663 typo #include statement.
15664
ec09c1c4
UD
156652012-01-08 Ulrich Drepper <drepper@gmail.com>
15666
15667 * include/sys/cdefs.h: Define __attribute_alloc_size.
15668 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15669 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15670 * elf/pldd.c: Likewise.
15671 * iconv/iconv_charmap.c: Likewise.
15672 * iconv/iconvconfig.c: Likewise.
15673 * iconv/strtab.c: Likewise.
15674 * locale/programs/locale.c: Likewise.
15675 * locale/programs/localedef.h: Likewise.
15676 * locale/programs/simple-hash.c: Likewise.
15677 * nscd/nscd.h: Likewise.
15678 * nss/makedb.c: Likewise.
15679 * sysdeps/generic/ldconfig.h: Likewise.
15680 * locale/programs/localedef.c: Remove xmalloc prototype.
15681 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15682
20b38e03
PP
156832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15684
15685 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15686 appropriate.
15687
a0da5fe1
UD
156882012-01-08 Ulrich Drepper <drepper@gmail.com>
15689
1d5a644a 15690 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15691 * math/tst-CMPLX.c: New file.
1d5a644a 15692
8784a6db
UD
15693 * math/complex.h (CMPLXL): Fix typo.
15694
d9a216c0
UD
15695 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15696 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15697 GLIBC_2.16.
15698 * debug/tst-chk1.c: Add poll and ppoll tests.
15699 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15700 * include/sys/poll.h: Add hidden proto for ppoll.
15701 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15702 * sysdeps/mach/hurd/ppoll.c: Likewise.
15703 * io/ppoll.c: Likewise.
15704 * debug/poll_chk.c: New file.
15705 * debug/ppoll_chk.c: New file.
15706 * include/bits/poll2.h: New file.
15707 * io/bits/poll2.h: New file.
15708
ac097f5c
UD
15709 [BZ #1350]
15710 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15711
2119dcfa
UD
15712 * configure.in: static is always set to yes. Remove.
15713 * config.make.in: Don't set build-static.
15714 * Makeconfig: Remove use of build-static.
15715 * dlfcn/Makefile: Likewise.
15716 * elf/Makefile: Likewise.
15717 * math/Makefile: Likewise.
15718 * misc/Makefile: Likewise.
15719 * nptl/Makefile: Likewise.
15720 * sysdeps/mach/hurd/Makefile: Likewise.
15721
121766a9
UD
15722 * configure.in: PWD_P is not used anymore.
15723 * config.make.in: Remove PWD_P entry.
15724
51a1d39c 15725 * configure.in: Remove last remnants of RANLIB.
8720d066 15726 No need to check for signed size_t anymore.
215f4bdc
UD
15727 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15728 and IA-64.
3857022a 15729 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15730 * aclocal.m4: Likewise.
15731
d3ed7225
UD
15732 * wcsmbs/mbrtoc16.c: Implement using towc function.
15733 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15734 * wcsmbs/wcsmbsload.c: Likewise.
15735 * iconv/gconv_simple.c: Likewise.
15736 * iconv/gconv_int.h: Likewise.
15737 * iconv/gconv_builtin.h: Likewise.
15738 * iconv/iconv_prog.c: Remove CHAR16 handling.
15739
15740 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15741
15742 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15743
a0da5fe1
UD
15744 * configure.in: Remove --with-elf and --enable-bounded options.
15745 Dont set base_machine for ia64. More non-ELF conditions removed.
15746 Remove testing and setting of leading underscore information.
15747 * config.make.in (build-bounded): Set to no.
15748 * config.h.in: Remove NO_UNDERSCORES entry.
15749 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15750 them.
15751 * csu/start.c: Remove !NO_UNDERSCORE code.
15752 * locale/localeinfo.h: Likewise.
15753 * sysdeps/generic/machine-gmon.h: Likewise.
15754 * sysdeps/generic/sysdep.h: Likewise.
15755 * sysdeps/i386/sysdep.h: Likewise.
15756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15757 * sysdeps/mach/sysdep.h: Likewise.
15758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15760 * sysdeps/sh/sysdep.h: Likewise.
15761 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15762 * sysdeps/unix/i386/sysdep.S: Likewise.
15763 * sysdeps/unix/sparc/start.c: Likewise.
15764 * sysdeps/unix/sparc/sysdep.S: Likewise.
15765 * sysdeps/unix/sparc/sysdep.h: Likewise.
15766 * sysdeps/unix/start.c: Likewise.
15767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15768 * sysdeps/x86_64/sysdep.h: Likewise.
15769
df78418a
UD
157702012-01-07 Ulrich Drepper <drepper@gmail.com>
15771
a784e502
UD
15772 [BZ #13553]
15773 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15774 for non-gcc.
15775 * argp/argp-fmtstream.h: Use const instead __const.
15776 * argp/argp.h: Likewise.
15777 * assert/assert.h: Likewise.
15778 * bits/fenv.h: Likewise.
15779 * bits/sched.h: Likewise.
15780 * bits/sigset.h: Likewise.
15781 * bits/sigthread.h: Likewise.
15782 * catgets/nl_types.h: Likewise.
15783 * conform/data/pthread.h-data: Likewise.
15784 * crypt/crypt-private.h: Likewise.
15785 * crypt/crypt.h: Likewise.
15786 * crypt/crypt_util.c: Likewise.
15787 * ctype/ctype.h: Likewise.
15788 * debug/execinfo.h: Likewise.
15789 * debug/mbsnrtowcs_chk.c: Likewise.
15790 * debug/mbsrtowcs_chk.c: Likewise.
15791 * debug/wcsnrtombs_chk.c: Likewise.
15792 * debug/wcsrtombs_chk.c: Likewise.
15793 * debug/wcstombs_chk.c: Likewise.
15794 * dirent/dirent.h: Likewise.
15795 * dlfcn/dlfcn.h: Likewise.
15796 * elf/neededtest4.c: Likewise.
15797 * grp/grp.h: Likewise.
15798 * gshadow/gshadow.h: Likewise.
15799 * iconv/gconv.h: Likewise.
15800 * iconv/gconv_int.h: Likewise.
15801 * iconv/gconv_simple.c: Likewise.
15802 * iconv/iconv.h: Likewise.
15803 * iconv/loop.c: Likewise.
15804 * iconv/skeleton.c: Likewise.
15805 * include/aio.h: Likewise.
15806 * include/aliases.h: Likewise.
15807 * include/argz.h: Likewise.
15808 * include/arpa/inet.h: Likewise.
15809 * include/assert.h: Likewise.
15810 * include/dirent.h: Likewise.
15811 * include/dlfcn.h: Likewise.
15812 * include/execinfo.h: Likewise.
15813 * include/fcntl.h: Likewise.
15814 * include/fenv.h: Likewise.
15815 * include/glob.h: Likewise.
15816 * include/grp.h: Likewise.
15817 * include/libintl.h: Likewise.
15818 * include/mntent.h: Likewise.
15819 * include/netdb.h: Likewise.
15820 * include/pwd.h: Likewise.
15821 * include/rpc/netdb.h: Likewise.
15822 * include/sched.h: Likewise.
15823 * include/search.h: Likewise.
15824 * include/shadow.h: Likewise.
15825 * include/signal.h: Likewise.
15826 * include/stdio.h: Likewise.
15827 * include/stdlib.h: Likewise.
15828 * include/string.h: Likewise.
15829 * include/sys/socket.h: Likewise.
15830 * include/sys/stat.h: Likewise.
15831 * include/sys/statfs.h: Likewise.
15832 * include/sys/statvfs.h: Likewise.
15833 * include/sys/syslog.h: Likewise.
15834 * include/sys/time.h: Likewise.
15835 * include/sys/uio.h: Likewise.
15836 * include/time.h: Likewise.
15837 * include/unistd.h: Likewise.
15838 * include/utmp.h: Likewise.
15839 * include/wchar.h: Likewise.
15840 * include/wctype.h: Likewise.
15841 * inet/aliases.h: Likewise.
15842 * inet/arpa/inet.h: Likewise.
15843 * inet/netinet/ether.h: Likewise.
15844 * inet/netinet/in.h: Likewise.
15845 * intl/libintl.h: Likewise.
15846 * io/bits/fcntl2.h: Likewise.
15847 * io/fcntl.h: Likewise.
15848 * io/ftw.h: Likewise.
15849 * io/sys/poll.h: Likewise.
15850 * io/sys/stat.h: Likewise.
15851 * io/sys/statfs.h: Likewise.
15852 * io/sys/statvfs.h: Likewise.
15853 * io/utime.h: Likewise.
15854 * libio/bits/stdio.h: Likewise.
15855 * libio/bits/stdio2.h: Likewise.
15856 * libio/libio.h: Likewise.
15857 * libio/libioP.h: Likewise.
15858 * libio/stdio.h: Likewise.
15859 * locale/lc-ctype.c: Likewise.
15860 * locale/locale.h: Likewise.
15861 * login/utmp.h: Likewise.
15862 * malloc/arena.c: Likewise.
15863 * malloc/malloc.c: Likewise.
15864 * malloc/malloc.h: Likewise.
15865 * malloc/mcheck.c: Likewise.
15866 * malloc/mtrace.c: Likewise.
15867 * math/bits/mathcalls.h: Likewise.
15868 * math/fenv.h: Likewise.
15869 * math/math_private.h: Likewise.
15870 * misc/bits/error.h: Likewise.
15871 * misc/bits/syslog.h: Likewise.
15872 * misc/err.h: Likewise.
15873 * misc/error.h: Likewise.
15874 * misc/fstab.h: Likewise.
15875 * misc/mntent.h: Likewise.
15876 * misc/regexp.h: Likewise.
15877 * misc/search.h: Likewise.
15878 * misc/sgtty.h: Likewise.
15879 * misc/sys/mman.h: Likewise.
15880 * misc/sys/syslog.h: Likewise.
15881 * misc/sys/uio.h: Likewise.
15882 * misc/sys/xattr.h: Likewise.
15883 * misc/ttyent.h: Likewise.
15884 * nis/rpcsvc/ypclnt.h: Likewise.
15885 * nss/nss.h: Likewise.
15886 * posix/bits/unistd.h: Likewise.
15887 * posix/fnmatch.h: Likewise.
15888 * posix/glob.h: Likewise.
15889 * posix/sched.h: Likewise.
15890 * posix/spawn.h: Likewise.
15891 * posix/sys/wait.h: Likewise.
15892 * posix/unistd.h: Likewise.
15893 * posix/wordexp.h: Likewise.
15894 * pwd/pwd.h: Likewise.
15895 * resolv/netdb.h: Likewise.
15896 * resource/sys/resource.h: Likewise.
15897 * rt/aio.h: Likewise.
15898 * rt/bits/mqueue2.h: Likewise.
15899 * rt/mqueue.h: Likewise.
15900 * shadow/shadow.h: Likewise.
15901 * signal/signal.h: Likewise.
15902 * socket/send.c: Likewise.
15903 * socket/sendto.c: Likewise.
15904 * socket/sys/socket.h: Likewise.
15905 * stdio-common/printf.h: Likewise.
15906 * stdlib/bits/stdlib.h: Likewise.
15907 * stdlib/fmtmsg.h: Likewise.
15908 * stdlib/monetary.h: Likewise.
15909 * stdlib/stdlib.h: Likewise.
15910 * stdlib/ucontext.h: Likewise.
15911 * streams/stropts.h: Likewise.
15912 * string/argz.h: Likewise.
15913 * string/bits/string2.h: Likewise.
15914 * string/string.h: Likewise.
15915 * string/strings.h: Likewise.
15916 * sunrpc/rpc/auth.h: Likewise.
15917 * sunrpc/rpc/auth_des.h: Likewise.
15918 * sunrpc/rpc/clnt.h: Likewise.
15919 * sunrpc/rpc/netdb.h: Likewise.
15920 * sunrpc/rpc/pmap_clnt.h: Likewise.
15921 * sunrpc/rpc/xdr.h: Likewise.
15922 * sysdeps/generic/inttypes.h: Likewise.
15923 * sysdeps/generic/net/if.h: Likewise.
15924 * sysdeps/generic/sys/swap.h: Likewise.
15925 * sysdeps/gnu/net/if.h: Likewise.
15926 * sysdeps/gnu/utmpx.h: Likewise.
15927 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15928 * sysdeps/i386/i486/bits/string.h: Likewise.
15929 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15930 * sysdeps/s390/bits/string.h: Likewise.
15931 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15932 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15933 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15934 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15935 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15936 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15937 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15938 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15939 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15940 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15941 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15942 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15943 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15944 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15945 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15946 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15947 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15953 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15954 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15955 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15956 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15957 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15959 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15961 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15962 * sysvipc/sys/ipc.h: Likewise.
15963 * sysvipc/sys/msg.h: Likewise.
15964 * sysvipc/sys/sem.h: Likewise.
15965 * sysvipc/sys/shm.h: Likewise.
15966 * termios/termios.h: Likewise.
15967 * time/sys/time.h: Likewise.
15968 * time/time.h: Likewise.
15969 * wcsmbs/bits/wchar2.h: Likewise.
15970 * wcsmbs/uchar.h: Likewise.
15971 * wcsmbs/wchar.h: Likewise.
15972 * wctype/wctype.h: Likewise.
15973
0269750c
UD
15974 [BZ #13551]
15975 * Makeconfig: Remove all but ELF support including AIX support.
15976 * Makerules: Likewise.
15977 * config.h.in: Likewise.
15978 * config.make.in: Likewise.
15979 * configure: Likewise.
15980 * configure.in: Likewise.
15981 * csu/Makefile: Likewise.
15982 * csu/version.c: Likewise.
15983 * debug/Makefile: Likewise.
15984 * dlfcn/Makefile: Likewise.
15985 * elf/Makefile: Likewise.
15986 * extra-lib.mk: Likewise.
15987 * iconv/Makefile: Likewise.
15988 * include/libc-symbols.h: Likewise.
15989 * include/shlib-compat.h: Likewise.
15990 * resolv/Makefile: Likewise.
15991 * resolv/res_libc.c: Likewise.
15992 * rt/Makefile: Likewise.
15993 * sysdeps/i386/asm-syntax.h: Likewise.
15994 * sysdeps/i386/sysdep.h: Likewise.
15995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15996 * sysdeps/mach/sysdep.h: Likewise.
15997 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15998 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15999 * sysdeps/s390/asm-syntax.h: Likewise.
16000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16002 * sysdeps/sh/sysdep.h: Likewise.
16003 * sysdeps/unix/sparc/sysdep.h: Likewise.
16004 * sysdeps/wordsize-32/divdi3.c: Likewise.
16005 * sysdeps/x86_64/sysdep.h: Likewise.
16006
00bbd29b
UD
16007 * argp/Versions: Remove _argp_unlock_xxx.
16008
16009 [BZ #13559]
16010 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16011 * abilist/libBrokenLocale.abilist: Likewise.
16012 * abilist/libanl.abilist: Likewise.
16013 * abilist/libc.abilist: Likewise.
16014 * abilist/libcrypt.abilist: Likewise.
16015 * abilist/libdl.abilist: Likewise.
16016 * abilist/libm.abilist: Likewise.
16017 * abilist/libnsl.abilist: Likewise.
16018 * abilist/libpthread.abilist: Likewise.
16019 * abilist/libresolv.abilist: Likewise.
16020 * abilist/librt.abilist: Likewise.
16021 * abilist/libthread_db.abilist: Likewise.
16022 * abilist/libutil.abilist: Likewise.
16023 * abilist/libnss_db.abilist: New file.
16024
16025 * scripts/abilist.awk: Add support for indirect functions.
16026
a2693a0e
UD
16027 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16028
3f05895f
UD
16029 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16030
ecb6fb48
UD
16031 * shlib-versions: Remove entries for ports architectures.
16032
664f8cb9
UD
16033 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16034 files in ports.
16035 * elf/stackguard-macros.h: Remove support for IA-64.
16036 * elf/tst-auditmod1.c: Likewise.
16037 * sysdeps/generic/ldsodefs.h: Likewise.
16038
7ae81d88
UD
16039 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16040 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16041 configure files.
16042
bdeba135
UD
16043 [BZ #13552]
16044 * configure.in: Remove --enable-omitfp support.
16045 * FAQ.in: Adjust.
16046 * config.make.in: Likewise.
16047 * Makeconfig: Likewise.
16048 * manual/install.texi: Likewise.
16049
d75a0a62
UD
16050 In case anyone cares, the IA-64 architecture could move to ports.
16051 * sysdeps/ia64/*: Removed.
16052 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16053 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16054
dcc9756b
UD
16055 [BZ #13555]
16056 * configure.in: Remove entries for unsupported architectures.
16057
d3761ebc 16058 [BZ #13533]
9954432e
UD
16059 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16060 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16061 routines.
16062 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16063 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16064 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16065 fall back to using wcrtomb.
16066 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16067 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16068 renaming.
16069 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16070 * wcsmbs/tst-c16c32-1.c: New file.
16071
16072 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16073 local variable.
16074
c3a87236
UD
16075 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16076
28926a1b
UD
16077 * elf/tst-unique3.cc: Add explicit declaration of gets.
16078 * elf/tst-unique3lib.cc: Likewise.
16079 * elf/tst-unique3lib2.cc: Likewise.
16080 * elf/tst-unique4.cc: Likewise.
16081
df78418a
UD
16082 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16083
8ecd6b2a
JM
160842012-01-06 Joseph Myers <joseph@codesourcery.com>
16085
16086 [BZ #13566]
16087 * assert/assert.h (static_assert): Don't define for C++.
16088 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16089 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16090
9f115170
UD
160912012-01-03 Ulrich Drepper <drepper@gmail.com>
16092
5e0d0300
UD
16093 * iconv/loop.c (single loop): Fix assertion in storing of
16094 remaining bytes.
16095
9f115170
UD
16096 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16097
81fb02b0
UD
160982012-01-01 Ulrich Drepper <drepper@gmail.com>
16099
16100 * posix/getconf.c: Update copyright year.
16101 * nss/getent.c: Likewise.
a316c1f6 16102 * nss/makedb.c: Likewise.
81fb02b0
UD
16103 * iconv/iconvconfig.c: Likewise.
16104 * iconv/iconv_prog.c: Likewise.
16105 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16106 * elf/pldd.c: Likewise.
16107 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16108 * catgets/gencat.c: Likewise.
16109 * csu/version.c: Likewise.
16110 * elf/ldd.bash.in: Likewise.
16111 * elf/sprof.c (print_version): Likewise.
16112 * locale/programs/locale.c: Likewise.
16113 * locale/programs/localedef.c: Likewise.
a316c1f6 16114 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16115 * nscd/nscd.c (print_version): Likewise.
16116 * debug/xtrace.sh: Likewise.
16117 * malloc/memusage.sh: Likewise.
16118 * malloc/mtrace.pl: Likewise.
16119 * debug/catchsegv.sh: Likewise.
16120
2ba92745
JJ
161212011-12-30 Jakub Jelinek <jakub@redhat.com>
16122
16123 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16124 pure attribute.
16125
dadebdae
UD
161262011-12-24 Ulrich Drepper <drepper@gmail.com>
16127
d3761ebc 16128 [BZ #13533]
db6af3eb
UD
16129 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16130 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16131 transformations.
16132 * iconv/gconv_int.h: Likewise.
16133 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16134 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16135 from libc for GLIBC_2.16.
16136 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16137 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16138 * wcsmbs/uchar.h: Really define mbstate_t.
16139 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16140 * wcsmbs/c16rtomb.c: New file.
16141 * wcsmbs/mbrtoc16.c: New file.
16142 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16143 for C/POSIX locale.
16144 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16145 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16146
dadebdae
UD
16147 * wcsmbs/wchar.h: Add missing __restrict.
16148
67371b56
UD
161492011-12-23 Ulrich Drepper <drepper@gmail.com>
16150
74033a25
UD
16151 [BZ #13532]
16152 * time/Makefile (routines): Add timespec_get.
16153 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16154 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16155 timespec for ISO C11.
16156 * time/timespec_get.c: New file.
16157 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16158 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16159
380d7e87
UD
16160 [BZ #13531]
16161 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16162 * stdlib/stdlib.h: Declare aligned_alloc.
16163 * Versions.def: Add GLIBC_2.16 for libc.
16164 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16165
4e9e7a35
UD
16166 [BZ 13527]
16167 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16168 ISO C11.
16169
380d7e87 16170 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16171 code.
16172
03a71829
UD
16173 [BZ #13528]
16174 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16175
839e283e
UD
16176 [BZ #13529]
16177 * assert/assert.h (static_assert): Define.
16178
ce5294e2 16179 * version.h: Update for 2.16 development version.
90fa7312 16180
8d44e150 16181 [BZ #13526]
d7809905
UD
16182 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16183 _ISOC11_SOURCE.
16184
c0da14cd
UD
16185 * version.h (RELEASE): Bump for 2.15 release.
16186 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16187
530a3249
MP
16188 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16189 Patch by Marek Polacek <mpolacek@redhat.com>.
16190
67371b56
UD
16191 * bits/byteswap.h: Protect long long constants with __extension__.
16192 * sysdeps/i386/bits/byteswap.h: Likewise.
16193 * sysdeps/ia64/bits/byteswap.h: Likewise.
16194 * sysdeps/s390/bits/byteswap.h: Likewise.
16195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16196
15db4de1
LD
161972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16198
16199 [BZ #13540]
bbe315ea
LD
16200 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16201 destination buffer.
15db4de1
LD
16202 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16203
2b2596b1
MP
162042011-12-23 Marek Polacek <polacek@redhat.com>
16205
16206 * elf/dl-addr.c (determine_info): Add inline keyword.
16207 * elf/tst-auditmod4b.c (check_avx): Likewise.
16208 * elf/tst-auditmod6b.c (check_avx): Likewise.
16209 * elf/tst-auditmod6c.c (check_avx): Likewise.
16210 * elf/tst-auditmod7b.c (check_avx): Likewise.
16211
70c6c246
UD
162122011-12-23 Ulrich Drepper <drepper@gmail.com>
16213
16214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16215 !__SSE_MATH__.
16216
c044cf14
LD
162172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16218
15db4de1 16219 [BZ #13540]
c044cf14
LD
16220 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16221 processing for last bytes.
16222
6b13d9d9
BH
162232011-08-06 Bruno Haible <bruno@clisp.org>
16224
d455f537
BH
16225 [BZ #13061]
16226 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16227 U+0385, not to U+1FEE.
16228
6b13d9d9
BH
16229 [BZ #13062]
16230 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16231 entry for U+00A5 U+0301.
16232
db910efd
UD
162332011-12-22 Ulrich Drepper <drepper@gmail.com>
16234
27deeafc
UD
16235 [BZ #13166]
16236 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16237 buffer for the output is too small.
16238
aed9d171
UD
16239 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16240 optimization.
16241
db910efd
UD
16242 [BZ #13185]
16243 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16244 SSE flags if possible.
16245
2bd779ae
LD
162462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16247
e7f9dac3 16248 [BZ #13540]
2bd779ae
LD
16249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16250 processing for last bytes.
16251
154bfc16
JM
162522011-12-22 Joseph Myers <joseph@codesourcery.com>
16253
16254 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16255 (syscall-list-default-options, syscall-list-default-condition)
16256 (syscall-list-includes): Define.
16257 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16258 list of ABIs and options and #if conditions for each ABI. Do not
16259 handle common syscalls between ABIs specially.
16260 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16261 Remove.
16262 (syscall-list-variants, syscall-list-32bit-options)
16263 (syscall-list-32bit-condition, syscall-list-64bit-options)
16264 (syscall-list-64bit-condition): Define.
16265 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16266 (syscall-list-variants, syscall-list-32bit-options)
16267 (syscall-list-32bit-condition, syscall-list-64bit-options)
16268 (syscall-list-64bit-condition): Define.
16269 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16270 Remove.
16271 (syscall-list-variants, syscall-list-32bit-options)
16272 (syscall-list-32bit-condition, syscall-list-64bit-options)
16273 (syscall-list-64bit-condition): Define.
16274 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16275 Remove.
16276 (syscall-list-variants, syscall-list-32bit-options)
16277 (syscall-list-32bit-condition, syscall-list-64bit-options)
16278 (syscall-list-64bit-condition): Define.
16279
21eaf3a5
UD
162802011-12-22 Ulrich Drepper <drepper@gmail.com>
16281
16c6f992
UD
16282 * locale/iso-639.def: Add brx entry.
16283
41043168
UD
16284 [BZ #13328]
16285 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16286 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16287
21eaf3a5
UD
16288 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16289 __feraiseexcept_renamed.
16290
e3a851a2
UD
162912011-12-21 Ulrich Drepper <drepper@gmail.com>
16292
4920765e
UD
16293 [BZ #13538]
16294 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16295 EPOLLET with unsigned values.
16296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16298
e3a851a2
UD
16299 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16300 to large cancellation.
16301 * math/s_cacoshf.c: Likewise.
16302 * math/s_cacoshl.c: Likewise.
16303
b27e24b8
RK
163042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16305
16306 [BZ #13305]
aebefeee 16307 [BZ #12786]
b27e24b8
RK
16308 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16309 * math/s_cacoshf.c: Likewise.
16310 * math/s_cacoshl.c: Likewise.
16311
ee190f67
UD
163122011-12-21 Ulrich Drepper <drepper@gmail.com>
16313
16314 [BZ #13439]
16315 * iconv/gconv.h: Define __GCONV_SWAP.
16316 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16317 * iconvdata/utf-16.c: Likewise.
16318 * iconvdata/utf-32.c: Likewise.
16319
707f25df
AS
163202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16321
16322 [BZ #13524]
16323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16324 numerator after shifting it by one limb.
16325
d2daaa1e
RÁE
163262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16327
16328 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16329 under [__USE_EXTERN_INLINES].
16330
a4647e72
UD
163312011-12-17 Ulrich Drepper <drepper@gmail.com>
16332
16333 [BZ #13446]
16334 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16335
f0b264f1
AZ
163362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16337
16338 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16339 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16340 optimized code.
16341 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16342 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16343 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16344 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16345 for strncasecmp/strncasecmp_l compilation.
16346 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16347 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16348
8ef4f244
MP
163492011-12-08 Marek Polacek <mpolacek@redhat.com>
16350
16351 [BZ #13484]
16352 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16353 of __asm__.
16354
97ac2654
UD
163552011-12-17 Ulrich Drepper <drepper@gmail.com>
16356
16357 [BZ #13506]
16358 * time/tzfile.c (__tzfile_read): Check values from file header.
16359
91d2a845
WS
163602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16361
16362 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16363 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16364 * powerpc/powerpc32/dl-start.S: Likewise.
16365 * powerpc/powerpc32/elf/start.S: Likewise.
16366 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16367 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16368 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16369 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16370 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16371 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16372 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16373 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16374 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16375 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16376 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16377 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16378 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16379 * powerpc/powerpc32/memset.S: Likewise.
16380 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16381 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16382 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16383 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16384 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16385 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16386 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16387 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16388 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16389 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16393
a1267ba1
AZ
163942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16395
16396 * math/libm-test.inc: Added more nearbyint tests.
16397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16401
ad8ac1bd
RL
164022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16403
16404 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16405 FD_CLOEXEC.
16406
1d3e4b61
UD
164072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16408
16409 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16410 Add wcscpy-ssse3 wcscpy-c.
16411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16412 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16413 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16414 * sysdeps/x86_64/wcschr.S: New file.
16415 * sysdeps/x86_64/wcsrchr.S: New file.
16416 * string/test-strcmp.c: Remove checking of wcscmp function for
16417 wrong alignments.
16418 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16419 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16420 wcsrchr-sse2 wcsrchr-c.
16421 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16422 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16423 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16424 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16425 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16426 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16427 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16428 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16430 * wcsmbc/wcschr.c (WCSCHR): New macro.
16431
5b330a2d
UD
164322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16433
16434 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16435 * wcsmbs/test-wcsrchr.c: New file.
16436 * string/test-strrchr.c: Add wcsrchr support.
16437 (WIDE): New macro.
16438 * wcsmbs/test-wcscpy.c: New file.
16439 * string/test-strcpy.c: Add wcscpy support.
16440 (WIDE): New macro.
26428b7c 16441
f039c043
UD
164422011-12-10 Ulrich Drepper <drepper@gmail.com>
16443
16444 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16445 the inner loop.
16446
850fb039
AS
164472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16448
16449 [BZ #13472]
16450 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16451
4efbd5cb
UD
164522011-12-04 Ulrich Drepper <drepper@gmail.com>
16453
52ff5dd0 16454 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16455 Minor optimizations.
52ff5dd0 16456
4efbd5cb
UD
16457 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16458 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16459 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16460
8a426e12
UD
164612011-12-03 Ulrich Drepper <drepper@gmail.com>
16462
aff2453d
UD
16463 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16464 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16465 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16466 for gcc to avoid warnings.
16467 * inet/Makefile (tests): Add tst-checks.
16468 * inet/tst-checks.c: New file.
16469
16470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16471 warning.
16472
16473 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16474 __wmemcmp_sse2.
16475
16476 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16477 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16478
8a426e12
UD
16479 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16480
9bea3473
UD
164812011-12-02 Ulrich Drepper <drepper@gmail.com>
16482
3a965496
UD
16483 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16484 problem.
16485
9bea3473
UD
16486 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16487
f101631b
UD
164882011-11-29 Joseph Myers <joseph@codesourcery.com>
16489
16490 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16491 conditional on GCC version.
16492 (__arch_compare_and_exchange_val_8_acq)
16493 (__arch_compare_and_exchange_val_16_acq)
16494 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16495 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16496 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16497
a98275aa
UD
164982011-12-02 Joseph Myers <joseph@codesourcery.com>
16499
16500 * sysdeps/sh/backtrace.c: New file.
16501
d4cc29a2
AS
165022011-12-02 Andreas Schwab <schwab@redhat.com>
16503
16504 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16505 parenthesis.
16506
6257af2d
AS
165072011-12-01 Andreas Schwab <schwab@redhat.com>
16508
16509 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16510 falling back to utime.
16511
b5f44c1a
AS
165122011-11-30 Andreas Schwab <schwab@redhat.com>
16513
16514 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16515 expectations for float.
16516
f3a6cc0a
AS
165172011-11-29 Andreas Schwab <schwab@redhat.com>
16518
16519 * locale/weight.h (findidx): Add parameter len.
16520 * locale/weightwc.h (findidx): Likewise.
16521 * posix/fnmatch_loop.c (FCT): Adjust caller.
16522 * posix/regcomp.c (build_equiv_class): Likewise.
16523 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16524 * posix/regexec.c (check_node_accept_bytes): Likewise.
16525 * string/strcoll_l.c (STRCOLL): Likewise.
16526 * string/strxfrm_l.c (STRXFRM): Likewise.
16527
9d65ea3a
UD
165282011-11-17 Ulrich Drepper <drepper@gmail.com>
16529
16530 * Makefile.in: Remove CVSOPT handling.
16531 * configure.in: Remove use of AC_REVISION.
16532 * iconvdata/Makefile (distribute): No need to filter out CVS.
16533 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16534 handling.
16535
5583a086
AS
165362011-11-16 Andreas Schwab <schwab@redhat.com>
16537
16538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16539 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16540 [USE_AS_STRNCASECMP_L]: Likewise.
16541 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16542 NO_TLS_DIRECT_SEG_REFS.
16543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16544 Fix argument offsets for non-PIC.
16545 [USE_AS_STRNCASECMP_L]: Likewise.
16546 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16547 NO_TLS_DIRECT_SEG_REFS.
16548
d62a8200
UD
165492011-11-15 Ulrich Drepper <drepper@gmail.com>
16550
9d65ea3a 16551 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16552 O_CLOEXEC.
16553 * locale/loadlocale.c (_nl_load_locale): Likewise.
16554
09f93bd3
AS
165552011-11-15 Andreas Schwab <schwab@redhat.com>
16556
446514f9
AS
16557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16558 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16560 (SYSCALL_GETTIME): Set errno on error.
16561
09f93bd3
AS
16562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16563 count references to noai6ai_cached.
16564
312be3f9
UD
165652011-11-15 Ulrich Drepper <drepper@gmail.com>
16566
16567 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16568
16569 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16570 FD_CLOEXEC for /proc/self/maps.
16571
16572 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16573 FD_CLOEXEC for /proc/meminfo.
16574
16575 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16576 gai.conf.
16577
16578 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16579 FD_CLOEXEC for given file.
16580
16581 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16582
16583 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16584 FD_CLOEXEC for /etc/hosts.
16585 (_gethtent): Likewise.
16586
16587 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16588
16589 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16590 cancellation and set FD_CLOEXEC for /etc/netgroup.
16591
16592 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16593 reading /etc/publickey.
16594
16595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16596 allow cancellation when reading /etc/group.
16597
16598 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16599 cancellation.
16600 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16601
16602 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16603 when using data file.
16604
16605 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16606
16607 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16608 (write_nis_obj): Use "c" and "e" in fopen.
16609
16610 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16611
16612 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16613
16614 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16615
16616 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16617
16618 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16619 locale.alias.
16620
16621 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16622
16623 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16624
16625 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16626
16627 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16628 file parsing and set FD_CLOEXEC.
16629
82af0fa8
UD
166302011-11-14 Ulrich Drepper <drepper@gmail.com>
16631
16632 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16633
a5fb313c
AS
166342011-11-14 Andreas Schwab <schwab@redhat.com>
16635
16636 * malloc/arena.c (arena_get2): Don't call reused_arena when
16637 _int_new_arena failed.
16638
6abf3465
UD
166392011-11-14 Ulrich Drepper <drepper@gmail.com>
16640
16641 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16642 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16643 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16647 to compile strcasecmp and strncasecmp.
16648 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16649 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16650
16651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16652
76e3966e
UD
166532011-11-13 Ulrich Drepper <drepper@gmail.com>
16654
16655 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16656 locale-defines.sym to gen-as-const-headers.
16657 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16658 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16660 to compile strcasecmp and strncasecmp.
16661 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16662 strcasecmp_l and strncasecmp_l.
16663 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16664 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16665 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16666 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16667 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16668 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16669 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16670 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16671 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16672 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16673 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16674
ab26144e
UD
166752011-11-12 Ulrich Drepper <drepper@gmail.com>
16676
7edb22ef
UD
16677 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16678 result of SYSDEP_GETTIME_CPU to retval.
16679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16680 parameter list to macro. Remove trailing semicolon. Adjust users.
16681
9694fc44
UD
16682 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16683 variable.
16684
8ad89ef8
UD
16685 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16686 mantissa words.
16687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16688
0c822ef9
UD
16689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16690 from unused variable.
16691
874e0564
UD
16692 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16693 DWARF definitions.
16694 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16695 for assembling.
16696
3a2edc79
UD
16697 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16698 over namespaces.
16699
f3c2577f
UD
16700 * sunrpc/rpc_prot.c (rejected): Fix case value.
16701
294ce126
UD
16702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16703 unsigned long long int to avoid warnings in shift.
16704
5e2b63c6
UD
16705 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16706 of use of trans.
16707 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16708 variable tmp.
16709
e7f4b08e
UD
16710 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16711 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16713
ab26144e
UD
16714 * nis/nis_table.c (nis_list): Use variable of correct type for
16715 result of __follow_path call.
16716
8a6d5255
AZ
167172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16718
16719 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16720 of math functions ceil, trunc, floor, round, and sqrt, when
16721 avaliable on the platform.
16722 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16723 name clash.
16724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16726 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16727
aaddc98c
MP
167282011-10-30 Marek Polacek <mpolacek@redhat.com>
16729
16730 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16732
95b7042b
RM
167332011-11-11 Roland McGrath <roland@hack.frob.com>
16734
16735 * include/unistd.h: Fix __readlink return type.
16736 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16737
57769839
UD
167382011-11-11 Ulrich Drepper <drepper@gmail.com>
16739
16740 * stdlib/ucontext.h: Undo last change for makecontext.
16741
edc5984d
AS
167422011-11-11 Andreas Schwab <schwab@redhat.com>
16743
98591e58
AS
16744 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16745
edc5984d
AS
16746 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16747 * setjmp/setjmp.h: Mark functions as non-leaf.
16748 * setjmp/bits/setjmp2.h: Likewise.
16749 * stdlib/ucontext.h: Likewise.
16750
77cdc054
AS
167512011-11-10 Andreas Schwab <schwab@redhat.com>
16752
16753 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16754 (reused_arena): Don't check arena limit.
16755 (arena_get2): Atomically check arena limit.
16756
fe72eebd
UD
167572011-11-08 Ulrich Drepper <drepper@gmail.com>
16758
5f078c32
UD
16759 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16760 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16761
fe72eebd
UD
16762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16763 instructions.
16764
ae1bc2fa
AS
167652011-11-07 Andreas Schwab <schwab@redhat.com>
16766
7583a88d
AS
16767 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16768 handler when locking.
16769
ae1bc2fa
AS
16770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16771 Fix size of allocated buffer.
16772
10fb0bfa
AS
167732011-11-04 Andreas Schwab <schwab@redhat.com>
16774
998832a4
AS
16775 [BZ #10103]
16776 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16777 declarations for long double functions.
16778 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16779
10fb0bfa
AS
16780 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16781
3d7ba52b
AS
167822011-11-03 Andreas Schwab <schwab@redhat.com>
16783
a9ae54a1
AS
16784 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16785 installed.
16786
3d7ba52b
AS
16787 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16788 is disabled.
16789
bc8db248
ST
167902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16791
16792 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16793
45b96dd6
AS
167942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16795
647776f6
AS
16796 * include/alloca.h (stackinfo_alloca_round): Define.
16797 (extend_alloca): Use it.
16798 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16799 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16800 here.
16801
d91a8b93
AS
16802 * scripts/check-local-headers.sh: Ignore libaudit.h.
16803
45b96dd6
AS
16804 * nscd/Makefile (extra-objs): Make recursively expanded.
16805
432d41ce
UD
168062011-11-01 Ulrich Drepper <drepper@gmail.com>
16807
34372fc6
UD
16808 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16810
fadb59f8
UD
16811 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16812 * posix/tst-rfc3484-2.c: Likewise.
16813 * posix/tst-rfc3484-3.c: Likewise.
16814
78239589
UD
16815 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16816 process_vm_writev.
16817 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16818 process_vm_writev.
16819 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16820 process_vm_writev from libc using GLIBC_2.15 version.
16821
432d41ce
UD
16822 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16823
02f9c6cf
PP
168242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16825
16826 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16827 stack usage.
16828
3a2c0242
UD
168292011-10-31 Ulrich Drepper <drepper@gmail.com>
16830
f4ec4833
UD
16831 [BZ #13367]
16832 * nss/getent.c (initgroups_keys): Show error message in case no group
16833 names are given.
16834
3a2c0242
UD
16835 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16836 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16837 __bump_nl_timestamp.
16838 * nscd/connections (nscd_init): When host database is served open
16839 netlink socket and request notification about configuration changes.
16840 (main_loop_poll): Track netlink file descriptor and bump timestamp
16841 in case data becomes available.
16842 (main_loop_epoll): Likewise.
16843 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16844 (database_pers_head): Add extra_data fileds.
16845 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16846 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16847 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16848 Adjust caller.
16849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16850 in6ai data, call __free_in6ai.
16851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16852 Add -DHAVE_NETLINK.
16853 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16854 interface information. Reuse previous data if netlink timestamp
16855 is not changed.
16856 (__bump_nl_timestamp): New function.
16857 (__free_in6ai): New function.
16858
636064eb
UD
168592011-10-30 Ulrich Drepper <drepper@gmail.com>
16860
16861 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16862 close_not_cancel_no_status here.
16863 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16864
9beb2334
UD
168652011-10-29 Ulrich Drepper <drepper@gmail.com>
16866
6ef76f3b
UD
16867 [BZ #13276]
16868 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16869 return value.
16870
0ffc4f3e 16871 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16872 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16873 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16874
cb95113e
UD
168752011-07-03 Andreas Jaeger <aj@suse.de>
16876
16877 [BZ #10709]
16878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16879 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16880 * math/libm-test.inc (sin_test): Add test case.
16881
a1b560ff
UD
168822011-10-29 Ulrich Drepper <drepper@gmail.com>
16883
c9aaface
UD
16884 [BZ #13337]
16885 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16886 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16887
d272e7f1
UD
16888 * elf/chroot_canon.c (chroot_canon): Cleanups.
16889
1bc33071
UD
16890 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16891
1760874d
TJ
16892 [BZ #13335]
16893 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16894 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16895
51d91b18
UD
16896 * string/test-strchr.c: Make usable for strchrnul testing.
16897 * string/test-strchrnul.c: New file.
16898 * string/Makefile (strop-tests): Add strchrnul.
16899
a1b560ff 16900 * po/it.po: Update from translation team.
b611fb81 16901 * po/es.po: Likewise.
a1b560ff 16902
a5b81e1f
UD
169032011-10-28 Ulrich Drepper <drepper@gmail.com>
16904
fd52bc6d
UD
16905 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16906 the three constants needed as parameters. Drop the others.
16907 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16908 __m128i_strloadu_tolower.
52e4b9eb
UD
16909 Create and initialize variable zero and use it in all the places
16910 where _mm_setzero_si128 was used.
fd52bc6d 16911
a5b81e1f
UD
16912 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16913 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16914 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16915 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16916 anymore.
16917 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16920 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16921 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16922 __mpranred, __mptan.
16923 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16924 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16925 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16926 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16930 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16931 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16932
b4343346
AS
169332011-10-28 Andreas Schwab <schwab@redhat.com>
16934
0c92d8a8
AS
16935 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16936 redefine if SHARED.
16937 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16938
b4343346
AS
16939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16940 wide char related routines to wcsmbs subdir.
16941
3871f58f
AS
169422011-10-27 Andreas Schwab <schwab@redhat.com>
16943
16944 [BZ #13344]
16945 * misc/sys/cdefs.h (__THROWNL): Define.
16946 * posix/unistd.h: Use __THREADNL instead of __THREAD
16947 for memory synchronization functions.
16948
94d44d9f
RM
169492011-10-26 Roland McGrath <roland@hack.frob.com>
16950
21b64b15 16951 [BZ #13349]
94d44d9f
RM
16952 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16953 doesn't exist.
16954 * manual/stdio.texi (Obstack Streams): Node removed.
16955
f6ce9294
AS
169562011-10-26 Andreas Schwab <schwab@redhat.com>
16957
80479147
AS
16958 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16961
f6ce9294
AS
16962 * math/math_private.h (math_force_eval): Allow non-addressable
16963 arguments.
16964 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16965
618280a1
UD
169662011-10-25 Ulrich Drepper <drepper@gmail.com>
16967
e0016b11
UD
16968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16969 file is not needed.
16970
16971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16973 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16974 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16975 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16976 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16977 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16978 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16979 Add AVX variants.
16980 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16981 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16982 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16983 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16984 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16985 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16986 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16990 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16991 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16994 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16995 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16996 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16997 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16998 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16999
17000 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17001 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17002
618280a1
UD
17003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17004 place. Use VEX encoding when compiling for AVX.
17005
37822576
AS
170062011-10-25 Andreas Schwab <schwab@redhat.com>
17007
1f1e1947
AS
17008 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17009 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17010
37822576
AS
17011 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17012
31ea014d
UD
170132011-10-25 Ulrich Drepper <drepper@gmail.com>
17014
d7826aa1 17015 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 17016 useless if() expression.
d7826aa1
UD
17017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17018 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17021 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17025 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17027 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17028 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17029 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17030 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17031 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17032 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17033 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17036
31ea014d
UD
17037 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17038
16437fec
AS
170392011-10-25 Andreas Schwab <schwab@redhat.com>
17040
17041 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17042 condition.
17043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17044
31d3cc00
UD
170452011-10-25 Ulrich Drepper <drepper@gmail.com>
17046
17047 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17048 .text section. Avoid duplicate constants.
17049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17066 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17072 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17073 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17074 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17075 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17076 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17079 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17089 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17090 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17094
58985aa9
UD
170952011-10-24 Ulrich Drepper <drepper@gmail.com>
17096
202c9deb
UD
17097 * sysdeps/x86_64/dla.h: Move to ...
17098 * sysdeps/x86_64/fpu/dla.h: ...here.
17099 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17100 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17101
af968f62
UD
17102 * config.make.in: Add have-mfma4 entry.
17103 * configure.in: Substitute libc_cv_cc_fma4.
17104 * math/Makefile (dbl-only-routines): Add sincostab.
17105 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17106 Use __sincostab not sincos.
17107 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17108 name is a macro.
17109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17113 using __copysign.
17114 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17115 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17116 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17117 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17118 and __inv.
17119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17120 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17121 __copysign.
17122 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17123 define aliases when function name is a macro.
17124 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17125 sysdeps/ieee754/dbl-64/sincos.tbl.
17126 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17127 fma4-enabled routines.
17128 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17129 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17130 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17131 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17133 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17138 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17140 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17150 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17151 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17155 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17156 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17157 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17158
58985aa9
UD
17159 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17160 rename.
17161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17169
a201fbcf
AS
171702011-10-24 Andreas Schwab <schwab@redhat.com>
17171
17172 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17173
fc2ee42a
LD
171742011-10-23 Ulrich Drepper <drepper@gmail.com>
17175
bb3129bd
UD
17176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17177
0275fff8
UD
17178 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17179 prediction.
17180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17181
2fa2ae85
UD
17182 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17183 Remove unused variable magic_bits.
17184 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17185
fc2ee42a
LD
17186 * string/strnlen.c: Define and use STRNLEN macro.
17187 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17188 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17190 * wcsmbs/wcslen.c: Define and use WCSLEN.
17191 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17192 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17193 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17194 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17195 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17196 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17197 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17198
ce7dd29f
LD
171992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17200
17201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17202 strnlen-sse2-no-bsf.
17203 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17204 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17205 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17206 Add strnlen support.
17207 (USE_AS_STRNLEN): New macro.
17208 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17209 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17210 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17211 * sysdeps/x86_64/wcslen.S: New file.
17212
979c70a3
MZ
172132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17214
17215 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17216 XMM-moves are used for copying on small sizes.
17217
2d09f82f
LD
172182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17219
17220 * wcsmbs/Makefile (strop-tests): Add wcschr.
17221 * wcsmbs/test-wcschr.c: New file.
17222 * string/test-strchr.c: Update.
17223 Add wcschr support.
17224 (WIDE): New macro.
17225
619fccca
LD
172262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17227
2d09f82f 17228 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17229 * wcsmbs/test-wcslen.c: New file.
17230 * string/test-strlen.c: Update.
17231 Add wcslen support.
17232 (WIDE): New macro.
17233
09f699ea
UD
172342011-10-23 Ulrich Drepper <drepper@gmail.com>
17235
17236 * po/it.po: Update from translation team.
17237
95584d3b
LD
172382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17239
17240 * sysdeps/x86_64/wcscmp.S: Update.
17241 Fix wrong comparison semantics.
17242 wcscmp shall use signed comparison not unsigned.
17243 Don't use substraction to avoid overflow bug.
17244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17245 * wcsmbc/wcscmp.c: Likewise.
17246 * string/test-strcmp.c: Likewise.
17247 Add new tests to check cases with negative values.
17248
c8b3296b
UD
172492011-10-23 Ulrich Drepper <drepper@gmail.com>
17250
17251 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17252 * sysdeps/x86_64/dla.h: ...here. New file.
17253 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17262
246ad57a
AS
172632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17264
17265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17266 __ynl_finite aliases.
17267
a1a87169
UD
172682011-10-22 Ulrich Drepper <drepper@gmail.com>
17269
0d355eb7
UD
17270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17271
a1a87169
UD
17272 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17273 define DLA_FMA.
17274 [DLA_FMA] (EMULV): Use DLA_FMA.
17275 [DLA_FMA] (MUL12): Use EMULV.
17276 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17277 that are not needed.
17278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17285
ee2aafe0
AS
172862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17287
17288 * math/s_nan.c: Undef __nan.
17289 * math/s_nanf.c: Undef __nanf.
17290 * math/s_nanl.c: Undef __nanl.
17291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17292 "math_private.h".
17293
bc62c2fb
UD
172942011-10-22 Ulrich Drepper <drepper@gmail.com>
17295
77425c63
UD
17296 * math/s_catan.c: Add branch predictions.
17297 * math/s_catanf.c: Likewise.
17298 * math/s_catanh.c: Likewise.
17299 * math/s_catanhf.c: Likewise.
17300 * math/s_catanhl.c: Likewise.
17301 * math/s_catanl.c: Likewise.
17302 * math/s_cexp.c: Likewise.
17303 * math/s_cexpf.c: Likewise.
17304 * math/s_cexpl.c: Likewise.
17305 * math/s_clog.c: Likewise.
17306 * math/s_clog10.c: Likewise.
17307 * math/s_clog10f.c: Likewise.
17308 * math/s_clog10l.c: Likewise.
17309 * math/s_clogf.c: Likewise.
17310 * math/s_clogl.c: Likewise.
17311 * math/s_csqrt.c: Likewise.
17312 * math/s_csqrtf.c: Likewise.
17313 * math/s_csqrtl.c: Likewise.
17314 * math/s_ctanf.c: Likewise.
17315 * math/s_ctanh.c: Likewise.
17316 * math/s_ctanhf.c: Likewise.
17317 * math/s_ctanhl.c: Likewise.
17318 * math/s_ctanl.c: Likewise.
17319
bc62c2fb
UD
17320 * math/math_private.h: Define __nan, __nanf, __nanl.
17321 * math/s_cacosh.c: Include <math_private.h>.
17322 * math/s_cacoshl.c: Likewise.
17323 * math/s_casinh.c: Likewise.
17324 * math/s_casinhf.c: Likewise.
17325 * math/s_casinhl.c: Likewise.
17326 * math/s_ccos.c: Rely entire on ccosh.
17327 * math/s_ccosf.c: Rely entire on ccoshf.
17328 * math/s_ccosl.c: Rely entirely on ccoshl.
17329 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17330 Remove tests for FE_INVALID.
17331 * math/s_ccoshf.c: Likewise.
17332 * math/s_ccoshl.c: Likewise.
17333 * math/s_csin.c: Likewise.
17334 * math/s_csinf.c: Likewise.
17335 * math/s_csinh.c Likewise.
17336 * math/s_csinhf.c: Likewise.
17337 * math/s_csinhl.c: Likewise.
17338 * math/s_csinl.c: Likewise.
17339 * math/s_ctan.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17341 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17343
8ec250a4
UD
173442011-10-21 Ulrich Drepper <drepper@gmail.com>
17345
c196fed8
UD
17346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17347 compilation problems.
17348
8ec250a4
UD
17349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17350 __builtin_expect.
17351
8d4f46c6
UD
173522011-10-20 Ulrich Drepper <drepper@gmail.com>
17353
ed72b654
UD
17354 * sysdeps/i386/configure.in: Test for -mfma4 option.
17355 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17356 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17357 COMMON_CPUID_INDEX_80000001.
17358 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17359 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17360 use it if FMA3 is not supported.
17361 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17362
8d4f46c6
UD
17363 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17364 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17365
d45c60c2
AS
173662011-10-20 Andreas Schwab <schwab@redhat.com>
17367
17368 [BZ #12892]
17369 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17370 it would create a cycle with a link time dependency.
17371
d9a4d2ab
UD
173722011-10-19 Ulrich Drepper <drepper@gmail.com>
17373
855d1560
UD
17374 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17375 instruction.
17376 * string/Makefile (strop-tests): Add rawmemchr.
17377 * string/test-rawmemchr.c: New file.
17378
d9a4d2ab
UD
17379 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17381 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17382 when compiling str{,n}casecmp and when AVX is available. Hook up
17383 new optimized code in initializers.
17384
8f3b1ffe
AS
173852011-10-19 Andreas Schwab <schwab@redhat.com>
17386
17387 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17388 __feraiseexcept instead of feraiseexcept.
17389
d38f1dba
UD
173902011-10-18 Ulrich Drepper <drepper@gmail.com>
17391
d9a8d0ab
UD
17392 * math/math_private.h: Define defaults for libc_fetestexcept and
17393 libc_feupdateenv.
17394 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17395 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17396 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17397 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17398 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17399 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17400 libc_fetestexcept and libc_feupdateenv.
17401
4855e3dd
UD
17402 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17403 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17404 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17405 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17406 libc_feholdexcept_setround.
17407
581d30e3
UD
17408 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17409 Add s_nearbyint-c and s_nearbyintf-c.
17410 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17411 nearbyintf inlines.
17412 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17416
d38f1dba
UD
17417 * math/math_private.h: Define defaults for libc_fegetround,
17418 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17419 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17420 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17422 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17423 standard functions.
17424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17425 Remove comments and hacks for old compiler versions.
17426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17427 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17428 libc_feholdexceptl.
17429
caa6c9d8
AS
174302011-10-18 Andreas Schwab <schwab@redhat.com>
17431
17432 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17433 (__feraiseexcept_renamed): Add __NTH.
17434 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17435 namespace violations.
17436
97c066e6
UD
174372011-10-17 Ulrich Drepper <drepper@gmail.com>
17438
99ce7b04
UD
17439 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17440
1004d182
UD
17441 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17442
228a984d
UD
17443 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17444 recently added interfaces.
17445 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17446
c8553a6a
UD
17447 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17448 about macro parameter expansion.
17449
ed22dcf6
UD
17450 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17451 __NO_MATH_INLINES is defined. Cleanups.
17452
17453 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17454 and __floorf is target has SSE4.1.
17455 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17456 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17457 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17458 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17459
b171c137
UD
17460 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17461 name.
17462 (floorf): Likewise.
17463
97c066e6
UD
17464 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17465
629f62ef
AS
174662011-10-17 Andreas Schwab <schwab@redhat.com>
17467
49a43d80
AS
17468 * misc/sys/cdefs.h: Fix last change.
17469
629f62ef
AS
17470 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17471 database lookup.
17472
e453f6cd
UD
174732011-10-16 Ulrich Drepper <drepper@gmail.com>
17474
aa78043a
UD
17475 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17476
ad0f5cad
UD
17477 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17482 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17485 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17486 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17487 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17488 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17489 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17490 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17491 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17492 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17493 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17494 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17495 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17496 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17497 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17498 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17499
17500 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17501 ceil, ceilf, floor, floorf.
17502
17503 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17504 Perform IRELATIVE relocations last.
17505
e453f6cd
UD
17506 * elf/do-rel.h: Add another parameter nrelative, replacing the
17507 local variable with the same name. Change name of the function
17508 to end in Rel or Rela (uppercase).
17509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17510 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17511 elf_dynamic_do_##reloc function.
17512
fd5bdc09
UD
175132011-10-15 Ulrich Drepper <drepper@gmail.com>
17514
79b195b5
UD
17515 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17516 is sufficient, at least on modern CPUs.
17517
d4a28569
UD
17518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17519
b61099b5
UD
17520 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17522
bcf01e6d
UD
17523 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17524 __expl_finite.
17525 * math/bits/math-finite.h: Add entries for exp.
17526 * math/e_expl.c: Add __*_finite alias.
17527 * sysdeps/i386/fpu/e_exp.S: Likewise.
17528 * sysdeps/i386/fpu/e_expf.S: Likewise.
17529 * sysdeps/i386/fpu/e_expl.c: Likewise.
17530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17531 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17534 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17535 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17537
ba1a0d59
UD
17538 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17539 is sufficient, at least on modern CPUs.
17540
fd5bdc09
UD
17541 * ctype/ctype-info.c (__ctype_init): Define.
17542 * include/ctype.h (__ctype_init): Declare.
17543 (__ctype_b_loc): The variable is always initialized.
17544 (__ctype_toupper_loc): Likewise.
17545 (__ctype_tolower_loc): Likewise.
17546 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17547 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17548
7872cfb0
AS
175492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17550
b468825a
AS
17551 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17552
7872cfb0
AS
17553 * configure.in: Also look in $cxxmachine/include for C++ system
17554 headers.
17555
be13f7bf
LD
175562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17557
17558 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17559 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17560 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17561 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17563 (USE_AS_WMEMCMP): New macro.
17564 Fixing indents.
17565 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17566 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17567 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17568 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17570 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17571 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17572 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17573 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17574 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17576 (USE_AS_WMEMCMP): New macro.
17577 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17578 * sysdeps/string/test-memcmp.c: Update.
17579 Fix simple_wmemcmp.
17580 Add new tests.
17581 * wcsmbs/wmemcmp.c: Update.
17582 (WMEMCMP): New macro.
17583 Fix overflow bug.
17584
556a2007
AJ
175852011-10-12 Andreas Jaeger <aj@suse.de>
17586
17587 [BZ #13268]
17588 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17589
538faaa7
UD
175902011-10-15 Ulrich Drepper <drepper@gmail.com>
17591
ab6737ff
UD
17592 * libio/iofwide.c (do_length): Avoid warning.
17593
538faaa7
UD
17594 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17595
396a21b1
UD
175962011-10-14 Ulrich Drepper <drepper@gmail.com>
17597
cdf2901f
UD
17598 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17599
38ad40ce
UD
17600 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17601 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17602 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17603 * sysdeps/i386/i686/fpu/e_log.S: New file.
17604 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17605 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17606
396a21b1
UD
17607 * ctype/ctype.h: Add support for inlined isXXX functions when
17608 compiling C++ code.
17609
6b1f68c9
AS
176102011-10-14 Andreas Schwab <schwab@redhat.com>
17611
349290c0
AS
17612 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17613
6b1f68c9
AS
17614 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17615
f2282d42
RM
176162011-10-13 Roland McGrath <roland@hack.frob.com>
17617
17618 [BZ #13291]
17619 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17620
5298ffa8
AS
176212011-10-13 Andreas Schwab <schwab@redhat.com>
17622
714fad23
AS
17623 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17624 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17625 feraiseexcept.
17626
81dcc7fb
AS
17627 * sysdeps/x86_64/memrchr.S: Check for zero size.
17628
5298ffa8
AS
17629 * string/stratcliff.c: Add memrchr tests.
17630
951fbcec
LD
176312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17632
17633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17634 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17635 rawmemchr-sse2 rawmemchr-sse2-bsf.
17636 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17637 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17638 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17639 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17640 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17641 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17642 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17643 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17644 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17646 * string/memrchr.c (MEMRCHR): New macro.
17647
0ac5ae23
UD
176482011-10-12 Ulrich Drepper <drepper@gmail.com>
17649
17650 Add integration with gcc's -ffinite-math-only and optimize wrapper
17651 functions in libm.
17652 * Versions.def: Define GLIBC_2.15 version for libm.
17653 * math/Makefile (headers): Add bits/math-finite.h.
17654 * math/bits/math-finite.h: New file.
17655 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17656 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17657 * math/e_acoshl.c: Add __*_finite alias.
17658 * math/e_acosl.c: Likewise.
17659 * math/e_asinl.c: Likewise.
17660 * math/e_atan2l.c: Likewise.
17661 * math/e_atanhl.c: Likewise.
17662 * math/e_coshl.c: Likewise.
17663 * math/e_exp10.c: Likewise.
17664 * math/e_exp10f.c: Likewise.
17665 * math/e_exp10l.c: Likewise.
17666 * math/e_exp2l.c: Likewise.
17667 * math/e_fmodl.c: Likewise.
17668 * math/e_gammal_r.c: Likewise.
17669 * math/e_hypotl.c: Likewise.
17670 * math/e_j0l.c: Likewise.
17671 * math/e_j1l.c: Likewise.
17672 * math/e_jnl.c: Likewise.
17673 * math/e_lgammal_r.c: Likewise.
17674 * math/e_log10l.c: Likewise.
17675 * math/e_log2l.c: Likewise.
17676 * math/e_logl.c: Likewise.
17677 * math/e_powl.c: Likewise.
17678 * math/e_sinhl.c: Likewise.
17679 * math/e_sqrtl.c: Likewise.
17680 * math/e_scalb.c: Completely rewritten and optimized.
17681 * math/e_scalbf.c: Likewise.
17682 * math/e_scalbl.c: Likewise.
17683 * math/w_acos.c: Likewise.
17684 * math/w_acosf.c: Likewise.
17685 * math/w_acosl.c: Likewise.
17686 * math/w_acosh.c: Likewise.
17687 * math/w_acoshf.c: Likewise.
17688 * math/w_acoshl.c: Likewise.
17689 * math/w_asin.c: Likewise.
17690 * math/w_asinf.c: Likewise.
17691 * math/w_asinl.c: Likewise.
17692 * math/w_atan2.c: Likewise.
17693 * math/w_atan2f.c: Likewise.
17694 * math/w_atan2l.c: Likewise.
17695 * math/w_atanh.c: Likewise.
17696 * math/w_atanhf.c: Likewise.
17697 * math/w_atanhl.c: Likewise.
17698 * math/w_exp10.c: Likewise.
17699 * math/w_exp10f.c: Likewise.
17700 * math/w_exp10l.c: Likewise.
17701 * math/w_fmod.c: Likewise.
17702 * math/w_fmodf.c: Likewise.
17703 * math/w_fmodl.c: Likewise.
17704 * math/w_j0.c: Likewise.
17705 * math/w_j0f.c: Likewise.
17706 * math/w_j0l.c: Likewise.
17707 * math/w_j1.c: Likewise.
17708 * math/w_j1f.c: Likewise.
17709 * math/w_j1l.c: Likewise.
17710 * math/w_jn.c: Likewise.
17711 * math/w_jnf.c: Likewise.
17712 * math/w_log.c: Likewise.
17713 * math/w_logf.c: Likewise.
17714 * math/w_logl.c: Likewise.
17715 * math/w_log10.c: Likewise.
17716 * math/w_log10f.c: Likewise.
17717 * math/w_log10l.c: Likewise.
17718 * math/w_log2.c: Likewise.
17719 * math/w_log2f.c: Likewise.
17720 * math/w_log2l.c: Likewise.
17721 * math/w_pow.c: Likewise.
17722 * math/w_powf.c: Likewise.
17723 * math/w_powl.c: Likewise.
17724 * math/w_remainder.c: Likewise.
17725 * math/w_remainderf.c: Likewise.
17726 * math/w_remainderl.c: Likewise.
17727 * math/w_scalb.c: Likewise.
17728 * math/w_scalbf.c: Likewise.
17729 * math/w_scalbl.c: Likewise.
17730 * math/w_sqrt.c: Likewise.
17731 * math/w_sqrtf.c: Likewise.
17732 * math/w_sqrtl.c: Likewise.
17733 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17734 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17735 used.
17736 * math/math_private.h: Declare __kernel_standard_f.
17737 * math/w_cosh.c: Remove cruft and optimize a bit.
17738 * math/w_coshf.c: Likewise.
17739 * math/w_coshl.c: Likewise.
17740 * math/w_exp2.c: Likewise.
17741 * math/w_exp2f.c: Likewise.
17742 * math/w_exp2l.c: Likewise.
17743 * math/w_hypot.c: Likewise.
17744 * math/w_hypotf.c: Likewise.
17745 * math/w_hypotl.c: Likewise.
17746 * math/w_lgamma.c: Likewise.
17747 * math/w_lgamma_r.c: Likewise.
17748 * math/w_lgammaf.c: Likewise.
17749 * math/w_lgammaf_r.c: Likewise.
17750 * math/w_lgammal.c: Likewise.
17751 * math/w_lgammal_r.c: Likewise.
17752 * math/w_sinh.c: Likewise.
17753 * math/w_sinhf.c: Likewise.
17754 * math/w_sinhl.c: Likewise.
17755 * math/w_tgamma.c: Likewise.
17756 * math/w_tgammaf.c: Likewise.
17757 * math/w_tgammal.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17760 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17761 Minor optimizations. Pretty printing. Remove cruft.
17762 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17766 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17767 * sysdeps/i386/fpu/e_asin.S: Likewise.
17768 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17769 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17770 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17771 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17772 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17773 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17775 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17776 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17777 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17778 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17779 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17780 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17781 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17782 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17783 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17784 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17785 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17786 * sysdeps/i386/fpu/e_log.S: Likewise.
17787 * sysdeps/i386/fpu/e_log10.S: Likewise.
17788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17790 * sysdeps/i386/fpu/e_log2.S: Likewise.
17791 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17792 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17793 * sysdeps/i386/fpu/e_logf.S: Likewise.
17794 * sysdeps/i386/fpu/e_logl.S: Likewise.
17795 * sysdeps/i386/fpu/e_pow.S: Likewise.
17796 * sysdeps/i386/fpu/e_powf.S: Likewise.
17797 * sysdeps/i386/fpu/e_powl.S: Likewise.
17798 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17799 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17800 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17801 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17804 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17805 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17806 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17828 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17831 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17832 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17834 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17835 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17836 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17838 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17840 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17841 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17842 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17843 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17844 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17845 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17846 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17847 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17857 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17862 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17863 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17864 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17865 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17868 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17877 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17881 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17882 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17883 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17886 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17888 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17891 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17892 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17894 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17896 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17900 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17902 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17903 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17904 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17905 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17906 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17907 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17908 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17909 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17910 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17912 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17915 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17916 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17917 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17918 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17919 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17920 (__isnanf): Likewise.
17921 (__isinf_ns): Likewise.
17922 (__isinf_nsf): Likewise.
17923 (__finite): Likewise.
17924 (__finitef): Likewise.
17925 (__ieee754_sqrt): Define as macro.
17926 (__ieee754_sqrtf): Define as macro.
17927 (__ieee754_sqrtl): Define as macro.
17928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17929 inlined copy.
17930 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17931 __FINITE_MATH_ONLY__ consistent.
17932 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17933
12cc2fcd
AS
179342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17935
a843a204
AS
17936 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17937 of rawmemchr.
17938
12cc2fcd
AS
17939 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17940
c853acd5
UD
179412011-10-09 Ulrich Drepper <drepper@gmail.com>
17942
17943 * po/ja.po: Update from translation team.
17944
c658d255
RM
179452011-10-08 Roland McGrath <roland@hack.frob.com>
17946
110946e4
RM
17947 * locale/programs/locarchive.c (prepare_address_space): New function.
17948 (create_archive, enlarge_archive, open_archive): Use it.
17949
50604220
RM
17950 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17951 inside [SHARED], where it is used.
17952
c658d255
RM
17953 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17954
17955 * nss/getent.c (netgroup_keys): Remove unused variable.
17956 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17957
6a621eb7
UD
179582011-10-08 Ulrich Drepper <drepper@gmail.com>
17959
7edb55ce
UD
17960 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17964 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17965 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17966 * math/Makefile (libm-calls): Add s_isinf_ns.
17967 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17968 * math/multc3.c: Likewise.
17969 * math/s_casin.c: Likewise.
17970 * math/s_casinf.c: Likewise.
17971 * math/s_casinl.c: Likewise.
17972 * math/s_ccos.c: Likewise.
17973 * math/s_ccosf.c: Likewise.
17974 * math/s_ccosl.c: Likewise.
17975 * math/s_ctan.c: Likewise.
17976 * math/s_ctanf.c: Likewise.
17977 * math/s_ctanh.c: Likewise.
17978 * math/s_ctanhf.c: Likewise.
17979 * math/s_ctanhl.c: Likewise.
17980 * math/s_ctanl.c: Likewise.
17981 * math/w_fmod.c: Likewise.
17982 * math/w_fmodf.c: Likewise.
17983 * math/w_fmodl.c: Likewise.
17984 * math/w_remainder.c: Likewise.
17985 * math/w_remainderf.c: Likewise.
17986 * math/w_remainderl.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17988 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17991 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17992 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17993 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17994 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17995
187da0ae
UD
17996 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17997 of the number.
17998 * stdio-common/printf_fphex.c: Likewise.
17999 * stdio-common/printf_size.c: Likewise.
18000
9277c064
UD
18001 * math/e_exp10.c: Include math_private.h using <...> not "...".
18002 * math/e_exp10f.c: Likewise.
18003 * math/e_exp10l.c: Likewise.
18004 * math/e_exp2l.c: Likewise.
18005 * math/e_j0l.c: Likewise.
18006 * math/e_j1l.c: Likewise.
18007 * math/e_jnl.c: Likewise.
18008 * math/e_lgammal_r.c: Likewise.
18009 * math/e_rem_pio2l.c: Likewise.
18010 * math/e_scalb.c: Likewise.
18011 * math/e_scalbf.c: Likewise.
18012 * math/e_scalbl.c: Likewise.
18013 * math/k_cosl.c: Likewise.
18014 * math/k_sinl.c: Likewise.
18015 * math/k_tanl.c: Likewise.
18016 * math/s_cacoshf.c: Likewise.
18017 * math/s_catan.c: Likewise.
18018 * math/s_catanf.c: Likewise.
18019 * math/s_catanh.c: Likewise.
18020 * math/s_catanhf.c: Likewise.
18021 * math/s_catanhl.c: Likewise.
18022 * math/s_catanl.c: Likewise.
18023 * math/s_ccosh.c: Likewise.
18024 * math/s_ccoshf.c: Likewise.
18025 * math/s_ccoshl.c: Likewise.
18026 * math/s_cexp.c: Likewise.
18027 * math/s_cexpf.c: Likewise.
18028 * math/s_cexpl.c: Likewise.
18029 * math/s_clog.c: Likewise.
18030 * math/s_clog10.c: Likewise.
18031 * math/s_clog10f.c: Likewise.
18032 * math/s_clog10l.c: Likewise.
18033 * math/s_clogf.c: Likewise.
18034 * math/s_clogl.c: Likewise.
18035 * math/s_csin.c: Likewise.
18036 * math/s_csinf.c: Likewise.
18037 * math/s_csinh.c: Likewise.
18038 * math/s_csinhf.c: Likewise.
18039 * math/s_csinhl.c: Likewise.
18040 * math/s_csinl.c: Likewise.
18041 * math/s_csqrt.c: Likewise.
18042 * math/s_csqrtf.c: Likewise.
18043 * math/s_csqrtl.c: Likewise.
18044 * math/s_ctan.c: Likewise.
18045 * math/s_ctanf.c: Likewise.
18046 * math/s_ctanh.c: Likewise.
18047 * math/s_ctanhf.c: Likewise.
18048 * math/s_ctanhl.c: Likewise.
18049 * math/s_ctanl.c: Likewise.
18050 * math/s_ldexp.c: Likewise.
18051 * math/s_ldexpf.c: Likewise.
18052 * math/s_ldexpl.c: Likewise.
18053 * math/s_significand.c: Likewise.
18054 * math/s_significandf.c: Likewise.
18055 * math/s_significandl.c: Likewise.
18056 * math/w_acos.c: Likewise.
18057 * math/w_acosf.c: Likewise.
18058 * math/w_acosh.c: Likewise.
18059 * math/w_acoshf.c: Likewise.
18060 * math/w_acoshl.c: Likewise.
18061 * math/w_acosl.c: Likewise.
18062 * math/w_asin.c: Likewise.
18063 * math/w_asinf.c: Likewise.
18064 * math/w_asinl.c: Likewise.
18065 * math/w_atan2.c: Likewise.
18066 * math/w_atan2f.c: Likewise.
18067 * math/w_atan2l.c: Likewise.
18068 * math/w_atanh.c: Likewise.
18069 * math/w_atanhf.c: Likewise.
18070 * math/w_atanhl.c: Likewise.
18071 * math/w_cosh.c: Likewise.
18072 * math/w_coshf.c: Likewise.
18073 * math/w_coshl.c: Likewise.
18074 * math/w_dremf.c: Likewise.
18075 * math/w_exp10.c: Likewise.
18076 * math/w_exp10f.c: Likewise.
18077 * math/w_exp10l.c: Likewise.
18078 * math/w_exp2.c: Likewise.
18079 * math/w_exp2f.c: Likewise.
18080 * math/w_fmod.c: Likewise.
18081 * math/w_fmodf.c: Likewise.
18082 * math/w_fmodl.c: Likewise.
18083 * math/w_hypot.c: Likewise.
18084 * math/w_hypotf.c: Likewise.
18085 * math/w_hypotl.c: Likewise.
18086 * math/w_j0.c: Likewise.
18087 * math/w_j0f.c: Likewise.
18088 * math/w_j0l.c: Likewise.
18089 * math/w_j1.c: Likewise.
18090 * math/w_j1f.c: Likewise.
18091 * math/w_j1l.c: Likewise.
18092 * math/w_jn.c: Likewise.
18093 * math/w_jnf.c: Likewise.
18094 * math/w_jnl.c: Likewise.
18095 * math/w_lgamma.c: Likewise.
18096 * math/w_lgamma_r.c: Likewise.
18097 * math/w_lgammaf.c: Likewise.
18098 * math/w_lgammaf_r.c: Likewise.
18099 * math/w_lgammal.c: Likewise.
18100 * math/w_lgammal_r.c: Likewise.
18101 * math/w_log.c: Likewise.
18102 * math/w_log10.c: Likewise.
18103 * math/w_log10f.c: Likewise.
18104 * math/w_log10l.c: Likewise.
18105 * math/w_log2.c: Likewise.
18106 * math/w_log2f.c: Likewise.
18107 * math/w_log2l.c: Likewise.
18108 * math/w_logf.c: Likewise.
18109 * math/w_logl.c: Likewise.
18110 * math/w_pow.c: Likewise.
18111 * math/w_powf.c: Likewise.
18112 * math/w_powl.c: Likewise.
18113 * math/w_remainder.c: Likewise.
18114 * math/w_remainderf.c: Likewise.
18115 * math/w_remainderl.c: Likewise.
18116 * math/w_scalb.c: Likewise.
18117 * math/w_scalbf.c: Likewise.
18118 * math/w_scalbl.c: Likewise.
18119 * math/w_sinh.c: Likewise.
18120 * math/w_sinhf.c: Likewise.
18121 * math/w_sinhl.c: Likewise.
18122 * math/w_sqrt.c: Likewise.
18123 * math/w_sqrtf.c: Likewise.
18124 * math/w_sqrtl.c: Likewise.
18125 * math/w_tgamma.c: Likewise.
18126 * math/w_tgammaf.c: Likewise.
18127 * math/w_tgammal.c: Likewise.
18128
6a621eb7
UD
18129 * po/ja.po: Update from translation team.
18130
bf582445
AJ
181312011-09-29 Andreas Jaeger <aj@suse.de>
18132
f9efbf3a
AJ
18133 [BZ #13179]
18134 * sunrpc/netname.c (netname2host): Fix logic.
18135
bf582445
AJ
18136 [BZ #6779]
18137 [BZ #6783]
18138 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18139 correctly.
18140 * math/w_remainder.c (__remainder): Likewise.
18141 * math/w_remainderf.c (__remainderf): Likewise.
18142 * math/libm-test.inc (remainder_test): Add test cases.
18143
48693bea
AK
181442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18145
18146 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18147 sdiv_qrnnd.
18148
42622229
LD
181492011-10-07 Ulrich Drepper <drepper@gmail.com>
18150
18151 * string/test-memcmp.c: Avoid unncessary #defines.
18152 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18153
093ecf92
LD
181542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18155
18156 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18157 Use new sse2 version for core i3 - i7 as it's faster
18158 than sse42 version.
18159 (bit_Prefer_PMINUB_for_stringop): New.
18160 * sysdeps/x86_64/rawmemchr.S: Update.
18161 Replace with faster SSE2 version.
18162 * sysdeps/x86_64/memrchr.S: New file.
18163 * sysdeps/x86_64/memchr.S: Update.
18164 Replace with faster SSE2 version.
18165
fde56e5c
MP
181662011-09-12 Marek Polacek <mpolacek@redhat.com>
18167
18168 * elf/dl-load.c (lose): Add cast to avoid warning.
18169
21fd49a9
UD
181702011-10-07 Ulrich Drepper <drepper@gmail.com>
18171
5a06e643
UD
18172 * po/ca.po: Update from translation team.
18173
684ae515
UD
18174 * inet/getnetgrent_r.c: Hook up nscd.
18175 * nscd/Makefile (routines): Add nscd_netgroup.
18176 (nscd-modules): Add netgroupcache.
18177 (CFLAGS-netgroupcache.c): Define.
18178 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18179 (cache_search): Add const to second parameter.
18180 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18181 INNETGR.
18182 (dbs): Add netgrdb entry.
18183 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18184 (verify_persistent_db): Handle netgrdb.
18185 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18186 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18187 GETFDNETGR.
18188 (netgroup_response_header): Define.
18189 (innetgroup_response_header): Define.
18190 (datahead): Add netgroup_response_header and innetgroup_response_header
18191 elements.
18192 * nscd/nscd.conf: Add entries for netgroup cache.
18193 * nscd/nscd.h (dbtype): Add netgrdb.
18194 (_PATH_NSCD_NETGROUP_DB): Define.
18195 (netgroup_iov_disabled): Declare.
18196 (xmalloc, xcalloc, xrealloc): Move declarations here.
18197 (cache_search): Adjust prototype.
18198 Add netgroup-related prototypes.
18199 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18200 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18201 (__nscd_innetgr): Declare.
18202 * nscd/selinux.c (perms): Use access_vector_t as element type and
18203 add netgroup-related initializers.
18204 * nscd/netgroupcache.c: New file.
18205 * nscd/nscd_netgroup.c: New file.
18206 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18207 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18208 For four parameters use innetgr.
18209 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18210 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18211 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18212 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18213
21fd49a9
UD
18214 * nscd/connections.c (register_traced_file): Don't register file
18215 for disabled databases.
18216
054c0457
UD
182172011-10-06 Ulrich Drepper <drepper@gmail.com>
18218
32b63198
UD
18219 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18220
054c0457
UD
18221 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18222 from tree and freeing node.
18223
64031225
JO
182242011-09-25 Jiri Olsa <jolsa@redhat.com>
18225
18226 * nss/nsswitch.c (__nss_database_lookup): Handle
18227 nss_parse_service_list out of memory case.
18228
0490345c
JO
182292011-09-15 Jiri Olsa <jolsa@redhat.com>
18230
18231 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18232 out of memory case.
18233
3a62d00d
AS
182342011-10-04 Andreas Schwab <schwab@redhat.com>
18235
18236 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18237 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18238 pass it down.
18239 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18240 elf_machine_rela, elf_machine_lazy_rel.
18241 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18242 (ELF_DYNAMIC_DO_REL): Likewise.
18243 (ELF_DYNAMIC_DO_RELA): Likewise.
18244 (ELF_DYNAMIC_RELOCATE): Likewise.
18245 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18246 to ELF_DYNAMIC_DO_REL.
18247 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18248 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18249 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18250 elf_machine_rela.
18251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18252 skip_ifunc, don't call ifunc function if non-zero.
18253 (elf_machine_rela): Likewise.
18254 (elf_machine_lazy_rel): Likewise.
18255 (elf_machine_lazy_rela): Likewise.
18256 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18257 (elf_machine_lazy_rel): Likewise.
18258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18259 Likewise.
18260 (elf_machine_lazy_rel): Likewise.
18261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18262 Likewise.
18263 (elf_machine_lazy_rel): Likewise.
18264 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18265 (elf_machine_lazy_rel): Likewise.
18266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18267 (elf_machine_lazy_rel): Likewise.
18268 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18269 (elf_machine_lazy_rel): Likewise.
18270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18271 (elf_machine_lazy_rel): Likewise.
18272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18273 (elf_machine_lazy_rel): Likewise.
18274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18275 (elf_machine_lazy_rel): Likewise.
18276
68577918
UD
182772011-09-28 Ulrich Drepper <drepper@gmail.com>
18278
18279 * nss/nss_files/files-init.c (_nss_files_init): Use static
18280 initialization for all the *_traced_file variables.
18281
68822d74
AS
182822011-09-28 Andreas Schwab <schwab@redhat.com>
18283
18284 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18285
2056100b
RM
182862011-09-27 Roland McGrath <roland@hack.frob.com>
18287
18288 [BZ #13226]
18289 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18290
32c76b63
AS
182912011-09-27 Andreas Schwab <schwab@redhat.com>
18292
18293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18294 Reread the line before reparsing it.
18295
bf972c9d
AS
182962011-09-26 Andreas Schwab <schwab@redhat.com>
18297
18298 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18299
e057a1b5
JM
183002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18301 Maxim Kuvyrkov <maxim@codesourcery.com>
18302 Joseph Myers <joseph@codesourcery.com>
18303
18304 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18305 if needed for __stack_chk_guard.
18306
bc7e1c36
RM
183072011-09-19 Roland McGrath <roland@hack.frob.com>
18308
ecb1482f
RM
18309 * sysdeps/posix/spawni.c (script_execute): Always define it.
18310 It will be optimized away if unused.
18311 (maybe_script_execute): New function.
18312 (__spawni): Call it.
18313
bc7e1c36
RM
18314 * Makerules: Don't include tls.make.
18315 (config-tls): Always set to thread.
18316 * tls.make.c: File removed.
18317
1c3b002b
MF
183182011-09-19 Mike Frysinger <vapier@gentoo.org>
18319
18320 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18321 * config.make.in (CPPFLAGS-config): New substituted variable.
18322
2840865d
UD
183232011-09-15 Ulrich Drepper <drepper@gmail.com>
18324
88738eb6
UD
18325 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18326
cbf645a6 18327 [BZ #13192]
2840865d
UD
18328 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18329 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18330
b402e91a
RM
183312011-09-15 Roland McGrath <roland@hack.frob.com>
18332
18333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18334 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18336 (CALL_FAIL): Likewise.
18337 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18338 (CALL_FAIL): Macro removed.
18339 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18340
4c1a1f71
UD
183412011-09-15 Ulrich Drepper <drepper@gmail.com>
18342
18343 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18344 for __FINITE_MATH_ONLY__ == 1.
18345
edc121be
AS
183462011-09-15 Andreas Schwab <schwab@redhat.com>
18347
18348 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18349 __ieee754_sqrt instead of sqrt.
18350 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18351 __ieee754_sqrtf instead of sqrtf.
18352 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18353 __floorf instead of floorf.
18354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18355 __floorf, __truncf instead of floorf, truncf.
18356
cd205654
UD
183572011-09-14 Ulrich Drepper <drepper@gmail.com>
18358
ee4d0315
UD
18359 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18360
cd205654
UD
18361 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18362 __extern_always_inline.
18363 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18364 32-bit.
18365
48b67d71
AS
183662011-09-14 Andreas Schwab <schwab@redhat.com>
18367
18368 * elf/rtld.c (dl_main): Also relocate in dependency order when
18369 doing symbol dependency testing.
18370
1ae12c75
AS
183712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18372
18373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18374 Always define `refsym'.
18375
995a80df
AS
183762011-09-13 Andreas Schwab <schwab@redhat.com>
18377
e529793b
AS
18378 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18379 (__FD_ELT): Renamed from __FDELT.
18380 * misc/bits/select2.h (__FD_ELT): Likewise.
18381 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18382 __FD_MASK instead of __FDELT, __FDMASK.
18383 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18384 Likewise.
18385 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18386 Likewise.
18387
52d4fef8
AS
18388 * elf/Makefile (gen-ldd): Fix pattern.
18389
995a80df
AS
18390 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18391 (init_tls): Likewise.
18392
8682f8b0
UD
183932011-09-12 Ulrich Drepper <drepper@gmail.com>
18394
18395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18396
de82006d
AS
183972011-09-12 Andreas Schwab <schwab@redhat.com>
18398
a7c8e6a1
AS
18399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18400 `struct cmsghdr *' instead of `void *'.
18401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18402 Likewise.
18403
0f31fe77
AS
184042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18405
18406 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18407 if non-absolute.
18408 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18409 ldd_rewrite_script.
0f31fe77 18410
32b4c839
UD
184112011-09-11 Ulrich Drepper <drepper@gmail.com>
18412
83cd1420
UD
18413 * configure.in: Remove --with-tls option.
18414 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18415 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18416 out in case it is missing.
18417 * sysdeps/ia64/elf/configure.in: Likewise.
18418 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18419 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18420 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18421 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18422 * sysdeps/sh/elf/configure.in: Likewise.
18423 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18424 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18425 * sysdeps/x86_64/elf/configure.in: Likewise.
18426 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18427 * sysdeps/mach/hurd/tls.h: Likewise.
18428
633f745d
UD
18429 [BZ #13067]
18430 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18431
f318beb8
UD
18432 [BZ #13090]
18433 * configure.in: Fix use of AC_INIT.
18434
32b4c839
UD
18435 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18436
3ce1f295
UD
184372011-09-10 Ulrich Drepper <drepper@gmail.com>
18438
bb016596
UD
18439 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18440 __set_errno.
8e58439c
UD
18441 * malloc/hooks.c: Likewise.
18442
aebae053 18443 [BZ #11929]
02d46fc4
UD
18444 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18445 variables statically.
18446 (narenas): Initialize.
18447 (list_lock): Initialize.
bb016596
UD
18448 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18449 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18450 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18451 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18452 Add initializers to main_arena and mp_.
18453 (malloc_state): Remove pagesize member. Change all users to use
18454 GLRO(dl_pagesize).
18455
18456 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18457 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18458 is always initialized.
18459
22a89187
UD
18460 * malloc/malloc.c: Removed unused configurations and dead code.
18461 * malloc/arena.c: Likewise.
18462 * malloc/hooks.c: Likewise.
02d46fc4 18463 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18464
d063d164
UD
18465 * include/tls.h: Removed. USE___THREAD must always be defined.
18466 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18467 * elf/dl-libc.c: Likewise.
18468 * elf/dl-tsd.c: Likewise.
18469 * include/errno.h: Likewise.
18470 * include/netdb.h: Likewise.
18471 * include/resolv.h: Likewise.
18472 * inet/herrno-loc.c: Likewise.
18473 * inet/herrno.c: Likewise.
18474 * malloc/arena.c: Likewise.
18475 * malloc/hooks.c: Likewise.
18476 * malloc/malloc.c: Likewise.
18477 * resolv/res-state.c: Likewise.
18478 * resolv/res_libc.c: Likewise.
18479 * sysdeps/i386/dl-machine.h: Likewise.
18480 * sysdeps/ia64/dl-machine.h: Likewise.
18481 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18482 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18483 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18484 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18485 * sysdeps/sh/dl-machine.h: Likewise.
18486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18487 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18488 * sysdeps/unix/i386/sysdep.S: Likewise.
18489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18490 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18500 * sysdeps/x86_64/dl-machine.h: Likewise.
18501 * tls.make.c: Likewise.
18502
3ce1f295
UD
18503 * configure.in: Remove --with-__thread option. Make tests for
18504 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18505 tls_model attribute fail if no support is available. Remove
18506 USE_IN_LIBIO.
18507 * Makeconfig: Adjust for dropped configure option. All features are
18508 now mandatory.
18509 * Makerules: Likewise.
18510 * Versions.def: Likewise.
18511 * argp/argp-fmtstream.c: Likewise.
18512 * argp/argp-fmtstream.h: Likewise.
18513 * argp/argp-help.c: Likewise.
18514 * assert/assert.c: Likewise.
18515 * config.h.in: Likewise.
18516 * config.make.in: Likewise.
18517 * configure: Likewise.
18518 * configure.in: Likewise.
18519 * csu/Versions: Likewise.
18520 * csu/init.c: Likewise.
18521 * elf/tst-audit2.c: Likewise.
18522 * elf/tst-tls10.c: Likewise.
18523 * elf/tst-tls10.h: Likewise.
18524 * elf/tst-tls11.c: Likewise.
18525 * elf/tst-tls12.c: Likewise.
18526 * elf/tst-tls14.c: Likewise.
18527 * elf/tst-tlsmod11.c: Likewise.
18528 * elf/tst-tlsmod12.c: Likewise.
18529 * elf/tst-tlsmod13.c: Likewise.
18530 * elf/tst-tlsmod13a.c: Likewise.
18531 * elf/tst-tlsmod14a.c: Likewise.
18532 * elf/tst-tlsmod15b.c: Likewise.
18533 * elf/tst-tlsmod16a.c: Likewise.
18534 * elf/tst-tlsmod16b.c: Likewise.
18535 * elf/tst-tlsmod7.c: Likewise.
18536 * elf/tst-tlsmod8.c: Likewise.
18537 * elf/tst-tlsmod9.c: Likewise.
18538 * gmon/gmon.c: Likewise.
18539 * grp/fgetgrent_r.c: Likewise.
18540 * grp/putgrent.c: Likewise.
18541 * hurd/fopenport.c: Likewise.
18542 * include/libc-symbols.h: Likewise.
18543 * include/tls.h: Likewise.
18544 * intl/gettextP.h: Likewise.
18545 * intl/loadinfo.h: Likewise.
18546 * locale/global-locale.c: Likewise.
18547 * locale/localeinfo.h: Likewise.
18548 * mach/devstream.c: Likewise.
18549 * malloc/arena.c: Likewise.
18550 * malloc/set-freeres.c: Likewise.
18551 * misc/err.c: Likewise.
18552 * misc/getttyent.c: Likewise.
18553 * misc/mntent_r.c: Likewise.
18554 * posix/getopt.c: Likewise.
18555 * posix/wordexp.c: Likewise.
18556 * pwd/fgetpwent_r.c: Likewise.
18557 * resolv/Versions: Likewise.
18558 * resolv/res_hconf.c: Likewise.
18559 * shadow/fgetspent_r.c: Likewise.
18560 * shadow/putspent.c: Likewise.
18561 * stdio-common/printf_fphex.c: Likewise.
18562 * stdio-common/tmpfile.c: Likewise.
18563 * stdlib/abort.c: Likewise.
18564 * stdlib/fmtmsg.c: Likewise.
18565 * sunrpc/auth_unix.c: Likewise.
18566 * sunrpc/clnt_perr.c: Likewise.
18567 * sunrpc/clnt_tcp.c: Likewise.
18568 * sunrpc/clnt_udp.c: Likewise.
18569 * sunrpc/clnt_unix.c: Likewise.
18570 * sunrpc/openchild.c: Likewise.
18571 * sunrpc/svc_simple.c: Likewise.
18572 * sunrpc/svc_tcp.c: Likewise.
18573 * sunrpc/svc_udp.c: Likewise.
18574 * sunrpc/svc_unix.c: Likewise.
18575 * sunrpc/xdr.c: Likewise.
18576 * sunrpc/xdr_array.c: Likewise.
18577 * sunrpc/xdr_rec.c: Likewise.
18578 * sunrpc/xdr_ref.c: Likewise.
18579 * sunrpc/xdr_stdio.c: Likewise.
18580
1248c1c4
PB
185812011-09-09 Ulrich Drepper <drepper@gmail.com>
18582
18583 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18584
185852011-07-03 Andreas Jaeger <aj@suse.de>
18586
18587 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18588 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18589 regenerate with gen-libm-tests.pl.
18590
185912010-05-12 Petr Baudis <pasky@suse.cz>
18592
18593 [BZ #11589]
18594 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18595 around j0() zero points by switching to j1().
18596 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18600
f22e1074
UD
186012011-09-09 Ulrich Drepper <drepper@gmail.com>
18602
f19009c1
UD
18603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18604 instead of 0.
18605 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18606 instead of 0. .
18607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18608 Patch in part by Pavel Roskin <proski@gnu.org>.
18609
3f8cc204
UD
18610 [BZ #13138]
18611 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18612 realloc.
18613 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18614 Free memory block if necessary.
18615
f22e1074
UD
18616 [BZ #12847]
18617 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18618 be NULL. Don't lock in this case.
18619
0a2349f9
RM
186202011-09-09 Roland McGrath <roland@hack.frob.com>
18621
18622 * elf/elf.h (ELFOSABI_GNU): New macro.
18623 (ELFOSABI_LINUX): Define to that.
18624
f3cdd467
DZ
186252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18626
18627 * string/strncat.c (strncat): Undef the symbol in case it has been
18628 defined in bits/string.h.
18629
74718d13
UD
186302011-09-09 Ulrich Drepper <drepper@gmail.com>
18631
633e9e0f
UD
18632 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18633
0a2349f9 18634 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18635 link map.
18636
f9924780
AJ
186372011-08-17 Andreas Jaeger <aj@suse.de>
18638
18639 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18640
7f5517aa
PP
186412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18642 Ian Lance Taylor <iant@google.com>
18643
18644 * math/libm-test.inc (lround_test): New testcase.
18645 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18646
762011fe
UD
186472011-09-08 Ulrich Drepper <drepper@gmail.com>
18648
92963737
UD
18649 * Makefile: Remove support for automatic cvs check-ins.
18650 * Makerules: Likewise.
18651 * config.make.in: Likewise.
18652 * configure.in: Likewise.
18653 * intl/Makefile: Likewise.
18654 * locale/Makefile: Likewise.
18655 * po/Makefile: Likewise.
18656 * posix/Makefile: Likewise.
18657 * sysdeps/gnu/Makefile: Likewise.
18658 * sysdeps/mach/hurd/Makefile: Likewise.
18659 * sysdeps/sparc/sparc32/Makefile: Likewise.
18660
b0727fd8
JS
18661 [BZ #13118]
18662 * posix/Makefile (bug-regex32-ENV): Define.
18663 Patch by John Stanley <jpsinthemix@verizon.net>.
18664
a0f33f99
UD
18665 * misc/Makefile (headers): Add bits/select2.h.
18666 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18667 * misc/bits/select2.h: New file.
18668 * include/bits/select2.h: New file.
18669 * debug/Makefile (routines): Add fdelt_chk.
18670 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18671 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18672 FD_ISSET.
18673 * debug/fdelt_chk.c: New file.
18674
762011fe
UD
18675 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18676 * wcsmbs/test-wmemcmp.c: Likewise.
18677 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18678 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18679
186802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18681
18682 * string/Makefile (strop-tests): Add memcmp.
18683 * string/test-wmemcmp.c: New file.
18684 * string/test-memcmp.c: Add wmemcmp support.
18685
7f513ec8
RM
186862011-09-08 Roland McGrath <roland@hack.frob.com>
18687
0442afb4
RM
18688 [BZ #13153]
18689 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18690 2011-07-19 change.
18691
7f513ec8
RM
18692 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18693 garbage value in a __mach_port_mod_refs call in the cases of the
18694 task-self and thread-self ports.
18695
a12b2239
ST
186962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18697
18698 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18699
610f9ab4
AS
187002011-09-08 Andreas Schwab <schwab@redhat.com>
18701
7f513ec8 18702 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18703
48882a1a
LD
187042011-09-07 Ulrich Drepper <drepper@gmail.com>
18705
b49865be
UD
18706 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18707
fdc86bc9
UD
18708 * elf/dl-libc.c (dlerror_run): Pass back error code from
18709 dl_catch_error.
18710
c966526a
UD
18711 [BZ #13123]
18712 * elf/dl-load.c (lose): Free l_origin if it is valid.
18713
48882a1a
LD
18714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18715 names.
18716 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18718 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18721 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18722
77a2a8b4
AZ
187232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724
18725 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18726 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18727 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18728 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18729 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18730 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18731 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18732 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18733 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18734 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18735
24f579d8
AM
187362011-08-15 Alan Modra <amodra@gmail.com>
18737
18738 [BZ #13092]
18739 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18740 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18741 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18742 ppc_mcount to static-only-routines.
18743 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18744 __mcount_internal.
18745 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18746 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18747
3d4837df
UD
187482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18749
18750 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18751 for finite and infinity parameters.
18752
22700377
WS
187532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18754
18755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18756 and add nop instructions for throughput optimization.
18757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18758
5025581e
WS
187592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18760
18761 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18762 aligned copy for power7 with vector-scalar instructions.
18763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18764
08a300c9
L
187652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18766
18767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18768 AVX check.
18769
59178ef9
AS
187702011-09-07 Andreas Schwab <schwab@redhat.com>
18771
18772 [BZ #13144]
18773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18774 last change.
18775
e38ba7ab
UD
187762011-09-07 Ulrich Drepper <drepper@gmail.com>
18777
18778 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18779 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18780 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18782 clock_gettime.
18783
d53a73ac
UD
187842011-09-06 Ulrich Drepper <drepper@gmail.com>
18785
fc8bffcc
UD
18786 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18787 Forgot to demangle the pointer.
18788
ceaa0c5d
UD
18789 * sysdeps/i386/sysdep.h: Define atom_text_section.
18790 * sysdeps/x86_64/sysdep.h: Likewise.
18791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18792 section with atom_text_section.
18793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18795 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18798
a77d3c17
UD
18799 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18801 already be defined. Change to take two parameters and don't assign
18802 result to variable. Adjust all users.
18803 Define INTERNAL_GETTIME if not already defined.
18804 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18805 call.
18806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18807 HAVE_CLOCK_GETTIME_VSYSCALL.
18808 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18809
d53a73ac
UD
18810 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18811 gettimeofday vsyscall, just use time.
18812
a8f84144
AS
188132011-09-06 Andreas Schwab <schwab@redhat.com>
18814
18815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18816 <errno.h>.
18817
ef606249
UD
188182011-09-06 Ulrich Drepper <drepper@gmail.com>
18819
18820 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18821 syscall on x86-64.
18822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18823 syscall.
18824 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18826 syscall if possible.
18827
6585cb60
UD
188282011-09-05 Ulrich Drepper <drepper@gmail.com>
18829
18830 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18831 e_ident. Don't pass to find_mapsXX.
18832 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18833
a5f524e4
LD
188342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18835
18836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18837 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18838 * sysdeps/x86_64/multiarch/strchr.S: Update.
18839 Check bit_slow_BSF bit.
18840 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18842 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18843
554881ef
UD
188442011-09-05 Ulrich Drepper <drepper@gmail.com>
18845
d96de963
UD
18846 [BZ #13134]
18847 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18848 before glibc 2.15.
18849 (tryshell): Define.
18850 (__spawni): Change last parameter to be flag. Test
18851 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18852 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18853 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18854 * posix/spawni.c: Likewise.
18855 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18856 * posix/spawnp.c: Likewise. Change normal version to use
18857 SPAWN_XFLAGS_USE_PATH.
18858 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18859 SPAWN_XFLAGS_TRY_SHELL.
18860
d48e5868
UD
18861 [BZ #13150]
18862 * posix/glob.h: Remove gcc 1.x support.
18863
554881ef
UD
18864 [BZ #13068]
18865 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18866
693fb948
LD
188672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18868
18869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18870 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18871 strrchr-sse2-bsf
18872 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18873 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18874 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18876 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18877 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18878
1b48c537
UD
188792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18880
49d42c37
UD
18881 * sysdeps/x86_64/wcscmp.S: New file.
18882
1b48c537
UD
18883 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18884 wcscmp-c wcscmp-sse2
18885 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18886 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18888 * wcsmbs/wcscmp.c: Allow renaming.
18889
15c95c5d
DM
188902011-09-05 David S. Miller <davem@davemloft.net>
18891
18892 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18893 stack slot, rather than the struct return pointer slot.
18894 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18895 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18897 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18898
2f0ad8f3
UD
188992011-09-05 Ulrich Drepper <drepper@gmail.com>
18900
d88ae418
UD
18901 * po/ja.po: Update from translation team.
18902
2f0ad8f3
UD
18903 [BZ #13144]
18904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18905 kernel in 64-bit binaries.
18906
5f4318d1
DM
189072011-09-01 David S. Miller <davem@davemloft.net>
18908
18909 * elf/elf.h (HWCAP_SPARC_*): Move to..
18910 * sysdeps/sparc/sysdep.h: this new file and add new values.
18911 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18912 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18913 _DL_HWCAP_COUNT to 24.
18914 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18915 entries.
18916 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18917 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18918 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18920 instead of magic constants.
18921 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18922
3ba57516
DM
189232011-08-31 David S. Miller <davem@davemloft.net>
18924
18925 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18927 Reimplement to do errno handling inline.
18928 (SYSCALL_ERROR_HANDLER): New macro.
18929 (__SYSCALL_STRING): Do not do errno handling in asm.
18930 (__CLONE_SYSCALL_STRING): Delete.
18931 (__INTERNAL_SYSCALL_STRING): Delete.
18932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18933 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18934 (PSEUDO): Reimplement to do errno handling inline.
18935 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18936 (SYSCALL_ERROR_HANDLER): New macro.
18937 (__SYSCALL_STRING): Do not do errno handling in asm.
18938 (__CLONE_SYSCALL_STRING): Delete.
18939 (__INTERNAL_SYSCALL_STRING): Delete.
18940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18941 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18942 i386.
18943 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18944 (inline_syscall*): Add 'err' argument.
18945 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18946 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18947 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18948 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18949
18950 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18951 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18952
2bc17433
AS
189532011-08-30 Andreas Schwab <schwab@redhat.com>
18954
18955 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18956
fbeb5f4d
JO
189572011-08-29 Jiri Olsa <jolsa@redhat.com>
18958
18959 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18960 directive.
18961
ad69cc26
DM
189622011-08-24 David S. Miller <davem@davemloft.net>
18963
18964 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18965
39dd69df
AS
189662011-08-24 Andreas Schwab <schwab@redhat.com>
18967
18968 * elf/Makefile: Add rules to build and run unload8 test.
18969 * elf/unload8.c: New file.
18970 * elf/unload8mod1.c: New file.
18971 * elf/unload8mod1x.c: New file.
18972 * elf/unload8mod2.c: New file.
18973 * elf/unload8mod3.c: New file.
18974
18975 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18976 it wasn't used.
18977
2c0b250a
DM
189782011-08-23 David S. Miller <davem@davemloft.net>
18979
18980 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18981 subtract stack bias.
18982 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18983 %sp not %fp in calculations.
18984 (_JMPBUF_UNWINDS_ADJ): Likewise.
18985
22044b48
DM
18986 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18987 (aio_suspend): Call it to force an exception region around the
18988 AIO_MISC_WAIT() invocation.
18989
2cae4995
AS
189902011-08-23 Andreas Schwab <schwab@redhat.com>
18991
18992 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18993 backslash.
18994
873a772e
AJ
189952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18996
18997 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18998 protection macro.
18999 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19000 and <dl-machine.h>.
19001 (Elf64_FuncDesc): Remove.
19002
25ad0df1
DM
190032011-08-22 David S. Miller <davem@davemloft.net>
19004
19005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19006 sigaltstack check, add missing cfi directives.
19007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19008 missing cfi directives, and sigaltstack handling.
19009
e888bcbe
AS
190102011-08-16 Andreas Schwab <schwab@redhat.com>
19011
19012 [BZ #11724]
19013 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19014 object is seen twice.
19015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19016
19017 * elf/Makefile (distribute): Add tst-initorder2.c.
19018 (tests): Add tst-initorder2.
19019 (modules-names): Add tst-initorder2a tst-initorder2b
19020 tst-initorder2c tst-initorder2d. Add rules to build them.
19021 ($(objpfx)tst-initorder2.out): New rule.
19022 * elf/tst-initorder2.c: New file.
19023 * elf/tst-initorder2.exp: New file.
19024
87162f46
AS
190252011-08-22 Andreas Schwab <schwab@redhat.com>
19026
70538b7f
AS
19027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19028
f55ffe58
AS
19029 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19030 dependencies back to end of function.
19031
87162f46
AS
19032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19033 $(elfobjdir)/ld.so.
19034
91b392a4
UD
190352011-08-21 Ulrich Drepper <drepper@gmail.com>
19036
19037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19038 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19040 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19041 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19042 of __vdso_gettimeofday.
19043 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19044 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19045 attribute_hidden.
19046 (_libc_vdso_platform_setup): Remove initialization of
19047 __vdso_gettimeofday and __vdso_time.
19048
5c43483f
UD
190492011-08-20 Ulrich Drepper <drepper@gmail.com>
19050
775a77e7
UD
19051 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19052 and fgetc_unlocked.
19053 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19054 getc_unlocked.
89f447ed 19055
49c74ba9
UD
19056 * elf/dl-open.c (add_to_global): Report additions to the global scope
19057 for LD_DEBUG=scopes.
19058 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19059 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19060
5c43483f
UD
19061 [BZ #13114]
19062 * stdio-common/Makefile (tests): Add bug24.
19063 * stdio-common/bug24.c: New file.
19064
a101b025
AJ
190652011-08-19 Andreas Jaeger <aj@suse.de>
19066
19067 [BZ #13114]
19068 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19069 non-existant file when using close-on-exec mode.
19070
c88f1766
UD
190712011-08-20 Ulrich Drepper <drepper@gmail.com>
19072
0276a718
UD
19073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19074 the very first instruction.
19075
c88f1766
UD
19076 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19077 the CFI state in the end.
19078 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19079 inclusion of dl-trampoline.h.
19080 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19081
51ccffa0
AS
190822011-08-19 Andreas Schwab <schwab@redhat.com>
19083
94d7165f
AS
19084 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19085 expectations for long double.
19086
51ccffa0
AS
19087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19088 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19089
fd708658 190902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19091
19092 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19093 artificual limit depends upon the system page size.
19094
44f0a71e
UD
190952011-08-17 Ulrich Drepper <drepper@gmail.com>
19096
19097 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19098 * resolv/Makefile: Define CFLAGS-libresolv.
19099
8de79a24
AS
191002011-08-17 Andreas Schwab <schwab@redhat.com>
19101
19102 * nss/makedb.c (compute_tables): Make variables used in nested
19103 function static.
19104
27724598
UD
191052011-08-17 Ulrich Drepper <drepper@gmail.com>
19106
c5305d88
UD
19107 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19108 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19109 if buffer was too small.
19110
27724598
UD
19111 * elf/pldd.c (main): Attach to all threads in the process.
19112 Rewrite /proc handling to use *at functions.
19113
076fe015
UD
191142011-08-16 Ulrich Drepper <drepper@gmail.com>
19115
174baab3
UD
19116 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19117 specifies first scope to show.
19118 (dl_open_worker): Update callers. Move printing scope of new
19119 object to before the relocation.
44f0a71e 19120 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19121 * sysdeps/generic/ldsodefs.h: Update declaration.
19122
076fe015
UD
19123 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19124 string for the scope number.
19125
a60df2c3
UD
191262011-08-14 Ulrich Drepper <drepper@gmail.com>
19127
19128 * nscd/servicescache.c (cache_addserv): Make sure written is always
19129 initialized.
19130
5e4287d1
RM
191312011-08-14 Roland McGrath <roland@hack.frob.com>
19132
85ae0589
RM
19133 * sysdeps/i386/i486/bits/atomic.h
19134 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19135 statement expression, so as to suppress "set but not used" warning.
19136 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19137
69f63097
RM
19138 * string/strncat.c (STRNCAT): Use prototype definition.
19139
675456ef
RM
19140 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19141 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19142 -Iprograms here.
19143 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19144 (localedef-modules): Add localedef.
19145 (locale-modules): Add locale.
19146
5e4287d1
RM
19147 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19148 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19149 to avoid a warning.
19150
9c96ff23
DM
191512011-08-14 David S. Miller <davem@davemloft.net>
19152
19153 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19154 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19155
f9ddf089
UD
191562011-08-13 Ulrich Drepper <drepper@gmail.com>
19157
44f0a71e 19158 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19159 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19160 * elf/rtld.c (dl_main): Set l_name of vDSO.
19161 Call _dl_show_scope when DL_DEBUG_SCOPES.
19162 (process_dl_debug): Recognize scopes flag and also set it for all.
19163 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19164 Declare _dl_show_scope.
19165
1dc27704
UD
19166 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19167 (do_dlopen): Pass caller_dlopen to dl_open.
19168 (__libc_dlopen_mode): Initialize caller_dlopen.
19169
f9ddf089
UD
19170 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19171 of libc. Make tolower call locale-independent. Optimize a bit by
19172 using isdigit instead of isalnum.
19173 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19174
9ac533d3
UD
191752011-08-12 Ulrich Drepper <drepper@gmail.com>
19176
19177 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19178 was a dependency or dynamically loaded.
19179
89edf2e9
UD
191802011-08-11 Ulrich Drepper <drepper@gmail.com>
19181
8e999d29
UD
19182 * intl/l10nflist.c: Allow architecture-specific pop function.
19183 * sysdeps/x86_64/l10nflist.c: New file.
19184
89edf2e9
UD
19185 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19186 classification.
19187
14d96785
AS
191882011-08-10 Andreas Schwab <schwab@redhat.com>
19189
19190 * include/dirent.h: Add libc_hidden_proto for scandirat and
19191 scandirat64. Don't declare __scandirat64.
19192 * dirent/scandirat.c: Add libc_hidden_def.
19193 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19194 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19195
6761ac04
DM
191962011-08-10 David S. Miller <davem@davemloft.net>
19197
19198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19199 enum.
19200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19203
c55fbd1e
UD
192042011-08-09 Ulrich Drepper <drepper@gmail.com>
19205
19206 * Versions.def [libc]: Add GLIBC_2.15.
19207 * dirent/Makefile (routines): Add scandirat and scandirat64.
19208 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19209 GLIBC_2.15.
19210 * dirent/dirent.h: Declare scandirat and scandirat64.
19211 * dirent/scandirat.c: New file.
19212 * dirent/scandirat64.c: New file.
19213 * sysdeps/wordsize-64/scandirat.c: New file.
19214 * sysdeps/wordsize-64/scandirat64.c: New file.
19215 * dirent/opendir.c: Define opendirat.
19216 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19217 using scandirat.
19218 * dirent/scandir64.c: Adjust for scandir.c change.
19219 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19220 __scandirat64, and __scandir_cancel_handler.
19221 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19222 additional parameter and use openat instead of open (outside of ld.so).
19223 Add new __opendir as wrapper around __opendirat.
19224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19225 here without requiring old scandirat implementation.
19226
879165f2
UD
192272011-08-08 Ulrich Drepper <drepper@gmail.com>
19228
19229 * dirent/scandir.c (cancel_handler): Renamed to
19230 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19231 defined. Adjust users.
19232 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19234
cb7e923b
UD
192352011-08-04 Ulrich Drepper <drepper@gmail.com>
19236
16292edd
UD
19237 * string/test-string.h (IMPL): Use __STRING to expand name and then
19238 stringify it.
19239
cb7e923b
UD
19240 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19241 of cleanups.
19242
cff82933
LD
192432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19244
19245 * string/Makefile: Update.
19246 (strop-tests): Append strncat.
19247 * string/test-wcscmp.c: New file.
19248 New comprehensive test for wcscmp.
19249 * string/test-strcmp.c: Update.
19250 (WIDE): New define.
19251
9be9bfcc
AS
192522011-07-22 Andreas Schwab <schwab@redhat.com>
19253
19254 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19255 line.
19256
2e96f1c7
AS
192572011-07-26 Andreas Schwab <schwab@redhat.com>
19258
19259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19260 encoding to ACE if AI_IDN.
19261
85188888
JJ
192622011-08-01 Jakub Jelinek <jakub@redhat.com>
19263
19264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19265 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19266
5fa16e9b
LD
192672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19268
19269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19270 Fix overflow bug in strncat.
19271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19272
19273 * string/test-strncat.c: Update.
19274 Add new tests for checking overflow bugs.
19275
192762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19277
19278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19279 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19280 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19281 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19282 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19283 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19284 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19285 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19286 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19287
19288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19289 (USE_AS_STRCAT): Define.
19290 Add strcat and strncat support.
19291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19292
8c1a459f
AS
192932011-07-25 Andreas Schwab <schwab@redhat.com>
19294
19295 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19296 __n bigger than INT_MAX+1.
19297 (__strncmp_g): Likewise.
19298
bba33c28
UD
192992011-07-23 Ulrich Drepper <drepper@gmail.com>
19300
798be72d
UD
19301 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19302 * libio/stido.h: Likewise.
19303
8accd4dc
UD
19304 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19305 (AF_NFC): Define.
19306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19307 (AF_NFC): Define.
19308
cbff0d96
UD
19309 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19312 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19314
9191c04a
UD
19315 [BZ #13021]
19316 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19317 installed.
19318
bba33c28
UD
19319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19320 typo.
19321 (_dl_x86_64_save_sse): Likewise.
19322
90f139dd
UD
193232011-07-22 Ulrich Drepper <drepper@gmail.com>
19324
1aae088a
UD
19325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19326 OSXSAVE.
19327 (_dl_x86_64_save_sse): Likewise.
19328
8e2045f5
UD
19329 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19330
90f139dd
UD
19331 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19332
1d002f25
AS
193332011-07-21 Andreas Schwab <schwab@redhat.com>
19334
19335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19336 change.
19337 (_dl_x86_64_save_sse): Use correct AVX check.
19338
21137f89
UD
193392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19340
19341 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19342 bug in strncpy/strncat.
19343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19344
a65c0b7a
UD
193452011-07-21 Ulrich Drepper <drepper@gmail.com>
19346
19347 * string/tester.c (test_strcat): Add tests for different alignments
19348 of source and destination.
19349 (test_strncat): Likewise.
19350
6986b98a
UD
193512011-07-20 Ulrich Drepper <drepper@gmail.com>
19352
90bb2039
UD
19353 [BZ #12852]
19354 * posix/glob.c (glob): Check passed in values before using them in
19355 expressions to avoid some overflows.
19356 (glob_in_dir): Likewise.
19357
5644ef54
UD
19358 [BZ #13007]
19359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19360 check for AVX enablement so that we don't crash with old kernels and
19361 new hardware.
19362 * elf/tst-audit4.c: Add same checks here.
19363 * elf/tst-audit6.c: Likewise.
19364
19365 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19366
bfc9dc9b
AS
193672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19368
19369 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19370
702e64bb
UD
193712011-07-20 Ulrich Drepper <drepper@gmail.com>
19372
19373 * po/cs.po: Update from translation team.
19374 * po/bg.po: Likewise.
19375
295e904f
MP
193762011-07-12 Marek Polacek <mpolacek@redhat.com>
19377
19378 * misc/sys/cdefs.h: Add support for const attribute.
19379 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19380 to gnu_dev_{major,minor,makedev} functions.
19381
3ff94596
MP
193822011-07-20 Marek Polacek <mpolacek@redhat.com>
19383
19384 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19385
28b59fca
AS
193862011-07-20 Andreas Schwab <schwab@redhat.com>
19387
19388 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19389 strlen results.
19390
19df733e
AK
193912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19392
19393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19394 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19395 register in order to avoid conflicts with the soft frame pointer
19396 being held in r11 when necessary.
19397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19398 (INTERNAL_VSYSCALL_NCS): Likewise.
19399
c8835729
MP
194002011-07-14 Marek Polacek <mpolacek@redhat.com>
19401
19402 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19403 * elf/dl-fini.c (_dl_fini): Adjust caller.
19404 * elf/dl-close.c (_dl_close_worker): Likewise.
19405 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19406
b902330c
MP
194072011-07-15 Marek Polacek <mpolacek@redhat.com>
19408
8991e135
MP
19409 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19410 "aux_cache->nlibs < 0".
19411
b902330c
MP
19412 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19413 in the reload-count case.
19414
99710781
LD
194152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19416
19417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19418 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19419 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19420 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19421 * sysdeps/x86_64/multiarch/strcat.S: New file.
19422 * sysdeps/x86_64/multiarch/strncat.S: New file.
19423 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19424 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19425 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19426 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19427 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19428 (USE_AS_STRCAT): Define.
19429 Add strcat and strncat support.
19430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19432 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19433 * string/strncat.c: Update.
19434 (USE_AS_STRNCAT): Define.
19435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19436 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19437 and i7.
19438 * sysdeps/x86_64/multiarch/init-arch.h
19439 (bit_Prefer_PMINUB_for_stringop): New.
19440 (index_Prefer_PMINUB_for_stringop): Likewise.
19441 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19442 bit_Prefer_PMINUB_for_stringop.
19443
7dc6bd90
UD
194442011-07-19 Ulrich Drepper <drepper@gmail.com>
19445
19446 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19447 buffer64.
19448 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19449 of casting of buffer.
19450 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19451 buffer32 and buffer64.
19452 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19453 writes instead of casting of buffer.
19454 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19455 buffer32.
19456 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19457 casting of buffer.
19458
e0e72284
AS
194592011-07-19 Andreas Schwab <schwab@redhat.com>
19460
19461 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19462
feb1eb0b
UD
194632011-07-19 Ulrich Drepper <drepper@gmail.com>
19464
19465 * nscd/nscd.c (termination_handler): Don't do anything for a database
19466 if it has not yet been initialized.
19467
298711ff
UD
194682011-07-18 Ulrich Drepper <drepper@gmail.com>
19469
19470 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19471
194722011-07-15 Marek Polacek <mpolacek@redhat.com>
19473
19474 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19475
f9d68389
UD
194762011-07-18 Ulrich Drepper <drepper@gmail.com>
19477
19478 * po/nl.po: Update from translation team.
19479 * po/sv.po: Likewise.
19480
db290cf5
RM
194812011-07-16 Roland McGrath <roland@hack.frob.com>
19482
19483 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19484 now disallowed by GCC.
5c550700 19485
fd5e21c7
RM
19486 * configure.in (use-default-link): Default to yes if a test -shared
19487 link meets our qualifications.
19488 * configure: Regenerated.
19489
5c550700
RM
19490 * config.make.in (output-format): New variable.
19491 * configure.in: Check for ld --print-output-format support.
19492 * configure: Regenerated.
19493 * Makerules ($(common-objpfx)format.lds)
19494 [$(output-format) != unknown]: Just use $(output-format),
19495 instead of the linker-script munging.
19496
9fa2c032
RM
194972011-07-14 Roland McGrath <roland@hack.frob.com>
19498
a6928d51
RM
19499 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19500 of $(common-objpfx)shlib.lds.
19501 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19502
661607b3
RM
19503 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19504 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19505
9fa2c032
RM
19506 * configure.in (-z relro check): Adjust test code to add a large
19507 writable data section after it.
19508 * configure: Regenerated.
19509
defe9061
RM
195102011-07-11 Roland McGrath <roland@hack.frob.com>
19511
19512 * configure.in (-z relro check): Fix test code to make the variable
19513 truly const.
19514 * configure: Regenerated.
19515
319b9ad4
UD
195162011-07-11 Ulrich Drepper <drepper@gmail.com>
19517
19518 * nscd/nscd.h (struct traced_file): Define.
19519 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19520 elements. Add traced_files.
19521 (inotify_fd): Declare.
19522 (register_traced_file): Declare.
19523 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19524 (inotify_fd): Export.
19525 (resolv_conf_descr): Remove.
19526 (nscd_init): Move inotify descriptor creation to main.
19527 Don't register files for notification here.
19528 (register_traced_file): New function.
19529 (invalidate_cache): Don't use reset_res to determine whether to call
19530 res_init, go through the list of registered files.
19531 (main_loop_poll): The inotify descriptors are now stored in the
19532 structures for the traced files.
19533 (main_loop_epoll): Likewise
19534 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19535 to __nss_disable_nscd.
19536 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19537 for a database anymore. Check the records for all the registered
19538 files instead.
19539 * nss/Makefile (libnss_files-routines): Add files-init.
19540 (libnss_db-routines): Add db-init.
19541 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19542 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19543 * nss/nss_db/db-init.c: New file.
19544 * nss/nss_files/files-init.c: New file.
19545 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19546 __nss_lookup_function.
19547 (__nss_lookup_function): Call nss_load_library.
19548 (nss_load_all_libraries): New function.
19549 (__nss_disable_nscd): Take parameter with callback function for files
19550 to register. Set is_nscd. Load all the DSOs for the NSS modules
19551 used for the cached services.
19552 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19553 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19554 options for features to all the files in nscd.
19555
19556 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19557
23bee3e8
RM
195582011-07-10 Roland McGrath <roland@hack.frob.com>
19559
19560 * csu/elf-init.c (__libc_csu_init): Comment typo.
19561
46a5b7f0
UD
195622011-07-09 Ulrich Drepper <drepper@gmail.com>
19563
19564 * po/pl.po: Update from translation team.
19565 * po/ja.po: Likewise.
19566 * po/ru.po: Likewise.
19567 * po/ko.po: Likewise.
19568 * po/fr.po: Likewise.
19569
d30cf5bb
RM
195702011-07-09 Roland McGrath <roland@hack.frob.com>
19571
113ddea4
RM
19572 * configure.in (.ctors/.dtors header and trailer check):
19573 Use an empirical test on a built program.
19574 * configure: Regenerated.
19575
574920b4
RM
19576 * configure.in (-z relro check): Use an empirical test on a built DSO.
19577 Detect, but do not require, on ia64.
19578 * configure: Regenerated.
19579
d30cf5bb
RM
19580 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19581 Update tests that use readelf to use $READELF instead.
19582 * configure: Regenerated.
19583
8538fdb3
UD
195842011-07-08 Ulrich Drepper <drepper@gmail.com>
19585
19586 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19587 if the result is not used.
19588
04d08991
AJ
195892011-07-05 Andreas Jaeger <aj@suse.de>
19590
19591 [BZ#9696]
19592 * stdlib/tst-strtod.c: Add testcase.
19593
de283087
AD
195942011-07-07 Ulrich Drepper <drepper@gmail.com>
19595
4e5f31c8 19596 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19597 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19598 The latter has a higher limit. Take additional parameter to pass to
19599 the new function.
19600 (__pathconf): Pass file to __statfs_link_max.
19601 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19602 __statfs_link_max.
19603 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19604 __statfs_link_max.
19605
de283087
AD
19606 [BZ #12868]
19607 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19609 Handle Lustre.
19610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19611 (__statfs_filesize_max): Likewise.
19612 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19613
c75fa153
AJ
196142011-07-05 Andreas Jaeger <aj@suse.de>
19615
19616 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19617
1a544854
UD
196182011-07-06 Marek Polacek <mpolacek@redhat.com>
19619
19620 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19621 `status' variable.
19622 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19623 Likewise.
19624
6f0eec67
UD
196252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19626
19627 * Makefile (strop-tests): Add strncat.
19628 * string/test-strncat.c: New file.
19629
aae30307
UD
196302011-06-30 Marek Polacek <mpolacek@redhat.com>
19631
19632 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19633
c0cfb5eb
UD
196342011-06-21 Andreas Jaeger <aj@suse.de>
19635
19636 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19637 Copy rule from iconvdata/Makefile.
19638
01636b21
UD
196392011-07-06 Ulrich Drepper <drepper@gmail.com>
19640
19641 [BZ #12922]
19642 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19643 but no long options are defined, just return 'W'.
19644
9895c8bc
UD
196452011-06-22 Marek Polacek <mpolacek@redhat.com>
19646
19647 [BZ #9696]
19648 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19649
5d4cf042
UD
196502011-07-06 Ulrich Drepper <drepper@gmail.com>
19651
19652 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19653 netgroups to read.
960e5535 19654 (innetgr): Likewise.
5d4cf042 19655
751eb97e
RM
196562011-07-05 Roland McGrath <roland@hack.frob.com>
19657
19658 * config.make.in (install_root): Default to $(DESTDIR).
19659
f15f1e45
UD
196602011-07-05 Ulrich Drepper <drepper@gmail.com>
19661
19662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19663
4e34ac6a
RM
196642011-07-02 Roland McGrath <roland@hack.frob.com>
19665
5e9b6af4
RM
19666 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19667
84f9ea0f
RM
19668 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19669 containing directory rather than embedding absolute directory names.
19670
ea5ee9f7
RM
19671 * scripts/check-local-headers.sh: Rewritten using awk.
19672 Match by word, not by line. Print error messages for matches.
19673 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19674
1b74661a
RM
19675 * Makerules [shlib-lds-flags empty]:
19676 ($(common-objpfx)libc_pic.opts): New target.
19677 ($(common-objpfx)libc_pic.os.clean): New target.
19678 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19679
19680 * config.make.in (OBJCOPY): New variable.
19681 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19682 * configure: Regenerated.
19683
f781ef40
RM
19684 * config.make.in (use-default-link): New variable.
19685 * configure.in (use_default_link): Grok --with-default-link to set it.
19686 * configure: Regenerated.
19687 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19688 (shlib-lds, shlib-lds-flags): Define to empty.
19689
2d4fa81e
RM
19690 * Makerules (shlib-lds): New variable.
19691 (shlib-lds-flags): New variable.
19692 (build-shlib, build-moduile, build-module-asneeded): Use it.
19693 ($(common-objpfx)libc.so): Use $(shlib-lds).
19694 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19695 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19696
31fffa6b
RM
19697 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19698 DT_FLAGS/DT_FLAGS_1 with zero flags.
19699
4e34ac6a
RM
19700 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19701 linker script munging.
19702
fcfc776b
UD
197032011-07-02 Ulrich Drepper <drepper@gmail.com>
19704
19705 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19706 as 128-bit value.
19707 * crypt/sha512.c (sha512_process_block): Perform total addition using
19708 128-bit if possible.
19709 (__sha512_finish_ctx): Likewise.
19710 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19711 as 64-bit value.
19712 * crypt/sha256.c (SWAP64): Define.
19713 (sha256_process_block): Perform total addition using 64-bit if
19714 possible.
19715 (__sha256_finish_ctx): Likewise.
19716
99231d9a
UD
197172011-07-01 Ulrich Drepper <drepper@gmail.com>
19718
19719 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19721 * nscd/hstcache.c (cache_addhst): Likewise.
19722 * nscd/grpcache.c (cache_addgr): Likewise.
19723 * nscd/aicache.c (addhstaiX): Likewise
19724 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19725
445b4a53
TK
197262011-07-01 Thorsten Kukuk <kukuk@suse.de>
19727
19728 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19730 * nscd/hstcache.c (cache_addhst): Likewise.
19731 * nscd/grpcache.c (cache_addgr): Likewise.
19732 * nscd/aicache.c (addhstaiX): Likewise
19733
6d4d8e8e
AS
197342011-07-01 Andreas Schwab <schwab@redhat.com>
19735
19736 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19737 domain only when needed.
19738
89f654c5
AS
197392011-06-30 Andreas Schwab <schwab@redhat.com>
19740
19741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19742 is always restored.
19743
cf3b23ff
UD
197442011-06-29 Ulrich Drepper <drepper@gmail.com>
19745
19746 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19747 are re-adding the entry.
19748 * nscd/servicescache.c (cache_addserv): Likewise.
19749
751626f9
AJ
197502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19751
19752 * sysdeps/generic/dl-irel.h: fix protection against multiple
19753 inclusions.
19754 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19755
9113ea1f
UD
197562011-06-28 Ulrich Drepper <drepper@gmail.com>
19757
5c0b8d90
UD
19758 [BZ #12935]
19759 * malloc/memusage.sh: Fix quoting in message.
19760 * debug/xtrace.sh: Likewise.
19761
9113ea1f
UD
19762 * configure.in: Remove support for --experimental-malloc option, make
19763 it the default.
19764 * config.make.in: Likewise.
19765 * malloc/Makefile: Likewise.
19766
a4172181
AS
197672011-06-27 Andreas Schwab <schwab@redhat.com>
19768
19769 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19770 two-byte characters.
19771
78a7eee7
RM
197722011-06-27 Roland McGrath <roland@hack.frob.com>
19773
62bede13
RM
19774 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19775 AC_CACHE_CHECK invocation.
19776 * configure: Regenerated.
19777
78a7eee7
RM
19778 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19779
5ce33a62
UD
197802011-06-27 Ulrich Drepper <drepper@gmail.com>
19781
034807a9
UD
19782 [BZ #12350]
19783 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19784 bit from old_res_options.
19785
4902da17
UD
19786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19787
5ce33a62
UD
19788 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19789 value type for setfct.
19790
c2344f56
L
197912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19792
19793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19794 __gettimeofday instead of gettimeofday.
19795
68468076
UD
197962011-06-26 Ulrich Drepper <drepper@gmail.com>
19797
19798 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19799
acb0d739
L
198002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19801
19802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19803
19804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19805 info.
19806
8912479f
L
198072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19808
19809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19810 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19811 strcpy-sse2-unaligned strncpy-sse2-unaligned
19812 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19813 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19814 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19815 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19816 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19819 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19820 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19821 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19822 (STRCPY): Support SSE2 and SSSE3 versions.
19823
d5495a11
UD
198242011-06-24 Ulrich Drepper <drepper@gmail.com>
19825
19826 [BZ #12874]
19827 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19828 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19829 kernels which artificially limit size of requests.
19830
0b1cbaae
L
198312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19832
19833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19834 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19835 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19836 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19837 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19838 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19839 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19840 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19842 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19843 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19844 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19845 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19846 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19847 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19849 Enable unaligned load optimization for Intel Core i3, i5 and i7
19850 processors.
19851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19852 Define.
19853 (index_Fast_Unaligned_Load): Define.
19854 (HAS_FAST_UNALIGNED_LOAD): Define.
19855
07f494a0
MP
198562011-06-23 Marek Polacek <mpolacek@redhat.com>
19857
19858 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19859
fa3fc0fe
UD
198602011-06-22 Ulrich Drepper <drepper@gmail.com>
19861
19862 [BZ #12907]
19863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19864 until it is clear that the information is realy needed.
19865 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19866
e12df166
AS
198672011-06-22 Andreas Schwab <schwab@redhat.com>
19868
19869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19870
852eb34d
UD
198712011-06-22 Ulrich Drepper <drepper@gmail.com>
19872
84e2a551
UD
19873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19874 /sys/devices/system/cpu/online if it is usable.
19875
852eb34d
UD
19876 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19877 reading the information from the /proc filesystem to once a second.
19878
6e502e19
UD
198792011-06-21 Andreas Jaeger <aj@suse.de>
19880
19881 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19882 NULL after inclusion of kernel headers.
19883
75d39ff2
UD
198842011-06-21 Ulrich Drepper <drepper@gmail.com>
19885
51f9aa6a
UD
19886 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19887 calls to internal_setent.
19888
c0244a9d
UD
19889 [BZ #12885]
19890 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19891 addresses using gethostbyname4_r ignore IPv4 addresses.
19892
c5e3c2ae
UD
19893 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19894 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19895
75d39ff2
UD
19896 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19897
42675c6f
DM
198982011-06-20 David S. Miller <davem@davemloft.net>
19899
19900 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19901 inclusions.
19902 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19903
19904 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19905 (elf_irel): Use it.
19906 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19907 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19908 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19909 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19910 * sysdeps/x86_64/dl-irel.h: Likewise.
19911
19912 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19913 * elf/dl-sym.c: Likewise.
19914
57912a71
UD
199152011-06-15 Ulrich Drepper <drepper@gmail.com>
19916
19917 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19918 need to dereference resplen2.
19919
ee22793d
AS
199202011-06-14 Andreas Schwab <schwab@redhat.com>
19921
19922 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19923
a9e836b0
UD
199242011-06-15 Ulrich Drepper <drepper@gmail.com>
19925
77fb9117
UD
19926 * Makeconfig: Define vardbdir and inst_vardbdir.
19927 * nss/Makefile: Add rules to install db-Makefile.
19928
40c1b22c
UD
19929 * nss/nss_db/db-XXX.c: Cleanup.
19930
9f2da732
UD
19931 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19932 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19933 GLIBC_PRIVATE.
19934 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19935 * nss/makedb.c: Implement -g option to specify that value strings
19936 are generated and should not be added to table iterated over for
19937 get*ent calls.
19938 * nss/nss_db/db-initgroups.c: New file.
19939
82e9a1f7
UD
19940 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19941 interface.
19942
c41af17e
UD
19943 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19944 (internal_getgrouplist): Adjust to name change.
19945 Update use_initgroups_entry if this is not the first call.
19946 * nss/databases.def: Add initgroups entry.
19947
a9e836b0
UD
19948 * nss/makedb.c (compute_tables): Check result of multiple hash table
19949 sizes to minimize maximum chain length.
19950
2666d441
UD
199512011-06-14 Ulrich Drepper <drepper@gmail.com>
19952
19953 * Versions.def: Add entry for libnss_db.
19954 * shlib-versions: Likewise.
19955 * nss/Makefile: Add rules to build libnss_db.
19956 * nss/Versions: Add libnss_db information. Organize libnss_files
19957 entries better.
19958 * nss/db-Makefile: Add gshadow support. Change rules for the new
19959 makedb progra. Some minor improvements to generate smaller files.
19960 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19961 here from...
19962 * nss/makedb.c: ...here.
19963 Improve database format to be smaller and require less memory at
19964 runtime.
19965 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19966 db anymore.
19967 * nss/nss_db/db-netgrp.c: Likewise.
19968 * nss/nss_db/db-open.c: Likewise.
19969 * nss/nss_files/flies-XXX.x: Adjust comments.
19970 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19971 * nss/nss_files/files-grp.c: Likewise.
19972 * nss/nss_files/files-hosts.c: Likewise.
19973 * nss/nss_files/files-network.c: Likewise.
19974 * nss/nss_files/files-proto.c: Likewise.
19975 * nss/nss_files/files-pwd.c: Likewise.
19976 * nss/nss_files/files-rpc.c: Likewise.
19977 * nss/nss_files/files-service.c: Likewise.
19978 * nss/nss_files/files-sgrp.c: Likewise.
19979 * nss/nss_files/files-spwd.c: Likewise.
19980 * nss/nss_db/db-alias.c: Removed.
19981 * nss/nss_db/dummy-db.h: Removed.
19982
9ee76b5a
UD
199832011-06-02 Ulrich Drepper <drepper@gmail.com>
19984
19985 * nss/makedb.c: Rewritten to not use database library.
19986 * nss/Makefile: Update to build new makedb program.
19987
c71ca1f8
AJ
199882011-06-14 Andreas Jaeger <aj@suse.de>
19989
19990 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19991 memset declaration.
19992
3154bfb8
UD
199932011-06-10 Andreas Schwab <schwab@redhat.com>
19994
19995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19996 tmpbuf.
19997
b350afab
RM
199982011-06-10 Roland McGrath <roland@hack.frob.com>
19999
decd4e50
RM
20000 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20001 * elf/Makefile ($(objpfx)ld.so): Likewise.
20002
5615eaf2
RM
20003 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20004 Don't list ld.so twice in dependencies.
20005
20006 * posix/bug-regex31.c: Include <stdlib.h>.
20007
20008 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20009
20010 * nis/nss_compat/compat-spwd.c
20011 (getspent_next_nss_netgr): Remove unused variable.
20012 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20013
20014 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20015 nonmembers" output to use the right array.
20016
20017 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20018
20019 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20020
20021 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20022 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20023 * catgets/gencat.c (read_input_file): Likewise.
20024 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20025
20026 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20027 variable definition inside #if's controlling its use.
20028
20029 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20030
20031 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20032
20033 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20034
20035 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20036 unreachable code.
20037
20038 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20039
b68e08db
RM
20040 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20041 * configure: Regenerated.
20042
b350afab
RM
20043 * Makerules: Revert last change.
20044 * elf/Makefile: Likewise.
20045
28368601
RM
200462011-06-09 Roland McGrath <roland@hack.frob.com>
20047
20048 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20049 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20050 (reloc-link): Likewise.
20051
11988f8f
UD
200522011-06-09 Ulrich Drepper <drepper@gmail.com>
20053
20054 * elf/Makefile: Add rules to build pldd.
20055 * elf/pldd.c: New file.
20056 * elf/pldd-xx.c: New file.
20057
e80fab37
UD
200582011-06-07 Ulrich Drepper <drepper@gmail.com>
20059
20060 * version.h: Update for 2.15 development version.
20061
9b849836
DM
200622011-06-07 David S. Miller <davem@davemloft.net>
20063
20064 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20065 ifuncs.
20066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20067 elf_machine_lazy_rel): Likewise.
20068 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20070 elf_machine_lazy_rel): Likewise.
20071 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20072 dl_hwcap via passed in argument.
20073 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20074 Likewise.
20075
5a31b283
AK
200762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20077
20078 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20079
069e52f8
RM
200802011-06-06 Roland McGrath <roland@hack.frob.com>
20081
20082 [BZ #12849]
20083 * manual/fdl-1.1.texi: New file, verbatim from:
20084 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20085 * manual/lgpl-2.1.texi: New file, verbatim from:
20086 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20087 * manual/Makefile (licenses): New variable, list those new file names.
20088 (texis): Use it.
20089 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20090
20091 * manual/fdl.texi: File removed.
20092 * manual/lesser.texi: File removed.
20093 * manual/libc.texinfo (Copying, Documentation License):
20094 Use new @include file names, put @appendix directive before @include.
20095
f16846a5
JJ
200962011-06-04 Jakub Jelinek <jakub@redhat.com>
20097
20098 [BZ #12841]
20099 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20100 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20101 (mq_open): Add __NTH.
20102
3d29045b
L
201032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20104
20105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20106 Assume Intel Core i3/i5/i7 processor if AVX is available.
20107
8c297311
UD
201082011-05-31 Ulrich Drepper <drepper@gmail.com>
20109
20110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20111 typo.
20112
c8fc0c91
UD
201132011-05-31 Andreas Schwab <schwab@redhat.com>
20114
20115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20116 memory. Use alloca_account. Fix memory leak when retrying.
20117
5b27a807
UD
201182011-05-31 Ulrich Drepper <drepper@gmail.com>
20119
356f8bc6
UD
20120 * version.h (RELEASE): Bump for 2.14 release.
20121 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20122
5b27a807
UD
20123 * config.make.in (RANLIB): Remove entry.
20124
01f16ab0
UD
201252011-05-30 Ulrich Drepper <drepper@gmail.com>
20126
41fce8bd
UD
20127 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20128 (libc.pot): Work around missing support for .ksh extension in xgettext.
20129
4769ae77
UD
20130 [BZ #12684]
20131 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20132 if both request failed.
20133 (send_dg): In case of server errors clear resplen or *resplen2.
20134
6b1e7d19
UD
20135 [BZ #12454]
20136 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20137 when there are multiple maps.
20138 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20139 (_dl_fini): Remove test here.
20140
01f16ab0
UD
20141 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20142
b1ebd700
UD
201432011-05-29 Ulrich Drepper <drepper@gmail.com>
20144
7ae22829
UD
20145 [BZ #12350]
20146 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20147 bit from old_res_options.
20148 (gaih_inet): Likewise.
20149
553149f6 20150 [BZ #11099]
18a84741 20151 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20152 as signed.
20153
652ffab1
UD
20154 * resolv/res_init.c (res_setoptions): Make the code more compact.
20155
16985fd0
UD
20156 [BZ #11558]
20157 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20158 set RES_USEVC.
20159
0464f746
UD
20160 [BZ #11634]
20161 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20162
7d17596c
UD
20163 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20164
cf6bbbd7
UD
20165 [BZ #11781]
20166 * malloc/malloc.h: Declare malloc hook variables as volatile.
20167
13f1ab36
UD
20168 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20169 in last patch.
20170
b1ebd700
UD
20171 [BZ #11799]
20172 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20173 raise in the comment.
80e2212d
UD
20174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20176 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20177
ce67228d
UD
201782011-05-28 Ulrich Drepper <drepper@gmail.com>
20179
8887a920
UD
20180 [BZ #12811]
20181 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20182 grow the buffers more if it already has to be sufficient.
20183 (build_wcs_upper_buffer): Likewise.
20184 * posix/regexec.c (check_matching): Likewise.
20185 (clean_state_log_if_needed): Likewise.
20186 (extend_buffers): Don't enlarge buffers beyond size of the input
20187 buffer.
20188 Patches mostly by Emil Wojak <emil@wojak.eu>.
20189 * posix/bug-regex32.c: New file.
20190 * posix/Makefile (tests): Add bug-regex32.
20191
4f031072
UD
20192 * locale/findlocale.c (_nl_find_locale): Return right away if
20193 _nl_explode_name failed.
20194 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20195
d0478f0c
UD
20196 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20197
de81b246
UD
20198 * debug/xtrace.sh: Unify messages.
20199 * malloc/memusage.sh: Likewise.
20200
c738465a
UD
20201 [BZ #12813]
20202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20203 time symbol from vDSO. Substitute with vsyscall if not available.
20204 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20205 __vdso_time.
20206
f1f929d7
UD
20207 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20208 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20209 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20210 Add sendmmsg and internal_sendmmsg.
20211 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20213 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20214
ce67228d
UD
20215 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20216 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20218
e57420c6
UD
202192011-05-27 Ulrich Drepper <drepper@gmail.com>
20220
a8509ca5
UD
20221 [BZ #12813]
20222 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20223 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20224 available.
20225 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20226 __vdso_getcpu.
20227
e57420c6
UD
20228 [BZ #12814]
20229 * iconvdata/Makefile (tests): Add bug-iconv9.
20230 * iconvdata/bug-iconv9.c: New file.
20231
4d07db15
AS
202322011-05-27 Andreas Schwab <schwab@redhat.com>
20233
20234 [BZ #12814]
20235 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20236
ea486f69
JJ
202372011-05-25 Jakub Jelinek <jakub@redhat.com>
20238
20239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20240 (struct user_regs_struct): Change intcs field back to cs.
20241
6f038433
UD
202422011-05-25 Ulrich Drepper <drepper@gmail.com>
20243
20244 * po/ja.po: Update from translation team.
20245
67f86a25
UD
202462011-05-23 Ulrich Drepper <drepper@gmail.com>
20247
20248 [BZ #12795]
20249 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20251
def7fbd6
AS
202522011-05-20 Andreas Schwab <schwab@redhat.com>
20253
20254 * stdlib/longlong.h: Update from GCC.
20255
f50ef8f1
AS
202562011-05-23 Andreas Schwab <schwab@redhat.com>
20257
20258 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20259 parameter name.
20260 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20261 Add parameter name.
20262 (__sysconf): Pass it down.
20263
de7ce8f1
UD
202642011-05-22 Ulrich Drepper <drepper@gmail.com>
20265
f2962a71
UD
20266 [BZ #12671]
20267 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20268 some situations.
20269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20270 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20271 add in in __libc_use_alloca calls. Adjust callers.
20272 (glob): Use malloc in some situations.
20273
de7ce8f1
UD
20274 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20275 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20276 pltexit.
20277
aec84f53
UD
202782011-05-21 Ulrich Drepper <drepper@gmail.com>
20279
05bb4a68
UD
20280 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20281 and CLOCK_BOOTTIME_ALARM.
20282
7ea72f99
UD
20283 [BZ #12782]
20284 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20285 is returned.
20286
7e4afad5
UD
20287 * string/_strerror.c (__strerror_r): Print negative errors as signed
20288 numbers.
20289
8e211fec
UD
20290 [BZ #12777]
20291 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20292 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20293 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20294
f7d82dc9
UD
20295 * configure.in: Fix typo in redirection and correct removal of test
20296 files in two cases.
20297
cc9e536d
UD
20298 [BZ #12788]
20299 * locale/setlocale.c (new_composite_name): Fix test to check for
20300 identical name of all categories.
20301
aec84f53
UD
20302 [BZ #12792]
20303 * libio/filedoalloc.c (local_isatty): New function.
20304 (_IO_file_doallocate): Use local_isatty.
20305 * stdio-common/perror.c (perror): In case a new stream is used
20306 forward the stream error.
20307 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20308 error flag.
20309
78e64fdc
RT
203102011-05-20 Ulrich Drepper <drepper@gmail.com>
20311
34a9094f
UD
20312 [BZ #11869]
20313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20314 alloca.
20315 * include/alloca.h (extend_alloca_account): Define.
20316
78e64fdc
RT
20317 [BZ #11857]
20318 * posix/regex.h: Fix comments with documentation of user-accessible
20319 fields after compilation and describe correct free'ing of pattern
20320 after re_compile_pattern.
20321 Patch by Reuben Thomas <rrt@sc3d.org>.
20322
457bddfc
RA
203232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20324
20325 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20326 and -mno-altivec to prevent the compiler from using Altivec and/or
20327 VSX instructions when the corresponding registers are not available.
20328
a4527b51
AS
203292011-05-19 Andreas Schwab <schwab@redhat.com>
20330
20331 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20332
ed690b2f
UD
203332011-05-19 Ulrich Drepper <drepper@gmail.com>
20334
20335 * libio/freopen.c (freopen): Use __dup2, not dup2.
20336 * libio/freopen64.c (freopen64): Likewise.
20337
8db73634
L
203382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20339
20340 [BZ #12775]
20341 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20342 * math/Makefile (tests): Add test-powl.
20343 (CFLAGS-test-powl.c): Define.
20344 * math/test-powl.c: New file.
20345
0a197a9d
L
203462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20347
20348 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20349
ee30c380
UD
203502011-05-17 Ulrich Drepper <drepper@gmail.com>
20351
20352 [BZ #11837]
20353 * iconvdata/gb18030.c: Update to GB18020-2005.
20354
6ce75379
UD
203552011-05-16 Ulrich Drepper <drepper@gmail.com>
20356
a4b89fd8
AR
20357 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20358 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20359 Patch by Aharon Robbins <arnold@skeeve.com>.
20360
ea389b12
UD
20361 [BZ #11892]
20362 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20363 on the stack.
20364
68a3f91f
UD
20365 [BZ #11895]
20366 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20367 through underflows.
20368
15cc7dd1
UD
20369 [BZ #12766]
20370 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20371 point to strings before performing equality test for error_one_per_line
20372 mode.
20373
f3799213
UD
20374 [BZ #11697]
20375 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20376
d79a9c94
UD
20377 [BZ #11820]
20378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20379 (struct user_fpregs_struct): Avoid __uint*_t types.
20380
56e5eb46
UD
20381 [BZ #6420]
20382 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20383 symbol info. Use it instead of calling _dl_addr locally.
20384 (lock_and_info): New function.
20385 (tr_freehook): Call lock_and_info and pass symbol info as additional
20386 parameter to tr_where.
20387 (tr_mallochook): Likewise.
20388 (tr_reallochook): Likewise.
20389 (tr_memalignhook): Likewise.
20390
6ce75379
UD
20391 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20392 used and couldn't be at all thread-safe.
20393
f8a3b5bf
UD
203942011-05-15 Ulrich Drepper <drepper@gmail.com>
20395
94b7cc37
UD
20396 * libio/freopen.c (freopen): Don't close old file descriptor
20397 before the new one is opened. Instead dup the new file descriptor
20398 to the old one after the new stream is created.
20399 * libio/freopen64.c (freopen64): Likewise.
20400 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20401 * libio/fileops.c (_IO_new_file_close_it): Handle new
20402 _IO_FLAGS2_NOCLOSE flag.
20403 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20404 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20405 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20406 _IO_FLAGS2_NOCLOSE flag.
20407 * include/unistd.h: Add hidden_proto for dup3.
20408 Define __have_dup3.
20409 * io/dup3.c: Define hidden symbol.
20410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20411
bd25564e
UD
20412 [BZ #7101]
20413 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20414 when an incomplete long option is used.
20415 * posix/tst-getopt_long1.c: New file.
20416 * posix/Makefile (tests): Add tst-getopt_long1.
20417
c84cfef4
UD
20418 [BZ #10138]
20419 * scripts/config.guess: Update from autoconf-2.68.
20420 * scripts/config.sub: Likewise.
20421
3b85df27
UD
20422 [BZ #10157]
20423 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20424 tests into ...
20425 (has_cpuclock): ...this. New function.
20426 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20427 macro here based on has_cpuclock code.
20428
15a856b1
UD
20429 [BZ #10149]
20430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20431 First byte (not low byte) is now always NUL.
20432 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20433
05f399e6
UD
20434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20435 Use non-cancelable interfaces.
20436
10a52685 20437 [BZ #9809]
94ecc67d
UD
20438 * locale/iso-639.def: Add entry for Sorani.
20439
f8a3b5bf
UD
20440 [BZ #11901]
20441 * include/stdlib.h: Move include protection to the right place.
20442 Define abort_msg_s. Declare __abort_msg with it.
20443 * stdlib/abort.c (__abort_msg): Adjust type.
20444 * assert/assert.c (__assert_fail_base): New function. Majority
20445 of code from __assert_fail. Allocate memory for __abort_msg with
20446 mmap.
20447 (__assert_fail): Now call __assert_fail_base.
20448 * assert/assert-perr.c: Remove bulk of implementation. Use
20449 __assert_fail_base.
20450 * include/assert.hL Declare __assert_fail_base.
20451 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20452 mmap.
20453 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20454
1af4e298
UD
204552011-05-14 Ulrich Drepper <drepper@gmail.com>
20456
f8a3b5bf 20457 [BZ #11952]
d26dfc60
MG
20458 [BZ #12453]
20459 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20460 until all modules are registered in the DTV.
20461 * elf/Makefile: Add rules to build and run tst-tls19.
20462 * elf/tst-tls19.c: New file.
20463 * elf/tst-tls19mod1.c: New file.
20464 * elf/tst-tls19mod2.c: New file.
20465 * elf/tst-tls19mod3.c: New file.
20466 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20467
2fc54d6f
UD
20468 [BZ #12083]
20469 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20470 correctly.
20471
98d76b46
UD
20472 [BZ #12601]
20473 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20474 two-byte sequence errors.
20475 * iconvdata/Makefile (tests): Add bug-iconv8.
20476 * iconvdata/bug-iconv8.c: New file.
20477
da3c19ef
UD
20478 [BZ #12626]
20479 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20480 buf2 definition.
20481
ca408c15
UD
20482 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20483
d6f67f7d
UD
20484 [BZ #12432]
20485 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20486 (dummy_getcfa): New function.
20487 (init): Get _Unwind_GetCFA address, use dummy if not found.
20488 (backtrace_helper): In recursion check, also check whether CFA changes.
20489 (__backtrace): Completely initialize arg.
20490
1af4e298 20491 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20492 storing incomplete byte sequence in state object. Avoid testing for
20493 guaranteed too small input if we know there is enough data available.
1af4e298 20494
da62f81b
AS
204952011-05-11 Andreas Schwab <schwab@redhat.com>
20496
20497 * Makeconfig (+link-pie): Indent.
20498 * Rules (binaries-pie): Define if $(have-fpie) and
20499 $(build-shared).
20500 (binaries-shared): Also filter out $(binaries-pie).
20501 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20502 * nscd/Makefile (others-pie): Add nscd.
20503 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20504 ($(objpfx)nscd): Remove command override.
20505 * login/Makefile (others-pie): Add pt_chown.
20506 ($(objpfx)pt_chown): Remove command override.
20507 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20508 remove command overrides.
20509
fcabc0f8
UD
205102011-05-13 Ulrich Drepper <drepper@gmail.com>
20511
20030ae6
UD
20512 * libio/tst_putwc.c: Fix error messages.
20513
fcabc0f8
UD
20514 [BZ #12724]
20515 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20516 currently writing and seek to current position when not.
20517 * libio/Makefile (tests): Add bug-fclose1.
20518 * libio/bug-fclose1.c: New file.
20519
320a5dc0
PB
205202011-05-12 Ulrich Drepper <drepper@gmail.com>
20521
20522 [BZ #12511]
20523 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20524 don't set DF_1_NODELETE here.
20525 (do_lookup_x): When entering new entry test for copy relocation
20526 and if necessary set DF_1_NODELETE flag.
20527 * elf/tst-unique4.cc: New file.
20528 * elf/tst-unique4.h: New file.
20529 * elf/tst-unique4lib.cc: New file.
20530 * elf/Makefile: Add rules to build and run tst-unique4.
20531 Patch by Piotr Bury <pbury@goahead.com>.
20532
22836f52
UD
205332011-05-11 Ulrich Drepper <drepper@gmail.com>
20534
f574184a
UD
20535 [BZ #12052]
20536 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20537
e1fb097f
UD
20538 [BZ #12625]
20539 * misc/mntent_r.c (addmntent): Flush the stream after the output
20540
22836f52
UD
20541 [BZ #12393]
20542 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20543 (is_trusted_path_normalize): Skip initial colon. Append slash
20544 to empty buffer. Duplicate is_trusted_path code but allow
20545 constructed patch to be prefix.
20546 (is_dst): Allow $ORIGIN followed by /.
20547 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20548 Correct testing of result of is_trusted_path_normalize
20549 (decompose_rpath): Fix warning.
20550
7b3b0b2a
UD
205512011-05-10 Ulrich Drepper <drepper@gmail.com>
20552
20553 [BZ #11257]
20554 * grp/initgroups.c (internal_getgrouplist): When we found the service
20555 list through the initgroups entry in nsswitch.conf do not always
20556 continue on a successful lookup. Don't always use the
eac80ce2 20557 __nss_group_database value if it is set.
7b3b0b2a
UD
20558 * nss/nsswitch.conf (initgroups): Change action for successful db
20559 lookup to continue for compatibility.
20560
2a81eaa5
UD
205612011-05-09 Ulrich Drepper <drepper@gmail.com>
20562
be97a69e
UD
20563 [BZ #11532]
20564 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20565 and CP774 modules.
20566 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20567 and CP774 modules.
20568 * iconvdata/tst-tables.sh: Likewise.
20569 * iconvdata/cp770.c: New file.
20570 * iconvdata/cp771.c: New file.
20571 * iconvdata/cp772.c: New file.
20572 * iconvdata/cp773.c: New file.
20573 * iconvdata/cp774.c: New file.
20574 * iconvdata/testdata/CP770: New file.
20575 * iconvdata/testdata/CP770..UTF8: New file.
20576 * iconvdata/testdata/CP771: New file.
20577 * iconvdata/testdata/CP771..UTF8: New file.
20578 * iconvdata/testdata/CP772: New file.
20579 * iconvdata/testdata/CP772..UTF8: New file.
20580 * iconvdata/testdata/CP773: New file.
20581 * iconvdata/testdata/CP773..UTF8: New file.
20582 * iconvdata/testdata/CP774: New file.
20583 * iconvdata/testdata/CP774..UTF8: New file.
20584
20585 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20586 END CHARMAP line.
20587 * iconvdata/gen-8bit-gap.sh: Likewise.
20588 * iconvdata/gen-8bit.sh: Likewise.
20589
c1e9e399
UD
20590 * locale/iso-639.def: Add ary entry.
20591
24c55fb3 20592 [BZ #11258]
96b4b1b0
UD
20593 * locale/C-translit.h.in: Add U20A1 transliteration.
20594
bdc2f971
KB
20595 [BZ #12178]
20596 * locale/iso-639.def: Add wae entry.
20597 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20598
2952b117
UD
20599 [BZ #12545]
20600 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20601 for n.
20602
2a81eaa5
UD
20603 [BZ #12711]
20604 * locale/C-translit.h.in: Add entry for U20B9.
20605 Patch by pravin.d.s@gmail.com.
20606
28377d1b
UD
206072011-05-08 Ulrich Drepper <drepper@gmail.com>
20608
7fb90fb8
UD
20609 [BZ #12713]
20610 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20611 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20612 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20613 in rtld. Use *stat64.
7fb90fb8 20614 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20615 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20616 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20617 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20618 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20619 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20620 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20621 __fstatat64 macros.
7fb90fb8
UD
20622 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20623 * dirent/rewinddir.c: Add libc_hidden_def.
20624 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20625 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20626
28377d1b
UD
20627 * include/dirent.h (__alloc_dir): Add flags parameter.
20628 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20629 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20630 __alloc_dir.
20631 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20632 from fdopendir if O_CLOEXEC is already set.
20633
66bdbaa4
AM
206342011-03-15 Alan Modra <amodra@gmail.com>
20635
20636 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20637 l_tls_firstbyte_offset non-zero. Save padding offset in
20638 l_tls_firstbyte_offset for later use.
20639 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20640 freeing static tls block.
20641
95721191
JN
206422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20643
20644 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20645 where #ifdef was intended. The intent is to prevent ARG_MAX from
20646 being defined by the kernel headers.
20647
f87dfb1f
UD
206482011-05-07 Ulrich Drepper <drepper@gmail.com>
20649
20650 [BZ #12734]
20651 * resolv/resolv.h: Define RES_NOTLDQUERY.
20652 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20653 no-tld-query and set RES_NOTLDQUERY.
20654 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20655 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20656 modern BIND to search name as TLD unless forbidden.
20657
47c3cd7a
UD
206582011-05-07 Petr Baudis <pasky@suse.cz>
20659 Ulrich Drepper <drepper@gmail.com>
20660
20661 [BZ #12393]
20662 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20663 (is_trusted_path): ...to here.
c1e9ea35 20664 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20665 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20666 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20667
8a35c912
PP
206682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20669
20670 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20671 __BEGIN/__END_DECLS.
20672
acd41f47
UD
206732011-05-06 Ulrich Drepper <drepper@gmail.com>
20674
20675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20676 NSS_STATUS_NOTFOUND if no record was found.
20677
597df647
AS
206782011-05-05 Andreas Schwab <schwab@redhat.com>
20679
20680 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20681 (headers-not-in-tirpc): Remove rpc/netdb.h
20682 * resolv/netdb.h: Revert last change.
20683
b9af1301
PP
206842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20685
20686 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20687 circular dependency between libgcc.a and libc.a.
20688
4e34d5f5
AS
206892011-05-05 Andreas Schwab <schwab@redhat.com>
20690
20691 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20692 * nis/Makefile: Don't install rpcsvc/*.
20693 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20694 instead of <rpc/types.h>.
20695 (MAXHOSTNAMELEN): Define.
20696
00ee369c
AS
206972011-05-03 Andreas Schwab <schwab@redhat.com>
20698
20699 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20700
0b592a30
MB
207012011-04-28 Maciej Babinski <mbabinski@google.com>
20702
20703 [BZ #12714]
20704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20705 gethostbyname4_r when IPv6 results are possible.
20706
6e04cbbe
UD
207072011-05-02 Ulrich Drepper <drepper@gmail.com>
20708
20709 [BZ #12723]
20710 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20711 _PC_PIPE_BUF handling.
20712
e4ecafe0
BH
207132011-04-30 Bruno Haible <bruno@clisp.org>
20714
20715 [BZ #12717]
20716 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20717 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20718 to 'int'.
20719 * inet/getnameinfo.c (getnameinfo): Likewise.
20720
125ee683
UD
207212011-04-29 Ulrich Drepper <drepper@gmail.com>
20722
20723 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20724 to groups setting in database lookup.
20725 * nss/nsswitch.conf: Add initgroups entry.
20726
b722481a
EB
207272011-04-22 Ulrich Drepper <drepper@gmail.com>
20728
20729 [BZ #12685]
20730 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20731 mode string.
20732 Patch by Eric Blake <eblake@redhat.com>.
20733
4df46dbd
L
207342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20735
20736 * sunrpc/Makefile (need-export-routines): Add svc_run.
20737 (routines): Remove svc_run.
20738 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20739 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20740 * sunrpc/svc_run.c (svc_run): Likewise.
20741 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20742
e84142d2
UD
207432011-04-21 Ulrich Drepper <drepper@gmail.com>
20744
20745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20746 problem in reallocation in last patch.
20747
877175d8
UD
207482011-04-20 Ulrich Drepper <drepper@gmail.com>
20749
20750 * sunrpc/Makefile: Move inclusion of Rules.
20751
ab8eed78
UD
207522011-04-19 Ulrich Drepper <drepper@gmail.com>
20753
20754 * nss/nss_files/files-initgroups.c: New file.
20755 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20756 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20757 _nss_files_initgroups_dyn.
20758
e3d8f584
RS
207592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20760
20761 * elf/elf.h (R_ARM_IRELATIVE): Define.
20762
af190f45
UD
207632011-04-19 Ulrich Drepper <drepper@gmail.com>
20764
20765 * po/ru.po: Update from translation team.
20766
53cf59ef
UD
207672011-04-17 Ulrich Drepper <drepper@gmail.com>
20768
20769 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20770 dependencies.
20771
4c559bcd
MF
207722011-02-06 Mike Frysinger <vapier@gentoo.org>
20773
20774 [BZ #12653]
20775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20776 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20778 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20780
4420675c
AS
207812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20782
20783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20784 differing bytes.
20785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20788
75ea32ab
UD
207892011-04-17 Ulrich Drepper <drepper@gmail.com>
20790
20791 [BZ #12420]
20792 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20793 storing it.
20794 * stdlib/bug-getcontext.c: New file.
20795 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20796
27390476
AK
207972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20798
20799 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20800 instructions into .machine "z9-109".
20801 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20802 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20803
10442705
AK
208042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20805
20806 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20807 between environment variables and auxiliary vector.
20808
7b57bfe5
UD
208092011-04-16 Ulrich Drepper <drepper@gmail.com>
20810
20811 * Makefile: Add rules to build linkobj/libc.so.
20812 * include/libc-symbols.h: Define libc_hidden_nolink.
20813 * include/rpc/auth.h: Mark functions which are to be hidden.
20814 * include/rpc/auth_des.h: Likewise.
20815 * include/rpc/auth_unix.h: Likewise.
20816 * include/rpc/clnt.h: Likewise.
20817 * include/rpc/des_crypt.h: Likewise.
20818 * include/rpc/key_prot.h: Likewise.
20819 * include/rpc/pmap_clnt.h: Likewise.
20820 * include/rpc/pmap_prot.h: Likewise.
20821 * include/rpc/pmap_rmt.h: Likewise.
20822 * include/rpc/rpc_msg.h: Likewise.
20823 * include/rpc/svc.h: Likewise.
20824 * include/rpc/svc_auth.h: Likewise.
20825 * include/rpc/xdr.h: Likewise.
20826 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20827 * nss/Makefile: Likewise.
20828 * sunrpc/Makefile: Don't install headers. Build library with normal
20829 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20830 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20831 for the compat linking library. Remove use of INTDEF/INTUSE.
20832 * sunrpc/auth_none.c: Likewise.
20833 * sunrpc/auth_unix.c: Likewise.
20834 * sunrpc/authdes_prot.c: Likewise.
20835 * sunrpc/authuxprot.c: Likewise.
20836 * sunrpc/clnt_gen.c: Likewise.
20837 * sunrpc/clnt_perr.c: Likewise.
20838 * sunrpc/clnt_raw.c: Likewise.
20839 * sunrpc/clnt_simp.c: Likewise.
20840 * sunrpc/clnt_tcp.c: Likewise.
20841 * sunrpc/clnt_udp.c: Likewise.
20842 * sunrpc/clnt_unix.c: Likewise.
20843 * sunrpc/des_crypt.c: Likewise.
20844 * sunrpc/des_soft.c: Likewise.
20845 * sunrpc/get_myaddr.c: Likewise.
20846 * sunrpc/key_call.c: Likewise.
20847 * sunrpc/key_prot.c: Likewise.
20848 * sunrpc/netname.c: Likewise.
20849 * sunrpc/pm_getmaps.c: Likewise.
20850 * sunrpc/pm_getport.c: Likewise.
20851 * sunrpc/pmap_clnt.c: Likewise.
20852 * sunrpc/pmap_prot.c: Likewise.
20853 * sunrpc/pmap_prot2.c: Likewise.
20854 * sunrpc/pmap_rmt.c: Likewise.
20855 * sunrpc/publickey.c: Likewise.
20856 * sunrpc/rpc_cmsg.c: Likewise.
20857 * sunrpc/rpc_common.c: Likewise.
20858 * sunrpc/rpc_dtable.c: Likewise.
20859 * sunrpc/rpc_prot.c: Likewise.
20860 * sunrpc/rpc_thread.c: Likewise.
20861 * sunrpc/rtime.c: Likewise.
20862 * sunrpc/svc.c: Likewise.
20863 * sunrpc/svc_auth.c: Likewise.
20864 * sunrpc/svc_authux.c: Likewise.
20865 * sunrpc/svc_raw.c: Likewise.
20866 * sunrpc/svc_run.c: Likewise.
20867 * sunrpc/svc_simple.c: Likewise.
20868 * sunrpc/svc_tcp.c: Likewise.
20869 * sunrpc/svc_udp.c: Likewise.
20870 * sunrpc/svc_unix.c: Likewise.
20871 * sunrpc/svcauth_des.c: Likewise.
20872 * sunrpc/xcrypt.c: Likewise.
20873 * sunrpc/xdr.c: Likewise.
20874 * sunrpc/xdr_array.c: Likewise.
20875 * sunrpc/xdr_float.c: Likewise.
20876 * sunrpc/xdr_intXX_t.c: Likewise.
20877 * sunrpc/xdr_mem.c: Likewise.
20878 * sunrpc/xdr_rec.c: Likewise.
20879 * sunrpc/xdr_ref.c: Likewise.
20880 * sunrpc/xdr_sizeof.c: Likewise.
20881 * sunrpc/xdr_stdio.c: Likewise.
20882
e6c61494
UD
208832011-04-10 Ulrich Drepper <drepper@gmail.com>
20884
20885 [BZ #12650]
20886 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20887 * sysdeps/ia64/dl-tls.h: Likewise.
20888 * sysdeps/powerpc/dl-tls.h: Likewise.
20889 * sysdeps/s390/dl-tls.h: Likewise.
20890 * sysdeps/sh/dl-tls.h: Likewise.
20891 * sysdeps/sparc/dl-tls.h: Likewise.
20892 * sysdeps/x86_64/dl-tls.h: Likewise.
20893 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20894
34fe483e
AS
208952011-03-14 Andreas Schwab <schwab@redhat.com>
20896
20897 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20898 rpath element also skip the following colon.
20899 (expand_dynamic_string_token): Add is_path parameter and pass
20900 down to DL_DST_REQUIRED and _dl_dst_substitute.
20901 (decompose_rpath): Call expand_dynamic_string_token with
20902 non-zero is_path. Ignore empty rpaths.
20903 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20904 with zero is_path.
20905
f12a32e6
AS
209062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20907
20908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20909 Make cancelable.
20910
38a7d692
UD
209112011-04-09 Ulrich Drepper <drepper@gmail.com>
20912
20913 [BZ #12655]
20914 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20915 Patch by Filipe David Manana <fdmanana@apache.org>.
20916
e451d22b
AS
209172011-04-07 Andreas Schwab <schwab@redhat.com>
20918
20919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20920 Maintain aligned stack.
20921 (CHECK_RSP): Remove unused macro.
20922
dedc7c7b
UD
209232011-04-03 Ulrich Drepper <drepper@gmail.com>
20924
20925 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20926 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20927
94521213
UD
209282011-04-02 Ulrich Drepper <drepper@gmail.com>
20929
20930 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20931
8cb700c0 20932 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20933
0354e355
L
209342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20935
20936 [BZ #12518]
20937 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20938 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20939 * sysdeps/x86_64/memmove.c: New file.
20940 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20941 (memcpy): Renamed to ...
20942 (__new_memcpy): This.
20943 (memcpy): Provide GLIBC_2_14 memcpy.
20944 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20945 (memcpy): Provide GLIBC_2_2_5 memcpy.
20946
8593482f
UD
209472011-04-01 Ulrich Drepper <drepper@gmail.com>
20948
20949 [BZ #12631]
20950 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20951
81a5726b
AS
209522011-03-30 Andreas Schwab <schwab@redhat.com>
20953
20954 * misc/syncfs.c: New file.
20955 * misc/Makefile (routines): Add syncfs.
20956 * posix/unistd.h: Declare syncfs.
20957 * sysdeps/unix/syscalls.list: Add syncfs.
20958
00e5419f
AS
209592011-04-01 Andreas Schwab <schwab@redhat.com>
20960
20961 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20962 open_by_handle_at.
20963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20968 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20970
748876bf
UD
209712011-04-01 Ulrich Drepper <drepper@gmail.com>
20972
658e451d
UD
20973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20974 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20980
748876bf
UD
20981 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20982 sync_file_range.c with -fexceptions.
20983 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20984 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20985 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20986 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20987 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20988 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20990 sync_file_range as cancellation point
20991 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20992 now a wrapper around __call_sync_file_range with cancellation handling.
20993 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20994 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20995 function name to __call_sync_file_range.
20996 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20997 Add call_sync_file_range.
748876bf 20998
6e63d5e1
AS
209992011-04-01 Andreas Schwab <schwab@redhat.com>
21000
21001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 21002 bits/timex.h.
6e63d5e1 21003
46998f74
UD
210042011-04-01 Ulrich Drepper <drepper@gmail.com>
21005
4c1423ed
UD
21006 * iconv/iconv.h: Fix typo in comment.
21007 * io/fcntl.h: Likewise.
21008 * libio/stdio.h: Likewise.
21009 * posix/spawn.h: Likewise.
21010 * posix/unistd.h: Likewise.
21011 * stdlib/stdlib.h: Likewise.
21012 * time/time.h: Likewise.
21013 * wcsmbs/wchar.h: Likewise.
21014
158648c0
UD
21015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21016 open_by_handle): Add.
21017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21018 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21019 Augment a few comments.
21020 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21025 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21026 open_by_handle.
21027
46998f74
UD
21028 * io/fcntl.h (AT_EMPTY_PATH): Define.
21029
83fe108b
UD
210302011-03-30 Ulrich Drepper <drepper@gmail.com>
21031
21032 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21033 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21034 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21035 to...
21036 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
21037 * Versions.def: Add GLIBC_2.14.
21038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21039 Export.
83fe108b 21040
bb242059
UD
210412011-03-22 Ulrich Drepper <drepper@gmail.com>
21042
21043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21044 round counter.
21045 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21046
c97a1282
L
210472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21048
21049 [BZ #12597]
21050 * string/test-strncmp.c (do_page_test): New function.
21051 (check2): Likewise.
21052 (test_main): Call check2.
21053 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21054
2a115601
UD
210552011-03-20 Ulrich Drepper <drepper@gmail.com>
21056
21057 [BZ #12587]
21058 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21059 Handle cache information in CPU leaf 4.
21060 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21061
8126d904
UD
210622011-03-18 Ulrich Drepper <drepper@gmail.com>
21063
042c49c6 21064 [BZ #12583]
8126d904
UD
21065 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21066 character representation.
21067 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21068
ccfe366e
RA
210692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21070
21071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21072 END(__isnan) to END(__isnanf) to match function entry point/label
21073 EALIGN(__isnanf,...).
21074
c6e13027
JJ
210752011-03-10 Jakub Jelinek <jakub@redhat.com>
21076
21077 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21078
33f85a3f
UD
210792011-03-10 Ulrich Drepper <drepper@gmail.com>
21080
028478fa
UD
21081 [BZ #12510]
21082 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21083 copy from the symbol referenced in the relocation to initialize the
21084 used variable.
21085 Patch by Piotr Bury <pbury@goahead.com>.
21086 * elf/Makefile: Add rules to build and tst-unique3.
21087 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21088 * elf/tst-unique3.cc: New file.
21089 * elf/tst-unique3.h: New file.
21090 * elf/tst-unique3lib.cc: New file.
21091 * elf/tst-unique3lib2.cc: New file.
21092
33f85a3f
UD
21093 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21094
03592fc7
MF
210952011-03-10 Mike Frysinger <vapier@gentoo.org>
21096
21097 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21098 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21099 to _start.
03592fc7 21100
6a5ee102
UD
211012011-03-06 Ulrich Drepper <drepper@gmail.com>
21102
21103 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21104 to-be-loaded object along a path to loader is ld.so.
21105
7e4ba49c
HJ
211062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21107 Ulrich Drepper <drepper@gmail.com>
21108
21109 * sysdeps/x86_64/memset.S: After aligning destination, code
21110 branches to different locations depending on the value of
21111 misalignment, when multiarch is enabled. Fix this.
21112
211132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21114
21115 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21116 Set _x86_64_preferred_memory_instruction for AMD processsors.
21117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21118 Set bit_Prefer_SSE_for_memop for AMD processors.
21119
13a804de
UD
211202011-03-04 Ulrich Drepper <drepper@gmail.com>
21121
21122 * libio/fmemopen.c (fmemopen): Optimize a bit.
21123
9d25c392
AS
211242011-03-03 Andreas Schwab <schwab@redhat.com>
21125
21126 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21127
a5543c6a
RM
211282011-03-03 Roland McGrath <roland@redhat.com>
21129
21130 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21131
012d35f7
DM
211322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21133
7e4ba49c 21134 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21135 __bzero_ultra1 instead of __memset_ultra1.
21136
4bff6e01
AS
211372011-02-23 Andreas Schwab <schwab@redhat.com>
21138 Ulrich Drepper <drepper@gmail.com>
21139
21140 [BZ #12509]
21141 * include/link.h (struct link_map): Add l_orig_initfini.
21142 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21143 returning unsuccessfully.
21144 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21145 close of a file loaded at startup, restore the original l_initfini
21146 list.
21147 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21148 list, store the pointer.
21149 * elf/Makefile ($(objpfx)noload-mem): New rule.
21150 (noload-ENV): Define.
21151 (tests): Add $(objpfx)noload-mem.
21152 * elf/noload.c: Include <memcheck.h>.
21153 (main): Call mtrace. Close all opened handles.
21154
f2092faf
AS
211552011-02-17 Andreas Schwab <schwab@redhat.com>
21156
21157 [BZ #12454]
21158 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21159 dependencies are missing.
21160
6c8a2e88
ST
211612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21162
f2092faf 21163 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21164 Hurd needs munmap.
21165 * sysdeps/mach/hurd/ifreq.h: New file.
21166
84a42118
PB
211672011-01-27 Petr Baudis <pasky@suse.cz>
21168 Ulrich Drepper <drepper@gmail.com>
21169
071f805e 21170 [BZ 12445]#
84a42118
PB
21171 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21172 to extend_alloca().
21173 * stdio-common/bug23.c: New file.
21174 * stdio-common/Makefile (tests): Add bug23.
21175
e23fe25b
AS
211762010-09-28 Andreas Schwab <schwab@redhat.com>
21177 Ulrich Drepper <drepper@gmail.com>
21178
21179 [BZ #12489]
21180 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21181 before performing relro protection. At old place add assertion
21182 to make sure nothing changed.
21183
d3f02e10
NS
211842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21185 Glauber de Oliveira Costa <glommer@gmail.com>
21186
21187 * elf/elf.h: Add new ARM TLS relocs.
21188
d55fd7a5
RA
211892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21190
21191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21192 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21193 cast from r3.
21194 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21195 'tests' variable.
21196 * sysdeps/wordsize-64/tst-writev.c: New file.
21197
2206397e
RA
211982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21199
21200 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21201 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21202 insns in _dl_start to prevent a TOC reference before relocs are
21203 resolved.
21204
e9433893
UD
212052011-02-15 Ulrich Drepper <drepper@gmail.com>
21206
21207 [BZ #12469]
21208 * Makeconfig: Remove RANLIB definition.
21209 * Makerules: Don't use RANLIB.
21210 * aclocal.m4: Remove ranlib test.
21211 * configure.in: No need to check for ranlib.
21212 * elf/rtld-Rules: Don't use RANLIB.
21213
f75286c6
ST
212142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21215
8e31c82d
ST
21216 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21217 protection macro.
21218 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21219 inclusion protection macro.
21220
f75286c6
ST
21221 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21222 SIGRTMIN and SIGRTMAX and print information in that case only when
21223 SIGRTMIN is defined.
21224
c1d0e639
JJ
212252011-02-11 Jakub Jelinek <jakub@redhat.com>
21226
21227 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21228 arginfo fn returning -1.
21229
21230 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21231 and thousands string is zero terminated.
21232
edf9294e
AS
212332011-02-03 Andreas Schwab <schwab@redhat.com>
21234
21235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21236 sysdeps/unix/sysv/linux/bits/socket.h.
21237
2b7e92df
ST
212382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21239
edf9294e
AS
21240 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21241 (__CPU_COUNT): Remove old macros.
21242 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21243 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21244 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21245 (__sched_cpualloc, __sched_cpufree): Add declarations.
21246
a4c7ea7b
UD
212472011-02-05 Ulrich Drepper <drepper@gmail.com>
21248
21249 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21250 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21251 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21252 (readdhstai): Return value of addhstaiX call.
21253 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21254 (addgrbyX): Return value returned by cache_addgr.
21255 (readdgrbyname): Return value returned by addgrbyX.
21256 (readdgrbygid): Likewise.
21257 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21258 (addpwbyX): Return value returned by cache_addpw.
21259 (readdpwbyname): Return value returned by addhstbyX.
21260 (readdpwbyuid): Likewise.
21261 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21262 (addservbyX): Return value returned by cache_addserv.
21263 (readdservbyname): Return value returned by addservbyX:
21264 (readdservbyport): Likewise.
21265 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21266 (addhstbyX): Return value returned by cache_addhst.
21267 (readdhstbyname): Return value returned by addhstbyX.
21268 (readdhstbyaddr): Likewise.
21269 (readdhstbynamev6): Likewise.
21270 (readdhstbyaddrv6): Likewise.
21271 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21272 (readdinitgroups): Return value returned by addinitgroupsX.
21273 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21274 (prune_cache): Keep track of timeout value of re-added entries.
21275 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21276 * nscd/nscd.h: Adjust prototypes of readd* functions.
21277
a0bf67cc
RM
212782011-02-04 Roland McGrath <roland@redhat.com>
21279
21280 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21281 (nis_stats): Likewise.
21282 * nis/nis_modify.c (nis_modify): Likewise.
21283 * nis/nis_remove.c (nis_remove): Likewise.
21284 * nis/nis_add.c (nis_add): Likewise.
21285
21286 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21287
21288 * posix/fnmatch_loop.c: Add some consts.
21289
21290 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21291
435b95eb
L
212922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21293
21294 [BZ #12460]
21295 * config.make.in (config-cflags-novzeroupper): Define.
21296 * configure.in: Substitute libc_cv_cc_novzeroupper.
21297 * elf/Makefile (AVX-CFLAGS): Define.
21298 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21299 (CFLAGS-tst-auditmod4a.c): Likewise.
21300 (CFLAGS-tst-auditmod4b.c): Likewise.
21301 (CFLAGS-tst-auditmod6b.c): Likewise.
21302 (CFLAGS-tst-auditmod6c.c): Likewise.
21303 (CFLAGS-tst-auditmod7b.c): Likewise.
21304 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21305
8517b15e
UD
213062011-02-02 Ulrich Drepper <drepper@gmail.com>
21307
21308 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21309 function to the callback.
21310 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21311
10a656fe
AS
213122011-02-02 Andreas Schwab <schwab@redhat.com>
21313
21314 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21315 of errno.
21316
968dad0a
UD
213172011-01-19 Ulrich Drepper <drepper@gmail.com>
21318
9f94d2ea 21319 [BZ #11724]
968dad0a
UD
21320 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21321 of constructors.
21322 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21323 of destructors.
21324 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21325
21326 [BZ #11724]
21327 * elf/Makefile: Add rules to build and run new test.
21328 * elf/tst-initorder.c: New file.
21329 * elf/tst-initorder.exp: New file.
21330 * elf/tst-initordera1.c: New file.
21331 * elf/tst-initordera2.c: New file.
21332 * elf/tst-initordera3.c: New file.
21333 * elf/tst-initordera4.c: New file.
21334 * elf/tst-initorderb1.c: New file.
21335 * elf/tst-initorderb2.c: New file.
21336 * elf/tst-order-a1.c: New file.
21337 * elf/tst-order-a2.c: New file.
21338 * elf/tst-order-a3.c: New file.
21339 * elf/tst-order-a4.c: New file.
21340 * elf/tst-order-b1.c: New file.
21341 * elf/tst-order-b2.c: New file.
21342 * elf/tst-order-main.c: New file.
21343 New test case by George Gensure <werkt0@gmail.com>.
21344
86e92359
UD
213452010-10-01 Andreas Schwab <schwab@redhat.com>
21346
21347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21348 decoding ACE if AI_CANONIDN.
21349
5d5732b0
UD
213502011-01-18 Ulrich Drepper <drepper@gmail.com>
21351
21352 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21353
a77e8cbc
UD
213542011-01-17 Ulrich Drepper <drepper@gmail.com>
21355
6392473f
UD
21356 * version.h (RELEASE): Bump for 2.13 release.
21357 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21358
620a0529
UD
21359 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21360
18ba70a5
UD
21361 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21362 MADV_NOHUGEPAGE.
32465c3e
UD
21363 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21365 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21369
c0dafcf1
UD
21370 * posix/getconf.c: Update copyright year.
21371 * catgets/gencat.c: Likewise.
21372 * csu/version.c: Likewise.
21373 * debug/catchsegv.sh: Likewise.
21374 * debug/xtrace.sh: Likewise.
21375 * elf/ldconfig.c: Likewise.
21376 * elf/ldd.bash.in: Likewise.
21377 * elf/sprof.c (print_version): Likewise.
21378 * iconv/iconv_prog.c: Likewise.
21379 * iconv/iconvconfig.c: Likewise.
21380 * locale/programs/locale.c: Likewise.
21381 * locale/programs/localedef.c: Likewise.
21382 * malloc/memusage.sh: Likewise.
21383 * malloc/mtrace.pl: Likewise.
21384 * nscd/nscd.c (print_version): Likewise.
21385 * nss/getent.c: Likewise.
21386
a77e8cbc
UD
21387 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21388 PF_CAIF, and PF_ALG.
21389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21390
77e8bddf
AS
213912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21392
1f20b93a
AS
21393 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21394 (modules-names): Use them.
21395 (ifunc-test-modules, ifunc-pie-tests): Define.
21396 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21397 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21398 (test-extras): Likewise.
21399 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21400 $(compile-command.c).
21401 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21402 (all-built-dso): Define.
21403 (check-textrel.out, check-execstack.out): Depend on it.
21404
77e8bddf
AS
21405 * configure.in: Don't override --enable-multi-arch.
21406
bc425b33
UD
214072011-01-15 Ulrich Drepper <drepper@gmail.com>
21408
21409 [BZ #6812]
21410 * nscd/hstcache.c (tryagain): Define.
21411 (cache_addhst): Return tryagain not notfound for temporary errors.
21412 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21413 failed.
21414
794c3ad3
UD
214152011-01-14 Ulrich Drepper <drepper@gmail.com>
21416
70181fdd
UD
21417 [BZ #10563]
21418 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21419 to make the syscall.
21420 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21421
794c3ad3
UD
21422 [BZ #12378]
21423 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21424 and fall back to matching as normal character if the string ends before
21425 the matching ']' is found. This is what POSIX requires.
21426 * posix/testfnm.c: Adjust test result.
21427 * posix/globtest.sh: Adjust test result. Add new test.
21428 * posix/tst-fnmatch.input: Likewise.
21429 * posix/tst-fnmatch2.c: Add new test.
21430
68dc9497
AS
214312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21432
21433 * elf/Makefile (check-execstack): Revert last change. Depend on
21434 check-execstack.h.
21435 (check-execstack.h): New target.
21436 (generated): Add check-execstack.h.
21437 * elf/check-execstack.c: Include "check-execstack.h".
21438 (main): Revert last change.
21439 (handle_file): Return zero if GNU_STACK is absent and
21440 DEFAULT_STACK_PERMS doesn't include PF_X.
21441
451f001b
UD
214422011-01-13 Ulrich Drepper <drepper@gmail.com>
21443
cfa28e56
UD
21444 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21445 in child fails because the descriptor is already closed.
8cf8ce17
UD
21446 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21447 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21448 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21449
1086d70d
UD
21450 [BZ #12397]
21451 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21452 syscall.
21453
451f001b
UD
21454 [BZ #10484]
21455 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21456 temporary buffer used to handle multi lookups locally.
a85b5cb4 21457 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21458
08769175
UD
214592011-01-12 Ulrich Drepper <drepper@gmail.com>
21460
21461 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21462 loader is ld.so.
21463
5e49c52e
UD
214642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21465
21466 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21467 alignment for SSE2.
21468
60522a5f
UD
214692011-01-12 Ulrich Drepper <drepper@gmail.com>
21470
21471 [BZ #12394]
21472 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21473 characters. When rounding increased number of integer digits recompute
21474 number of groups.
21475 * stdio-common/tst-grouping.c: New file.
21476 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21477
f257bbd7
UD
214782011-01-09 Ulrich Drepper <drepper@gmail.com>
21479
21480 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21481 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21482
21483 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21484 void.
21485 * bits/select.h: Likewise.
21486
fa9c15cb
UD
214872011-01-08 Ulrich Drepper <drepper@gmail.com>
21488
21489 * po/ja.po: Update from translation team.
21490
16c2895f
DM
214912011-01-04 David S. Miller <davem@sunset.davemloft.net>
21492
21493 [BZ #11155]
21494 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21495 implementation just like for lxstat, fxstatat, et al.
21496
2543fef2
JM
214972010-12-27 Jim Meyering <meyering@redhat.com>
21498
21499 [BZ #12348]
21500 * posix/regexec.c (build_trtable): Return failure indication upon
21501 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21502
98727dbe
UD
215032010-12-25 Ulrich Drepper <drepper@gmail.com>
21504
5bd6dc5c
UD
21505 [BZ #12201]
21506 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21507 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21509 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21510
97983464
UD
21511 [BZ #12207]
21512 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21513
98727dbe
UD
21514 [BZ #12204]
21515 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21516 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21517
4a531bb0
L
215182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21519
21520 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21521 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21522 script has SORT_BY_INIT_PRIORITY.
21523 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21524 NO_CTORS_DTORS_SECTIONS is defined.
21525 * elf/soinit.c: Likewise.
21526 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21527 NO_CTORS_DTORS_SECTIONS is defined.
21528 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21529 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21530 * sysdeps/sh/init-first.c: Likewise.
21531 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21532
07eb4b71
UD
215332010-12-24 Ulrich Drepper <drepper@gmail.com>
21534
21535 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21536 always use the slow path.
21537
30950a5f
RA
215382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21539
21540 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21541 similar rule which adds the sysdep directories to the header search in
21542 order to pick up the correct platform stackinfo.h.
21543 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21544 perform test if it is, otherwise return successfully without testing.
21545 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21546 DEFAULT_STACK_PERMS define in stackinfo.h.
21547 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21548 defined in stackinfo.h.
21549 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21550 DEFAULT_STACK_PERMS defined in stackinfo.h.
21551 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21552 * sysdeps/ia64/stackinfo.h: Likewise.
21553 * sysdeps/s390/stackinfo.h: Likewise.
21554 * sysdeps/sh/stackinfo.h: Likewise.
21555 * sysdeps/sparc/stackinfo.h: Likewise.
21556 * sysdeps/x86_64/stackinfo.h: Likewise.
21557 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21558 PF_X for powerpc64. Retain PF_X for powerpc32.
21559
db753e2c
UD
215602010-12-19 Ulrich Drepper <drepper@gmail.com>
21561
14b697f7
UD
21562 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21563 accurately.
db753e2c
UD
21564 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21565 GETDENTS_64BIT_ALIGNED.
21566
28300719
UD
215672010-12-14 Ulrich Drepper <dreper@gmail.com>
21568
14b697f7 21569 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21570
4f197237
AS
215712010-12-10 Andreas Schwab <schwab@redhat.com>
21572
dbb0472f
AS
21573 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21574 _GNU_SOURCE.
21575
4f197237
AS
21576 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21577 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21578 Remove __restrict.
21579 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21580 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21581
fb88ac72
UD
215822010-12-09 Ulrich Drepper <drepper@gmail.com>
21583
21584 [BZ #11655]
21585 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21586 are initialized.
21587
42acbb92
JJ
215882010-12-09 Jakub Jelinek <jakub@redhat.com>
21589
21590 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21591
c038d98d
UD
215922010-12-03 Ulrich Drepper <drepper@gmail.com>
21593
21594 * po/it.po: Update from translation team.
21595
3a4a2499
L
215962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21597
21598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21599 unused codes.
21600
1e24cf6e
UD
216012010-11-30 Ulrich Drepper <drepper@gmail.com>
21602
21603 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21604
a7690819
AS
216052010-11-24 Andreas Schwab <schwab@redhat.com>
21606
21607 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21608 specially.
21609 (gaih_getanswer_slice): Likewise.
21610
3bf8d1b1
JJ
216112010-10-20 Jakub Jelinek <jakub@redhat.com>
21612
21613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21614
6db52fbb
PB
216152010-05-31 Petr Baudis <pasky@suse.cz>
21616
21617 [BZ #11149]
21618 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21619 silently even in the chroot mode.
21620
eaca7569
UD
216212010-11-22 Ulrich Drepper <drepper@gmail.com>
21622
21623 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21624 last patch a bit. Pretty printing
21625
3056dcdb
UD
216262010-05-31 Petr Baudis <pasky@suse.cz>
21627
21628 [BZ #10085]
21629 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21630 initialization of skip_initgroups_dyn.
21631
cf7c9078
UD
216322010-11-19 Ulrich Drepper <drepper@gmail.com>
21633
21634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21636
a1fb5e3e
UD
216372010-11-16 Ulrich Drepper <drepper@gmail.com>
21638
21639 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21640
3540d66b
AS
216412010-11-11 Andreas Schwab <schwab@redhat.com>
21642
21643 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21644 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21645 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21646 ($(objpfx)tst-fnmatch-mem): New rule.
21647 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21648 * posix/tst-fnmatch.c (main): Call mtrace.
21649
13b69574
L
216502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21651
21652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21653 Support Intel processor model 6 and model 0x2c.
21654
da93d214
LM
216552010-11-10 Luis Machado <luisgpm@br.ibm.com>
21656
21657 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21658 signed comparison.
21659
8ca52c6e
L
216602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21661
21662 [BZ #12205]
21663 * string/test-strncasecmp.c (check_result): New function.
21664 (do_one_test): Use it.
21665 (check1): New function.
21666 (test_main): Use it.
21667 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21668 Support strcasecmp and strncasecmp.
21669
69da074d
UD
216702010-11-08 Ulrich Drepper <drepper@gmail.com>
21671
21672 [BZ #12194]
21673 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21675
ff02d528
L
216762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21677
21678 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21679 IFUNC support.
21680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21681 memset-x86-64.
21682 * sysdeps/x86_64/multiarch/bzero.S: New file.
21683 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21684 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21685 * sysdeps/x86_64/multiarch/memset.S: New file.
21686 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21688 Set bit_Prefer_SSE_for_memop for Intel processors.
21689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21690 Define.
21691 (index_Prefer_SSE_for_memop): Define.
21692 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21693
344d0b54
LM
216942010-11-04 Luis Machado <luisgpm@br.ibm.com>
21695
21696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21697 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21698
c0dde15b
UD
216992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21700
21701 [BZ #12191]
21702 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21703 (__x86_64_raw_data_cache_size_half): Likewise.
21704 (__x86_64_raw_shared_cache_size): Likewise.
21705 (__x86_64_raw_shared_cache_size_half): Likewise.
21706
21707 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21708 (__x86_64_raw_data_cache_size_half): Likewise.
21709 (__x86_64_raw_shared_cache_size): Likewise.
21710 (__x86_64_raw_shared_cache_size_half): Likewise.
21711 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21712 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21713 and __x86_64_raw_shared_cache_size_half. Round
21714 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21715 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21716 to multiple of 256 bytes.
21717
0e516e0e
MS
217182010-11-03 Ulrich Drepper <drepper@gmail.com>
21719
21720 [BZ #12167]
21721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21722 of inacessible symlinks. Verify result of symlink before returning it.
21723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21724 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21725
0e012e87
ER
217262010-10-28 Erich Ritz <erichritz@gmail.com>
21727
21728 * math/math.h (isinf): Fix typo in comment.
21729
de0ff7bc
UD
217302010-11-01 Ulrich Drepper <drepper@gmail.com>
21731
21732 * po/da.po: Update from translation team.
21733
fa41c84d
UD
217342010-10-26 Ulrich Drepper <drepper@gmail.com>
21735
21736 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21737 is added to the list.
21738
f0967738
AK
217392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21740 Ulrich Drepper <drepper@gmail.com>
21741
21742 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21743 the global list here. Move code to...
21744 (_dl_add_to_namespace_list): ...here. New function.
21745 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21746 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21747 * elf/dl-load.c (lose): Don't remove the element from the list.
21748 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21749 (_dl_map_object): Likewise.
21750
217512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21752
21753 [BZ #12159]
21754 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21755 into all bytes of SSE register.
21756 Patch by Richard Li <richardpku@gmail.com>.
21757
f0967738 217582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21759
21760 [BZ #12140]
21761 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21762 perturbing.
21763
d0b9e94f
MB
217642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21765
21766 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21767 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21768 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21771 submachine.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21773
8e9f92e9
AS
217742010-10-22 Andreas Schwab <schwab@redhat.com>
21775
21776 * include/dlfcn.h (__RTLD_SECURE): Define.
21777 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21778 mode & __RTLD_SECURE instead.
21779 (open_path): Rename preloaded parameter to secure.
21780 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21781 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21782 * elf/dl-deps.c (openaux): Likewise.
21783 * elf/rtld.c (struct map_args): Remove is_preloaded.
21784 (map_doit): Don't use it.
21785 (dl_main): Likewise.
21786 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21787 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21788
bc96fbda
AS
217892010-09-09 Andreas Schwab <schwab@redhat.com>
21790
21791 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21792 (sysd-rules-targets): Remove duplicates.
21793 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21794 rtld-%.$o dependency.
21795
22cd1c9b
AS
217962010-10-18 Andreas Schwab <schwab@redhat.com>
21797
21798 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21799 _dl_map_object do it.
21800
18edac48
UD
218012010-10-19 Ulrich Drepper <drepper@gmail.com>
21802
21803 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21804 fast fma builtins, define the macros in the C99 standard.
21805 (FP_FAST_FMAF): Likewise.
21806 (FP_FAST_FMAL): Likewise.
21807 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21808
21809 * bits/mathdef.h: Update copyright year.
21810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21811
d2050124
MM
218122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21813
21814 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21815 builtins, define the macros in the C99 standard.
21816 (FP_FAST_FMAF): Likewise.
21817 (FP_FAST_FMAL): Likewise.
21818 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21819 multiply/add.
21820 (FP_FAST_FMAF): Likewise.
21821
475facd1
JJ
218222010-10-15 Jakub Jelinek <jakub@redhat.com>
21823
21824 [BZ #3268]
21825 * math/libm-test.inc (fma_test): Some new testcases.
21826 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21828 y and infinite z. Do multiplication by C already in long double.
21829 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21831 y and infinite z. Do bitwise or of inexact bit into u.d.
21832 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21833 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21834 * sysdeps/i386/fpu/s_fma.S: Removed.
21835 * sysdeps/i386/fpu/s_fmal.S: Removed.
21836
7c08a05c
JJ
218372010-10-16 Jakub Jelinek <jakub@redhat.com>
21838
21839 [BZ #3268]
21840 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21842 computation is not scheduled after fetestexcept. Fix value
21843 of minimum denormal long double.
21844
f3f7372d
JJ
218452010-10-14 Jakub Jelinek <jakub@redhat.com>
21846
21847 [BZ #3268]
21848 * math/libm-test.inc (fma_test): Add some more tests.
21849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21850 correctly.
21851
14d43591
AS
218522010-10-15 Andreas Schwab <schwab@redhat.com>
21853
21854 * scripts/data/localplt-s390-linux-gnu.data: New file.
21855 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21856
5e908464
JJ
218572010-10-13 Jakub Jelinek <jakub@redhat.com>
21858
21859 [BZ #3268]
21860 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21861 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21862 instead of dbl-64.
21863 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21864 inlines.
21865 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21867 if one of x and y is very large and the other is subnormal.
21868 * sysdeps/s390/fpu/s_fmaf.c: New file.
21869 * sysdeps/s390/fpu/s_fma.c: New file.
21870 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21871 * sysdeps/powerpc/fpu/s_fma.S: New file.
21872 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21873 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21874 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21875
218762010-10-12 Jakub Jelinek <jakub@redhat.com>
21877
21878 [BZ #3268]
21879 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21880 fma tests.
21881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21882 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21883 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21884 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21885 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21886 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21887 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21888
b833d51f
UD
218892010-10-12 Ulrich Drepper <drepper@redhat.com>
21890
21891 [BZ #12078]
21892 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21893 * posix/bug-regex31.input: Add test case.
21894
1751705d
UD
218952010-10-11 Ulrich Drepper <drepper@gmail.com>
21896
e9b9cbf5
UD
21897 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21898 * posix/bug-regex31.input: New file.
21899
21900 [BZ #12078]
21901 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21902 (parse_sub_exp): Fix last change, use postorder.
21903
ef06edbe
UD
21904 * posix/bug-regex31.c: New file.
21905 * posix/Makefile: Add rules to build and run bug-regex31.
21906
a129c80d
UD
21907 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21908
21909 [BZ #12078]
21910 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21911
b76b818e
UD
21912 [BZ #12108]
21913 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21914 to have entries in sys_siglist.
21915
1751705d
UD
21916 [BZ #12093]
21917 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21918 be NULL.
21919
9ff8d36f
JJ
219202010-10-07 Jakub Jelinek <jakub@redhat.com>
21921
21922 [BZ #3268]
21923 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21924 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21925 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21926 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21927 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21928 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21929 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21930 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21931 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21932 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21933 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21934 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21935 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21936 * math/ftestexcept.c (fetestexcept): Likewise.
21937 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21938 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21939 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21940 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21941 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21942 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21943 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21944
af325969
UD
219452010-10-11 Ulrich Drepper <drepper@gmail.com>
21946
c579b202 21947 [BZ #12107]
af325969
UD
21948 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21949 newline.
21950
67a67b95
UD
219512010-10-06 Ulrich Drepper <drepper@gmail.com>
21952
21953 * string/bug-strstr1.c: New file.
21954 * string/Makefile: Add rules to build and run bug-strstr1.
21955
5fb308bc
EB
219562010-10-05 Eric Blake <eblake@redhat.com>
21957
21958 [BZ #12092]
21959 * string/str-two-way.h (two_way_long_needle): Always clear memory
21960 when skipping input due to the shift table.
21961
45db99c7
UD
219622010-10-03 Ulrich Drepper <drepper@gmail.com>
21963
3b111893
UD
21964 [BZ #12005]
21965 * malloc/mcheck.c: Handle large requests.
21966
45db99c7
UD
21967 [BZ #12077]
21968 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21969 for strncmp and strncasecmp.
21970 * string/stratcliff.c: Add tests for strcmp and strncmp.
21971 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21972
cf7a1eb8
NI
219732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21974
21975 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21976 __set_fpscr.
21977
6484ba5e
AJ
219782010-09-30 Andreas Jaeger <aj@suse.de>
21979
21980 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21981 (CGROUP_SUPER_MAGIC): Define.
21982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21983 Handle btrfs and cgroup file systems.
21984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21985 Likewise.
21986
91c42559
LM
219872010-09-27 Luis Machado <luisgpm@br.ibm.com>
21988
21989 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21990 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21991
87a97932
AK
219922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21993
21994 [BZ #12067]
21995 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21996 trying to locate the ELF header.
21997
c21cc9bc
AS
219982010-09-27 Andreas Schwab <schwab@redhat.com>
21999
22000 [BZ #11611]
22001 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22002 Mask out sign-bit copies when constructing f_fsid.
22003
315970f6
PB
220042010-09-24 Petr Baudis <pasky@suse.cz>
22005
22006 * debug/stack_chk_fail_local.c: Add missing licence exception.
22007 * debug/warning-nop.c: Likewise.
22008
1ac7a2c7
JM
220092010-09-15 Joseph Myers <joseph@codesourcery.com>
22010
22011 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22012 implementing getdents64 using getdents syscall, set d_type if
22013 __ASSUME_GETDENTS32_D_TYPE.
22014
56801c50
AS
220152010-09-16 Andreas Schwab <schwab@redhat.com>
22016
22017 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22018 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22019
dda51327
UD
220202010-09-21 Ulrich Drepper <drepper@redhat.com>
22021
22022 [BZ #12037]
22023 * posix/unistd.h: Undo change of feature selection for ftruncate from
22024 2010-01-11.
22025
8ffcee4a
UD
220262010-09-20 Ulrich Drepper <drepper@redhat.com>
22027
a545ecd9 22028 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
22029 detection.
22030
e24f0a8b
AS
220312010-09-20 Andreas Schwab <schwab@redhat.com>
22032
22033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22034 fanotify_mark.
22035 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22036
7291c56f
AS
220372010-09-14 Andreas Schwab <schwab@redhat.com>
22038
22039 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22040 variables after CHECK_SP call.
22041 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22042
bc5fb037
AS
220432010-09-13 Andreas Schwab <schwab@redhat.com>
22044 Ulrich Drepper <drepper@redhat.com>
22045
22046 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22047 re-relocationg ld.so.
22048 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22049 _dl_init_paths call.
22050 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22051 here anymore.
22052
e66e7419
UD
220532010-09-14 Ulrich Drepper <drepper@redhat.com>
22054
22055 * resolv/res_init.c (__res_vinit): Count the default server we added.
22056
c044aa75
CLT
220572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22058 Ulrich Drepper <drepper@redhat.com>
22059
22060 [BZ #11968]
22061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22062 (____longjmp_chk): Use %ebx for saving value across system call.
22063 Add unwind info.
22064
32cf4069
AS
220652010-09-06 Andreas Schwab <schwab@redhat.com>
22066
22067 * manual/Makefile: Don't mix pattern rules with normal rules.
22068
817328ee
AS
220692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22070
22071 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22072 operation.
22073 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22074 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22075 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22076 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22078 Likewise.
22079
29fddf61
UD
220802010-09-04 Ulrich Drepper <drepper@redhat.com>
22081
22082 [BZ #11979]
22083 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22084 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22085
0959ffc9
UD
220862010-09-02 Ulrich Drepper <drepper@redhat.com>
22087
22088 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22089 * sysdeps/x86_64/addmul_1.S: Likewise.
22090 * sysdeps/x86_64/lshift.S: Likewise.
22091 * sysdeps/x86_64/mul_1.S: Likewise.
22092 * sysdeps/x86_64/rshift.S: Likewise.
22093 * sysdeps/x86_64/sub_n.S: Likewise.
22094 * sysdeps/x86_64/submul_1.S: Likewise.
22095
ece29840
ST
220962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22097
0959ffc9
UD
22098 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22099 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22100 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22101 * bits/sched.h [__need_schedparam]
ece29840 22102 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22103 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22104 (__defined_schedparam): Define to 1.
ece29840
ST
22105 (__sched_param): New structure, identical to sched_param.
22106 (__need_schedparam): Undefine.
22107
e53a31fe
MF
221082010-08-31 Mike Frysinger <vapier@gentoo.org>
22109
fdc0c10d
MF
22110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22111 (epoll_create1): Declare.
22112
e53a31fe
MF
22113 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22114
a726d796
AS
221152010-08-31 Andreas Schwab <schwab@redhat.com>
22116
22117 [BZ #7066]
22118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22119 shifting retval into place.
22120
2f3e3dc7
UD
221212010-09-01 Ulrich Drepper <drepper@redhat.com>
22122
f2933da9
UD
22123 * nis/rpcsvc/nis.h: Update copyright notice.
22124 * nis/rpcsvc/nis.x: Likewise.
22125 * nis/rpcsvc/nis_callback.h: Likewise.
22126 * nis/rpcsvc/nis_callback.x: Likewise.
22127 * nis/rpcsvc/nis_object.x: Likewise.
22128 * nis/rpcsvc/nis_tags.h: Likewise.
22129 * nis/rpcsvc/yp.h: Likewise.
22130 * nis/rpcsvc/yp.x: Likewise.
22131 * nis/rpcsvc/ypupd.h: Likewise.
22132 * nis/yp_xdr.c: Likewise.
22133 * nis/ypupdate_xdr.c: Likewise.
22134
2f3e3dc7
UD
22135 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22136 mainly the body of pmap_getport. Add parameters to specify timeouts.
22137 (pmap_getport): Use __libc_rpc_getport.
22138 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22139 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22140 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22141
f3dcc2f9
AS
221422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22143
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22145 fanotify_mark.
22146
6d34eb5b
RM
221472010-08-27 Roland McGrath <roland@redhat.com>
22148
22149 * sysdeps/i386/i686/multiarch/Makefile
22150 (CFLAGS-varshift.c): New variable.
22151
9ea3de11
UD
221522010-08-27 Ulrich Drepper <drepper@redhat.com>
22153
c96d23fc
UD
22154 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22155 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22156
9ea3de11
UD
22157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22158
22159 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22160
623aac7f
L
221612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22162
22163 * sysdeps/x86_64/strlen.S: Unroll the loop.
22164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22165 strlen-sse2 strlen-sse2-bsf.
22166 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22167 __strlen_no_bsf if bit_Slow_BSF is set.
22168 (__strlen_sse42): Removed.
22169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22170 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22171
8b2b7715
RM
221722010-08-25 Roland McGrath <roland@redhat.com>
22173
22174 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22175 * sysdeps/x86_64/multiarch/varshift.c: New file.
22176 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22177 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22178 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22179 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22180
e73015f2
L
221812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22184 strlen-sse2 strlen-sse2-bsf.
22185 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22186 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22187 (__strlen_sse2): Removed.
22188 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22191 bit_Slow_BSF for Atom.
22192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22193 (index_Slow_BSF): Define.
22194 (HAS_SLOW_BSF): Define.
22195
df24a73e
UD
221962010-08-25 Ulrich Drepper <drepper@redhat.com>
22197
22198 [BZ #10851]
22199 * resolv/res_init.c (__res_vinit): When no server address at all
22200 is given default to loopback.
22201
f2ac4868
RM
222022010-08-24 Roland McGrath <roland@redhat.com>
22203
09055553
RM
22204 * configure.in: Remove config-name.h generation.
22205 * configure: Regenerated.
22206 * config-name.in: File removed.
22207 * scripts/config-uname.sh: New file.
22208 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22209 ($(objdir)config-name.h): New target.
22210
f2ac4868
RM
22211 * sunrpc/rpc_parse.h: Avoid nested comment.
22212
73f27d5e
RH
222132010-08-24 Richard Henderson <rth@redhat.com>
22214 Ulrich Drepper <drepper@redhat.com>
22215 H.J. Lu <hongjiu.lu@intel.com>
22216
22217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22219 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22220 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22221 _mm_alignr_epi8 with _mm_loadu_si128.
22222 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22223 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22224 (__m128i_shift_right): Removed.
22225 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22226 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22227 * sysdeps/x86_64/multiarch/varshift.h: New file.
22228 * sysdeps/x86_64/multiarch/varshift.S: New file.
22229
84b9230c
MF
222302010-08-21 Mike Frysinger <vapier@gentoo.org>
22231
22232 * configure.in: Move assembler checks to before sysdep dir checking.
22233
9bbd0ddc
PB
222342010-08-20 Petr Baudis <pasky@suse.cz>
22235
22236 * LICENSES: Sync the sunrpc license.
22237
9da4bb31
UD
222382010-08-19 Ulrich Drepper <drepper@redhat.com>
22239
a7ab6ec8
UD
22240 * sunrpc/auth_des.c: Update copyright notice once again.
22241 * sunrpc/auth_none.c: Likewise.
22242 * sunrpc/auth_unix.c: Likewise.
22243 * sunrpc/authdes_prot.c: Likewise.
22244 * sunrpc/authuxprot.c: Likewise.
22245 * sunrpc/bindrsvprt.c: Likewise.
22246 * sunrpc/clnt_gen.c: Likewise.
22247 * sunrpc/clnt_perr.c: Likewise.
22248 * sunrpc/clnt_raw.c: Likewise.
22249 * sunrpc/clnt_simp.c: Likewise.
22250 * sunrpc/clnt_tcp.c: Likewise.
22251 * sunrpc/clnt_udp.c: Likewise.
22252 * sunrpc/clnt_unix.c: Likewise.
22253 * sunrpc/des_crypt.c: Likewise.
22254 * sunrpc/des_soft.c: Likewise.
22255 * sunrpc/get_myaddr.c: Likewise.
22256 * sunrpc/getrpcport.c: Likewise.
22257 * sunrpc/key_call.c: Likewise.
22258 * sunrpc/key_prot.c: Likewise.
22259 * sunrpc/openchild.c: Likewise.
22260 * sunrpc/pm_getmaps.c: Likewise.
22261 * sunrpc/pm_getport.c: Likewise.
22262 * sunrpc/pmap_clnt.c: Likewise.
22263 * sunrpc/pmap_prot.c: Likewise.
22264 * sunrpc/pmap_prot2.c: Likewise.
22265 * sunrpc/pmap_rmt.c: Likewise.
22266 * sunrpc/rpc/auth.h: Likewise.
22267 * sunrpc/rpc/auth_unix.h: Likewise.
22268 * sunrpc/rpc/clnt.h: Likewise.
22269 * sunrpc/rpc/des_crypt.h: Likewise.
22270 * sunrpc/rpc/key_prot.h: Likewise.
22271 * sunrpc/rpc/netdb.h: Likewise.
22272 * sunrpc/rpc/pmap_clnt.h: Likewise.
22273 * sunrpc/rpc/pmap_prot.h: Likewise.
22274 * sunrpc/rpc/pmap_rmt.h: Likewise.
22275 * sunrpc/rpc/rpc.h: Likewise.
22276 * sunrpc/rpc/rpc_des.h: Likewise.
22277 * sunrpc/rpc/rpc_msg.h: Likewise.
22278 * sunrpc/rpc/svc.h: Likewise.
22279 * sunrpc/rpc/svc_auth.h: Likewise.
22280 * sunrpc/rpc/types.h: Likewise.
22281 * sunrpc/rpc/xdr.h: Likewise.
22282 * sunrpc/rpc_clntout.c: Likewise.
22283 * sunrpc/rpc_cmsg.c: Likewise.
22284 * sunrpc/rpc_common.c: Likewise.
22285 * sunrpc/rpc_cout.c: Likewise.
22286 * sunrpc/rpc_dtable.c: Likewise.
22287 * sunrpc/rpc_hout.c: Likewise.
22288 * sunrpc/rpc_main.c: Likewise.
22289 * sunrpc/rpc_parse.c: Likewise.
22290 * sunrpc/rpc_parse.h: Likewise.
22291 * sunrpc/rpc_prot.c: Likewise.
22292 * sunrpc/rpc_sample.c: Likewise.
22293 * sunrpc/rpc_scan.c: Likewise.
22294 * sunrpc/rpc_scan.h: Likewise.
22295 * sunrpc/rpc_svcout.c: Likewise.
22296 * sunrpc/rpc_tblout.c: Likewise.
22297 * sunrpc/rpc_util.c: Likewise.
22298 * sunrpc/rpc_util.h: Likewise.
22299 * sunrpc/rpcinfo.c: Likewise.
22300 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22301 * sunrpc/rpcsvc/key_prot.x: Likewise.
22302 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22303 * sunrpc/rpcsvc/mount.x: Likewise.
22304 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22305 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22306 * sunrpc/rpcsvc/rex.x: Likewise.
22307 * sunrpc/rpcsvc/rstat.x: Likewise.
22308 * sunrpc/rpcsvc/rusers.x: Likewise.
22309 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22310 * sunrpc/rpcsvc/spray.x: Likewise.
22311 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22312 * sunrpc/rtime.c: Likewise.
22313 * sunrpc/svc.c: Likewise.
22314 * sunrpc/svc_auth.c: Likewise.
22315 * sunrpc/svc_authux.c: Likewise.
22316 * sunrpc/svc_raw.c: Likewise.
22317 * sunrpc/svc_run.c: Likewise.
22318 * sunrpc/svc_simple.c: Likewise.
22319 * sunrpc/svc_tcp.c: Likewise.
22320 * sunrpc/svc_udp.c: Likewise.
22321 * sunrpc/svc_unix.c: Likewise.
22322 * sunrpc/svcauth_des.c: Likewise.
22323 * sunrpc/xcrypt.c: Likewise.
22324 * sunrpc/xdr.c: Likewise.
22325 * sunrpc/xdr_array.c: Likewise.
22326 * sunrpc/xdr_float.c: Likewise.
22327 * sunrpc/xdr_mem.c: Likewise.
22328 * sunrpc/xdr_rec.c: Likewise.
22329 * sunrpc/xdr_ref.c: Likewise.
22330 * sunrpc/xdr_sizeof.c: Likewise.
22331 * sunrpc/xdr_stdio.c: Likewise.
22332
9da4bb31
UD
22333 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22334 handling.
22335
bdaa77bc
AS
223362010-08-19 Andreas Schwab <schwab@redhat.com>
22337
22338 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22339
fe2f79db
LM
223402010-08-19 Luis Machado <luisgpm@br.ibm.com>
22341
22342 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22345 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22347 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22348 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22349 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22350 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22351 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22352 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22353 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22354 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22355 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22356
b9b42ee0
AB
223572010-07-26 Anton Blanchard <anton@samba.org>
22358
22359 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22360 * malloc/arena.c (heap_trim): Likewise.
22361
1c06ba31
UD
223622010-08-16 Ulrich Drepper <drepper@redhat.com>
22363
22364 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22365 here. Not...
22366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22367 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22368
f8392f40
L
223692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22370
22371 * sysdeps/i386/elf/Makefile: New file.
22372
3162f12e
AS
223732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22374
22375 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22376 from fanotify_init.
22377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22379
28c90b2c
UD
223802010-08-15 Ulrich Drepper <drepper@redhat.com>
22381
22382 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22383 of strncasecmp_l.
1feccb6c 22384 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22385
ca6bb004
UD
223862010-08-14 Ulrich Drepper <drepper@redhat.com>
22387
e9f82e0d
UD
22388 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22389 strncase_l-nonascii.
22390 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22391 Add strncase_l-ssse3.
22392 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22393 * sysdeps/x86_64/strcmp.S: Likewise.
22394 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22395 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22396 * sysdeps/x86_64/strncase.S: New file.
22397 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22398 * sysdeps/x86_64/strncase_l.S: New file.
22399 * string/Makefile (strop-tests): Add strncasecmp.
22400 * string/test-strncasecmp.c: New file.
22401
22402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22403 warning.
22404
ca6bb004
UD
22405 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22406 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22407
052fa7b3
AS
224082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22409
22410 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22411
962dba78
UD
224122010-08-12 Ulrich Drepper <drepper@redhat.com>
22413
22414 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22416 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22417
bebff237
AM
224182010-05-01 Alan Modra <amodra@gmail.com>
22419
22420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22421 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22422 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22423 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22424 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22425 tidying. Don't tail-call __sigjmp_save for static lib.
22426 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22427 save location.
22428 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22429 (CALL_MCOUNT): Add eh info, and nop after bl.
22430 (TAIL_CALL_SYSCALL_ERROR): New macro.
22431 (PSEUDO_RET): Use it.
22432 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22433 Correct save location of integer regs and cr.
22434 (_dl_profile_resolve): Correct cr save location. Delete nops
22435 after bl when SHARED. Reduce cfi size a little by better
22436 placement of cfi directives.
22437 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22438 make a stack frame. Instead use parm save area as a temp.
22439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22440 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22442 Don't make a stack frame for parent, use parm save area.
22443 Increase child stack frame to 112 bytes. Don't save unused reg,
22444 and adjust reg usage. Set up cfi on error recovery and
22445 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22447 (__makecontext): Add dummy nop after jump to exit.
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22449 Use correct parm save area and cr save, reduce stack frame.
22450 Correct cfi for possible PSEUDO_RET frame setup.
22451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22452 Branch to local label emitted by PSEUDO_RET rather than
22453 __syscall_error.
22454
02637374
AS
224552010-08-12 Andreas Schwab <schwab@redhat.com>
22456
22457 [BZ #11904]
22458 * locale/programs/locale.c (print_assignment): New function.
22459 (show_locale_vars): Use it.
22460
c3e2f19b
UD
224612010-08-11 Ulrich Drepper <drepper@redhat.com>
22462
3cdaa6ad
UD
22463 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22464 field.
22465 (struct statfs64): Likewise.
22466 (_STATFS_F_FLAGS): Define.
22467 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22469 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22470 (ST_VALID): Define locally.
22471 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22472 __statvfs_getflags, use the provided value.
22473 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22474 __ASSUME_STATFS_F_FLAGS.
22475
754f7da3
UD
22476 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22477
10b3bedc
UD
22478 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22479 Add sys/fanotify.h.
22480 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22481 fanotify_mask for GLIBC_2.13.
22482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22483 fanotify_init and fanotify_mark.
22484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22485 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22486
c08fb0d7
UD
22487 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22488 Add prlimit.
22489 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22490 prlimit64 for GLIBC_2.13.
22491 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22492 prlimit64.
22493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22494 syscall.
22495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22500 add prlimit alias.
22501 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22502
15bac72b
UD
22503 [BZ #11903]
22504 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22505 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22506
c3e2f19b
UD
22507 * nss/Makefile: Add rules to build and run tst-nss-test1.
22508 * shlib-versions: Add entry for libnss_test1.
22509 * nss/nss_test1.c: New file.
22510 * nss/tst-nss-test1.c: New file.
22511
22512 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22513 (__nss_configure_lookup): Set appropriate entry in
22514 __nss_configure_lookup to true.
22515 * nss/nsswitch.h: Define enum with indeces of databases in
22516 databases and __nss_database_custom arrays. Declare
22517 __nss_database_custom.
22518 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22519 to avoid using nscd when custom rules are installed.
22520 * nss/getXXbyYY_r.c: Likewise.
22521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22522
22523 * nss/nss_files/files-parse.c: Whitespace fixes.
22524
f15ce4d8
UD
225252010-08-09 Ulrich Drepper <drepper@redhat.com>
22526
22527 [BZ #11883]
22528 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22529 * posix/fnmatch_loop.c: Likewise.
22530
d22e4cc9
AK
225312010-07-17 Andi Kleen <ak@linux.intel.com>
22532
22533 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22534 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22535 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22536 * Versions.def [GLIBC_2.13]: Add.
22537
805bc17d
UD
225382010-08-06 Ulrich Drepper <drepper@redhat.com>
22539
22540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22541 Also fail if tpwd after pwuid call is NULL.
22542
5a42321d
ST
225432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22544
22545 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22546 when converting to ms.
22547
fd3ebeda
ST
225482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22549
22550 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22551 EOPNOTSUPP errors with ENOTTY.
22552 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22553 EOPNOTSUPP errors with ENOTTY.
22554
73507d3a
UD
225552010-07-31 Ulrich Drepper <drepper@redhat.com>
22556
22557 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22558 Add strcasecmp_l-ssse3.
22559 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22560 strcasecmp.
22561 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22562 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22563 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22564
fe36dd02
UD
225652010-07-30 Ulrich Drepper <drepper@redhat.com>
22566
66f6765a
UD
22567 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22568
42e08a54
UD
22569 * string/Makefile (strop-tests): Add strcasecmp.
22570 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22571 strcasecmp_l-nonascii.
22572 (gen-as-const-headers): Add locale-defines.sym.
22573 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22574 * sysdeps/x86_64/strcasecmp.S: New file.
22575 * sysdeps/x86_64/strcasecmp_l.S: New file.
22576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22577 * sysdeps/x86_64/locale-defines.sym: New file.
22578 * string/test-strcasecmp.c: New file.
22579
fe36dd02
UD
22580 * string/test-strcasestr.c: Test both ends of the range of characters.
22581 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22582
48cbc0d6
RM
225832010-07-29 Roland McGrath <roland@redhat.com>
22584
76e6d6bc 22585 [BZ #11856]
48cbc0d6
RM
22586 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22587
880113d9
UD
225882010-07-27 Ulrich Drepper <drepper@redhat.com>
22589
22590 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22591 for ld.so.
22592
deb9cabb
AS
225932010-07-27 Andreas Schwab <schwab@redhat.com>
22594
22595 * manual/memory.texi (Malloc Tunable Parameters): Document
22596 M_PERTURB.
22597
1c7570ff
RM
225982010-07-26 Roland McGrath <roland@redhat.com>
22599
22600 [BZ #11840]
22601 * configure.in (-fgnu89-inline check): Set and substitute
22602 gnu89_inline, not libc_cv_gnu89_inline.
22603 * configure: Regenerated.
22604 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22605
24fb0f88
UD
226062010-07-26 Ulrich Drepper <drepper@redhat.com>
22607
22608 * string/test-strnlen.c: New file.
22609 * string/Makefile (strop-tests): Add strnlen.
22610 * string/tester.c (test_strnlen): Add a few more test cases.
22611 * string/tst-strlen.c: Better error reporting.
22612
22613 * sysdeps/x86_64/strnlen.S: New file.
22614
8e96b93a
UD
226152010-07-24 Ulrich Drepper <drepper@redhat.com>
22616
22617 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22618 lower-latency instructions.
22619
dbc676d4
UD
226202010-07-23 Ulrich Drepper <drepper@redhat.com>
22621
22622 * string/test-strcasestr.c: New file.
22623 * string/test-strstr.c: New file.
22624 * string/Makefile (strop-tests): Add strstr and strcasestr.
22625 * string/str-two-way.h: Don't undefine MAX.
22626 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22627
f6a31e0e
AS
226282010-07-21 Andreas Schwab <schwab@redhat.com>
22629
22630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22631 strcasestr-nonascii.
22632 (CFLAGS-strcasestr-nonascii.c): Define.
22633 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22635 Remove unused attribute.
22636
5dbc3b6c
RM
226372010-07-20 Roland McGrath <roland@redhat.com>
22638
22639 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22640 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22641 ld.so.cache was broken. With it, there is no way to disable dsocaps
22642 like LD_HWCAP_MASK can disable hwcaps.
22643
23d101d8
EPM
226442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22645
22646 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22647
cc9f2e47
UD
226482010-07-16 Ulrich Drepper <drepper@redhat.com>
22649
22650 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22651 call in strcasestr.
22652 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22653 __strcasestr_sse42_nonascii.
22654 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22655 strcasestr-nonascii.c.
22656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22657
77c1b069
LM
226582010-06-15 Luis Machado <luisgpm@br.ibm.com>
22659
22660 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22664
440566c3
UD
226652010-07-09 Ulrich Drepper <drepper@redhat.com>
22666
22667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22668 fcntl.
22669
5be9d05d
AS
226702010-07-06 Andreas Schwab <schwab@redhat.com>
22671
c30b7ee2 22672 [BZ #11577]
5be9d05d
AS
22673 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22674 dl_signal_cerror.
22675
8a492a67
UD
226762010-07-06 Ulrich Drepper <drepper@redhat.com>
22677
22678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22679 _PC_PIPE_BUF using F_GETPIPE_SZ.
22680
713df3d5
RM
226812010-07-05 Roland McGrath <roland@redhat.com>
22682
22683 * manual/arith.texi (Rounding Functions): Fix rint description
22684 implicit in round description.
22685
702e8f14
UD
226862010-07-02 Ulrich Drepper <drepper@redhat.com>
22687
22688 * elf/Makefile: Fix linking for a few tests to make recent linker
22689 happy.
22690
52ed8be9
AS
226912010-06-30 Andreas Schwab <schwab@redhat.com>
22692
22693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22694 $(common-objpfx)libc_nonshared.a.
22695
f47c9a11
LM
226962010-06-21 Luis Machado <luisgpm@br.ibm.com>
22697
22698 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22699 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22700 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22701 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22702 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22704 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22705 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22720 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22721 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22722 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22723 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22724 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22725 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22726 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22727 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22728 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22729 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22730 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22731 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22746
6fb8cbcb
L
227472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22748
22749 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22750 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22751 * string/memmove.c (memmove): Renamed to ...
22752 (MEMMOVE): ...this. Default to memmove.
22753 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22754 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22755 (END_CHK): Define.
22756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22757 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22758 mempcpy-ssse3-back memmove-ssse3-back.
22759 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22762 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22763 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22764 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22765 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22766 * sysdeps/x86_64/multiarch/memmove.c: New file.
22767 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22768 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22769 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22770 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22771 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22773 Define.
22774 (index_Fast_Copy_Backward): Define.
22775 (HAS_ARCH_FEATURE): Define.
22776 (HAS_FAST_REP_STRING): Define.
22777 (HAS_FAST_COPY_BACKWARD): Define.
22778
4e733bac 227792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22780
22781 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22782 Restore proper fallback handling.
22783
63c4ed22
UD
227842010-06-19 Ulrich Drepper <drepper@redhat.com>
22785
ac2b484c
UD
22786 [BZ #11701]
22787 * posix/group_member.c (__group_member): Correct checking loop.
22788
63c4ed22
UD
22789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22790 OOM in getpwuid_r correctly. Return error number when the caller
22791 should return, otherwise -1.
22792 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22793 call returning > 0 value.
22794 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22795
765ade4b
AS
227962010-06-07 Andreas Schwab <schwab@redhat.com>
22797
22798 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22799 libc_nonshared.a from targets in modules-names.
22800
80da2e09
KS
228012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22802
22803 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22804 requires it.
22805
158db122
LM
228062010-06-10 Luis Machado <luisgpm@br.ibm.com>
22807
22808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22809 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22812
caa78cf8
AS
228132010-06-02 Andreas Schwab <schwab@redhat.com>
22814
22815 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22816
b2ef2c01
UD
228172010-06-14 Ulrich Drepper <drepper@redhat.com>
22818
22819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22820 and F_GETPIPE_SZ.
22821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22825 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22827
fbd643b6
RM
228282010-06-14 Roland McGrath <roland@redhat.com>
22829
22830 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22831
f32f2869
JJ
228322010-06-07 Jakub Jelinek <jakub@redhat.com>
22833
22834 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22835 __REDIRECT followed by __THROW.
22836 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22837 * posix/getopt.h (getopt): Likewise.
22838
2a50c078
EPM
228392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22840
22841 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22842 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22843 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22844 in AT_FLAGS.
22845 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22846 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22847
eb5ad2eb
LM
228482010-05-28 Luis Machado <luisgpm@br.ibm.com>
22849
22850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22851
3c88fe1e
L
228522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22853
22854 [BZ #11640]
22855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22856 Properly check family and model.
22857
d2f73151
TY
228582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22859
22860 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22861
ebd2e13d
LM
228622010-05-24 Luis Machado <luisgpm@br.ibm.com>
22863
22864 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22865
b32b8b45
UD
228662010-05-21 Ulrich Drepper <drepper@redhat.com>
22867
22868 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22869 symbol reference.
22870
9acbe24d
AS
228712010-05-19 Andreas Schwab <schwab@redhat.com>
22872
22873 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22874 symbol reference.
22875
f0ccf6ea
AS
228762010-05-21 Andreas Schwab <schwab@redhat.com>
22877
3d04ff3a
AS
22878 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22879 and internal_recvmmsg.
22880 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22881 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22882 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22883 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22884
f0ccf6ea
AS
22885 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22886 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22887 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22888
5b08ac57
AS
228892010-05-20 Andreas Schwab <schwab@redhat.com>
22890
22891 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22892
4828935d
LM
228932010-05-17 Luis Machado <luisgpm@br.ibm.com>
22894
22895 POWER7 optimizations.
22896 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22897 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22898
373d545e
UD
228992010-05-19 Ulrich Drepper <drepper@redhat.com>
22900
22901 * version.h: Update for 2.13 development version.
22902
21a2b1ae
AS
229032010-05-12 Andrew Stubbs <ams@codesourcery.com>
22904
22905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22906 exceptions. Return 0.
22907
3f7dcb2b
RM
229082010-05-07 Roland McGrath <roland@redhat.com>
22909
22910 * elf/ldconfig.c (main): Add a const.
22911
5f24d53a 229122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22913
a160f8d8
UD
22914 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22915 (args_options): Add no-idn option.
22916 (ahosts_keys_int): Add idn_flags to ai_flags.
22917 (parse_option): Handle 'i' option to clear idn_flags.
22918
5f24d53a
UD
22919 * malloc/malloc.c (_int_free): Possible race in the most recently
22920 added check. Only act on the data if no current modification
22921 happened.
265bb1ce
UD
22922
22923See ChangeLog.17 for earlier changes.