]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update powerpc libm-test ULPs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4e6e34e6
AS
12012-11-23 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
7c7feb47
JM
52012-11-22 Joseph Myers <joseph@codesourcery.com>
6
7184dcdf
JM
7 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8 LDBL_MANT_DIG == 106]: Disable some tests.
9 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10 Likewise.
11 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12 Likewise.
13
0a42601f
JM
14 [BZ #14871]
15 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16 input for small inputs. Return +/- pi/2 for large inputs.
17 * math/libm-test.inc (atan_test): Add more tests.
18
79c9b9fe
JM
19 * sysdeps/generic/unwind-dw2-fde-glibc.c
20 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21 __attribute__ ((unused)).
22
c60d3bf2
JM
23 [BZ #14645]
24 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25 x * y if x and y are nonzero and z is zero.
26
ef1e0867
JM
27 [BZ #14811]
28 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29 nonzero exponents with absolute value below 0x1p-117 to +/-
30 0x1p-117.
31
1468ded3
JM
32 [BZ #14869]
33 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34 up arguments below 2**-450, not just those below 2**-500.
35 * math/libm-test.inc (hypot_test): Add another test.
36
8e27e3cc
JM
37 [BZ #14868]
38 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39 Return a+b for ratio over 2**120, not 2**60.
40 * math/libm-test.inc (hypot_test): Add another test.
41
c9c0279b
JM
42 * math/libm-test.inc (clog_test): Use
43 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
44 (clog10_test): Likewise.
45
7c7feb47
JM
46 [BZ #6778]
47 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48
fff1530e
AS
492012-11-22 Andreas Schwab <schwab@suse.de>
50
51 * sysdeps/i386/fpu/libm-test-ulps: Update.
52
94558d30
PT
532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
54
55 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56 printf output with newline.
57
7e1be741
L
582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
59
6bfea974
L
60 [BZ #14865]
61 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63 -z nodlopen, -z initfirst and -z execstack support.
64 * configure: Regenerated.
65
7e1be741
L
66 * elf/elf.h (DF_1_NODIRECT): New macro.
67 (DF_1_IGNMULDEF): Likewise.
68 (DF_1_NOKSYMS): Likewise.
69 (DF_1_NOHDR): Likewise.
70 (DF_1_EDITED): Likewise.
71 (DF_1_NORELOC): Likewise.
72 (DF_1_SYMINTPOSE): Likewise.
73 (DF_1_GLOBAUDIT): Likewise.
74 (DF_1_SINGLETON): Likewise.
75 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
76 DT_1_SUPPORTED_MASK bits.
77 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
78
105ce2ce
CD
792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
80
81 * sysdeps/unix/make-syscalls.sh: Document prefixes.
82
123be9de
TS
832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
84
d072f3f7
TS
85 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
86 macro.
87
123be9de
TS
88 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
89 (sendmmsg): Move declarations...
90 * socket/sys/socket.h: ... here.
91 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
92 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
93 include it from...
94 * socket/recvmmsg.c: ... this new file.
95 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
96 (sendmmsg): Rename to __sendmmsg, create weak alias and make
97 definition of __sendmmsg hidden.
98 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
99 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
100 Move ENOSYS stub into and include it from...
101 * socket/sendmmsg.c: ... this new file.
102 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
103 (sysdep_routines): Move recvmmsg and sendmmsg...
104 * socket/Makefile (routines): ... here.
105 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
106 (GLIBC_PRIVATE): Add __sendmmsg.
107 * include/sys/socket.h (__sendmmsg): Add declarations.
108 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
109 sendmmsg.
110
cf9a5d18
JM
1112012-11-20 Joseph Myers <joseph@codesourcery.com>
112
113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
114 variable I1 with __attribute__ ((unused)).
115 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
116
ecd4caf9
JM
1172012-11-19 Joseph Myers <joseph@codesourcery.com>
118
be14d48f
JM
119 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
120 DUMMY variables with __attribute__ ((unused)).
121
ecd4caf9
JM
122 * bits/byteswap.h: Include <bits/types.h>.
123 (__bswap_64): Use __uint64_t instead of unsigned long long int.
124
986cab95
PT
1252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
126
127 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
128 string_t. Do not manually set errno.
129 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
130 length with __strnlen. Make sure to both set errno and return it on
131 failure.
132
6d33cc9d
DM
1332012-11-19 David S. Miller <davem@davemloft.net>
134
135 With help from Joseph Myers.
136 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
137 very large arguments properly.
138 * math/libm-test.inc (atan_test): New tests.
139 (atan2_test): New tests.
140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
142
ee663277
JM
1432012-11-19 Joseph Myers <joseph@codesourcery.com>
144
877f2d8e
JM
145 [BZ #14856]
146 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
147 Define to 3.
148
116fc08a
JM
149 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
150 [POSIX] (EADDRNOTAVAIL): Likewise.
151 [POSIX] (EAFNOSUPPORT): Likewise.
152 [POSIX] (EALREADY): Likewise.
153 [POSIX] (ECONNABORTED): Likewise.
154 [POSIX] (ECONNREFUSED): Likewise.
155 [POSIX] (ECONNRESET): Likewise.
156 [POSIX] (EDESTADDRREQ): Likewise.
157 [POSIX] (EDQUOT): Likewise.
158 [POSIX] (EHOSTUNREACH): Likewise.
159 [POSIX] (EIDRM): Likewise.
160 [POSIX] (EISCONN): Likewise.
161 [POSIX] (ELOOP): Likewise.
162 [POSIX] (EMULTIHOP): Likewise.
163 [POSIX] (ENETDOWN): Likewise.
164 [POSIX] (ENETUNREACH): Likewise.
165 [POSIX] (ENOBUFS): Likewise.
166 [POSIX] (ENODATA): Likewise.
167 [POSIX] (ENOLINK): Likewise.
168 [POSIX] (ENOMSG): Likewise.
169 [POSIX] (ENOPROTOOPT): Likewise.
170 [POSIX] (ENOSR): Likewise.
171 [POSIX] (ENOSTR): Likewise.
172 [POSIX] (ENOTCONN): Likewise.
173 [POSIX] (ENOTSOCK): Likewise.
174 [POSIX] (EOPNOTSUPP): Likewise.
175 [POSIX] (EOVERFLOW): Likewise.
176 [POSIX] (EPROTO): Likewise.
177 [POSIX] (EPROTONOSUPPORT): Likewise.
178 [POSIX] (EPROTOTYPE): Likewise.
179 [POSIX] (ESTALE): Likewise.
180 [POSIX] (ETIME): Likewise.
181 [POSIX] (ETXTBSY): Likewise.
182 [POSIX] (EWOULDBLOCK): Likewise.
183 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
184 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
185 [POSIX] (SEEK_CUR): Likewise.
186 [POSIX] (SEEK_END): Likewise.
187 [POSIX || UNIX98] (mode_t): Do not require.
188 [POSIX] (off_t): Likewise.
189 [POSIX] (pid_t): Likewise.
190 [POSIX] (sys/stat.h): Do not allow header.
191 [POSIX] (unistd.h): Likewise.
192 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
193 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
194 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
195 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
196 require.
197 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
198 sigevent): Specify elements.
199 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
200 entry.
201 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
202 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
203
a483863f
JM
204 * conform/data/cpio.h-data [POSIX]: Disable whole file.
205 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
206 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
207 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
208 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
209 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
210 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
211 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
212 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
213 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
214 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
215 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
216 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
217 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
218 Likewise.
219 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
220 Likewise.
221 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
222 Likewise.
223 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
224 Likewise.
225 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
226 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
227 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
228 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
229 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
230 Specify lower bound on value.
231 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
232 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
233 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
234 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
235 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
236 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
237 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
238 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
239 value.
240 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
241 as optional.
242 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
243 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
244 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
245 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
246 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
247 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
248 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
249 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
250 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
251 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
252 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
253 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
254 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
255 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
256 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
257 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
258 entry.
259 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
260 optional.
261 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
262 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
263 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
264 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
265 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
266 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
267 Likewise.
268 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
269 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
270 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
271 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
272 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
273 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
274 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
275 as optional.
276 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
277 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
278 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
279 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
280 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
281 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
282 specify as optional.
283 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
284 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
285 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
286 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
287 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
288 [XPG3] (NL_LANGMAX): Likewise.
289 [POSIX || XPG3] (NL_MSGMAX): Likewise.
290 [POSIX || XPG3] (NL_NMAX): Likewise.
291 [POSIX || XPG3] (NL_SETMAX): Likewise.
292 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
293 [XPG3] (NZERO): Likewise.
294 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
295 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
296 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
297 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
298 (REG_ERANGE): Expect.
299 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
300 optional-constant.
301 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
302 Use (void) in prototype.
303 [POSIX] (*_t): Allow.
304 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
305 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
306 (WRDE_BADVAL): Expect.
307
5ba924e3
JM
308 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
309 expect.
310 [XPG3 || XPG4] (O_RSYNC): Likewise.
311 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
312 Likewise.
313 [XPG3 || XPG4] (pthread_sigmask): Likewise.
314 [XPG3 || XPG4] (sigqueue): Likewise.
315 [XPG3 || XPG4] (sigtimedwait): Likewise.
316 [XPG3 || XPG4] (sigwaitinfo): Likewise.
317 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
318 [XPG3 || XPG4] (vsnprintf): Likewise.
319 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
320 Likewise.
321 [XPG3 || XPG4] (blksize_t): Likewise.
322 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
323 Likewise.
324 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
325 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
326 [XPG3 || XPG4] (struct itimerspec): Likewise.
327 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
328 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
329 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
330 [XPG3 || XPG4] (clockid_t): Likewise.
331 [XPG3 || XPG4] (timer_t): Likewise.
332 [XPG3 || XPG4] (clock_getres): Likewise.
333 [XPG3 || XPG4] (clock_gettime): Likewise.
334 [XPG3 || XPG4] (clock_settime): Likewise.
335 [XPG3 || XPG4] (nanosleep): Likewise.
336 [XPG3 || XPG4] (timer_create): Likewise.
337 [XPG3 || XPG4] (timer_delete): Likewise.
338 [XPG3 || XPG4] (timer_gettime): Likewise.
339 [XPG3 || XPG4] (timer_getoverrun): Likewise.
340 [XPG3 || XPG4] (timer_settime): Likewise.
341 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
342 [XPG3 || XPG4] (getlogin_r): Likewise.
343 [XPG3 || XPG4] (pread): Likewise.
344 [XPG3 || XPG4] (pthread_atfork): Likewise.
345 [XPG3 || XPG4] (pwrite): Likewise.
346
ee663277
JM
347 [BZ #14835]
348 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
349 <bits/siginfo.h>.
350
942caa16
PT
3512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
352
e19af380
PT
353 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
354 finalizing MALLSTREAM.
355
942caa16
PT
356 * sysdeps/mach/hurd/syncfs.c: New file.
357
cfde9b46
SP
3582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
359
360 [BZ #14719]
361 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
362 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
363 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
364 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
365 (_nss_dns_gethostbyname4_r): Likewise.
366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
367 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
368
f6da27e5
PH
3692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
370
371 [BZ #13763]
372 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
373
6665d4a2
SM
3742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
375
1f51ee92
SM
376 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
377 * elf/cache.c (print_entry): Print ",AArch64" for
378 FLAG_AARCH64_LIB64
379
6665d4a2
SM
380 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
381 * elf/cache.c (print_entry): Print ",hard-float" for
382 FLAG_ARM_LIBHF.
383
05b227bd
DM
3842012-11-18 David S. Miller <davem@davemloft.net>
385
386 With help from Joseph Myers.
387 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
388 cutoff to 2**-13.
389 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
390 cutoff to 2**-25.
391 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
392 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
393 small.
394 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
395 * math/libm-test.inc (y0_test): New tests.
396 (y1_test): New tests.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
400
786b0b67
AS
4012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
402
403 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
404 64-bit targets.
405 * configure: Regenerated.
406
8e18b86d
DM
4072012-11-17 David S. Miller <davem@davemloft.net>
408
409 [BZ #14811]
410 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
411 nonzero exponents with absolute value below 0x1p-128 to +/-
412 0x1p-128.
413
531f1ae0
JM
4142012-11-17 Joseph Myers <joseph@codesourcery.com>
415
12df29e2
JM
416 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
417
150dc1a0
JM
418 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
419
531f1ae0
JM
420 * posix/getconf-speclist.c: New file.
421 * posix/posix-envs.def: Likewise.
422 * posix/confstr.c (START_ENV_GROUP): New macro.
423 (END_ENV_GROUP): Likewise.
424 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
425 (KNOWN_PRESENT_ENV_STRING): Likewise.
426 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
427 (UNKNOWN_ENVIRONMENT): Likewise.
428 (confstr): Include posix-envs.def instead of handling
429 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
430 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
431 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
432 (END_ENV_GROUP): Likewise.
433 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
434 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
435 (UNKNOWN_ENVIRONMENT): Likewise.
436 (__sysconf): Include posix-envs.def instead of handling associated
437 cases directly here.
438 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
439 preprocessing getconf-speclist.c rather than running getconf or
440 generating empty file.
441
a93f9cbc
PT
4422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
443
444 * scripts/check-local-headers.sh: Ignore 'mach' headers.
445
d64d9f87
AL
4462012-11-16 Andrej Lajovic <natrij@gmail.com>
447
448 [BZ #14672]
449 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
450
447885eb
DM
4512012-11-16 David S. Miller <davem@davemloft.net>
452
453 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
454 smaller than LDBL_EPSILON/2.0L, just return xm1.
455
bcbf9830
L
4562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
457
458 * elf/tst-array1.c (init): Set constructor priority to 1000.
459 (fini): Set destructor priority to 1000.
460 * elf/tst-array2dep.c: Likewise.
461
2b766585
SP
4622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
463
464 [BZ #11741]
465 * libio/fileops.c (_IO_new_file_write): Correctly return error.
466 (_IO_new_file_xsputn): Also return EOF if none of the input
467 data was written when overflow failed.
468 * libio/iopadn.c (_IO_padn): Likewise.
469 * libio/iowpadn.c (_IO_wpadn): Likewise.
470 * stdio-common/tst-put-error.c: Add copyright notice.
471 (do_test): Add case for printing padded string.
472 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
473 _IO_padn returned error.
474 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
475 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
476 return EOF.
477
b1848fde
SP
4782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
479
480 * libio/libioP.h: Add comment note that the references to C++
481 bits are now obsolete.
482
2fd89785
MS
4832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
484
485 * math/libm-test.inc (check_complex): Use asprintf.
486
e3ea5409
JM
4872012-11-14 Joseph Myers <joseph@codesourcery.com>
488
489 * debug/pcprofiledump.c (print_version): Update copyright year.
490 * malloc/memusagestat.c (print_version): Likewise.
491
2e64d265
L
4922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
493
494 [BZ #14831]
495 * elf/Makefile (tests): Add tst-audit8.
496 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
497 ($(objpfx)tst-audit8.out): New target.
498 (tst-audit8-ENV): New variable.
499 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
500 audit if l_reloc_result is NULL.
501 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
502 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
503 * elf/tst-audit8.c: New file.
504
c485e4d2
MS
5052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
506
507 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
508 * misc/Makefile (CFLAGS-select.c): Define.
509 * posix/Makefile (CFLAGS-pause.c): Define.
510
3a0d900a
DM
5112012-11-13 David S. Miller <davem@davemloft.net>
512
513 * crypt/Makefile: Move test targets after toplevel Rules
514 inclusion. Grab any necessary sysdep routines when linking.
515 * crypt/md5.c (md5_process_block): Remove define, we will always
516 name it __md5_process_block.
517 (md5_finish_ctx): Update md5_process_block call.
518 (md5_stream): Likewise.
519 (md5_process_bytes): Likewise.
520 (md5_process_block): Rename to __md5_process_block and move to ...
521 * crypt/md5-block.c: ... here.
522 * crypt/sha256.c (sha256_process_block): Move to ...
523 * crypt/sha256-block.c: ... here.
524 * crypt/sha512.c (sha512_process_block): Move to ...
525 * crypt/sha512-block.c: ... here.
526 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
527 path.
528 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
529 * sysdeps/sparc/sparc64/multiarch/Makefile
530 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
531 crypt subdir.
532 (localedef-aux): Add md5 crypto assembler when in locale subdir.
533 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
534 multiarch changes.
535 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
536 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
537 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
538 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
539 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
540 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
541 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
542 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
543 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
544 file.
545 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
546 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
547 file.
548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
549
8ca89318
JM
5502012-11-13 Joseph Myers <joseph@codesourcery.com>
551
e27d476a
JM
552 * timezone/tzselect.ksh: Update from tzcode git revision
553 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
554 * timezone/zdump.c: Likewise.
555 * timezone/zic.c: Likewise.
556 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
557 in TZVERSION setting, not $(PKGVERSION).
558 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
559 REPORT_BUGS_TO settings.
560
8ca89318
JM
561 [BZ #14838]
562 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
563 macro.
564
47594329
MS
5652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
566
567 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
568 detection to immediately after _FP_ROUND().
569 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
570 bits are 0.
571
640ac3f1
DM
5722012-11-11 David S. Miller <davem@davemloft.net>
573
574 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
575 inttypes.h
576 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
577 __close rather than their public counterparts.
578
3d2577bb
JM
5792012-11-10 Joseph Myers <joseph@codesourcery.com>
580
581 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
582 file.
583 [UNIX98] (sem_timedwait): Do not expect.
584 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
585 [XPG4 || UNIX98] (sockatmark): Do not expect.
586 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
587 (clock_getcpuclockid): Do not expect.
588 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
589 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
590 Do not expect.
591 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
592 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
593 [UNIX98] (vwscanf): Likewise.
594 [UNIX98] (vswscanf): Likewise.
595
fb1ae1ee
JM
5962012-11-09 Joseph Myers <joseph@codesourcery.com>
597
9ec6f8bd
JM
598 * timezone/version.h: Remove file.
599 * timezone/README: Do not refer to version.h.
600 * timezone/Makefile ($(objpfx)zic.o): New dependency on
601 $(objpfx)version.h.
602 ($(objpfx)zdump.o): Likewise.
c3f81911 603 ($(objpfx)version.h): New target.
9ec6f8bd 604
0aa8f8a1
JM
605 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
606 2012i.
607 * timezone/README: Don't mention modification to tzselect.ksh.
608 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
609 work on unmodified tzselect.ksh. Substitute version numbers in
610 tzselect.ksh.
611
4e87147f
JM
612 * Makefile (format-me): Remove.
613 (INSTALL): Adjust indentation. Use commands directly instead of
614 using $(format-me).
615
8b748aed
JM
616 * aclocal.m4 (ACX_PKGVERSION): New macro.
617 (ACX_BUGURL): Likewise.
618 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
619 (PKGVERSION): New AC_DEFINE_UNQUOTED.
620 (REPORT_BUGS_TO): Likewise.
621 * configure: Regenerated.
622 * config.h.in (PKGVERSION): New macro.
623 (REPORT_BUGS_TO): Likewise.
624 * config.make.in (PKGVERSION): New variable.
625 (PKGVERSION_TEXI): Likewise.
626 (REPORT_BUGS_TO): Likewise.
627 (REPORT_BUGS_TEXI): Likewise.
628 * Makefile (format-me): Use -I$(common-objpfx)manual.
629 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
630 ($(common-objpfx)manual/%): New target.
631 (manual/%): Remove target.
632 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
633 (print_version): Use PKGVERSION.
634 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
635 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
636 and REPORT_BUGS_TO.
637 ($(objpfx)xtrace): Likewise.
638 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
639 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
640 (print_version): Use PKGVERSION.
641 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
642 (do_version): Use PKGVERSION.
643 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
644 REPORT_BUGS_TO.
645 (common-ldd-rewrite): Likewise.
646 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
647 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
648 (print_version): Use PKGVERSION.
649 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
650 * elf/pldd.c (argp_program_bug_address): Remove variable.
651 (more_help): New function.
652 (argp): Use more_help.
653 (print_version): Use PKGVERSION.
654 * elf/sln.c (main): Use PKGVERSION.
655 (usage): Use REPORT_BUGS_TO.
656 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
657 (top level): Use PKGVERSION.
658 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
659 (print_version): Use PKGVERSION.
660 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
661 (print_version): Use PKGVERSION.
662 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
663 (print_version): Use PKGVERSION.
664 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
665 (print_version): Use PKGVERSION.
666 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
667 (print_version): Use PKGVERSION.
668 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
669 (print_version): Use PKGVERSION.
670 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
671 and BUGURL.
672 ($(objpfx)memusage): Likewise.
673 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
674 (do_version): Use PKGVERSION.
675 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
676 (print_version): Use PKGVERSION.
677 * malloc/mtrace.pl ($PACKAGE): Remove variable.
678 ($PKGVERSION): New variable.
679 ($REPORT_BUGS_TO): Likewise.
680 (usage): Use $REPORT_BUGS_TO.
681 (top level): Use $PKGVERSION.
682 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
683 ($(objpfx)pkgvers.texi): New rule.
684 ($(objpfx)stamp-pkgvers): Likewise.
685 * manual/install.texi: Include pkgvers.texi.
686 (--with-pkgversion): Document new configure option.
687 (--with-bugurl): Likewise.
688 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
689 than necessarily for this particular distribution. Use
690 REPORT_BUGS_TO for where to report bugs.
691 * INSTALL: Regenerated.
692 * manual/libc.texinfo: Include pkgvers.texi.
693 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
694 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
695 (print_version): Use PKGVERSION.
696 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
697 (print_version): Use PKGVERSION.
698 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
699 (print_version): Use PKGVERSION.
700 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
701 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
702 macro.
703 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
704 (print_version): Use PKGVERSION.
705 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
706 (print_version): Use PKGVERSION.
707 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
708 and PKGVERSION.
709
92e4b6a9
JM
710 * timezone/checktab.awk: Update from tzcode 2012i.
711 * timezone/ialloc.c: Likewise.
712 * timezone/private.h: Likewise.
713 * timezone/scheck.c: Likewise.
714 * timezone/tzfile.h: Likewise.
715 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
716 (TZVERSION): Hardcode tzcode version number.
717 * timezone/zdump.c: Update from tzcode 2012i.
718 * timezone/zic.c: Likewise.
719 * timezone/version.h: New file.
720 * timezone/README: Describe version.h. Update upstream location.
721
9bde902c
JM
722 [BZ #14824]
723 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
724 (mktemp): Enable declaration.
725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
729 Likewise.
730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
731 Likewise.
732 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
733 Likewise.
734 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
735 Likewise.
736 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
737 Likewise.
738 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
739 Likewise.
740
fb1ae1ee
JM
741 [BZ #14821]
742 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
743 offset in buffer as u_int32_t not u_long. Consistently use memcpy
744 for copies of such integer values.
745 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
746 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
747
2c1adbcb
AJ
7482012-11-09 Andreas Jaeger <aj@suse.de>
749
750 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
751 definitions and declarations that are provided by
752 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
753
d0f8457e
AK
7542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
755
756 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
757 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
758 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
759 definition.
760
57241e26
MS
7612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
762
763 * elf/elf.h: Update comment before AArch64 relocations.
764
60e8270d
DM
7652012-11-07 David S. Miller <davem@davemloft.net>
766
767 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
768 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
769 (__start_context): Declare.
770 (__makecontext_ret): Delete.
771 (__makecontext): Hook up __start_context instead of
772 __makecontext_ret.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
774 (sysdep_routines): Add __start_context when in stdlib.
775
0fbb0fbc
JM
7762012-11-07 Joseph Myers <joseph@codesourcery.com>
777
778 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
779 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
780 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
781 hardcoded "nm".
782 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
783 (READELF): New variable. Use it instead of hardcoded "readelf".
784
eb48db7e
L
7852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
786
787 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
788 * sysdeps/x86/Makefile: Here.
789 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
790 * sysdeps/x86/tst-xmmymm.sh: This.
791
05bcf62a
JM
7922012-11-07 Joseph Myers <joseph@codesourcery.com>
793
c4b6cf53
JM
794 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
795 expectations.
796 [UNIX98] (pthread_barrier_t): Do not expect.
797 [UNIX98] (pthread_barrierattr_t): Likewise.
798 [UNIX98] (pthread_spinlock_t): Likewise.
799 [UNIX98] (pthread_barrier_destroy): Likewise.
800 [UNIX98] (pthread_barrier_init): Likewise.
801 [UNIX98] (pthread_barrier_wait): Likewise.
802 [UNIX98] (pthread_barrierattr_destroy): Likewise.
803 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
804 [UNIX98] (pthread_barrierattr_init): Likewise.
805 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
806 [UNIX98] (pthread_getcpuclockid): Likewise.
807 [UNIX98] (pthread_mutex_timedlock): Likewise.
808 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
809 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
810 [UNIX98] (pthread_sigmask): Likewise.
811 [UNIX98] (pthread_spin_destroy): Likewise.
812 [UNIX98] (pthread_spin_init): Likewise.
813 [UNIX98] (pthread_spin_lock): Likewise.
814 [UNIX98] (pthread_spin_trylock): Likewise.
815 [UNIX98] (pthread_spin_unlock): Likewise.
816 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
817 Do not expect.
818 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
819 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
820 [XPG3 || XPG4] (pthread_cond_t): Likewise.
821 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
822 [XPG3 || XPG4] (pthread_key_t): Likewise.
823 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
824 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
825 [XPG3 || XPG4] (pthread_once_t): Likewise.
826 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
827 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
828 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
829 [XPG3 || XPG4] (pthread_t): Likewise.
830
cbe6e120
JM
831 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
832 not expect.
833 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
834
1b126443
JM
835 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
836 Change function return type to int.
837
b961a573
JM
838 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
839 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
840 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
841 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
842 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
843 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
844 [!POSIX] (posix_madvise): Likewise.
845 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
846 && !UNIX98].
847 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
848 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
849 (mode_t): Likewise.
850 (posix_mem_offset): Likewise.
851 (posix_typed_mem_get_info): Likewise.
852 (posix_typed_mem_open): Likewise.
853
9e188909
JM
854 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
855 Change condition to [XOPEN2K8].
856
05bcf62a
JM
857 * conform/conformtest.pl: Preprocess allow-header data with -x c
858 instead of from stdin.
859 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
860 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
861 [C99-based standards] (cerfc): Likewise.
862 [C99-based standards] (cexp2): Likewise.
863 [C99-based standards] (cexpm1): Likewise.
864 [C99-based standards] (clog10): Likewise.
865 [C99-based standards] (clog1p): Likewise.
866 [C99-based standards] (clog2): Likewise.
867 [C99-based standards] (clgamma): Likewise.
868 [C99-based standards] (ctgamma): Likewise.
869 [C99-based standards] (cerff): Likewise.
870 [C99-based standards] (cerfcf): Likewise.
871 [C99-based standards] (cexp2f): Likewise.
872 [C99-based standards] (cexpm1f): Likewise.
873 [C99-based standards] (clog10f): Likewise.
874 [C99-based standards] (clog1pf): Likewise.
875 [C99-based standards] (clog2f): Likewise.
876 [C99-based standards] (clgammaf): Likewise.
877 [C99-based standards] (ctgammaf): Likewise.
878 [C99-based standards] (cerfl): Likewise.
879 [C99-based standards] (cerfcl): Likewise.
880 [C99-based standards] (cexp2l): Likewise.
881 [C99-based standards] (cexpm1l): Likewise.
882 [C99-based standards] (clog10l): Likewise.
883 [C99-based standards] (clog1pl): Likewise.
884 [C99-based standards] (clog2l): Likewise.
885 [C99-based standards] (clgammal): Likewise.
886 [C99-based standards] (ctgammal): Likewise.
887 * conform/data/inttypes.h-data [C99-based standards]: Include
888 stdint.h-data. Remove all expectations for stdint.h contents.
889 [C99-based standards] (PRI*): Do not allow.
890 [C99-based standards] (SCN*): Likewise.
891 [C99-based standards] (*_t): Likewise.
892 [C99-based-standards] (PRId8): Expect macro.
893 [C99-based-standards] (PRIi8): Likewise.
894 [C99-based-standards] (PRIo8): Likewise.
895 [C99-based-standards] (PRIu8): Likewise.
896 [C99-based-standards] (PRIx8): Likewise.
897 [C99-based-standards] (PRIX8): Likewise.
898 [C99-based-standards] (SCNd8): Likewise.
899 [C99-based-standards] (SCNi8): Likewise.
900 [C99-based-standards] (SCNo8): Likewise.
901 [C99-based-standards] (SCNu8): Likewise.
902 [C99-based-standards] (SCNx8): Likewise.
903 [C99-based-standards] (PRIdLEAST8): Likewise.
904 [C99-based-standards] (PRIiLEAST8): Likewise.
905 [C99-based-standards] (PRIoLEAST8): Likewise.
906 [C99-based-standards] (PRIuLEAST8): Likewise.
907 [C99-based-standards] (PRIxLEAST8): Likewise.
908 [C99-based-standards] (PRIXLEAST8): Likewise.
909 [C99-based-standards] (SCNdLEAST8): Likewise.
910 [C99-based-standards] (SCNiLEAST8): Likewise.
911 [C99-based-standards] (SCNoLEAST8): Likewise.
912 [C99-based-standards] (SCNuLEAST8): Likewise.
913 [C99-based-standards] (SCNxLEAST8): Likewise.
914 [C99-based-standards] (PRIdFAST8): Likewise.
915 [C99-based-standards] (PRIiFAST8): Likewise.
916 [C99-based-standards] (PRIoFAST8): Likewise.
917 [C99-based-standards] (PRIuFAST8): Likewise.
918 [C99-based-standards] (PRIxFAST8): Likewise.
919 [C99-based-standards] (PRIXFAST8): Likewise.
920 [C99-based-standards] (SCNdFAST8): Likewise.
921 [C99-based-standards] (SCNiFAST8): Likewise.
922 [C99-based-standards] (SCNoFAST8): Likewise.
923 [C99-based-standards] (SCNuFAST8): Likewise.
924 [C99-based-standards] (SCNxFAST8): Likewise.
925 [C99-based-standards] (PRId16): Likewise.
926 [C99-based-standards] (PRIi16): Likewise.
927 [C99-based-standards] (PRIo16): Likewise.
928 [C99-based-standards] (PRIu16): Likewise.
929 [C99-based-standards] (PRIx16): Likewise.
930 [C99-based-standards] (PRIX16): Likewise.
931 [C99-based-standards] (SCNd16): Likewise.
932 [C99-based-standards] (SCNi16): Likewise.
933 [C99-based-standards] (SCNo16): Likewise.
934 [C99-based-standards] (SCNu16): Likewise.
935 [C99-based-standards] (SCNx16): Likewise.
936 [C99-based-standards] (PRIdLEAST16): Likewise.
937 [C99-based-standards] (PRIiLEAST16): Likewise.
938 [C99-based-standards] (PRIoLEAST16): Likewise.
939 [C99-based-standards] (PRIuLEAST16): Likewise.
940 [C99-based-standards] (PRIxLEAST16): Likewise.
941 [C99-based-standards] (PRIXLEAST16): Likewise.
942 [C99-based-standards] (SCNdLEAST16): Likewise.
943 [C99-based-standards] (SCNiLEAST16): Likewise.
944 [C99-based-standards] (SCNoLEAST16): Likewise.
945 [C99-based-standards] (SCNuLEAST16): Likewise.
946 [C99-based-standards] (SCNxLEAST16): Likewise.
947 [C99-based-standards] (PRIdFAST16): Likewise.
948 [C99-based-standards] (PRIiFAST16): Likewise.
949 [C99-based-standards] (PRIoFAST16): Likewise.
950 [C99-based-standards] (PRIuFAST16): Likewise.
951 [C99-based-standards] (PRIxFAST16): Likewise.
952 [C99-based-standards] (PRIXFAST16): Likewise.
953 [C99-based-standards] (SCNdFAST16): Likewise.
954 [C99-based-standards] (SCNiFAST16): Likewise.
955 [C99-based-standards] (SCNoFAST16): Likewise.
956 [C99-based-standards] (SCNuFAST16): Likewise.
957 [C99-based-standards] (SCNxFAST16): Likewise.
958 [C99-based-standards] (PRId32): Likewise.
959 [C99-based-standards] (PRIi32): Likewise.
960 [C99-based-standards] (PRIo32): Likewise.
961 [C99-based-standards] (PRIu32): Likewise.
962 [C99-based-standards] (PRIx32): Likewise.
963 [C99-based-standards] (PRIX32): Likewise.
964 [C99-based-standards] (SCNd32): Likewise.
965 [C99-based-standards] (SCNi32): Likewise.
966 [C99-based-standards] (SCNo32): Likewise.
967 [C99-based-standards] (SCNu32): Likewise.
968 [C99-based-standards] (SCNx32): Likewise.
969 [C99-based-standards] (PRIdLEAST32): Likewise.
970 [C99-based-standards] (PRIiLEAST32): Likewise.
971 [C99-based-standards] (PRIoLEAST32): Likewise.
972 [C99-based-standards] (PRIuLEAST32): Likewise.
973 [C99-based-standards] (PRIxLEAST32): Likewise.
974 [C99-based-standards] (PRIXLEAST32): Likewise.
975 [C99-based-standards] (SCNdLEAST32): Likewise.
976 [C99-based-standards] (SCNiLEAST32): Likewise.
977 [C99-based-standards] (SCNoLEAST32): Likewise.
978 [C99-based-standards] (SCNuLEAST32): Likewise.
979 [C99-based-standards] (SCNxLEAST32): Likewise.
980 [C99-based-standards] (PRIdFAST32): Likewise.
981 [C99-based-standards] (PRIiFAST32): Likewise.
982 [C99-based-standards] (PRIoFAST32): Likewise.
983 [C99-based-standards] (PRIuFAST32): Likewise.
984 [C99-based-standards] (PRIxFAST32): Likewise.
985 [C99-based-standards] (PRIXFAST32): Likewise.
986 [C99-based-standards] (SCNdFAST32): Likewise.
987 [C99-based-standards] (SCNiFAST32): Likewise.
988 [C99-based-standards] (SCNoFAST32): Likewise.
989 [C99-based-standards] (SCNuFAST32): Likewise.
990 [C99-based-standards] (SCNxFAST32): Likewise.
991 [C99-based-standards] (PRId64): Likewise.
992 [C99-based-standards] (PRIi64): Likewise.
993 [C99-based-standards] (PRIo64): Likewise.
994 [C99-based-standards] (PRIu64): Likewise.
995 [C99-based-standards] (PRIx64): Likewise.
996 [C99-based-standards] (PRIX64): Likewise.
997 [C99-based-standards] (SCNd64): Likewise.
998 [C99-based-standards] (SCNi64): Likewise.
999 [C99-based-standards] (SCNo64): Likewise.
1000 [C99-based-standards] (SCNu64): Likewise.
1001 [C99-based-standards] (SCNx64): Likewise.
1002 [C99-based-standards] (PRIdLEAST64): Likewise.
1003 [C99-based-standards] (PRIiLEAST64): Likewise.
1004 [C99-based-standards] (PRIoLEAST64): Likewise.
1005 [C99-based-standards] (PRIuLEAST64): Likewise.
1006 [C99-based-standards] (PRIxLEAST64): Likewise.
1007 [C99-based-standards] (PRIXLEAST64): Likewise.
1008 [C99-based-standards] (SCNdLEAST64): Likewise.
1009 [C99-based-standards] (SCNiLEAST64): Likewise.
1010 [C99-based-standards] (SCNoLEAST64): Likewise.
1011 [C99-based-standards] (SCNuLEAST64): Likewise.
1012 [C99-based-standards] (SCNxLEAST64): Likewise.
1013 [C99-based-standards] (PRIdFAST64): Likewise.
1014 [C99-based-standards] (PRIiFAST64): Likewise.
1015 [C99-based-standards] (PRIoFAST64): Likewise.
1016 [C99-based-standards] (PRIuFAST64): Likewise.
1017 [C99-based-standards] (PRIxFAST64): Likewise.
1018 [C99-based-standards] (PRIXFAST64): Likewise.
1019 [C99-based-standards] (SCNdFAST64): Likewise.
1020 [C99-based-standards] (SCNiFAST64): Likewise.
1021 [C99-based-standards] (SCNoFAST64): Likewise.
1022 [C99-based-standards] (SCNuFAST64): Likewise.
1023 [C99-based-standards] (SCNxFAST64): Likewise.
1024 [C99-based-standards] (PRIdMAX): Likewise.
1025 [C99-based-standards] (PRIiMAX): Likewise.
1026 [C99-based-standards] (PRIoMAX): Likewise.
1027 [C99-based-standards] (PRIuMAX): Likewise.
1028 [C99-based-standards] (PRIxMAX): Likewise.
1029 [C99-based-standards] (PRIXMAX): Likewise.
1030 [C99-based-standards] (SCNdMAX): Likewise.
1031 [C99-based-standards] (SCNiMAX): Likewise.
1032 [C99-based-standards] (SCNoMAX): Likewise.
1033 [C99-based-standards] (SCNuMAX): Likewise.
1034 [C99-based-standards] (SCNxMAX): Likewise.
1035 [C99-based-standards] (PRIdPTR): Likewise.
1036 [C99-based-standards] (PRIiPTR): Likewise.
1037 [C99-based-standards] (PRIoPTR): Likewise.
1038 [C99-based-standards] (PRIuPTR): Likewise.
1039 [C99-based-standards] (PRIxPTR): Likewise.
1040 [C99-based-standards] (PRIXPTR): Likewise.
1041 [C99-based-standards] (SCNdPTR): Likewise.
1042 [C99-based-standards] (SCNiPTR): Likewise.
1043 [C99-based-standards] (SCNoPTR): Likewise.
1044 [C99-based-standards] (SCNuPTR): Likewise.
1045 [C99-based-standards] (SCNxPTR): Likewise.
1046 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1047 allow.
1048 * conform/data/stdint.h-data: Update comments to clarify
1049 requirements.
1050 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1051 type.
1052 [C99-based standards] (INT8_MAX): Likewise.
1053 [C99-based standards] (INT16_MIN): Likewise.
1054 [C99-based standards] (INT16_MAX): Likewise.
1055 [C99-based standards] (INT32_MIN): Likewise.
1056 [C99-based standards] (INT32_MAX): Likewise.
1057 [C99-based standards] (INT64_MIN): Likewise.
1058 [C99-based standards] (INT64_MAX): Likewise.
1059 [C99-based standards] (UINT8_MAX): Likewise.
1060 [C99-based standards] (UINT16_MAX): Likewise.
1061 [C99-based standards] (UINT32_MAX): Likewise.
1062 [C99-based standards] (UINT64_MAX): Likewise.
1063 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1064 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1065 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1066 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1067 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1068 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1069 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1070 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1071 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1072 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1073 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1074 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1075 [C99-based standards] (INT_FAST8_MIN): Likewise.
1076 [C99-based standards] (INT_FAST8_MAX): Likewise.
1077 [C99-based standards] (INT_FAST16_MIN): Likewise.
1078 [C99-based standards] (INT_FAST16_MAX): Likewise.
1079 [C99-based standards] (INT_FAST32_MIN): Likewise.
1080 [C99-based standards] (INT_FAST32_MAX): Likewise.
1081 [C99-based standards] (INT_FAST64_MIN): Likewise.
1082 [C99-based standards] (INT_FAST64_MAX): Likewise.
1083 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1084 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1085 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1086 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1087 [C99-based standards] (INTPTR_MIN): Likewise.
1088 [C99-based standards] (INTPTR_MAX): Likewise.
1089 [C99-based standards] (UINTPTR_MAX): Likewise.
1090 [C99-based standards] (INTMAX_MIN): Likewise.
1091 [C99-based standards] (INTMAX_MAX): Likewise.
1092 [C99-based standards] (UINTMAX_MAX): Likewise.
1093 [C99-based standards] (PTRDIFF_MIN): Likewise.
1094 [C99-based standards] (PTRDIFF_MAX): Likewise.
1095 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1096 [C99-based standards] (SIZE_MAX): Likewise.
1097 [C99-based standards] (WCHAR_MAX): Likewise.
1098 [C99-based standards] (WINT_MAX): Likewise.
1099 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1100 constraint on value.
1101 [C99-based standards] (WCHAR_MIN): Likewise.
1102 [C99-based standards] (WINT_MIN): Likewise.
1103 [C99-based standards] (*_t): Allow.
1104 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1105 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1106 Include math.h-data and complex.h-data. Remove all expectations
1107 of math.h and complex.h contents.
1108 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1109 at end of line.
1110 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1111 (struct tm): Expect tag.
1112 [C99-based-standards] (wcstof): Expect function.
1113 [C99-based-standards] (wcstold): Likewise.
1114 [C99-based-standards] (wcstoll): Likewise.
1115 [C99-based-standards] (wcstoull): Likewise.
1116 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1117 macro-int-constant. Specify type.
1118 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1119 constraint on value.
1120 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1121 Specify type.
1122 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1123 Specify value.
1124 [ISO C standards]: Do not allow headers.
1125 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1126 wcs[abcdefghijklmnopqrstuvwxyz]*.
1127 [ISO C standards] (*_t): Do not allow.
1128 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1129 Expect function.
1130 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1131 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1132 Specify type.
1133 [ISO C standards]: Do not allow headers.
1134 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1135 is[abcdefghijklmnopqrstuvwxyz]*.
1136 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1137 to[abcdefghijklmnopqrstuvwxyz]*.
1138 [ISO C standards] (*_t): Do not allow.
1139 * conform/data/stdalign.h-data: New file.
1140 * conform/data/stdbool.h-data: Likewise.
1141 * conform/data/stdnoreturn.h-data: Likewise.
1142
01f34a3b
JL
11432012-11-07 Andreas Jaeger <aj@suse.de>
1144
1145 [BZ #14809]
1146 * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H)
1147 (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header
1148 guards are changed. Only define if not yet defined, #undef back
1149 after including linux/sysctl.h if defined here.
1150
7514feb8
RM
11512012-11-07 Roland McGrath <roland@hack.frob.com>
1152
1153 [BZ #14815]
1154 * manual/filesys.texi (Directory Entries): Typo fix.
1155 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1156
19b2ecfc
MS
11572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1158
1159 * elf/elf.h (EM_AARCH64): New macro.
1160 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1161 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1162 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1163 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1164 (R_AARCH64_TLSDESC): Likewise.
1165 (NT_ARM_TLS): Likewise.
1166 (NT_ARM_HW_BREAK): Likewise.
1167 (NT_ARM_HW_WATCH): Likewise.
1168
60e235ee
JM
11692012-11-07 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #14811]
1172 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1173 (__ieee754_powl): Saturate nonzero exponents with absolute value
1174 below 0x1p-79 to +/- 0x1p-79.
1175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1176 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1177 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1178 nonzero exponents with absolute value below 0x1p-32 to +/-
1179 0x1p-32.
1180 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1181 (__ieee754_powl): Saturate nonzero exponents with absolute value
1182 below 0x1p-79 to +/- 0x1p-79.
1183 * math/libm-test.inc (pow_test): Add more tests.
1184
0ab234b7
AK
11852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1186
1187 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1188 _dl_s390_cap_flags with kernel. Increase string length.
1189 (_dl_s390_platforms): Add z196 and zEC12.
1190
45832f74
JM
11912012-11-07 Joseph Myers <joseph@codesourcery.com>
1192
1193 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1194 Change XOPEN21K to XOPEN2K.
1195
19218757
MK
11962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1197
1198 * string/memmove.c: Use memcpy when possible.
1199
c5f45721
AJ
12002012-11-06 Andreas Jaeger <aj@suse.de>
1201
1202 * po/eo.po: Update from translation team.
1203
82477c28
JM
12042012-11-06 Joseph Myers <joseph@codesourcery.com>
1205
1206 [BZ #14793]
1207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1208 exponent and small x and y exponents, scale x or y up. Increase
1209 by 2 the exponent used in scaling up.
1210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1211 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1212 * math/libm-test.inc (fma_test): Add more tests.
1213 (fma_test_towardzero): Likewise.
1214 (fma_test_downward): Likewise.
1215 (fma_test_upward): Likewise.
1216
99252c8c
JM
12172012-11-05 Joseph Myers <joseph@codesourcery.com>
1218
acfa885f
JM
1219 [BZ #14805]
1220 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1221 fenv_t *.
1222
99252c8c
JM
1223 [BZ #14801]
1224 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1225 namespace for names of struct fields.
1226 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1227 fenv_t fields.
1228 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1229 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1230
d6d98dea
ST
12312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1232
1233 [BZ #3665]
1234 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1235
e10bb107
TS
12362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1237
1238 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1239 PTR_DEMANGLE.
1240
1241 [BZ #5246]
1242 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1243 PTR_DEMANGLE.
1244
a0c2940d
JM
12452012-11-04 Joseph Myers <joseph@codesourcery.com>
1246
1247 [BZ #14797]
1248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1249 definitely overflow as x * y not x * y + z.
1250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1252 * math/libm-test.inc (fma_test): Add more tests.
1253 (fma_test_towardzero): Likewise.
1254 (fma_test_downward): Likewise.
1255 (fma_test_upward): Likewise.
1256
b830319d
TS
12572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1258
1259 [BZ #157]
1260
1261 * include/stub-tag.h: Remove file.
1262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1263 '#include' of it.
1264 * manual/maint.texi (Porting): Don't reference it.
1265 * Makerules ($(objpfx)stubs): Likewise.
1266 * dirent/closedir.c: Don't include <stub-tag.h>.
1267 * dirent/dirfd.c: Likewise.
1268 * dirent/fdopendir.c: Likewise.
1269 * dirent/getdents.c: Likewise.
1270 * dirent/getdents64.c: Likewise.
1271 * dirent/opendir.c: Likewise.
1272 * dirent/readdir.c: Likewise.
1273 * dirent/readdir64.c: Likewise.
1274 * dirent/readdir64_r.c: Likewise.
1275 * dirent/readdir_r.c: Likewise.
1276 * dirent/rewinddir.c: Likewise.
1277 * dirent/seekdir.c: Likewise.
1278 * dirent/telldir.c: Likewise.
1279 * gmon/profil.c: Likewise.
1280 * grp/setgroups.c: Likewise.
1281 * inet/if_index.c: Likewise.
1282 * io/access.c: Likewise.
1283 * io/chdir.c: Likewise.
1284 * io/chmod.c: Likewise.
1285 * io/chown.c: Likewise.
1286 * io/close.c: Likewise.
1287 * io/dup.c: Likewise.
1288 * io/dup2.c: Likewise.
1289 * io/dup3.c: Likewise.
1290 * io/euidaccess.c: Likewise.
1291 * io/faccessat.c: Likewise.
1292 * io/fchdir.c: Likewise.
1293 * io/fchmod.c: Likewise.
1294 * io/fchmodat.c: Likewise.
1295 * io/fchown.c: Likewise.
1296 * io/fchownat.c: Likewise.
1297 * io/fcntl.c: Likewise.
1298 * io/flock.c: Likewise.
1299 * io/fstatfs.c: Likewise.
1300 * io/fstatfs64.c: Likewise.
1301 * io/fstatvfs.c: Likewise.
1302 * io/fstatvfs64.c: Likewise.
1303 * io/futimens.c: Likewise.
1304 * io/fxstat.c: Likewise.
1305 * io/fxstat64.c: Likewise.
1306 * io/fxstatat.c: Likewise.
1307 * io/fxstatat64.c: Likewise.
1308 * io/getcwd.c: Likewise.
1309 * io/isatty.c: Likewise.
1310 * io/lchmod.c: Likewise.
1311 * io/lchown.c: Likewise.
1312 * io/link.c: Likewise.
1313 * io/linkat.c: Likewise.
1314 * io/lseek.c: Likewise.
1315 * io/lseek64.c: Likewise.
1316 * io/lxstat64.c: Likewise.
1317 * io/mkdir.c: Likewise.
1318 * io/mkdirat.c: Likewise.
1319 * io/mkfifo.c: Likewise.
1320 * io/mkfifoat.c: Likewise.
1321 * io/open.c: Likewise.
1322 * io/open64.c: Likewise.
1323 * io/openat.c: Likewise.
1324 * io/openat64.c: Likewise.
1325 * io/pipe.c: Likewise.
1326 * io/pipe2.c: Likewise.
1327 * io/poll.c: Likewise.
1328 * io/posix_fadvise.c: Likewise.
1329 * io/posix_fadvise64.c: Likewise.
1330 * io/posix_fallocate.c: Likewise.
1331 * io/posix_fallocate64.c: Likewise.
1332 * io/read.c: Likewise.
1333 * io/readlink.c: Likewise.
1334 * io/readlinkat.c: Likewise.
1335 * io/rmdir.c: Likewise.
1336 * io/sendfile.c: Likewise.
1337 * io/sendfile64.c: Likewise.
1338 * io/statfs.c: Likewise.
1339 * io/statfs64.c: Likewise.
1340 * io/statvfs.c: Likewise.
1341 * io/statvfs64.c: Likewise.
1342 * io/symlink.c: Likewise.
1343 * io/symlinkat.c: Likewise.
1344 * io/ttyname.c: Likewise.
1345 * io/ttyname_r.c: Likewise.
1346 * io/umask.c: Likewise.
1347 * io/unlink.c: Likewise.
1348 * io/unlinkat.c: Likewise.
1349 * io/utime.c: Likewise.
1350 * io/utimensat.c: Likewise.
1351 * io/write.c: Likewise.
1352 * io/xmknod.c: Likewise.
1353 * io/xmknodat.c: Likewise.
1354 * io/xstat.c: Likewise.
1355 * io/xstat64.c: Likewise.
1356 * login/getpt.c: Likewise.
1357 * login/grantpt.c: Likewise.
1358 * login/unlockpt.c: Likewise.
1359 * math/e_acoshl.c: Likewise.
1360 * math/e_acosl.c: Likewise.
1361 * math/e_asinl.c: Likewise.
1362 * math/e_atan2l.c: Likewise.
1363 * math/e_atanhl.c: Likewise.
1364 * math/e_coshl.c: Likewise.
1365 * math/e_expl.c: Likewise.
1366 * math/e_fmodl.c: Likewise.
1367 * math/e_gammal_r.c: Likewise.
1368 * math/e_hypotl.c: Likewise.
1369 * math/e_j0l.c: Likewise.
1370 * math/e_j1l.c: Likewise.
1371 * math/e_jnl.c: Likewise.
1372 * math/e_lgammal_r.c: Likewise.
1373 * math/e_log10l.c: Likewise.
1374 * math/e_log2l.c: Likewise.
1375 * math/e_logl.c: Likewise.
1376 * math/e_powl.c: Likewise.
1377 * math/e_rem_pio2l.c: Likewise.
1378 * math/e_sinhl.c: Likewise.
1379 * math/e_sqrtl.c: Likewise.
1380 * math/fclrexcpt.c: Likewise.
1381 * math/fedisblxcpt.c: Likewise.
1382 * math/feenablxcpt.c: Likewise.
1383 * math/fegetenv.c: Likewise.
1384 * math/fegetexcept.c: Likewise.
1385 * math/fegetround.c: Likewise.
1386 * math/feholdexcpt.c: Likewise.
1387 * math/fesetenv.c: Likewise.
1388 * math/fesetround.c: Likewise.
1389 * math/feupdateenv.c: Likewise.
1390 * math/fgetexcptflg.c: Likewise.
1391 * math/fraiseexcpt.c: Likewise.
1392 * math/fsetexcptflg.c: Likewise.
1393 * math/ftestexcept.c: Likewise.
1394 * math/k_cosl.c: Likewise.
1395 * math/k_rem_pio2l.c: Likewise.
1396 * math/k_sinl.c: Likewise.
1397 * math/k_tanl.c: Likewise.
1398 * math/s_asinhl.c: Likewise.
1399 * math/s_atanl.c: Likewise.
1400 * math/s_cbrtl.c: Likewise.
1401 * math/s_erfl.c: Likewise.
1402 * math/s_expm1l.c: Likewise.
1403 * math/s_log1pl.c: Likewise.
1404 * math/s_tanhl.c: Likewise.
1405 * misc/acct.c: Likewise.
1406 * misc/brk.c: Likewise.
1407 * misc/chflags.c: Likewise.
1408 * misc/chroot.c: Likewise.
1409 * misc/fchflags.c: Likewise.
1410 * misc/fgetxattr.c: Likewise.
1411 * misc/flistxattr.c: Likewise.
1412 * misc/fremovexattr.c: Likewise.
1413 * misc/fsetxattr.c: Likewise.
1414 * misc/fsync.c: Likewise.
1415 * misc/ftruncate.c: Likewise.
1416 * misc/futimes.c: Likewise.
1417 * misc/futimesat.c: Likewise.
1418 * misc/getdomain.c: Likewise.
1419 * misc/getdtsz.c: Likewise.
1420 * misc/gethostid.c: Likewise.
1421 * misc/gethostname.c: Likewise.
1422 * misc/getloadavg.c: Likewise.
1423 * misc/getpagesize.c: Likewise.
1424 * misc/getsysstats.c: Likewise.
1425 * misc/getxattr.c: Likewise.
1426 * misc/gtty.c: Likewise.
1427 * misc/ioctl.c: Likewise.
1428 * misc/lgetxattr.c: Likewise.
1429 * misc/listxattr.c: Likewise.
1430 * misc/llistxattr.c: Likewise.
1431 * misc/lremovexattr.c: Likewise.
1432 * misc/lsetxattr.c: Likewise.
1433 * misc/lutimes.c: Likewise.
1434 * misc/madvise.c: Likewise.
1435 * misc/mincore.c: Likewise.
1436 * misc/mlock.c: Likewise.
1437 * misc/mlockall.c: Likewise.
1438 * misc/mmap.c: Likewise.
1439 * misc/mprotect.c: Likewise.
1440 * misc/msync.c: Likewise.
1441 * misc/munlock.c: Likewise.
1442 * misc/munlockall.c: Likewise.
1443 * misc/munmap.c: Likewise.
1444 * misc/preadv.c: Likewise.
1445 * misc/preadv64.c: Likewise.
1446 * misc/ptrace.c: Likewise.
1447 * misc/pwritev.c: Likewise.
1448 * misc/pwritev64.c: Likewise.
1449 * misc/readv.c: Likewise.
1450 * misc/reboot.c: Likewise.
1451 * misc/remap_file_pages.c: Likewise.
1452 * misc/removexattr.c: Likewise.
1453 * misc/revoke.c: Likewise.
1454 * misc/select.c: Likewise.
1455 * misc/setdomain.c: Likewise.
1456 * misc/setegid.c: Likewise.
1457 * misc/seteuid.c: Likewise.
1458 * misc/sethostid.c: Likewise.
1459 * misc/sethostname.c: Likewise.
1460 * misc/setregid.c: Likewise.
1461 * misc/setreuid.c: Likewise.
1462 * misc/setxattr.c: Likewise.
1463 * misc/sstk.c: Likewise.
1464 * misc/stty.c: Likewise.
1465 * misc/swapoff.c: Likewise.
1466 * misc/swapon.c: Likewise.
1467 * misc/sync.c: Likewise.
1468 * misc/syncfs.c: Likewise.
1469 * misc/syscall.c: Likewise.
1470 * misc/truncate.c: Likewise.
1471 * misc/ualarm.c: Likewise.
1472 * misc/usleep.c: Likewise.
1473 * misc/ustat.c: Likewise.
1474 * misc/utimes.c: Likewise.
1475 * misc/vhangup.c: Likewise.
1476 * misc/writev.c: Likewise.
1477 * posix/_exit.c: Likewise.
1478 * posix/alarm.c: Likewise.
1479 * posix/execve.c: Likewise.
1480 * posix/fexecve.c: Likewise.
1481 * posix/fork.c: Likewise.
1482 * posix/fpathconf.c: Likewise.
1483 * posix/getaddrinfo.c: Likewise.
1484 * posix/getegid.c: Likewise.
1485 * posix/geteuid.c: Likewise.
1486 * posix/getgid.c: Likewise.
1487 * posix/getgroups.c: Likewise.
1488 * posix/getlogin.c: Likewise.
1489 * posix/getlogin_r.c: Likewise.
1490 * posix/getpgid.c: Likewise.
1491 * posix/getpid.c: Likewise.
1492 * posix/getppid.c: Likewise.
1493 * posix/getresgid.c: Likewise.
1494 * posix/getresuid.c: Likewise.
1495 * posix/getsid.c: Likewise.
1496 * posix/getuid.c: Likewise.
1497 * posix/glob64.c: Likewise.
1498 * posix/nanosleep.c: Likewise.
1499 * posix/pathconf.c: Likewise.
1500 * posix/pause.c: Likewise.
1501 * posix/posix_madvise.c: Likewise.
1502 * posix/pread.c: Likewise.
1503 * posix/pread64.c: Likewise.
1504 * posix/pwrite.c: Likewise.
1505 * posix/pwrite64.c: Likewise.
1506 * posix/sched_getaffinity.c: Likewise.
1507 * posix/sched_getp.c: Likewise.
1508 * posix/sched_gets.c: Likewise.
1509 * posix/sched_primax.c: Likewise.
1510 * posix/sched_primin.c: Likewise.
1511 * posix/sched_rr_gi.c: Likewise.
1512 * posix/sched_setaffinity.c: Likewise.
1513 * posix/sched_setp.c: Likewise.
1514 * posix/sched_sets.c: Likewise.
1515 * posix/sched_yield.c: Likewise.
1516 * posix/setgid.c: Likewise.
1517 * posix/setlogin.c: Likewise.
1518 * posix/setpgid.c: Likewise.
1519 * posix/setresgid.c: Likewise.
1520 * posix/setresuid.c: Likewise.
1521 * posix/setsid.c: Likewise.
1522 * posix/setuid.c: Likewise.
1523 * posix/sleep.c: Likewise.
1524 * posix/spawni.c: Likewise.
1525 * posix/sysconf.c: Likewise.
1526 * posix/times.c: Likewise.
1527 * posix/wait.c: Likewise.
1528 * posix/wait3.c: Likewise.
1529 * posix/wait4.c: Likewise.
1530 * posix/waitpid.c: Likewise.
1531 * resolv/gai_sigqueue.c: Likewise.
1532 * resource/getpriority.c: Likewise.
1533 * resource/getrlimit.c: Likewise.
1534 * resource/getrusage.c: Likewise.
1535 * resource/nice.c: Likewise.
1536 * resource/setpriority.c: Likewise.
1537 * resource/setrlimit.c: Likewise.
1538 * resource/ulimit.c: Likewise.
1539 * rt/aio_cancel.c: Likewise.
1540 * rt/aio_fsync.c: Likewise.
1541 * rt/aio_read.c: Likewise.
1542 * rt/aio_sigqueue.c: Likewise.
1543 * rt/aio_suspend.c: Likewise.
1544 * rt/aio_write.c: Likewise.
1545 * rt/clock_getres.c: Likewise.
1546 * rt/clock_gettime.c: Likewise.
1547 * rt/clock_nanosleep.c: Likewise.
1548 * rt/clock_settime.c: Likewise.
1549 * rt/lio_listio.c: Likewise.
1550 * rt/mq_close.c: Likewise.
1551 * rt/mq_getattr.c: Likewise.
1552 * rt/mq_notify.c: Likewise.
1553 * rt/mq_open.c: Likewise.
1554 * rt/mq_receive.c: Likewise.
1555 * rt/mq_send.c: Likewise.
1556 * rt/mq_setattr.c: Likewise.
1557 * rt/mq_timedreceive.c: Likewise.
1558 * rt/mq_timedsend.c: Likewise.
1559 * rt/mq_unlink.c: Likewise.
1560 * rt/shm_open.c: Likewise.
1561 * rt/shm_unlink.c: Likewise.
1562 * rt/timer_create.c: Likewise.
1563 * rt/timer_delete.c: Likewise.
1564 * rt/timer_getoverr.c: Likewise.
1565 * rt/timer_gettime.c: Likewise.
1566 * rt/timer_settime.c: Likewise.
1567 * setjmp/__longjmp.c: Likewise.
1568 * setjmp/setjmp.c: Likewise.
1569 * signal/kill.c: Likewise.
1570 * signal/killpg.c: Likewise.
1571 * signal/raise.c: Likewise.
1572 * signal/sigaction.c: Likewise.
1573 * signal/sigaltstack.c: Likewise.
1574 * signal/sigblock.c: Likewise.
1575 * signal/sigignore.c: Likewise.
1576 * signal/sigintr.c: Likewise.
1577 * signal/signal.c: Likewise.
1578 * signal/sigpause.c: Likewise.
1579 * signal/sigpending.c: Likewise.
1580 * signal/sigqueue.c: Likewise.
1581 * signal/sigreturn.c: Likewise.
1582 * signal/sigset.c: Likewise.
1583 * signal/sigsetmask.c: Likewise.
1584 * signal/sigstack.c: Likewise.
1585 * signal/sigsuspend.c: Likewise.
1586 * signal/sigtimedwait.c: Likewise.
1587 * signal/sigvec.c: Likewise.
1588 * signal/sigwait.c: Likewise.
1589 * signal/sigwaitinfo.c: Likewise.
1590 * signal/sysv_signal.c: Likewise.
1591 * socket/accept.c: Likewise.
1592 * socket/accept4.c: Likewise.
1593 * socket/bind.c: Likewise.
1594 * socket/connect.c: Likewise.
1595 * socket/getpeername.c: Likewise.
1596 * socket/getsockname.c: Likewise.
1597 * socket/getsockopt.c: Likewise.
1598 * socket/isfdtype.c: Likewise.
1599 * socket/listen.c: Likewise.
1600 * socket/recv.c: Likewise.
1601 * socket/recvfrom.c: Likewise.
1602 * socket/recvmsg.c: Likewise.
1603 * socket/send.c: Likewise.
1604 * socket/sendmsg.c: Likewise.
1605 * socket/sendto.c: Likewise.
1606 * socket/setsockopt.c: Likewise.
1607 * socket/shutdown.c: Likewise.
1608 * socket/sockatmark.c: Likewise.
1609 * socket/socket.c: Likewise.
1610 * socket/socketpair.c: Likewise.
1611 * stdio-common/ctermid.c: Likewise.
1612 * stdio-common/cuserid.c: Likewise.
1613 * stdio-common/remove.c: Likewise.
1614 * stdio-common/rename.c: Likewise.
1615 * stdio-common/renameat.c: Likewise.
1616 * stdio-common/tempname.c: Likewise.
1617 * stdlib/getcontext.c: Likewise.
1618 * stdlib/makecontext.c: Likewise.
1619 * stdlib/setcontext.c: Likewise.
1620 * stdlib/swapcontext.c: Likewise.
1621 * stdlib/system.c: Likewise.
1622 * streams/fattach.c: Likewise.
1623 * streams/fdetach.c: Likewise.
1624 * streams/getmsg.c: Likewise.
1625 * streams/getpmsg.c: Likewise.
1626 * streams/putmsg.c: Likewise.
1627 * streams/putpmsg.c: Likewise.
1628 * sysdeps/unix/bsd/getpt.c: Likewise.
1629 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
1630 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
1631 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
1633 Likewise.
1634 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
1635 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
1636 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1637 * sysvipc/msgctl.c: Likewise.
1638 * sysvipc/msgget.c: Likewise.
1639 * sysvipc/msgrcv.c: Likewise.
1640 * sysvipc/msgsnd.c: Likewise.
1641 * sysvipc/semctl.c: Likewise.
1642 * sysvipc/semget.c: Likewise.
1643 * sysvipc/semop.c: Likewise.
1644 * sysvipc/semtimedop.c: Likewise.
1645 * sysvipc/shmat.c: Likewise.
1646 * sysvipc/shmctl.c: Likewise.
1647 * sysvipc/shmdt.c: Likewise.
1648 * sysvipc/shmget.c: Likewise.
1649 * termios/tcdrain.c: Likewise.
1650 * termios/tcflow.c: Likewise.
1651 * termios/tcflush.c: Likewise.
1652 * termios/tcgetattr.c: Likewise.
1653 * termios/tcgetpgrp.c: Likewise.
1654 * termios/tcsendbrk.c: Likewise.
1655 * termios/tcsetattr.c: Likewise.
1656 * termios/tcsetpgrp.c: Likewise.
1657 * time/adjtime.c: Likewise.
1658 * time/clock.c: Likewise.
1659 * time/getitimer.c: Likewise.
1660 * time/gettimeofday.c: Likewise.
1661 * time/setitimer.c: Likewise.
1662 * time/settimeofday.c: Likewise.
1663 * time/stime.c: Likewise.
1664 * time/time.c: Likewise.
1665
16662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 1667
a20492cf
PT
1668 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
1669 /usr/old/bin.
1670
72e182e3
PT
1671 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
1672 instead of spaces.
1673 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
1674
fbeafede
JM
16752012-11-03 Joseph Myers <joseph@codesourcery.com>
1676
5b5b04d6
JM
1677 [BZ #14796]
1678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
1679 FE_TONEAREST before applying Dekker multiplication and Knuth
1680 addition. Clear inexact exceptions and check for exact zero
1681 results afterwards.
1682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1683 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1684 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1685 * math/libm-test.inc (fma_test): Add more tests.
1686 (fma_test_towardzero): Likewise.
1687 (fma_test_downward): Likewise.
1688 (fma_test_upward): Likewise.
1689 * sysdeps/generic/math_private.h (default_libc_fesetround): New
1690 function.
1691 (libc_fesetround): New macro.
1692 (libc_fesetroundf): Likewise.
1693 (libc_fesetroundl): Likewise.
1694 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
1695 function.
1696 (libc_fesetround_387): Likewise.
1697 (libc_fesetroundf): New macro.
1698 (libc_fesetround): Likewise.
1699 (libc_fesetroundl): Likewise.
1700 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
1701 function.
1702 (libc_fesetroundf): New macro.
1703 (libc_fesetround): Likewise.
1704 (libc_fesetroundl): Likewise.
1705 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
1706 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
1707 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
1708 libm_hidden_ver.
1709 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
1710 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
1711 libm_hidden_def.
1712 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
1713 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
1714 libm_hidden_ver.
1715 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
1716 libm_hidden_def.
1717
fbeafede
JM
1718 [BZ #3439]
1719 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
1720 integer constant usable in #if and use that to give value to enum
1721 constant.
1722 (FE_DIVBYZERO): Likewise.
1723 (FE_UNDERFLOW): Likewise.
1724 (FE_OVERFLOW): Likewise.
1725 (FE_INVALID): Likewise.
1726 (FE_INVALID_SNAN): Likewise.
1727 (FE_INVALID_ISI): Likewise.
1728 (FE_INVALID_IDI): Likewise.
1729 (FE_INVALID_ZDZ): Likewise.
1730 (FE_INVALID_IMZ): Likewise.
1731 (FE_INVALID_COMPARE): Likewise.
1732 (FE_INVALID_SOFTWARE): Likewise.
1733 (FE_INVALID_SQRT): Likewise.
1734 (FE_INVALID_INTEGER_CONVERSION): Likewise.
1735 (FE_TONEAREST): Likewise.
1736 (FE_TOWARDZERO): Likewise.
1737 (FE_UPWARD): Likewise.
1738 (FE_DOWNWARD): Likewise.
1739 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
1740 (FE_DIVBYZERO): Likewise.
1741 (FE_OVERFLOW): Likewise.
1742 (FE_UNDERFLOW): Likewise.
1743 (FE_INEXACT): Likewise.
1744 (FE_TONEAREST): Likewise.
1745 (FE_DOWNWARD): Likewise.
1746 (FE_UPWARD): Likewise.
1747 (FE_TOWARDZERO): Likewise.
1748 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
1749 (FE_UNDERFLOW): Likewise.
1750 (FE_OVERFLOW): Likewise.
1751 (FE_DIVBYZERO): Likewise.
1752 (FE_INVALID): Likewise.
1753 (FE_TONEAREST): Likewise.
1754 (FE_TOWARDZERO): Likewise.
1755 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
1756 (FE_OVERFLOW): Likewise.
1757 (FE_UNDERFLOW): Likewise.
1758 (FE_DIVBYZERO): Likewise.
1759 (FE_INEXACT): Likewise.
1760 (FE_TONEAREST): Likewise.
1761 (FE_TOWARDZERO): Likewise.
1762 (FE_UPWARD): Likewise.
1763 (FE_DOWNWARD): Likewise.
1764 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
1765 (FE_DIVBYZERO): Likewise.
1766 (FE_OVERFLOW): Likewise.
1767 (FE_UNDERFLOW): Likewise.
1768 (FE_INEXACT): Likewise.
1769 (FE_TONEAREST): Likewise.
1770 (FE_DOWNWARD): Likewise.
1771 (FE_UPWARD): Likewise.
1772 (FE_TOWARDZERO): Likewise.
1773
105ca950
CM
17742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
1775
1776 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
1777
a542b389
AS
17782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
1779
1780 * scripts/cross-test-ssh.sh (command): Use newlines to separate
1781 commands. Quote $PWD.
1782 (blacklist_exports): Don't use remove_newlines. Replace "declare
1783 -x" by "export".
1784 (remove_newlines): Remove.
1785
f62c8abc
L
17862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
1789 * stdlib/stdlib.h (atof): Moved to ...
1790 * include/bits/stdlib-float.h: Here. New file.
1791 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
1792 * stdlib/bits/stdlib-float.h: New file.
1793 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
1794 -mno-sse -mno-mmx.
1795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
1796 <xmmintrin.h>.
1797
0155d5b2
JM
17982012-11-02 Joseph Myers <joseph@codesourcery.com>
1799
a68d0680
JM
1800 * conform/conformtest.pl (@headers): Add fenv.h.
1801 * conform/data/fenv.h-data: New file.
1802 * include/fenv.h [_ISOMAC]: Disable all contents of file except
1803 include of <math/fenv.h>.
1804
caf7f573
JM
1805 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
1806 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
1807 && !UNIX98]. Enables tests for XOPEN2K8.
1808 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
1809 POSIX2008]: Likewise.
1810
6c073ad6
JM
1811 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
1812 (struct rusage): Do not expect type or its members.
1813
0155d5b2
JM
1814 [BZ #3439]
1815 * math/math.h (FP_NAN): Define macro to integer constant usable in
1816 #if and use that to give value to enum constant.
1817 (FP_INFINITE): Likewise.
1818 (FP_ZERO): Likewise.
1819 (FP_SUBNORMAL): Likewise.
1820 (FP_NORMAL): Likewise.
1821
b5dcacb4
AS
18222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
1823
1824 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
1825 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
1826 arguments.
1827
f7934be8
RM
18282012-11-02 Roland McGrath <roland@hack.frob.com>
1829
1830 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
1831 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
1832 autoconf-time if not.
1833 * configure.in: Remove AC_PREREQ.
1834
d7d08bde
TMQMF
18352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1836
1837 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
1838 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
1839 of the internal implementation.
1840
dcdae19a
JM
18412012-11-02 Joseph Myers <joseph@codesourcery.com>
1842
1843 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
1844 except include of <misc/sys/syslog.h>.
1845
d6cffd3e
AS
18462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1847
1848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
1849 function returns with a NULL context exit with zero.
1850
b3563932
TMQMF
18512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1852
1853 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
1854
b288a93d
L
18552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
1856
1857 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
1858 (run_program_cmd): This.
1859 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
1860 (tst_langinfo): New variable. Use it.
1861
a2421a68
SAS
18622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
1863
1864 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
1865 floating point opcodes.
1866
6f796e1b
TS
18672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1868
7402596b
TS
1869 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
1870 variable.
1871
d0d4f868
TS
1872 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
1873
6f796e1b
TS
1874 * sysdeps/mach/hurd/powerpc: Remove directory.
1875 * sysdeps/mach/powerpc: Likewise.
1876
4da224a2
AS
18772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
1878
1879 * scripts/check-local-headers.sh: Ignore c++ headers.
1880
341dd673
TS
18812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1882
1883 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
1884 __libc_cleanup_region_start argument.
1885
473611b2
JM
18862012-11-01 Joseph Myers <joseph@codesourcery.com>
1887
1888 [BZ #14784]
1889 [BZ #14785]
1890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
1891 x * y using scaling, not as x * y + z.
1892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1894 * math/libm-test.inc (fma_test): Add more tests.
1895 (fma_test_towardzero): Likewise.
1896 (fma_test_downward): Likewise.
1897 (fma_test_upward): Likewise.
1898
4078da3d
TS
18992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
1900
1901 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
1902
903252aa
JM
19032012-10-31 Joseph Myers <joseph@codesourcery.com>
1904
1905 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
1906 New variable.
1907
cbc818d0
TS
19082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
1909
1910 * rt/tst-shm.c (worker): Correct checking for mmap failure.
1911
5a03cb1e
AS
19122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1913
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1915 Fix sort order.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1917 Likewise.
1918
90aff2ff
TMQMF
19192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1920
1921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1922 Fix the order of the list for glibc 2.17.
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1924 Likewise.
1925
1818fcb7
AS
19262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
1927
1928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1929
ef82f4da
JM
19302012-10-31 Joseph Myers <joseph@codesourcery.com>
1931
16a0e2ec
JM
1932 [BZ #14610]
1933 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
1934 for low part of x being zero before using __atanl (y).
1935 * math/libm-test.inc (atan2_test): Add another test.
1936
0eb69512
JM
1937 * manual/install.texi (Configuring and compiling): Document
1938 general use of test-wrapper and test-wrapper-env.
1939 * INSTALL: Regenerated.
1940
ef82f4da
JM
1941 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
1942 (__fma): Do not extract and scale down low bits on after-rounding
1943 systems when result rounded to normal precision would have normal
1944 exponent.
1945 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
1946 (__fmal): Do not extract and scale down low bits on after-rounding
1947 systems when result rounded to normal precision would have normal
1948 exponent.
1949 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
1950 (__fmal): Do not extract and scale down low bits on after-rounding
1951 systems when result rounded to normal precision would have normal
1952 exponent.
1953 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
1954 macro.
1955 (fma_test): Add more tests.
1956 (fma_test_towardzero): Likewise.
1957 (fma_test_downward): Likewise.
1958 (fma_test_upward): Likewise.
1959
954ef0d9
L
19602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
1961
1962 * sysdeps/i386/tininess.h: Renamed to ...
1963 * sysdeps/x86/tininess.h: This.
1964 * sysdeps/x86_64/tininess.h: Removed.
1965
df61ffb2
JM
19662012-10-30 Joseph Myers <joseph@codesourcery.com>
1967
1968 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
1969 input. Use $(build-program-cmd).
1970 ($(objpfx)tst-array1-static.out): Likewise.
1971 ($(objpfx)tst-array2.out): Likewise.
1972 ($(objpfx)tst-array3.out): Likewise.
1973 ($(objpfx)tst-array4.out): Likewise.
1974 ($(objpfx)tst-array5.out): Likewise.
1975 ($(objpfx)tst-array5-static.out): Likewise.
1976
01767843
CM
19772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
1978
47cc1490
CM
1979 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
1980 if defined.
1981
01767843
CM
1982 * nss/nsswitch.h (nss_interface_function): Provide new
1983 macro for use with NSS functions.
1984 * grp/initgroups.c: Use new macro.
1985 * nss/getXXbyYY.c: Likewise.
1986 * nss/getXXbyYY_r.c: Likewise.
1987 * nss/getXXent.c: Likewise.
1988 * nss/getXXent_r.c: Likewise.
1989 * sysdeps/posix/getaddrinfo.c: Likewise.
1990
8321aa97
AJ
19912012-10-30 Andreas Jaeger <aj@suse.de>
1992
1993 * po/ru.po: Update Russion translation from translation project.
1994
2a27fd6d
JM
19952012-10-30 Joseph Myers <joseph@codesourcery.com>
1996
8627a232
JM
1997 [BZ #14152]
1998 [BZ #14783]
1999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2000 result and shift together with sticky bit instead of replicating
2001 round-to-nearest rounding.
2002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2004 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2005 missing underflow exceptions.
2006 (fma_test_towardzero): Add more tests.
2007 (fma_test_downward): Likewise.
2008 (fma_test_upward): Likewise.
2009
2a27fd6d
JM
2010 [BZ #14047]
2011 * sysdeps/generic/tininess.h: New file.
2012 * sysdeps/i386/tininess.h: Likewise.
2013 * sysdeps/sh/tininess.h: Likewise.
2014 * sysdeps/x86_64/tininess.h: Likewise.
2015 * stdlib/tst-strtod-underflow.c: Likewise.
2016 * stdlib/tst-tininess.c: Likewise.
2017 * stdlib/strtod_l.c: Include <tininess.h>.
2018 (round_and_return): Do not set errno for exact underflow cases.
2019 Force an underflow exception when setting errno for underflow.
2020 Determine underflow based on rounding to normal precision if
2021 TININESS_AFTER_ROUNDING.
2022 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2023 ERANGE for exact underflow cases.
2024 * stdlib/Makefile (tests): Add tst-tininess and
2025 tst-strtod-underflow.
2026 ($(objpfx)tst-tininess): Use $(link-libm).
2027 ($(objpfx)tst-strtod-underflow): Likewise.
2028
e7170363
AJ
20292012-10-30 Andreas Jaeger <aj@suse.de>
2030
e5088dc6
AJ
2031 [BZ#14767]
2032 * elf/Makefile (tests): Remove conditional for have-initfini-array
2033 since this is now always required and the variable does not exist
2034 anymore.
2035 (tests-static): Likewise.
2036 (modules-names): Likewise.
2037
e7170363 2038 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
2039
2040 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2041 merged with constructor/destructor.
2042 (init_array): Likewise.
2043 * elf/tst-array2dep.c (fini_array): Likewise.
2044 (init_array): Likewise.
2045
60457d8a
MF
20462012-10-29 Mike Frysinger <vapier@gentoo.org>
2047
2048 * manual/message.texi: Delete @cartouche tags.
2049
8bece752
PT
20502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2051
94ce799f
PT
2052 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2053 EOPNOTSUPP.
2054 * sysdeps/mach/hurd/fsync.c: Likewise.
2055
8bece752
PT
2056 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2057 [_POSIX_REALTIME_SIGNALS]: Change condition to
2058 [_POSIX_REALTIME_SIGNALS > 0].
2059
86ebe6b1
AJ
20602012-10-27 Andreas Jaeger <aj@suse.de>
2061
2062 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2063 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2064 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2065 [__WORDSIZE != 64]: Likewise.
2066
54399c08
L
20672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2068
2069 * iconvdata/tst-table.sh: Remove ${SHELL}.
2070 * iconvdata/tst-tables.sh: Likewise.
2071
e2211bed
DM
20722012-10-25 David S. Miller <davem@davemloft.net>
2073
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2075 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2076 of strtoull.
2077
f303f97c
DM
2078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2079 ifunc-impl-list.c
2080 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2081 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2082 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2083 file.
2084
1e9d84cd
RM
20852012-10-25 Roland McGrath <roland@hack.frob.com>
2086
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2088 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2089 __getdirentries.
2090
df381762
JM
20912012-10-25 Joseph Myers <joseph@codesourcery.com>
2092 Jim Blandy <jimb@codesourcery.com>
2093
2094 * scripts/cross-test-ssh.sh: New file.
2095 * manual/install.texi (Configuring and compiling): Document use of
2096 cross-test-ssh.sh.
2097 * INSTALL: Regenerated.
2098
bff64913
PT
20992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2100
2101 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2102 EOPNOTSUPP.
2103
25fe8932
JM
21042012-10-25 Joseph Myers <joseph@codesourcery.com>
2105
2106 * Makeconfig (run-program-prefix): Fix comment.
2107
cc1290d0
JM
21082012-10-24 Joseph Myers <joseph@codesourcery.com>
2109 Jim Blandy <jimb@codesourcery.com>
2110
2111 * Makeconfig (test-wrapper): New variable,
2112 (test-wrapper-env): Likewise.
2113 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2114 (run-built-tests): Define to yes.
2115 (run-program-prefix): Use $(test-wrapper).
2116 (built-program-cmd): Likewise.
2117 * Rules (make-test-out): Use $(test-wrapper-env) and
2118 $(host-built-program-cmd).
2119 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2120 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2121 tst-pathopt.sh.
2122 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2123 $(test-wrapper-env) to tst-rtld-load-self.sh.
2124 ($(objpfx)order2.out): Use $(test-wrapper).
2125 ($(objpfx)tst-initorder.out): Likewise.
2126 ($(objpfx)tst-initorder2.out): Likewise.
2127 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2128 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2129 (test_wrapper_env): New variable. Use it to run ld.so.
2130 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2131 Use it to run ld.so.
2132 (test_wrapper_env): Likewise.
2133 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2134 $(test-wrapper) to run-iconv-test.sh.
2135 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2136 (ICONV): Use $test_wrapper.
2137 * posix/Makefile ($(objpfx)globtest.out): Pass
2138 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2139 globtest.sh, not $(run-program-prefix).
2140 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2141 (test_wrapper): Likewise.
2142 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2143 set together with run_via_rtld_prefix.
2144 (run_program_prefix): Define in terms of test_wrapper and
2145 run_via_rtld_prefix.
2146
6e6249d0
RM
21472012-10-24 Roland McGrath <roland@hack.frob.com>
2148
2149 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2150 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2151 Targets removed.
2152
2153 [BZ #14743]
2154 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2155 Declare __clock_getres, __clock_gettime, __clock_settime,
2156 __clock_nanosleep, and __clock_getcpuclockid.
2157 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2158 Remove librt_hidden_def (clock_gettime).
2159 * sysdeps/unix/clock_gettime.c: Likewise.
2160 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2161 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2162 * rt/clock_getres.c: Define __clock_getres as an alias.
2163 * sysdeps/posix/clock_getres.c: Likewise.
2164 * rt/clock_settime.c: Define __clock_settime as an alias.
2165 * sysdeps/unix/clock_settime.c: Likewise.
2166 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2167 * sysdeps/unix/clock_nanosleep.c: Likewise.
2168 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2169 * rt/clock-compat.c: New file.
2170 * rt/Makefile (librt-routines): Add clock-compat and move
2171 $(clock-routines) to ...
2172 (routines): ... here, new variable.
2173 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2174 Don't add get_clockfreq here.
2175 * rt/Versions (libc: GLIBC_2.17): New version set.
2176 Add clock_* symbols here.
2177 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2178 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2179 (GLIBC_2.17): Add clock_* symbols.
2180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2184 Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2186 Likewise.
2187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2191 * NEWS: Mention the move.
2192
2193 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2194 Use __open, __read, __close rather than their public counterparts.
2195 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2196 (__get_clockfreq_via_cpuinfo): Likewise.
2197 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2198 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2199
2200 * config.h.in (HAVE_IFUNC): New #undef.
2201 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2202 was successful.
2203 * configure: Regenerated.
2204
0cae3f4b
MF
22052012-10-24 Mike Frysinger <vapier@gentoo.org>
2206
2207 * configure.in: Move READELF check to start of file.
2208 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2209 libc_cv_asm_gnu_indirect_function in the process.
2210 * configure: Regenerated.
2211
8175a253
MF
22122012-10-24 Mike Frysinger <vapier@gentoo.org>
2213
2214 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2215 send the output to /dev/null.
2216 (libc_cv_cc_with_libunwind): Likewise.
2217 (libc_cv_as_noexecstack): Likewise.
2218 * configure: Regenerate.
2219
0708a7d1
JM
22202012-10-24 Joseph Myers <joseph@codesourcery.com>
2221
10b40d85
JM
2222 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2223
0708a7d1
JM
2224 * posix/globtest.sh (TMPDIR): Do not set.
2225 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2226 (testout): Likewise.
2227
9fddec1a
AJ
22282012-10-24 Andreas Jaeger <aj@suse.de>
2229
3a8db22f
AJ
2230 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2231 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2232 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2233 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2234 posix_fadvise64, posix_fallocate64.
2235
9fddec1a
AJ
2236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2237 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2238 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2239 Likewise.
2240 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2241 Likewise.
2242 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2243
2244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2245 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2246 <bits/fcntl-linux.h>.
2247 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2248
2249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2250 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2251 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2252 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2253 [__WORDSIZE != 64]: Likewise.
2254
ebfd1bbd
JM
22552012-10-23 Joseph Myers <joseph@codesourcery.com>
2256
03ac099f
JM
2257 * Makeconfig (run-built-tests): New variable.
2258 * Rules [$(cross-compiling) = yes]: Change condition to
2259 [$(run-built-tests) = no].
2260 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2261 to [$(run-built-tests) = yes].
2262 * elf/Makefile [$(cross-compiling) = no]: Likewise
2263 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2264 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2265 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2266 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2267 * io/Makefile [$(cross-compiling) = no]: Likewise.
2268 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2269 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2270 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2271 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2272 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2273 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2274 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2275 * string/Makefile [$(cross-compiling) = no]: Likewise.
2276
ebfd1bbd
JM
2277 * posix/Makefile ($(objpfx)globtest.out): Pass
2278 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2279 $(rtld-installed-name).
2280 * posix/globtest.sh (elf_objpfx): Remove variable.
2281 (rtld_installed_name): Likewise.
2282 (library_path): Likewise.
2283 (run_program_prefix): New variable. Use for running globtest
2284 binary.
2285
166bca24
JB
22862012-10-23 Jim Blandy <jimb@codesourcery.com>
2287 Joseph Myers <joseph@codesourcery.com>
2288
2289 * Makeconfig (host-built-program-cmd): New variable.
2290 * elf/Makefile (tst-stackguard1-ARGS): Use
2291 $(host-built-program-cmd).
2292 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2293 (tst-spawn-ARGS): Likewise.
2294 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2295
88866099
JM
22962012-10-23 Joseph Myers <joseph@codesourcery.com>
2297 Jim Blandy <jimb@codesourcery.com>
2298
2299 * Makeconfig (run-via-rtld-prefix): New variable.
2300 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2301 (built-program-cmd): Likewise.
2302
b4b4c296
AJ
23032012-10-22 Andreas Jaeger <aj@suse.de>
2304
2305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2306 __O_RSYNC if it exists, otherwise to O_SYNC.
2307
6fb54a22
JB
23082012-10-22 Jim Blandy <jimb@codesourcery.com>
2309 Joseph Myers <joseph@codesourcery.com>
2310
2311 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2312 /dev/null.
2313 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2314 from /dev/null
2315 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2316 /dev/null.
2317
481b90b9
AJ
23182012-10-22 Andreas Jaeger <aj@suse.de>
2319
2a0e2669
AJ
2320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2321 Define always.
2322 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2323
76e38f9a
AJ
2324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2325 bits/fcntl-linux.h.
2326
7cd37b43
AJ
2327 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2328 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2329
481b90b9
AJ
2330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2331 to __O_LARGEFILE.
2332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2333 to __O_LARGEFILE.
2334
aba75984
JB
23352012-10-21 Jim Blandy <jimb@codesourcery.com>
2336 Joseph Myers <joseph@codesourcery.com>
2337
2338 * config.make.in (NM): New variable.
2339
88d4247f
AJ
23402012-10-21 Andreas Jaeger <aj@suse.de>
2341
2342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2343 definitions and declarations that are provided by
2344 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2345
f2eed205
L
23462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 [BZ #14683]
2349 * elf/Makefile (tests-static): Add tst-leaks1-static.
2350 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2351 ($(objpfx)tst-leaks1-static): New rule.
2352 ($(objpfx)tst-leaks1-static-mem): Likewise.
2353 (tst-leaks1-static-ENV): New macro.
2354 * elf/dl-open.c (dl_open_worker): Check the main application
2355 only if SHARED is defined.
2356 * elf/tst-leaks1-static.c: New file.
2357
335e6931
AJ
23582012-10-20 Andreas Jaeger <aj@suse.de>
2359
2360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2361 generic values for Linux.
2362 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2363 and declarations that are provided by <bits/fcntl-linux.h> and
2364 include <bits/fcntl-linux.h>.
2365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2366 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2367
ac5c94d3
RM
23682012-10-20 Roland McGrath <roland@hack.frob.com>
2369
2370 * io/fcntl.h: Move include of <bits/types.h> to the top and
2371 include it unconditionally.
2372
de54b33a
L
23732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2374
228cfb01
L
2375 * wcsmbs/Makefile (tests-ifunc): New variable.
2376 (tests): Add $(tests-ifunc).
2377 * wcsmbs/test-wcschr-ifunc.c: New file.
2378 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2379 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2380 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2381 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2382 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2383
69f07e5f
L
2384 * string/Makefile (tests-ifunc): New variable.
2385 (tests): Add $(tests-ifunc).
2386 * string/test-memccpy.c (TEST_NAME): New macro.
2387 * string/test-memchr.c (TEST_NAME): Likewise.
2388 * string/test-memcmp.c (TEST_NAME): Likewise.
2389 * string/test-memcpy.c (TEST_NAME): Likewise.
2390 * string/test-memmem.c (TEST_NAME): Likewise.
2391 * string/test-memmove.c (TEST_NAME): Likewise.
2392 * string/test-memset.c (TEST_NAME): Likewise.
2393 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2394 * string/test-stpcpy.c (TEST_NAME): Likewise.
2395 * string/test-stpncpy.c (TEST_NAME): Likewise.
2396 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2397 * string/test-strcasestr.c (TEST_NAME): Likewise.
2398 * string/test-strcat.c (TEST_NAME): Likewise.
2399 * string/test-strchr.c (TEST_NAME): Likewise.
2400 * string/test-strcmp.c(TEST_NAME): Likewise.
2401 * string/test-strcpy.c (TEST_NAME): Likewise.
2402 * string/test-strcspn.c (TEST_NAME): Likewise.
2403 * string/test-strlen.c (TEST_NAME): Likewise.
2404 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2405 * string/test-strncmp.c (TEST_NAME): Likewise.
2406 * string/test-strncpy.c (TEST_NAME): Likewise.
2407 * string/test-strnlen.c (TEST_NAME): Likewise.
2408 * string/test-strpbrk.c (TEST_NAME): Likewise.
2409 * string/test-strrchr.c (TEST_NAME): Likewise.
2410 * string/test-strspn.c (TEST_NAME): Likewise.
2411 * string/test-strstr.c (TEST_NAME): Likewise.
2412 * string/test-bcopy-ifunc.c: New file.
2413 * string/test-bzero-ifunc.c: Likewise.
2414 * string/test-memccpy-ifunc.c: Likewise.
2415 * string/test-memchr-ifunc.c: Likewise.
2416 * string/test-memcmp-ifunc.c: Likewise.
2417 * string/test-memcpy-ifunc.c: Likewise.
2418 * string/test-memmem-ifunc.c: Likewise.
2419 * string/test-memmove-ifunc.c: Likewise.
2420 * string/test-mempcpy-ifunc.c: Likewise.
2421 * string/test-memset-ifunc.c: Likewise.
2422 * string/test-rawmemchr-ifunc.c: Likewise.
2423 * string/test-stpcpy-ifunc.c: Likewise.
2424 * string/test-stpncpy-ifunc.c: Likewise.
2425 * string/test-strcasecmp-ifunc.c: Likewise.
2426 * string/test-strcasestr-ifunc.c: Likewise.
2427 * string/test-strcat-ifunc.c: Likewise.
2428 * string/test-strchr-ifunc.c: Likewise.
2429 * string/test-strchrnul-ifunc.c: Likewise.
2430 * string/test-strcmp-ifunc.c: Likewise.
2431 * string/test-strcpy-ifunc.c: Likewise.
2432 * string/test-strcspn-ifunc.c: Likewise.
2433 * string/test-strlen-ifunc.c: Likewise.
2434 * string/test-strncasecmp-ifunc.c: Likewise.
2435 * string/test-strncat-ifunc.c: Likewise.
2436 * string/test-strncmp-ifunc.c: Likewise.
2437 * string/test-strncpy-ifunc.c: Likewise.
2438 * string/test-strnlen-ifunc.c: Likewise.
2439 * string/test-strpbrk-ifunc.c: Likewise.
2440 * string/test-strrchr-ifunc.c: Likewise.
2441 * string/test-strspn-ifunc.c: Likewise.
2442 * string/test-strstr-ifunc.c: Likewise.
2443
de54b33a
L
2444 * debug/Makefile (tests-ifunc): New variable.
2445 (tests): Add $(tests-ifunc).
2446 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2447 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2448 * debug/test-stpcpy_chk-ifunc.c: New file.
2449 * debug/test-strcpy_chk-ifunc.c: Likewise.
2450
88481c16
SP
24512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2452
2453 [BZ #13601]
2454 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2455 header is not read in.
2456
135948bd
JM
24572012-10-19 Joseph Myers <joseph@codesourcery.com>
2458
89f1c388
JM
2459 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2460 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2461 directly. Pass built executable to script as
2462 $(built-program-cmd).
2463 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2464 $testprogram without using LD_LIBRARY_PATH and $ldso.
2465
e40a0d21
JM
2466 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
2467 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
2468 $(rtld-installed-name).
2469 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
2470 (rtld_installed_name): Likewise.
2471 (library_path): Likewise.
2472 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
2473 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
2474 $(run-program-prefix) to tst-tables.sh.
2475 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
2476 it to run tst-table-from and tst-table-to.
2477 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
2478 Pass it to tst-table.sh.
2479 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
2480 $(run-program-prefix) to tst-gettext.sh.
2481 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
2482 tst-translit.sh.
2483 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
2484 tst-gettext2.sh.
2485 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
2486 to run tst-gettext.
2487 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
2488 to run tst-gettext2.
2489 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
2490 to run tst-translit.
2491 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
2492 $(run-program-prefix) to tst-mtrace.sh.
2493 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
2494 to run tst-mtrace.
2495 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
2496 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
2497 $(rtld-installed-name).
2498 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
2499 (rtld_installed_name): Likewise.
2500 (run_program_prefix): New variable. Use it to run wordexp-test.
2501
728e272a
JM
2502 * Makeconfig (ARCH): Remove all definitions.
2503 (machine): Likewise.
2504 [ARCH]: Remove conditional code.
2505 [!objdir]: Give error.
2506 [!objdir] (objpfx): Remove.
2507 [!objdir] (common-objpfx): Likewise.
2508 [!objdir] (common-objdir): Likewise.
2509 * configure.in (config_makefile): Remove. Hardcode Makefile in
2510 AC_CONFIG_FILES call.
2511 * configure: Regenerated.
2512
d528cdcf
JM
2513 [BZ #13888]
2514 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
2515 or TMPDIR.
2516 (testout): Likewise.
2517
135948bd
JM
2518 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
2519 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
2520 $(rtld-installed-name).
2521 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
2522 (rtld_installed_name): Likwise.
2523 (runit): Remove function.
2524 (run_getconf): New variable, Use it for running getconf binary.
2525
38c78296
L
25262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
2527
2528 [BZ #14716]
2529 * string/test-memmem.c (check_result): New function.
2530 (do_one_test): Use it.
2531 (check1): New function.
2532 (test_main): Use it.
2533
d077f65f
MT
25342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2535
2536 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
2537
ced52c71
JM
25382012-10-18 Joseph Myers <joseph@codesourcery.com>
2539
2540 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
2541 (_G_LSEEK64): Likewise.
2542 (_G_MMAP64): Likewise.
2543 (_G_FSTAT64): Likewise.
2544 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
2545 (_G_LSEEK64): Likewise.
2546 (_G_MMAP64): Likewise.
2547 (_G_FSTAT64): Likewise.
2548 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
2549 unconditional. Call __mmap64 directly.
2550 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
2551 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
2552 __lseek64 directly.
2553 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
2554 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
2555 __mmap64 directly.
2556 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
2557 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
2558 __lseek64 directly.
2559 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
2560 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
2561 __lseek64 directly.
2562 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
2563 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
2564 __lseek64 directly.
2565 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
2566 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
2567 __fxstat64 directly.
2568 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
2569 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
2570 unconditional.
2571 (freopen64) [!_G_OPEN64]: Remove conditional code.
2572 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
2573 unconditional.
2574 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
2575 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
2576 unconditional.
2577 (ftello64) [!_G_LSEEK64]: Remove conditional code.
2578 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
2579 unconditional.
2580 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2581 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
2582 unconditional.
2583 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
2584 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
2585 unconditional.
2586 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2587 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
2588 unconditional.
2589 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
2590 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
2591 unconditional.
2592 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
2593
b741de23
SP
25942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2595
2596 [BZ #12140]
2597 * manual/memory.texi (Malloc Tunable Parameters): Add note
2598 about free list pointers overwriting some perturb bytes.
2599 Wording suggested by Roland McGrath.
2600
f9b9d9c9
JM
26012012-10-17 Joseph Myers <joseph@codesourcery.com>
2602
2603 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
2604 (lgamma_test): Likewise.
2605 (tgamma_test): Likewise.
2606
172a631a
FW
26072012-10-16 Florian Weimer <fweimer@redhat.com>
2608
2609 [BZ #14700]
2610 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
2611 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
2612
e9f37252
MK
26132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2614
2615 * NEWS: Mention BZ #14716.
2616 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
2617 when removing AVAILABLE1_USES_J macro.
2618
d394eb74
L
26192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
2620
2621 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
2622 (__bswap_64): __uint64_t for unsigned 64-bit int.
2623
ca38dc17
AS
26242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
2625
2626 * include/string.h (memmem): Declare libc hidden alias.
2627 * string/memmem.c (memmem): Define libc hidden alias.
2628 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
2629 __read, __close instead of open, read, close.
2630
9a387d1f
L
26312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2632
ac49ecaf
L
2633 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
2634 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
2635 global and hidden.
2636 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
2637 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
2638 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
2639 Likewise.
2640 (__rawmemchr_sse2): Likewise.
2641 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
2642 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
2643 (__strchr_sse2): Likewise.
2644 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
2645 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
2646 (__strcasecmp_sse2): Likewise.
2647 (__strncasecmp_sse2): Likewise.
2648 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
2649 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
2650 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
2651 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
2652 (__strrchr_sse2): Likewise.
2653 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
2654 ifunc-impl-list.c.
2655 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2656 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2657 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2658 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2659 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2660 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2661 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2662 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2663 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
2664 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
2665 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2666 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
2667 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
2668 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2669 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2670 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2671 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2672 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2673 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
2674 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
2675 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2676 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
2677 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2678 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2679 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2680 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2681 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2682 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2683 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2684 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2685
b090e8ea
L
2686 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
2687 global and hidden.
2688 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
2689 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
2690 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
2691 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
2692 Likewise.
2693 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
2694 Likewise.
2695 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
2696 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
2697 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
2698 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
2699 ifunc-impl-list.c.
2700 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2701 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2702 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2703 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2704 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2705 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2706 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2707 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2708 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2709 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2710 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2711 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2712 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2713 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
2714 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
2715 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2716 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
2717 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
2718 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2719 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2720 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2721 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2722 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2723 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2724 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2725 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
2726 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
2727 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
2728 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
2729 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2730 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
2731 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2732 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2733 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
2734 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2735 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2736 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2737 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2738 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2739 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2740 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
2741
11dd4af6
L
2742 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
2743 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
2744 * include/ifunc-impl-list.h: New file.
2745 * misc/ifunc-impl-list.c: Likewise.
2746 * misc/Makefile (routines): Add ifunc-impl-list.
2747 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
2748 * string/test-string.h: Include <ifunc-impl-list.h>.
2749 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
2750 impl_array): New variables.
2751 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
2752 are defined.
2753 (test_init): Call __libc_ifunc_impl_list to initialize
2754 func_list if TEST_IFUNC and TEST_NAME are defined.
2755
9a387d1f
L
2756 * string/Makefile (strop-tests): Add bcopy and bzero.
2757 * string/test-bcopy.c: New file.
2758 * string/test-bzero.c: Likewise.
2759 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
2760 defined.
2761 * string/test-memset.c: Support bzero test if TEST_BZERO is
2762 defined.
2763 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
2764 __libc_memmove.
2765 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
2766 __libc_memset.
2767 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
2768 of memset.
2769
472371b9
JM
27702012-10-10 Joseph Myers <joseph@codesourcery.com>
2771
1e4a9536
JM
2772 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
2773 * configure: Regenerated.
2774
d173d12e
JM
2775 * Makeconfig (+link-static-before-libc): Don't include
2776 $(link-static-libc).
2777
472371b9
JM
2778 * libio/libio.h (_IO_pos_t): Remove.
2779
89a3ad0b
AO
27802012-10-10 Alexandre Oliva <aoliva@redhat.com>
2781
2782 * NEWS: Add note about FIPS mode. Wording suggested by Roland
2783 McGrath.
2784
e7451425
AO
27852012-10-10 Alexandre Oliva <aoliva@redhat.com>
2786
2787 * crypt/crypt-entry.c: Include fips-private.h.
2788 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
2789 * crypt/md5c-test.c (main): Tolerate disabled MD5.
2790 * sysdeps/unix/sysv/linux/fips-private.h: New file.
2791 * sysdeps/generic/fips-private.h: New file, dummy fallback.
2792
4ba74a35
AO
27932012-10-10 Alexandre Oliva <aoliva@redhat.com>
2794
2795 * crypt/crypt-private.h: Include stdbool.h.
2796 (_ufc_setup_salt_r): Return bool.
2797 * crypt/crypt-entry.c: Include errno.h.
2798 (__crypt_r): Return NULL with EINVAL for bad salt.
2799 * crypt/crypt_util.c (bad_for_salt): New.
2800 (_ufc_setup_salt_r): Check that salt is long enough and within
2801 the specified alphabet.
2802 * crypt/badsalttest.c: New file.
2803 * crypt/Makefile (tests): Add it.
2804 ($(objpfx)badsalttest): New.
2805
f96f1242
MK
28062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
2807
2808 * NEWS: Add entry for BZ #14602.
2809
0e8e0c1c
JM
28102012-10-09 Joseph Myers <joseph@codesourcery.com>
2811
2812 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
2813 type-generic.
2814 * math/libm-test.inc: Update comment listing what functions and
2815 macros are tested.
2816 (isgreater_test): New function.
2817 (isgreaterequal_test): Likewise.
2818 (isless_test): Likewise.
2819 (islessequal_test): Likewise.
2820 (islessgreater_test): Likewise.
2821 (isunordered_test): Likewise.
2822 (main): Call the new functions.
2823
273edc5e
RM
28242012-10-09 Roland McGrath <roland@hack.frob.com>
2825
b8493de0
RM
2826 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
2827 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
2828 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
2829 * sysdeps/i386/configure: Regenerated.
2830 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2831 * sysdeps/mach/configure: Regenerated.
2832 * sysdeps/mach/hurd/configure: Regenerated.
2833 * sysdeps/powerpc/configure: Regenerated.
2834 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2835 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2836 * sysdeps/s390/s390-32/configure: Regenerated.
2837 * sysdeps/s390/s390-64/configure: Regenerated.
2838 * sysdeps/sh/configure: Regenerated.
2839 * sysdeps/sparc/configure: Regenerated.
2840 * sysdeps/unix/sysv/linux/configure: Regenerated.
2841 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2842 * sysdeps/x86_64/configure: Regenerated.
2843
273edc5e
RM
2844 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
2845 defined. Don't check if MAP is NULL.
2846
c8450f70
JM
28472012-10-09 Joseph Myers <joseph@codesourcery.com>
2848
2849 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
2850 (_G_stat64): Likewise.
2851 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
2852 (_G_stat64): Likewise.
2853 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
2854 instead of struct _G_stat64.
2855 * libio/fileops.c (mmap_remap_check): Likewise.
2856 (decide_maybe_mmap): Likewise.
2857 (_IO_new_file_seekoff): Likewise.
2858 (_IO_file_stat): Likewise.
2859 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
2860 _G_off64_t.
2861 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
2862 instead of struct _G_stat64.
2863 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
2864
57e605ba
MK
28652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
2866
2867 [BZ #14602]
2868 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2869 Replace with ...
2870 (CHECK_EOL): New macro.
2871 (two_way_short_needle): Check beginning of haystack for EOL. Use
2872 CHECK_EOL.
2873 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2874 Replace with CHECK_EOL.
2875 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
2876 Replace with CHECK_EOL.
2877
ef1bb361
JM
28782012-10-08 Joseph Myers <joseph@codesourcery.com>
2879
2880 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
2881 type-generic.
2882 * math/libm-test.inc: Update comment listing what functions and
2883 macros are tested.
2884 (finite_test): New function.
2885 (isinf_test): Likewise.
2886 (isnan_test): Likewise.
2887 (fpclassify_test): Test subnormal input.
2888 (isfinite_test): Likewise.
2889 (isnormal_test): Likewise.
2890 (main): Call the new functions.
2891
55f11534
JN
28922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
2893
2894 [BZ #14660]
2895 * Makerules (%.dynsym): Force C locale when running
2896 $(OBJDUMP) --dynamic-syms.
2897
1ab29350
AS
28982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
2899
2900 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
2901 <stdint.h>.
2902
f1ecb7ef
DM
29032012-10-06 David S. Miller <davem@davemloft.net>
2904
2905 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
2906 upper 32-bits of the length value in %o2 since we use branch-on-register
2907 tests which consider the entire 64-bit register.
2908
5d41d91a
L
29092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
2910
2911 * string/test-strstr.c (check2): Add a test for page boundary.
2912
3baddb72
DM
29132012-10-05 David S. Miller <davem@davemloft.net>
2914
2915 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
2916 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
2917 file.
2918 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
2919 sysdep_routines.
2920 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
2921 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
2922 and bzero when HWCAP_SPARC_CRYPTO is present.
2923
9cee5585
L
29242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
2925
d7e0dab9
L
2926 [BZ #14602]
2927 * string/test-strstr.c (check2): New function.
2928 (test_main): Call check2.
2929
03759f47
L
2930 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
2931 and bug-strchr1.
2932 * string/bug-strcasestr1.c (do_test): Moved to ...
2933 * string/test-strcasestr.c (check1): Here. New function.
2934 (do_one_test): Break out result checking code into ...
2935 (check_result): This. New function.
2936 (do_one_test): Call check_result.
2937 (test_main): Call check1.
2938 * string/bug-strchr1.c (do_test): Moved to ...
2939 * string/test-strchr.c (check1): Here. New function.
2940 (do_one_test): Break out result checking code into ...
2941 (check_result): This. New function.
2942 (do_one_test): Call check_result.
2943 (test_main): Call check1.
2944 * string/bug-strstr1.c (main): Moved to ...
2945 * string/test-strchr.c (check1): Here. New function.
2946 (do_one_test): Break out result checking code into ...
2947 (check_result): This. New function.
2948 (do_one_test): Call check_result.
2949 (test_main): Call check1.
2950 * string/bug-strcasestr1.c: Removed.
2951 * string/bug-strchr1.c: Likewise.
2952 * string/bug-strstr1.c: Likewise.
2953
53cea63e
L
2954 * elf/Makefile (dl-routines): Add hwcaps.
2955 * elf/dl-support.c (_dl_important_hwcaps): Removed.
2956 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
2957 (_dl_important_hwcaps): Moved to ...
2958 * elf/dl-hwcaps.c: Here. New file.
2959 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
2960
9cee5585 2961 [BZ #14557]
bb859b06
L
2962 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
2963 if IS_IN_rtld isn't defined.
2964
9cee5585
L
2965 * elf/dl-support.c (_dl_sysinfo_map): New.
2966 Include "get-dynamic-info.h" and "setup-vdso.h".
2967 (_dl_non_dynamic_init): Call setup_vdso.
2968 * elf/dynamic-link.h: Don't include <assert.h>.
2969 (elf_get_dynamic_info): Moved to ...
2970 * elf/get-dynamic-info.h: Here. New file.
2971 * elf/dynamic-link.h: Include "get-dynamic-info.h".
2972 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
2973 * elf/setup-vdso.h: Here. New file.
2974 * elf/rtld.c: Include "setup-vdso.h".
2975 (dl_main): Call setup_vdso.
2976
23c31b76
JM
29772012-10-05 Joseph Myers <joseph@codesourcery.com>
2978
28234b07
JM
2979 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
2980 creal in comment listing functions tested. List finite, isinf,
2981 isnan, isless, islessequal, isgreater, isgreaterequal,
2982 islessgreater, isunordered, lgamma_r and pow10 as functions and
2983 macros not tested. Mention which functions not tested are aliases
2984 for other functions. Fix typo. Note that signs of NaNs are not
2985 tested.
2986
23c31b76
JM
2987 * scripts/config.guess: Update from config.git.
2988 * scripts/config.sub: Likewise.
2989
9043e228
RM
29902012-10-04 Roland McGrath <roland@hack.frob.com>
2991
2992 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
2993 * misc/madvise.c (madvise): Renamed to __madvise.
2994 Make madvise a weak alias.
2995 * include/sys/mman.h: Declare __madvise.
2996 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
2997 * sysdeps/unix/syscalls.list
2998 (madvise): Make __madvise the strong name, and madvise a weak alias.
2999 * sysdeps/unix/sysv/linux/syscalls.list
3000 (madvise, mmap): Remove redundant entries.
3001 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3002 * malloc/malloc.c (mtrim): Likewise.
3003 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3004
f57f8055
RM
30052012-10-03 Roland McGrath <roland@hack.frob.com>
3006
3007 * sysdeps/mach/hurd/dl-cache.c: File removed.
3008 * config.h.in (USE_LDCONFIG): New #undef.
3009 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3010 * configure: Regenerated.
3011 * elf/Makefile (dl-routines): Add dl-cache only under
3012 [$(use-ldconfig) = yes].
3013 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3014 cache on [USE_LDCONFIG].
3015 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3016 [USE_LDCONFIG].
3017 * elf/rtld.c (dl_main): Likewise.
3018
5bb0c10a
PT
30192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3020
3021 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3022 _SC_LEVEL4_CACHE_LINESIZE.
3023
010188c6
RM
30242012-10-03 Roland McGrath <roland@hack.frob.com>
3025
3026 * sysdeps/unix/bsd/confstr.h: File removed.
3027
b6c5ec07
AO
30282012-10-02 Alexandre Oliva <aoliva@redhat.com>
3029
3030 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3031 sys/sdt-config.h.
3032
408223d4
RM
30332012-10-02 Roland McGrath <roland@hack.frob.com>
3034
3035 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3036 Make 'mapoff' field ElfW(Off) rather than off_t.
3037
bb9510dc
DL
30382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3039
fc997c6e
DL
3040 * nscd/Makefile: Remove nscd-cflags and all its users.
3041 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3042 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3043
bb9510dc
DL
3044 [BZ #10631]
3045 * malloc.c (malloc_printerr): Clarify error message.
3046
05699367
L
30472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3048
3049 [BZ #14648]
3050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3051 Set bit_FMA_Usable if FMA is supported.
3052 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3053 macro.
3054 (bit_FMA4_Usable): Updated.
3055 (index_FMA_Usable): New macro.
3056 (CPUID_FMA): Likewise
3057 (HAS_FMA): Defined with bit_FMA_Usable.
3058
51367701
RM
30592012-10-01 Roland McGrath <roland@hack.frob.com>
3060
3061 * bits/types.h (__swblk_t): Type removed.
3062 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3063 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3065 (__SWBLK_T_TYPE): Likewise.
3066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3067 (__SWBLK_T_TYPE): Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3069 (__SWBLK_T_TYPE): Likewise.
3070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3071 (__SWBLK_T_TYPE): Likewise.
3072
4d57bf63 30732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 3074 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
3075
3076 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3077 (xdr_mapname): Use YPMAXMAP as maxsize.
3078 (xdr_peername): Use YPMAXPEER as maxsize.
3079 (xdr_keydat): Use YPAXRECORD as maxsize.
3080 (xdr_valdat): Use YPMAXRECORD as maxsize.
3081
93c65d43
RM
30822012-10-01 Roland McGrath <roland@hack.frob.com>
3083
497a03d6
RM
3084 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3085
93c65d43
RM
3086 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3087 * csu/init-first.c: ... here.
3088 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3089 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3090 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3091 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3092 * sysdeps/i386/init-first.c: File removed.
3093 * sysdeps/sh/init-first.c: File removed.
3094
bec749fd
JM
30952012-10-01 Joseph Myers <joseph@codesourcery.com>
3096
3097 [BZ #14645]
3098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3099 if x * y might underflow to zero and z is zero.
3100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3102 * math/libm-test.inc (min_subnorm_value): New variable.
3103 (fma_test): Add more tests.
3104 (fma_test_towardzero): Likewise.
3105 (fma_test_downward): Likewise
3106 (fma_test_upward): Likewise.
3107 (initialize): Set min_subnorm_value.
3108
8ec5b013
JM
31092012-09-29 Joseph Myers <joseph@codesourcery.com>
3110
3111 [BZ #14638]
3112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3113 0 + 0.
3114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3115 mode for addition resulting in exact zero.
3116 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3118 exact 0 + 0.
3119 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3120 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3121 * math/libm-test.inc (fma_test): Add more tests.
3122 (fma_test_towardzero): New function.
3123 (fma_test_downward): Likewise.
3124 (fma_test_upward): Likewise.
3125 (main): Call the new functions.
3126
b1fa802e
DM
31272012-09-28 David S. Miller <davem@davemloft.net>
3128
3129 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3130
d3b9fd9e
RM
31312012-09-28 Roland McGrath <roland@hack.frob.com>
3132
ea4d37b3
RM
3133 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3134 instead of SIGALRM.
3135
ac51c949
RM
3136 * sysdeps/gnu/_G_config.h: Moved to ...
3137 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3138 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3139 * sysdeps/generic/_G_config.h: ... here.
3140
28c195f7
RM
3141 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3142
848917f9
RM
3143 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3144
6bacf05b
RM
3145 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3146 Conditionalize target on [libnss_test1.so-version].
3147
91363dbb
RM
3148 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3149
cc87f7d8
RM
3150 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3151 (elfobjdir): Move out of conditionals.
3152
b1c608fe
RM
3153 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3154 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3155 (__nss_lookup_function): Conditionalize label remove_from_tree on
3156 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 3157
1d9a6d96
DM
31582012-09-28 David S. Miller <davem@davemloft.net>
3159
3160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3161 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3162 file.
3163 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3164 sysdep_routines.
3165 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3167 when HWCAP_SPARC_CRYPTO is present.
3168
72581615
PT
31692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3170
3171 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3172
715a900c
JL
31732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3174
3175 [BZ #6530]
3176 * stdio-common/vfprintf.c (process_string_arg): Revert
3177 2000-07-22 change.
3178
31792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3180
3181 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3182 for testcase.
3183 * stdio-common/tst-sprintf.c: Include <locale.h>
3184 (main): Test sprintf's handling of incomplete multibyte
3185 characters.
3186
9bac1d86
L
31872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3188
3189 * elf/dl-runtime.c (VERSYMIDX): Removed.
3190 * elf/dl-version.c (VERSYMIDX): Likewise.
3191 * elf/do-rel.h (VERSYMIDX): Likewise.
3192 (VALIDX): Likewise.
3193 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3194 * elf/rtld.c (VALIDX): Likewise.
3195 (ADDRIDX): Likewise.
9bac1d86
L
3196 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3197 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3198 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
3199 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3200 (VALIDX): Likewise.
3201 (ADDRIDX): Likewise.
9bac1d86 3202
b31606c0
PT
32032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3204
3205 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3206
11541177
JL
32072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3208
3209 [BZ #11438]
3210 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3211 to global scope.
3212 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3213 addresses are in the same scope as 192.0.2/24.
3214 * posix/gai.conf: Document new scope table defaults.
3215
adb26fae
SP
32162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3217
3218 [BZ #5298]
3219 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3220 for ftell. Compute offsets from write pointers instead.
3221 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3222
4573c6b0
SP
32232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3224
3225 [BZ #14543]
3226 * libio/Makefile (tests): New test case tst-fseek.
3227 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3228 combination works in wide mode.
3229 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3230 state when the external buffer state changes.
3231
aa9bbfe6
DM
32322012-09-27 David S. Miller <davem@davemloft.net>
3233
3234 [BZ #14376]
3235 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3236 pass reloc->r_addend in as the 'high' argument to
3237 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3238
784421e7
DM
3239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3240
c39bc8b8
PT
32412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3242
3243 * rt/tst-aio2.c: Include <pthread.h>.
3244 * rt/tst-aio3.c: Likewise.
3245
1ccc2399
SE
32462012-09-27 Steve Ellcey <sellcey@mips.com>
3247
3248 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3249
31ed4153
L
32502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3251
25f5f885
L
3252 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3253 contents on [SHARED].
31ed4153 3254
b7bfe116
MP
32552012-09-26 Marek Polacek <polacek@redhat.com>
3256
3257 [BZ #14530]
3258 [BZ #13741]
3259 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3260 for C++ and GCC <4.3 as well as for non GCC compilers.
3261
43c4edba
MT
32622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3263
3264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3265
6a1bf82f
RM
32662012-09-25 Roland McGrath <roland@hack.frob.com>
3267
3268 * Makefile.in (all, install): Declare with .PHONY.
3269 Reported by Michael Hope <michael.hope@linaro.org>.
3270
8ad11b9a
TMQMF
32712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3272
3273 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3274 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3275 system header.
3276 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3277 Likewise.
3278 (sydep_routines): Add the new and the internal functions.
3279 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3280 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3282 (GLIBC_2.17): Add the new function.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3284 (GLIBC_2.17): Likewise.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3286 (GLIBC_2.17): Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3288 (GLIBC_2.17): Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3290
7e2fca8d
AM
32912012-09-25 Alan Modra <amodra@gmail.com>
3292
3293 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3294 Add release barrier before setting once_control to say
3295 initialisation is done. Add hints on lwarx. Use macro in
3296 place of isync.
3297 (clear_once_control): Add release barrier.
3298
b87c4b24
JM
32992012-09-25 Joseph Myers <joseph@codesourcery.com>
3300
d032e0d2
JM
3301 [BZ #13629]
3302 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3303 specially.
3304 * math/s_clog10.c (__clog10): Likewise.
3305 * math/s_clog10f.c (__clog10f): Likewise.
3306 * math/s_clog10l.c (__clog10l): Likewise.
3307 * math/s_clogf.c (__clogf): Likewise.
3308 * math/s_clogl.c (__clogl): Likewise.
3309 * math/Makefile (libm-calls): Add x2y2m1.
3310 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3311 (__x2y2m1): Likewise.
3312 (__x2y2m1l): Likewise.
3313 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3314 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3315 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3317 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3318 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3319 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3320 * sysdeps/i386/fpu/libm-test-ulps: Update.
3321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3322
b87c4b24
JM
3323 [BZ #14621]
3324 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3325 int as type of variable DEPTH.
3326 (glob): Use size_t instead of int as type of variables NEWCOUNT
3327 and OLD_PATHC.
3328
6d3bf199
LD
33292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3330
22bf5c17
LD
3331 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3332 Add s_sincosf-sse2.
3333 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3334 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3335 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3336 macros for using routine as __sincosf_ia32.
3337 Use macro for function declaration and weak_alias.
3338 * sysdeps/i386/fpu/libm-test-ulps: Update.
3339
3340 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3342
3343 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
3344 subnormal argument.
3345 * math/s_cexpf.c (__cexpf): Likewise.
3346 * math/s_csinf.c (__csinf): Likewise.
3347 * math/s_csinhf.c (__csinhf): Likewise.
3348 * math/s_ctanf.c (__ctanf): Likewise.
3349 * math/s_ctanhf.c (__ctanhf): Likewise.
3350 * math/s_ccosh.c (__ccoshf): Likewise.
3351 * math/s_cexp.c (__cexpl): Likewise.
3352 * math/s_csin.c (__csin): Likewise.
3353 * math/s_csinh.c (__csinh): Likewise.
3354 * math/s_ctan.c (__ctan): Likewise.
3355 * math/s_ctanh.c (ctanh): Likewise.
3356 * math/s_ccoshl.c (__ccoshl): Likewise.
3357 * math/s_cexpl.c (__cexpl): Likewise.
3358 * math/s_csinl.c (__csinl): Likewise.
3359 * math/s_csinhl.c (__csinhl): Likewise.
3360 * math/s_ctanl.c (__ctanl): Likewise.
3361 * math/s_ctanhl.c (__ctanhl): Likewise.
3362
203e5603
JM
33632012-09-25 Joseph Myers <joseph@codesourcery.com>
3364
3365 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3366 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3367 (_IO_off_t): Define to __off_t, not _G_off_t.
3368 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3369 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3370 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3371 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3372 type of __dummy and __dummy2 fields.
3373 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3374 (_G_ssize_t): Likewise.
3375 (_G_off_t): Likewise.
3376 (_G_pid_t): Likewise.
3377 (_G_uid_t): Likewise.
3378 (_G_wchar_t): Likewise.
3379 (_G_wint_t): Likewise.
3380 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3381 (_G_ssize_t): Likewise.
3382 (_G_off_t): Likewise.
3383 (_G_pid_t): Likewise.
3384 (_G_uid_t): Likewise.
3385 (_G_wchar_t): Likewise.
3386 (_G_wint_t): Likewise.
3387 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3388 (_G_ssize_t): Likewise.
3389 (_G_off_t): Likewise.
3390 (_G_pid_t): Likewise.
3391 (_G_uid_t): Likewise.
3392 (_G_wchar_t): Likewise.
3393 (_G_wint_t): Likewise.
3394
9fab36eb
SP
33952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3396
3397 * malloc/arena.c: Include malloc-sysdep.h.
3398 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3399 is sufficient to shrink the heap or an unmap is needed.
3400 * sysdeps/generic/malloc-sysdep.h: New file. Define
3401 new function check_may_shrink_heap.
3402 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3403 new function check_may_shrink_heap.
3404
2b4f00d1
SP
34052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3406
3407 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3408 comments.
3409
9a9028b1
DL
34102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3411
57c69bef
DL
3412 * catgets/test-gencat.sh: Add "set -e".
3413 * elf/tst-pathopt.sh: Likewise.
3414 * grp/tst_fgetgrent.sh: Likewise.
3415 * iconvdata/run-iconv-test.sh: Likewise.
3416 * intl/tst-gettext.sh: Likewise.
3417 * intl/tst-gettext2.sh: Likewise.
3418 * intl/tst-gettext4.sh: Likewise.
3419 * intl/tst-gettext6.sh: Likewise.
3420 * intl/tst-translit.sh: Likewise.
3421 * io/ftwtest-sh: Likewise.
3422 * libio/test-freopen.sh: Likewise.
3423 * malloc/tst-mtrace.sh: Likewise.
3424 * posix/globtest.sh: Likewise.
3425 * posix/tst-getconf.sh: Likewise.
3426 * posix/wordexp-tst.sh: Likewise.
3427 * stdio-common/tst-printf.sh: Likewise.
3428 * stdio-common/tst-unbputc.sh: Likewise.
3429 * stdlib/tst-fmtmsg.sh: Likewise.
3430 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3431 * catgets/Makefile: Do not specify -e option when running
3432 testsuite shell scripts.
3433 * elf/Makefile: Likewise.
3434 * grp/Makefile: Likewise.
3435 * iconvdata/Makefile: Likewise.
3436 * intl/Makefile: Likewise.
3437 * io/Makefile: Likewise.
3438 * libio/Makefile: Likewise.
3439 * malloc/Makefile: Likewise.
3440 * posix/Makefile: Likewise.
3441 * stdio-common/Makefile: Likewise.
3442 * stdlib/Makefile: Likewise.
3443 * sysdeps/x86_64/Makefile: Likewise.
3444
9a9028b1
DL
3445 * io/ftwtest-sh: Add copyright header.
3446 * posix/globtest.sh: Likewise.
3447 * posix/tst-getconf.sh: Likewise.
3448 * posix/wordexp-tst.sh: Likewise.
3449 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3450
ced6f16e
L
34512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3452
94b32c39
L
3453 [BZ #13679]
3454 * Makeconfig (+link): Defined as $(+link-static) if
3455 $(build-shared) isn't yes.
3456 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3457 isn't yes.
3458 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3459
189e935b
L
3460 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3461
ced6f16e
L
3462 [BZ #14562]
3463 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3464 new chunk size with MALLOC_ALIGN_MASK.
3465
a9f8e53a
JM
34662012-09-24 Joseph Myers <joseph@codesourcery.com>
3467
3468 [BZ #5044]
3469 * stdio-common/printf_fphex.c: Include <stdbool.h> and
3470 <rounding-mode.h>.
3471 (__printf_fphex): Determine rounding using get_rounding_mode and
3472 round_away.
3473 * stdio-common/tst-printf-round.c (struct hex_test): New
3474 structure.
3475 (hex_tests): New variable.
3476 (test_hex_in_one_mode): New function.
3477 (do_test): Also run tests for hex float output.
3478
43153109
JM
34792012-09-21 Joseph Myers <joseph@codesourcery.com>
3480
3481 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3482 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3483 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
3484 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
3485 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
3486 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
3487 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3488 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
3489
8a26625d
JM
34902012-09-20 Joseph Myers <joseph@codesourcery.com>
3491
3492 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
3493 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
3494 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
3495 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
3496
f3fd569c
DL
34972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
3498
3499 [BZ #14579]
3500 * elf/rtld.c (dl_main): Limit the check for self loading to normal
3501 mode only.
3502 * elf/tst-rtld-load-self.sh: New test.
3503 * elf/Makefile: Run it.
3504
63bbedd4
JM
35052012-09-18 Joseph Myers <joseph@codesourcery.com>
3506
3507 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
3508 (tst-writev-ENV): Remove.
3509 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
3510
626f8b6a
CM
35112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
3512
3513 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
3514
b7aaa4d6
JM
35152012-09-17 Joseph Myers <joseph@codesourcery.com>
3516
3517 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
3518 unconditional.
3519 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
3520 Likewise.
3521 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
3522 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
3523 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
3524 Likewise.
3525
65513990
L
35262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 [BZ #14587]
3529 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
3530 * config.make.in (have-cpp-asm-debuginfo): Removed.
3531 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
3532 * configure: Regenerated.
3533
784761be
JM
35342012-09-14 Joseph Myers <joseph@codesourcery.com>
3535
3536 [BZ #5044]
3537 * stdio-common/printf_fp.c: Include <stdbool.h> and
3538 <rounding-mode.h>.
3539 (___printf_fp): Determine rounding using get_rounding_mode and
3540 round_away.
3541 * stdio-common/tst-printf-round.c: New file.
3542 * stdio-common/Makefile (tests): Add tst-printf-round.
3543 (link-libm): New variable.
3544 ($(objpfx)tst-printf-round): Depend in $(link-libm).
3545
9503345f
L
35462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
3547
3548 [BZ #14576]
3549 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
3550 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
3551 Likewise.
3552 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
3553 Likewise.
3554
ad35fc00
JM
35552012-09-13 Joseph Myers <joseph@codesourcery.com>
3556
3557 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
3558 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3559 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3560 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
3561
6c9b0f68
JM
35622012-09-12 Joseph Myers <joseph@codesourcery.com>
3563
3564 [BZ #14518]
3565 * include/rounding-mode.h: New file.
3566 * sysdeps/generic/get-rounding-mode.h: Likewise.
3567 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
3568 * stdlib/strtod_l.c: Include <rounding-mode.h>.
3569 (MAX_VALUE): New macro.
3570 (MIN_VALUE): Likewise.
3571 (overflow_value): New function.
3572 (underflow_value): Likewise.
3573 (round_and_return): Use overflow_value and underflow_value to
3574 determine return values in overflow and underflow cases. Use
3575 round_away to determine rounding depending on rounding mode.
3576 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
3577 determine return values in overflow and underflow cases.
3578 * stdlib/tst-strtod-round.c: Include <fenv.h>.
3579 (struct test_results): New structure.
3580 (struct test): Use struct test_results to store expected results
3581 for all rounding modes.
3582 (TEST): Include expected results for all rounding modes.
3583 (test_in_one_mode): New function.
3584 (do_test): Use test_in_one_mode to compute and check results.
3585 Check results for all rounding modes.
3586 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
3587 $(link-libm).
3588
19fcedd5
AM
35892012-12-09 Allan McRae <allan@archlinux.org>
3590
1e9d84cd 3591 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 3592
8bbfd2f1
JM
35932012-09-11 Joseph Myers <joseph@codesourcery.com>
3594
3595 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
3596 (_G_int32_t): Likewise.
3597 (_G_uint16_t): Likewise.
3598 (_G_uint32_t): Likewise.
3599 (_G_HAVE_BOOL): Likewise.
3600 (_G_HAVE_ATEXIT): Likewise.
3601 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3602 (_G_HAVE_IO_FILE_OPEN): Likewise.
3603 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
3604 (_G_int32_t): Likewise.
3605 (_G_uint16_t): Likewise.
3606 (_G_uint32_t): Likewise.
3607 (_G_HAVE_BOOL): Likewise.
3608 (_G_HAVE_ATEXIT): Likewise.
3609 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3610 (_G_HAVE_IO_FILE_OPEN): Likewise.
3611 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
3612 (_G_int32_t): Likewise.
3613 (_G_uint16_t): Likewise.
3614 (_G_uint32_t): Likewise.
3615 (_G_HAVE_BOOL): Likewise.
3616 (_G_HAVE_ATEXIT): Likewise.
3617 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
3618 (_G_HAVE_IO_FILE_OPEN): Likewise.
3619
b1dc5912
L
36202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
3621
3622 * csu/libc-tls.c: Update copyright years.
3623
0e886ef9
JM
36242012-09-10 Joseph Myers <joseph@codesourcery.com>
3625
28361c5e
JM
3626 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
3627 [!_G_USING_THUNKS]: Remove conditional code.
3628 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
3629 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
3630
0e886ef9
JM
3631 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
3632 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
3633 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3634 (_G_VTABLE_LABEL_PREFIX): Likewise.
3635 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3636 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3637 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3638 (_G_VTABLE_LABEL_PREFIX): Likewise.
3639 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3640 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
3641 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
3642 (_G_VTABLE_LABEL_PREFIX): Likewise.
3643 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
3644
bcba7aa2
L
36452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
3646
3647 * libio/Makefile: Include ../Makeconfig before tests.
3648 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
3649 only if $(build-shared) is yes.
3650
06585ee8
L
3651 * iconv/gconv_db.c: Update copyright years.
3652
80ccd52c
LD
36532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3654
3655 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
3656 unwind info if defined PIC. Fix special cases description.
3657 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
3658
3659 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
3660 DP_HI_MASK entry.
3661 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
3662
691bc9c1
L
36632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
3664
3d9b46b3
L
3665 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
3666
de2139a9
L
3667 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
3668 is NULL.
3669
5ca78dd0
L
3670 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
3671 (LDLIBS-tst-chk4): This.
3672 (LDFLAGS-tst-chk5): Renamed to ...
3673 (LDLIBS-tst-chk5): This.
3674 (LDFLAGS-tst-chk6): Renamed to ...
3675 (LDLIBS-tst-chk6): This.
3676 (LDFLAGS-tst-lfschk4): Renamed to ...
3677 (LDLIBS-tst-lfschk4): This.
3678 (LDFLAGS-tst-lfschk5): Renamed to ...
3679 (LDLIBS-tst-lfschk5): This.
3680 (LDFLAGS-tst-lfschk6): Renamed to ...
3681 (LDLIBS-tst-lfschk6): This.
3682
691bc9c1
L
3683 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
3684 on $(common-objpfx)soversions.mk.
3685
65cafb1c
JM
36862012-09-07 Joseph Myers <joseph@codesourcery.com>
3687
3688 [BZ #10014]
3689 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
3690 example host name.
3691
c78ab094
SP
36922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3693
3694 * malloc/arena.c (arena_get_retry): New function that gets
3695 another arena for the caller to try its request on.
3696 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
3697 current arena cannot fulfill the request.
3698 (__libc_memalign): Likewise.
3699 (__libc_memalign): Likewise.
3700 (__libc_pvalloc): Likewise.
3701 (__libc_calloc): Likewise.
3702
01f49f59
JT
37032012-09-05 John Tobey <john.tobey@gmail.com>
3704
3705 [BZ #13542]
3706 * manual/arith.texi (Operations on Complex): Fix description
3707 of carg branch cut.
3708
4c23fed5
JM
37092012-09-06 Joseph Myers <joseph@codesourcery.com>
3710
1d3c8572
JM
3711 [BZ #10014]
3712 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
3713 host name.
3714
4c23fed5
JM
3715 [BZ #10038]
3716 * manual/memory.texi (Memory): Make order of menu items match
3717 order of sections.
3718
04570aaa
L
37192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3720
3721 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
3722 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
3723 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
3724
b80af2f4
L
37252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * csu/libc-tls.c (static_dtv): Renamed to ...
3728 (_dl_static_dtv): This. Make it global.
3729 (_dl_initial_dtv): Removed.
3730 (__libc_setup_tls): Updated.
3731 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
3732 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
3733 DL_INITIAL_DTV.
3734
2abe9f15
PM
37352012-09-06 Petr Machata <pmachata@redhat.com>
3736
3737 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
3738 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
3739 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
3740 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
3741
0948c3af
L
37422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3743
3744 [BZ #14545]
3745 * csu/libc-tls.c (_dl_initial_dtv): New variable.
3746 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
3747 freeing dtv[-1].
3748
a5055ad1
L
37492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 [BZ #14544]
3752 * Makeconfig (link-static-before-libc): Replace $(+prector)
3753 with $(+prectorT).
3754 (link-static-after-libc): Replace $(+postctor) with
3755 $(+postctorT).
3756 (link-bounded): Replace $(+prector)/$(+postctor) with
3757 $(+prectorT)/$(+postctorT).
3758 (+prectorT): New macro.
3759 (+postctorT): Likewise.
3760
ed8c2ecd
JM
37612012-09-06 Joseph Myers <joseph@codesourcery.com>
3762
3763 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
3764 (round_str): Handle values above the maximum for IBM long double
3765 as inexact.
3766 * stdlib/tst-strtod-round.c (tests): Regenerated.
3767
14c996c8
AK
37682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3769
3770 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
3771 assembler flag.
3772 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
3773 zarch_nohighgprs around the zarch optimized routines.
3774 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3775 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3776 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
3777 for zarch.
3778
430d6ce6
DM
37792012-09-05 David S. Miller <davem@davemloft.net>
3780
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3782
ff04dda4
DM
3783 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
3784 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
3785 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
3786 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3787 entries.
3788
24d4e01b
AO
37892012-09-05 Alexandre Oliva <aoliva@redhat.com>
3790
3791 * malloc/arena.c: Fold copyright years.
3792 * malloc/mcheck.c, malloc/memusage.c: Likewise.
3793
61d58174
AO
37942012-09-05 Alexandre Oliva <aoliva@redhat.com>
3795
3796 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
3797
20196a5e
AO
37982012-09-05 Alexandre Oliva <aoliva@redhat.com>
3799
3800 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
3801
5c447383
AO
38022012-09-05 Alexandre Oliva <aoliva@redhat.com>
3803
3804 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
3805 change internal state upon failure.
3806
fad64255
AO
38072012-09-05 Alexandre Oliva <aoliva@redhat.com>
3808
3809 * malloc/mcheck.c (mcheck_check_all): Fix typo.
3810 * malloc/memusage.c (mmap): Likewise.
3811 (mmap64, mremap): Likewise. Adjust name in comment.
3812
1ffb8c90
SP
38132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 * libio/fileops.c: Fix typos in comments.
3816 * libio/oldfileops.c: Likewise.
3817 * libio/wfileops.c: Likewise.
3818
6ef9cc37
SP
38192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3820
3821 [BZ #1349]
3822 * malloc/Makefile (tests): Add tst-malloc-usable test case.
3823 (tst-malloc-usable-ENV): Set environment for test case.
3824 * malloc/hooks.c (malloc_check_get_size): New function to get
3825 requested size.
3826 * malloc/malloc.c (musable): Use malloc_check_get_size.
3827 * malloc/tst-malloc-usable.c: New test case.
3828
4d038ae3
AS
38292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3830
3831 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
3832
c4e85184
AM
38332012-09-05 Allan McRae <allan@archlinux.org>
3834
b9dafc56 3835 [BZ #13966]
c4e85184
AM
3836 * configure.in (CXX_SYSINCLUDES): Use compiler output to
3837 determine header location.
3838 * configure: Regenerated.
3839
e1343020
AS
38402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
3841
3842 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
3843 float format.
3844 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
3845 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
3846 format.
e1343020
AS
3847 (test): Regenerate.
3848
0a9f1987
DM
38492012-09-04 David S. Miller <davem@davemloft.net>
3850
3851 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
3852 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
3853 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
3854
29237804
FW
38552012-09-04 Florian Weimer <fweimer@redhat.com>
3856
3857 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
3858 failures.
3859
edb3cb88
FW
3860 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
3861
60160d83
JM
38622012-09-04 Joseph Myers <joseph@codesourcery.com>
3863
3864 [BZ #9914]
3865 * libio/iogetdelim.c: Include <limits.h>.
3866 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
3867 + len + 1 would overflow.
3868
bcd6c8dc
AJ
38692012-09-03 Andreas Jaeger <aj@suse.de>
3870
3871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3872 * sysdeps/i386/fpu/libm-test-ulps: Update.
3873
4ffffbd2
LD
38742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3875
3876 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3877 Add s_sinf-sse2, s_conf-sse2.
3878
3879 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
3880 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
3881 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
3882 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
3883
3884 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
3885 for using routine as __sinf_ia32.
3886 Use macro for function declaration and weak_alias.
3887 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
3888 for using routine as __cosf_ia32.
3889 Use macro for function declaration and weak_alias.
3890
3891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
3892 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
3893
3894 * sysdeps/x86_64/fpu/s_sinf.S: New file.
3895 * sysdeps/x86_64/fpu/s_cosf.S: New file.
3896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3897
3898 * math/libm-test.inc (cos_test): Add more test cases.
3899 (sin_test): Likewise.
3900 (sincos_test): Likewise.
3901
511fa286
AK
39022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3903
3904 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3905 (IFUNC_RESOLVE): Make pointers to the specialized implementations
3906 hidden.
3907 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3908
5f30cfec
L
39092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
3910
3911 [BZ #14538]
3912 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
3913 first element of the GOT.
3914 (elf_machine_load_address): Return the difference between
3915 the runtime address of _DYNAMIC and elf_machine_dynamic ().
3916
0786794f
AM
39172012-09-01 Allan McRae <allan@archlinux.org>
3918
5f30cfec
L
3919 [BZ #13412]
3920 * configure.in (AWK): Require gawk version 3.0 or later.
3921 * configure: Regenerated.
0786794f 3922
26889eac
JM
39232012-09-01 Joseph Myers <joseph@codesourcery.com>
3924
3925 * sysdeps/unix/sysv/linux/kernel-features.h
3926 (__ASSUME_POSIX_CPU_TIMERS): Remove.
3927 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3928 [__NR_clock_getres]: Make code unconditional.
3929 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
3930 (clock_getcpuclockid): Remove code left unreachable by removal of
3931 conditionals.
3932 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
3933 code unconditional.
3934 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3935 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3936 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
3937 Make code unconditional.
3938 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
3939 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3940 * sysdeps/unix/sysv/linux/clock_settime.c
3941 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
3942 conditional code.
3943 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
3944 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
3945
d22e28b0
L
39462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
3947
3948 [BZ #14476]
3949 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
3950 scripts/test-installation.pl.
3951
3952 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
3953 and $ld_so_version if it is set.
3954
050af9c4
SP
39552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3956
3957 [BZ #14516]
3958 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
3959 failure if reading from procfs failed.
3960 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
3961
ad845c0b
JM
39622012-08-27 Joseph Myers <joseph@codesourcery.com>
3963
3964 * sysdeps/unix/sysv/linux/kernel-features.h
3965 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
3966 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3967 Remove conditional code.
3968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3969 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
3970 Remove conditional code.
3971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3972 * sysdeps/unix/sysv/linux/i386/fxstat.c
3973 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3975 * sysdeps/unix/sysv/linux/i386/fxstatat.c
3976 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3978 * sysdeps/unix/sysv/linux/i386/lxstat.c
3979 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
3980 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3981 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
3982 Remove conditional code.
3983 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3984 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
3985 Remove conditional code.
3986 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
3988 <kernel-features.h>.
3989 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
3990 Remove.
3991 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
3992 Remove conditional code.
3993 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
3994 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
3995 Remove conditional.
3996
5dbf56af
MF
39972012-08-27 Mike Frysinger <vapier@gentoo.org>
3998
3999 [BZ #5400]
4000 * NEWS: Add fixed bug number.
4001
d6e70f43
JM
40022012-08-27 Joseph Myers <joseph@codesourcery.com>
4003
7efb4737
JM
4004 [BZ #14519]
4005 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4006 underflowing exponent in case of negative sign.
4007 * stdlib/tst-strtod-round-data: Add more tests.
4008 * stdlib/tst-strtod-round.c (tests): Regenerated.
4009
af92131a
JM
4010 [BZ #3479]
4011 * stdlib/strtod_l.c (NDIG): Remove.
4012 (HEXNDIG): Likewise.
4013 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4014 smallest representable value.
4015 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4016 lie within an exact representation of 1/2 ulp of the result.
4017 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4018 unconditionally.
4019 (TENS_P9_IDX): Define unconditionally.
4020 (TENS_P9_SIZE): Likewise.
4021 (TENS_P10_IDX): Likewise.
4022 (TENS_P10_SIZE): Likewise.
4023 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4024 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4025 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4026 entries for 10^2^13 and 10^2^14.
4027 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4028 (TENS_P13_IDX): Define.
4029 (TENS_P13_SIZE): Likewise.
4030 (TENS_P14_IDX): Likewise.
4031 (TENS_P14_SIZE): Likewise.
4032 (_fpioconst_pow10): Change array size to
4033 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4034 unconditional.
4035 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4036 1024]: Add entries for 10^2^13 and 10^2^14.
4037 [LAST_POW10 > _LAST_POW10]: Remove #error.
4038 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4039 (_fpioconst_pow10): Change array size to
4040 FPIOCONST_POW10_ARRAY_SIZE.
4041 * stdlib/gen-fpioconst.c: New file.
4042 * stdlib/gen-tst-strtod-round.c: Likewise.
4043 * stdlib/tst-strtod-round-data: Likewise.
4044 * stdlib/tst-strtod-round.c: Likewise.
4045 * stdlib/Makefile (tests): Add tst-strtod-round.
4046
d6e70f43
JM
4047 [BZ #14459]
4048 * stdlib/strtod_l.c: Include <stdint.h>.
4049 (NDEBUG): Do not define.
4050 (round_and_return): Change EXPONENT parameter to type intmax_t.
4051 Rearrange calculations to avoid internal overflow possibilities.
4052 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4053 Rearrange calculations to avoid internal overflow possibilities.
4054 Assert that number fits inside MPNSIZE limbs.
4055 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4056 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4057 calculations and add assertions to avoid internal overflow
4058 possibilities. Add casts to avoid signed/unsigned operations.
4059 * stdlib/tst-strtod-overflow.c: New file.
4060 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4061
1f529f7d
MP
40622012-08-25 Marek Polacek <polacek@redhat.com>
4063
4064 * time/time.h: Fix some typos in comments.
4065
59a629f1
RM
40662012-08-23 Roland McGrath <roland@hack.frob.com>
4067
4068 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4069 * posix/tst-rfc3484-2.c: Likewise.
4070 * posix/tst-rfc3484-3.c: Likewise.
4071
d3bafbc9
SM
40722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4073
4074 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4075 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4076
4efcc022
JM
40772012-08-23 Joseph Myers <joseph@codesourcery.com>
4078
4079 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4080 #include of fxstatat64.c.
4081
3cc3ef96
RM
40822012-08-22 Roland McGrath <roland@hack.frob.com>
4083
f04e2132
RM
4084 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4085 * shadow/getspent_r.c: Likewise.
4086 * shadow/getspnam.c: Likewise.
4087 * shadow/getspnam_r.c: Likewise.
4088 * gshadow/getsgent.c: Likewise.
4089 * gshadow/getsgent_r.c: Likewise.
4090 * gshadow/getsgnam.c: Likewise.
4091 * gshadow/getsgnam_r.c: Likewise.
4092 * inet/getnetbyad.c: Likewise.
4093 * inet/getnetbyad_r.c: Likewise.
4094 * inet/getnetbynm.c: Likewise.
4095 * inet/getnetbynm_r.c: Likewise.
4096 * inet/getnetent.c: Likewise.
4097 * inet/getnetent_r.c: Likewise.
4098 * inet/getproto.c: Likewise.
4099 * inet/getproto_r.c: Likewise.
4100 * inet/getprtent.c: Likewise.
4101 * inet/getprtent_r.c: Likewise.
4102 * inet/getprtname.c: Likewise.
4103 * inet/getprtname_r.c: Likewise.
4104 * inet/getrpcbyname.c: Likewise.
4105 * inet/getrpcbyname_r.c: Likewise.
4106 * inet/getrpcbynumber.c: Likewise.
4107 * inet/getrpcbynumber_r.c: Likewise.
4108 * inet/getrpcent.c: Likewise.
4109 * inet/getrpcent_r.c: Likewise.
4110 * inet/getaliasent.c: Likewise.
4111 * inet/getaliasent_r.c: Likewise.
4112 * inet/getaliasname.c: Likewise.
4113 * inet/getaliasname_r.c: Likewise.
4114 * nscd/getgrgid_r.c: Likewise.
4115 * nscd/getgrnam_r.c: Likewise.
4116 * nscd/gethstbyad_r.c: Likewise.
4117 * nscd/gethstbynm3_r.c: Likewise.
4118 * nscd/getpwnam_r.c: Likewise.
4119 * nscd/getpwuid_r.c: Likewise.
4120 * nscd/getsrvbynm_r.c: Likewise.
4121 * nscd/getsrvbypt_r.c: Likewise.
4122 * nscd/gai.c: Likewise.
4123
c53d909c
RM
4124 * configure.in (build_nscd): New substituted variable, set
4125 by --disable-build-nscd and defaults to $use_nscd.
4126 * configure: Regenerated.
4127 * config.make.in (build-nscd): New substituted variable.
4128 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4129 Change conditional to require [$(build-nscd) = yes] as well.
4130 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4131
3cc3ef96
RM
4132 [BZ# 13696]
4133 * configure.in (use_nscd): New substituted variable, set by
4134 --disable-nscd. If enabled, define USE_NSCD.
4135 * configure: Regenerated.
4136 * config.h.in: Add USE_NSCD.
4137 * config.make.in (use-nscd): New substituted variable.
4138 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4139 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4140 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4141 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4142 (CFLAGS-getgrnam_r.c): Likewise.
4143 (CFLAGS-initgroups.c): Likewise.
4144 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4145 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4146 Variables removed.
4147 * inet/getnetgrent_r.c
4148 (nscd_setnetgrent): New function, broken out of ...
4149 (setnetgrent): ... here. Call it.
4150 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4151 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4152 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4153 * nscd/Makefile (routines, aux): Move definitions after include of
4154 Makeconfig. Conditionalize on [$(use-nscd) != no].
4155 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4156 Conditionalize on [USE_NSCD].
4157 (is_nscd, nscd_init_cb): Likewise.
4158 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4159 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4160 * nss/nss_db/db-init.c: Likewise.
4161 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4162 [USE_NSCD].
4163 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4164 (make_request): Use it.
4165 (cache_valid_p): New function.
4166 (__check_pf): Use it.
4167 * NEWS: Add item for --disable-nscd.
4168
07e51550
DL
41692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4170
4171 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4172 to support sed >= 4.2.1-20-ga9bf076.
4173 * configure: Regenerated.
4174
35a5b08b
RM
41752012-08-22 Roland McGrath <roland@hack.frob.com>
4176
4177 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4178 Conditionalize whole body on [IREL].
4179
8479f23a
JL
41802012-08-22 Jeff Law <law@redhat.com>
4181
4182 [BZ #14505]
4183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4184 if the family is PF_UNSPEC.
4185
48da0b21
MF
41862012-08-22 Mike Frysinger <vapier@gentoo.org>
4187
4188 * Makerules (lib-version): Rename from V.
4189 (install-lib-nosubdir): Change V to lib-version.
4190
15d0da8c
WS
41912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4192
4193 [BZ #14252]
4194 * powerpc32/power6/wcschr.c: New file.
4195 * powerpc32/power6/wcscpy.c: New file.
4196 * powerpc32/power6/wcsrchr.c: New file.
4197 * powerpc64/power6/wcschr.c: New file.
4198 * powerpc64/power6/wcscpy.c: New file.
4199 * powerpc64/power6/wcsrchr.c: New file.
4200
bcca0895
MK
42012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4202
4203 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4204 (two_way_short_needle): Use it.
5a4aaa33
RM
4205 * string/strstr.c (AVAILABLE1_USES_J): Define.
4206 * string/strcasestr.c: Likewise.
99677e57
MK
4207
4208 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4209 array references.
4210 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4211
400726de
MK
4212 [BZ #11607]
4213 * NEWS: Add an entry.
4214 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4215 define their defaults.
4216 (two_way_short_needle): Detect end-of-string on-the-fly.
4217 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4218 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4219 * string/bug-strcasestr1.c: New test.
4220 * string/Makefile: Run it.
4221
20a71f2c
MK
42222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4223
4224 [BZ #11607]
4225 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4226 the first character.
4227
21ad0558
RM
42282012-08-21 Roland McGrath <roland@hack.frob.com>
4229
4230 * csu/elf-init.c (__libc_csu_irel): Function removed.
4231 * csu/libc-start.c (apply_irel): New function.
4232 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4233
0e1d9911
JM
42342012-08-21 Joseph Myers <joseph@codesourcery.com>
4235
4236 * sysdeps/unix/sysv/linux/kernel-features.h
4237 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4238 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4239 <kernel-features.h>.
4240 [__NR_fadvise64_64]: Make code unconditional.
4241 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4242 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4243 !__NR_fadvise64_64)]: Likewise.
4244 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4245 !__NR_fadvise64_64))]: Likewise.
4246 [__NR_fadvise64]: Make code unconditional.
4247 [!__NR_fadvise64]: Remove conditional code.
4248 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4249 <kernel-features.h>.
4250 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4251 unconditional.
4252 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4253 conditional code.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4255 not include <kernel-features.h>.
4256 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4257 unconditional.
4258 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4259 conditional code.
4260 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4261 include <kernel-features.h>.
4262 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4263 unconditional.
4264 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4265 conditional code.
4266
14a50c9d
WS
42672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4268
4269 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4270 slight instruction rearrangements per scrollpipe analysis.
4271 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4272
c0f4faf0
RM
42732012-08-20 Roland McGrath <roland@hack.frob.com>
4274
696da859
RM
4275 * manual/syslog.texi (syslog; vsyslog, closelog):
4276 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4277 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4278
c0f4faf0
RM
4279 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4280 DSOCAPS to match condition on defining it.
4281
348363b2
JM
42822012-08-20 Joseph Myers <joseph@codesourcery.com>
4283
a35cbf28
JM
4284 * sysdeps/unix/sysv/linux/kernel-features.h
4285 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4287 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4288 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4290 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4291 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4293 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4294 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4295
445f7ecd
JM
4296 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4297 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4298
348363b2
JM
4299 * sysdeps/unix/sysv/linux/kernel-features.h
4300 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4301 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4302 unconditional.
4303 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4304 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4305 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4306 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4307 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4308 Make code unconditional.
4309 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4310 (__mmap64) [!__NR_mmap2]: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4312 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4313 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4314 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4315 [__NR_mmap2]: Make code unconditional.
4316 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4317 (__mmap64) [!__NR_mmap2]: Likewise.
4318
bc5bc0e5
AK
43192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4320
4321 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4322
88d506de
AJ
43232012-08-18 Andreas Jaeger <aj@suse.de>
4324
4325 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4326
493387d2
MF
43272012-08-18 Mike Frysinger <vapier@gentoo.org>
4328
4329 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4330 * include/unistd.h (__have_sock_cloexec): Likewise.
4331 (__have_pipe2): Likewise.
4332 (__have_dup3): Likewise.
4333
a277af22
MF
43342012-08-18 Mike Frysinger <vapier@gentoo.org>
4335
4336 [BZ #9685]
4337 * include/unistd.h (__have_pipe2): Change define into an extern int.
4338 (__have_dup3): Likewise.
4339 * socket/have_sock_cloexec.c: Include fcntl.h.
4340 (__have_pipe2): New variable.
4341 (__have_dup3): Likewise.
4342
fdab8fd3
MF
43432012-08-17 Mike Frysinger <vapier@gentoo.org>
4344
4345 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4346
31035e80
MP
43472012-08-17 Marek Polacek <polacek@redhat.com>
4348
4349 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4350 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4351
3bd9e993
RM
43522012-08-17 Roland McGrath <roland@hack.frob.com>
4353
c91c505f
RM
4354 * configure.in: Add AC_SUBST for sysheaders.
4355 * configure: Regenerated.
4356 * config.make.in (sysheaders): New substituted variable.
4357
7c6f9d53
RM
4358 * sysdeps/unix/mkfifo.c: Moved ...
4359 * sysdeps/posix/mkfifo.c: ... here.
4360 * sysdeps/unix/mkfifoat.c: Moved ...
4361 * sysdeps/posix/mkfifoat.c: ... here.
4362
4363 * sysdeps/unix/utime.c: Moved ...
4364 * sysdeps/posix/utime.c: ... here.
4365
4366 * sysdeps/unix/time.c: Moved ...
4367 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
4368 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
4370
4371 * sysdeps/unix/nice.c: Moved ...
4372 * sysdeps/posix/nice.c: ... here.
4373
4374 * sysdeps/unix/alarm.c: Moved ...
4375 * sysdeps/posix/alarm.c: ... here.
4376
3bd9e993
RM
4377 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4378
d1f09384
JL
43792012-08-17 Jeff Law <law@redhat.com>
4380
4381 * intl/Makefile (codeset_mo): New variable.
4382 ($(codeset_mo)): New target.
4383 (tst-codeset.out): Depend on that. Remove explicit rule.
4384 (tst-gettext3.out, tst-gettext5.out): Likewise.
4385 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4386 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4387 * intl/tst-codeset.sh: Remove.
4388 * intl/tst-gettext3.sh: Likewise.
4389 * intl/tst-gettext5.sh: Likewise.
4390
2ae1ae5c
RM
43912012-08-17 Roland McGrath <roland@hack.frob.com>
4392
c31fdb83
RM
4393 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4394 * sysdeps/unix/syscalls.list: ... here.
4395
a0844057
RM
4396 * sysdeps/posix/getaddrinfo.c
4397 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4398 (gaiconf_init, gaiconf_reload): Use them.
4399 [!_STATBUF_ST_NSEC]
4400 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4401 Define using time_t rather than struct timespec.
4402
750c1f2a
RM
4403 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4404 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4405 Macros removed.
4406 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4407 [!NO_THREADS].
4408 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4409 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4410 Likewise.
4411
2ae1ae5c
RM
4412 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4413 __libc_cleanup_push argument.
4414
e66a42f5
RM
4415 * bits/param.h: New file.
4416 * misc/sys/param.h: New file.
4417 * include/sys/param.h: New file.
4418 * misc/Makefile (headers): Add bits/param.h.
4419 * sysdeps/generic/sys/param.h: File removed.
4420 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4421 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4422 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 4423 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 4424
b7c08a66
RM
4425 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4426 last change.
4427
b2e1c562
RM
4428 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4429 [_IO_MTSAFE_IO].
4430 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4431 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4432 New macros.
4433
c75ccd4c
RM
4434 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4435 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4436 rather than -D_IO_MTSAFE_IO conditionally.
4437 * stdio-common/Makefile (CPPFLAGS): Likewise.
4438 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4439 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4440 Use $(libio-mtsafe).
4441 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4442 of -D_IO_MTSAFE_IO.
4443 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4444 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4445 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4446 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4447 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4448 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4449 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4450 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4451 (CFLAGS-fread_u_chk.c): Likewise.
4452 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4453 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4454 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4455 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4456 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4457 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4458 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4459 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4460 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4461
4462 * libio/Makefile: Test [$(libc-reentrant) = yes]
4463 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4464
4465 * Makeconfig
4466 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
4467 * sysdeps/pthread/configure: File removed.
4468 * sysdeps/pthread/Makeconfig: New file.
4469 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
4470 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
4471
d9195db8
GB
44722012-08-16 Gary Benson <gbenson@redhat.com>
4473
4474 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
4475 unmapping the first object in a namespace.
4476
86466cd9
RM
44772012-08-16 Roland McGrath <roland@hack.frob.com>
4478
4479 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
4480 (__internal_setnetgrent): ... this. Add internal_function to
4481 definition. Add libc_hidden_def.
4482 (setnetgrent): Update caller.
4483 (internal_endnetgrent): Renamed to ...
4484 (__internal_endnetgrent): ... this. Add internal_function to
4485 definition. Add libc_hidden_def.
4486 (endnetgrent): Update caller.
4487 (internal_getnetgrent_r): Renamed to ...
4488 (__internal_getnetgrent_r): ... this. Add internal_function to
4489 definition. Add libc_hidden_def.
4490 (__getnetgrent_r): Update caller.
4491 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
4492
c3c8283c
JM
44932012-08-16 Joseph Myers <joseph@codesourcery.com>
4494
4495 * stdlib/longlong.h: Update from GCC.
4496
db1ee0a8
RM
44972012-08-16 Roland McGrath <roland@hack.frob.com>
4498
4499 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
4500 on _QL, which is set by umul_ppmm but never used.
4501 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
4502 variables, which are set by GMP macros but never used.
4503 * stdio-common/_itowa.c (_itowa): Likewise.
4504 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
4505 * stdlib/mod_1.c (mpn_mod_1): Likewise.
4506
30f69637
CD
45072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
4508
4509 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
4510 struct La_sh_regs is not constant.
4511 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
4512 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
4513 and struct La_sparc64_regs are not constant.
4514
93a78ac4
JM
45152012-08-16 Joseph Myers <joseph@codesourcery.com>
4516
4517 * sysdeps/unix/sysv/linux/kernel-features.h
4518 (__ASSUME_POSIX_TIMERS): Remove.
4519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4521 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
4522 Make code unconditional.
4523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4524 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
4525 Make code unconditional.
4526 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4527 * sysdeps/unix/sysv/linux/clock_nanosleep.c
4528 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
4529 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4530 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
4531 Make code unconditional.
4532 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
4533 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
4534 (__libc_missing_posix_timers): Remove.
4535
dd924cd7
RM
45362012-08-15 Roland McGrath <roland@hack.frob.com>
4537
4b4f2771
RM
4538 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
4539 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
4540
601c888b
RM
4541 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
4542
176790a7
RM
4543 * elf/dl-sym.c: Include <stdlib.h>.
4544
329bc018
RM
4545 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
4546 constants, which avoids warnings in 32-bit builds.
4547
e04e272d
RM
4548 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
4549 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
4550
952bf94a
RM
4551 * misc/lseek.c: File moved to ...
4552 * io/lseek.c: ... here.
4553
7c99b50a
RM
4554 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
4555
dd924cd7
RM
4556 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
4557 shifting LEN more than 31 bits at once.
4558
b3f479a8
LD
45592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4560
4561 [BZ #14195]
8c4ae0d4
RM
4562 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
4563 segmentation fault for a case of two empty input strings.
b3f479a8
LD
4564 * string/test-strncasecmp.c (check1): Renamed to...
4565 (bz12205): ...this.
4566 (bz14195): Add new testcase for two empty input strings and N > 0.
4567 (test_main): Call new testcase, adapt for renamed function.
4568
9c55864e
AJ
45692012-08-15 Andreas Jaeger <aj@suse.de>
4570
4571 [BZ #14090]
4572 * crypt/md5test2.c: New test, based on test supplied by Serge
4573 Belyshev <belyshev@depni.sinp.msu.ru>.
4574 * crypt/Makefile (xtests): Add md5test-giant..
4575 * crypt/Makefile ($(objpfx)md5test-giant): Add.
4576
02dcb6c5
PE
45772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
4578
4579 [BZ #14090]
4580 * crypt/md5.c (md5_process_block): Don't assume the buffer
4581 length is less than 2**32.
4582 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
4583 length is less than 2**64.
4584
a3f95dcc
RM
45852012-08-15 Roland McGrath <roland@hack.frob.com>
4586
be75d758
RM
4587 * string/str-two-way.h: Include <sys/param.h>.
4588 (MAX): Macro removed.
4589
7312ca90
RM
4590 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
4591 Move #define and #undef of memmove to just before and after
4592 including <string.h>.
4593
9a0a5486
RM
4594 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
4595 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
4596 and after including <string.h>. Move declarations of
4597 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
4598 to before #include "string/memmove.c".
4599
67cc348d
RM
4600 * include/dirent.h: Declare __getdirentries.
4601
a3f95dcc
RM
4602 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
4603 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
4604
ca98e171
MF
46052012-08-14 Mike Frysinger <vapier@gentoo.org>
4606
4607 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
4608 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
4609 * sysdeps/i386/configure: Regenerated.
4610 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
4611 STABS_CURRENT_FILE, and STABS_FUN.
4612 (END): Remove call to STABS_FUN_END.
4613 (STABS_CURRENT_FILE1): Delete.
4614 (STABS_CURRENT_FILE): Likewise.
4615 (STABS_FUN): Likewise.
4616 (STABS_FUN_END): Likewise.
4617 (STABS_FUN2): Likewise.
4618 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
4619 * sysdeps/x86_64/configure: Regenerated.
4620
5908bf46
RM
46212012-08-14 Roland McGrath <roland@hack.frob.com>
4622
4623 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 4624 * elf/dl-lookup.c: Likewise.
5908bf46 4625
f2c05b9e
JM
46262012-08-14 Joseph Myers <joseph@codesourcery.com>
4627
4628 * sysdeps/unix/sysv/linux/kernel-features.h
4629 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
4630 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
4631 unconditionally.
4632 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
4633 unconditionally.
4634 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
4635 condition on __ASSUME_CLONE_THREAD_FLAGS.
4636
e11f5155
AJ
46372012-08-14 Andreas Jaeger <aj@suse.de>
4638
4639 * sysdeps/i386/fpu/libm-test-ulps: Update.
4640
51a9ba86
MK
46412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
4642
2fdd4f78
AJ
4643 * include/atomic.h (atomic_exchange_and_add): Split into ...
4644 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
4645 New atomic macros.
51a9ba86 4646
ba6cba9e
MT
46472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
4648
4649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4650
42443a47
JL
46512012-08-13 Jeff Law <law@redhat.com>
4652
4653 * manual/stdio.texi (snprintf): Clarify handling of the trailing
4654 null byte in the output string.
4655
121dce05
JM
46562012-08-10 Joseph Myers <joseph@codesourcery.com>
4657
4658 * sysdeps/unix/sysv/linux/kernel-features.h
4659 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
4660 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
4661 (__ASSUME_ARG_MAX_STACK_BASED): Define.
4662 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4663 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
4664 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
4665 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
4666
bf51f568
JL
46672012-08-09 Jeff Law <law@redhat.com>
4668
4669 [BZ #13939]
4670 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
4671 When avoid_arena is set, don't retry in the that arena. Pick the
4672 next one, whatever it might be.
4673 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
4674 (arena_lock): Pass in new parameter to arena_get2.
4675 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
4676 arena_get2.
4677 (__libc_malloc): Unify retrying after main arena failure with
4678 __libc_memalign version.
4679 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
4680
f85fa270
L
46812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 [BZ #14166]
4684 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
4685 to __redirect_strstr.
4686 (__strstr_sse42): Use typeof __redirect_strstr.
4687 (__strstr_ia32): Likewise.
4688 (__libc_strstr): New prototype.
4689 (strstr): Renamed to ...
4690 (__libc_strstr): This.
4691 (strstr): New strong alias of __libc_strstr.
4692 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4693 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
4694 __redirect_time.
4695 Include <time.h>.
4696 (__libc_time): New prototype.
4697 (time_ifunc): Replace time with __libc_time.
4698 (time): New strong alias and hidden definition of __libc_time.
4699 (__GI_time): Remove strong alias.
4700 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
4701 Include <stddef.h>.
4702 (memmove): Redefined to __redirect_memmove.
4703 (__memmove_sse2): Use typeof __redirect_memmove.
4704 (__memmove_ssse3): Likewise.
4705 (__memmove_ssse3_back): Likewise.
4706 (__libc_memmove): New prototype.
4707 (memmove): Renamed to ...
4708 (__libc_memmove): This.
4709 (memmove): New strong alias of __libc_memmove.
4710
33b4a91e
MS
47112012-08-08 Mark Salter <msalter@redhat.com>
4712
4713 * elf/elf.h
4714 (R_MN10300_TLS_GD): Define.
4715 (R_MN10300_TLS_LD): Likewise.
4716 (R_MN10300_TLS_LDO): Likewise.
4717 (R_MN10300_TLS_GOTIE): Likewise.
4718 (R_MN10300_TLS_IE): Likewise.
4719 (R_MN10300_TLS_LE): Likewise.
4720 (R_MN10300_TLS_DTPMOD): Likewise.
4721 (R_MN10300_TLS_DTPOFF): Likewise.
4722 (R_MN10300_TLS_TPOFF): Likewise.
4723 (R_MN10300_SYM_DIFF): Likewise.
4724 (R_MN10300_ALIGN): Likewise.
4725 (R_MN10300_NUM): Update.
4726
b36137f1
JM
47272012-08-08 Joseph Myers <joseph@codesourcery.com>
4728
4729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
4730 Remove.
4731
cdd915fd
RM
47322012-08-08 Roland McGrath <roland@hack.frob.com>
4733
a2433aac
RM
4734 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
4735
cdd915fd
RM
4736 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
4737 sysdeps/unix -> sysdeps/posix move.
4738 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4739
bf9b740a
AM
47402012-08-07 Allan McRae <allan@archlinux.org>
4741
4742 [BZ #14303]
4743 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
4744 (SUNOS_CPP): Likewise.
4745 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
4746 not found.
4747 (open_input): Call CPP using execvp.
4748
93df14ee
JM
47492012-08-07 Joseph Myers <joseph@codesourcery.com>
4750
4751 * sysdeps/unix/sysv/linux/kernel-features.h
4752 (__ASSUME_PROT_GROWSUPDOWN): Remove.
4753 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4754 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4755 (__ASSUME_WAITID_SYSCALL): Likewise.
4756 * sysdeps/unix/sysv/linux/dl-execstack.c
4757 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
4758 code unconditional.
4759 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
4760 conditional code.
4761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
4762 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
4763 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
4764 code.
4765 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
4766 unconditional.
4767 [__ASSUME_WAITID_SYSCALL]: Likewise.
4768 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
4769
d34689de
RM
47702012-08-07 Roland McGrath <roland@hack.frob.com>
4771
a281decc
RM
4772 * sysdeps/unix/closedir.c: Renamed to ...
4773 * sysdeps/posix/closedir.c: ... here.
4774 * sysdeps/unix/dirfd.c: Renamed to ...
4775 * sysdeps/posix/dirfd.c: ... here.
4776 * sysdeps/unix/dirstream.h: Renamed to ...
4777 * sysdeps/posix/dirstream.h: ... here.
4778 * sysdeps/unix/fdopendir.c: Renamed to ...
4779 * sysdeps/posix/fdopendir.c: ... here.
4780 * sysdeps/unix/opendir.c: Renamed to ...
4781 * sysdeps/posix/opendir.c: ... here.
4782 * sysdeps/unix/readdir.c: Renamed to ...
4783 * sysdeps/posix/readdir.c: ... here.
4784 * sysdeps/unix/readdir_r.c: Renamed to ...
4785 * sysdeps/posix/readdir_r.c: ... here.
4786 * sysdeps/unix/rewinddir.c: Renamed to ...
4787 * sysdeps/posix/rewinddir.c: ... here.
4788 * sysdeps/unix/seekdir.c: Renamed to ...
4789 * sysdeps/posix/seekdir.c: ... here.
4790 * sysdeps/unix/telldir.c: Renamed to ...
4791 * sysdeps/posix/telldir.c: ... here.
4792 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
4793 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
4794 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
4795 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
4796
22895b47
RM
4797 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
4798 * bits/fcntl.h: ... here.
4799
707a53b6
RM
4800 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
4801 not 0.
4802 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
4803 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
4804 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
4805 (struct flock): Move l_start, l_len to the beginning.
4806 Use __pid_t for l_pid.
4807 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
4808 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
4809 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
4810 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
4811 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
4812 [__USE_LARGEFILE64] (struct flock64): New type.
4813 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
4814
f0bd3e25
RM
4815 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
4816 * bits/dirent.h: ... here.
4817
d34689de
RM
4818 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
4819 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
4820
6dad2c06
JM
48212012-08-07 Joseph Myers <joseph@codesourcery.com>
4822
4823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4824 Change from 2.6.0 to 2.6.16.
4825 * sysdeps/unix/sysv/linux/configure: Regenerated.
4826 * sysdeps/unix/sysv/linux/kernel-features.h
4827 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
4828 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
4829 version.
4830 (__ASSUME_UTIMES): Likewise.
4831 (__ASSUME_CLONE_STOPPED): Remove.
4832 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
4833 architectures, not kernel version.
4834 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
4835 (__ASSUME_NO_CLONE_DETACHED): Likewise.
4836 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
4837 (__ASSUME_WAITID_SYSCALL): Likewise.
4838 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
4839 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
4840 * README: State 2.6.16 as minimum Linux kernel version. Do not
4841 refer to older versions.
4842
03af9520
RM
48432012-08-06 Roland McGrath <roland@hack.frob.com>
4844
8e49df1d
RM
4845 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
4846 Define alphasort64 as an alias.
4847 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
4848 Define versionsort64 as an alias.
4849 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
4850 Define scandir64 as an alias.
4851 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
4852 Define scandirat64 as an alias.
4853 * dirent/alphasort64.c (alphasort64):
4854 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
4855 * dirent/versionsort64.c: Likewise.
4856 * dirent/scandir64.c: Likewise.
4857 * dirent/scandirat64.c: Likewise.
4858 * sysdeps/wordsize-64/alphasort.c: File removed.
4859 * sysdeps/wordsize-64/alphasort64.c: File removed.
4860 * sysdeps/wordsize-64/scandir.c: File removed.
4861 * sysdeps/wordsize-64/scandir64.c: File removed.
4862 * sysdeps/wordsize-64/scandirat.c: File removed.
4863 * sysdeps/wordsize-64/scandirat64.c: File removed.
4864 * sysdeps/wordsize-64/versionsort.c: File removed.
4865 * sysdeps/wordsize-64/versionsort64.c: File removed.
4866 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
4867 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
4868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
4869 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
4870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
4871 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
4872 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
4873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
4874
4875 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
4876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4877 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
4878 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4879 [defined __arch64__ || defined __sparcv9]
4880 (__INO_T_MATCHES_INO64_T): New macro.
4881 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4882 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
4883 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
4884 * sysdeps/unix/sysv/linux/bits/dirent.h
4885 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
4886 (_DIRENT_MATCHES_DIRENT64): New macro.
4887
03af9520
RM
4888 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
4889 Define lockf64 as an alias.
4890 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
4891 Define fseeko64 as an alias.
4892 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
4893 Define ftello64 as an alias.
4894 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
4895 Define _IO_fgetpos64 and fgetpos64 as aliases.
4896 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
4897 Define _IO_fsetpos64 and fsetpos64 as aliases.
4898 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
4899 Conditionalize body on this.
4900 * libio/fseeko64.c: Likewise.
4901 * libio/ftello64.c: Likewise.
4902 * libio/iofgetpos64.c: Likewise.
4903 * libio/iofsetpos64.c: Likewise.
4904 * sysdeps/wordsize-64/lockf.c: File removed.
4905 * sysdeps/wordsize-64/lockf64.c: File removed.
4906 * sysdeps/wordsize-64/fseeko.c: File removed.
4907 * sysdeps/wordsize-64/fseeko64.c: File removed.
4908 * sysdeps/wordsize-64/ftello.c: File removed.
4909 * sysdeps/wordsize-64/ftello64.c: File removed.
4910 * sysdeps/wordsize-64/iofgetpos.c: File removed.
4911 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
4912 * sysdeps/wordsize-64/iofsetpos.c: File removed.
4913 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
4914 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
4915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
4916 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
4917 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
4918 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
4919 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
4920 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
4921 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
4922 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
4923 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
4924
4925 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4926 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
4927 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
4928 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4929 [defined __arch64__ || defined __sparcv9]
4930 (__OFF_T_MATCHES_OFF64_T): New macro.
4931 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4932 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
4933 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4934 (__OFF_T_MATCHES_OFF64_T): New macro.
4935
c5757acd
L
49362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4937
4938 * stdlib/secure-getenv.c (__secure_getenv): Replace
4939 GLIBC_2_16 with GLIBC_2_17.
4940
3a31811e
L
49412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
4942
4943 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4944 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4945
faa2bccb
DM
49462012-08-03 David S. Miller <davem@davemloft.net>
4947
4948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4949
85fe1997
JM
49502012-08-03 Joseph Myers <joseph@codesourcery.com>
4951
4952 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
4953 Remove.
4954 (__ASSUME_CORRECT_SI_PID): Likewise.
4955 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
4956 (__ASSUME_TMPFS_NAME): Likewise.
4957 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
4958 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
4959 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
4960 (HAVE_AUX_SECURE): Make definition unconditional.
4961 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
4962 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
4963
4f75b7a0
RM
49642012-08-03 Roland McGrath <roland@hack.frob.com>
4965
4966 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
4967 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
4968 * sysdeps/mach/hurd/eloop-threshold.h: New file.
4969 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4970 __eloop_threshold instead of SYMLOOP_MAX.
4971
4972 * sysdeps/generic/eloop-threshold.h: New file.
4973 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
4974 of MAXSYMLINKS.
4975 * elf/chroot_canon.c (chroot_canon): Likewise.
4976
7aab07e4
JM
49772012-08-03 Joseph Myers <joseph@codesourcery.com>
4978
4979 [BZ #13717]
4980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4981 Change to 2.6.0 everywhere.
4982 * sysdeps/unix/sysv/linux/configure: Regenerated.
4983 * sysdeps/unix/sysv/linux/kernel-features.h
4984 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
4985 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
4986 kernel versions.
4987 (__ASSUME_POSIX_TIMERS): Define unconditionally.
4988 (__ASSUME_FUTEX_REQUEUE): Remove.
4989 (__ASSUME_STATFS64): Define unconditionally.
4990 (__ASSUME_AT_SECURE): Likewise.
4991 (__ASSUME_CORRECT_SI_PID): Likewise.
4992 (__ASSUME_TGKILL): Define without depending on kernel version for
4993 i386.
4994 (__ASSUME_UTIMES): Likewise.
4995 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
4996 kernel version.
4997 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
4998 (__ASSUME_TMPFS_NAME): Likewise.
4999 * README: Update reference to Linux kernel versions.
5000
b67e9372
MP
50012012-08-02 Marek Polacek <polacek@redhat.com>
5002
1f529f7d 5003 [BZ# 14150]
b67e9372
MP
5004 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5005 libc_cv_asm_type_prefix with %.
5006 * configure: Regenerated.
d2441631
RM
5007 * include/libc-symbols.h: Remove comment about
5008 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
5009 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5010 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5011 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5012 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5013 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5014 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5015 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5016 * elf/tst-unique2mod1.c: Likewise.
5017 * elf/tst-unique1mod2.c: Likewise.
5018 * elf/tst-unique1mod1.c: Likewise.
5019 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5020 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5021 Replace ASM_TYPE_DIRECTIVE with .type.
5022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5023 * sysdeps/i386/sysdep.h: Likewise.
5024 * sysdeps/x86_64/sysdep.h: Likewise.
5025 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5027 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 5028 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
5029 * sysdeps/powerpc/powerpc32/sysdep.h:
5030 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
5031 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5032 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5033 * sysdeps/i386/fpu/e_powf.S: Likewise.
5034 * sysdeps/i386/fpu/e_expl.S: Likewise.
5035 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5037 * sysdeps/i386/fpu/e_pow.S: Likewise.
5038 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5040 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5041 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5042 * sysdeps/i386/fpu/e_log2.S: Likewise.
5043 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5044 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5045 * sysdeps/i386/fpu/e_powl.S: Likewise.
5046 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5047 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5048 * sysdeps/i386/fpu/e_logl.S: Likewise.
5049 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5050 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5051 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5052 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5053 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5054 * sysdeps/i386/fpu/e_log.S: Likewise.
5055 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5056 * sysdeps/i386/fpu/e_logf.S: Likewise.
5057 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5058 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5059 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5060 * sysdeps/i386/fpu/e_log10.S: Likewise.
5061 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5062 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5063 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5064 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5065 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5066 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5067 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5068 * sysdeps/i386/i686/strtok.S: Likewise.
5069 * sysdeps/i386/i386-mcount.S: Likewise.
5070 * sysdeps/i386/strtok.S: Likewise.
5071 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5072 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5073 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5074 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5075 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5076 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5077 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5078 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5079 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5080 * sysdeps/x86_64/_mcount.S: Likewise.
5081 * sysdeps/x86_64/strtok.S: Likewise.
5082 * sysdeps/sh/_mcount.S: Likewise.
5083
2747bf9a
RM
50842012-08-01 Roland McGrath <roland@hack.frob.com>
5085
5086 * libio/iofopen.c: Include <fcntl.h>.
5087 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5088 (_IO_fopen64, fopen64): Define as aliases.
5089 * libio/iofopen64.c: Include <fcntl.h>.
5090 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5091 Conditionalize body on this.
5092 * sysdeps/wordsize-64/iofopen.c: File removed.
5093 * sysdeps/wordsize-64/iofopen64.c: File removed.
5094
3fb791b8
MP
50952012-08-01 Marek Polacek <polacek@redhat.com>
5096
5097 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5098 Use dlfcn directly instead of a variable.
5099 (binfmt-subdir): Do not define.
5100 (dlfcn): Likewise.
5101
a9f1039f
JM
51022012-08-01 Joseph Myers <joseph@codesourcery.com>
5103
23bddc06
JM
5104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5105 Remove all definitions.
5106 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5107 <kernel-features.h>.
5108 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5109 (miss_F_GETOWN_EX): Remove all definitions.
5110 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5111 macro definition.
5112 [!__ASSUME_FCNTL64]: Remove conditional code.
5113 [__ASSUME_FCNTL64]: Make code unconditional.
5114 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5115 <kernel-features.h>.
5116 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5117 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5118 (lockf64) [__NR_fcntl64]: Make code unconditional.
5119 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5120
a9f1039f
JM
5121 * sysdeps/unix/sysv/linux/kernel-features.h
5122 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5123 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5124 Make code unconditional.
5125 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5126 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5128 [__NR_vfork]: Make code unconditional.
5129 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5130 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5132 [__NR_vfork]: Make code unconditional.
5133 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5134 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5135
09c0ee5f
RM
51362012-08-01 Roland McGrath <roland@hack.frob.com>
5137
48aec5b9
RM
5138 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5139 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5140
cd97c966
RM
5141 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5142 Define mkstemp64 as an alias.
3f55550c
RM
5143 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5144 Define mkstemps64 as an alias.
cd97c966
RM
5145 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5146 Define mkostemp64 as an alias.
b8625cfc
RM
5147 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5148 Define mkostemps64 as an alias.
cd97c966
RM
5149 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5150 Conditionalize body on this.
5151 * misc/mkostemp64.c: Likewise.
b8625cfc 5152 * misc/mkostemps64.c: Likewise.
3f55550c 5153 * misc/mkstemps64.c: Likewise.
cd97c966
RM
5154 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5155 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5156 * sysdeps/wordsize-64/mkostemp.c: File removed.
5157 * sysdeps/wordsize-64/mkstemp.c: File removed.
5158 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5160 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5162
09c0ee5f
RM
5163 [BZ #14138]
5164 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5165 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5166 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5167 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5168
5169 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5170 compat_symbol macros from <shlib-compat.h> rather than the underlying
5171 default_symbol_version and symbol_version macros, so that DEFAULT
5172 lines in shlib-versions are respected.
5173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5174
7e66ee51
FW
51752012-08-01 Florian Weimer <fweimer@redhat.com>
5176
5177 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5178 Declare with warn_unused_result.
5179 (setgid, setregid, setegid, setresgid): Likewise.
5180 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5181 Likewise.
5182 * WUR-REPORT: Remove set*id functions.
5183
d2a54255
PT
51842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5185
5186 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5187
7ecdb005
RM
51882012-07-31 Roland McGrath <roland@hack.frob.com>
5189
789bd351
RM
5190 * include/sys/socket.h (__libc_accept, __libc_accept4):
5191 Add attribute_hidden.
5192 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5193
40ce302d
RM
5194 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5195 use of PTR_MANGLE.
5196 * inet/getnetgrent_r.c (setup): Likewise.
5197
7ecdb005
RM
5198 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5199
e2eabb2c
DM
52002012-07-31 David S. Miller <davem@davemloft.net>
5201
5202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5203
d0419dbf
JM
52042012-07-31 Joseph Myers <joseph@codesourcery.com>
5205
5206 [BZ #13629]
5207 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5208 value between 1.0 and 2.0 and smaller part has absolute value less
5209 than 1.0.
5210 * math/s_clog10.c (__clog10): Likewise.
5211 * math/s_clog10f.c (__clog10f): Likewise.
5212 * math/s_clog10l.c (__clog10l): Likewise.
5213 * math/s_clogf.c (__clogf): Likewise.
5214 * math/s_clogl.c (__clogl): Likewise.
5215 * math/libm-test.inc (clog_test): Add more tests.
5216 (clog10_test): Likewise.
5217 * sysdeps/i386/fpu/libm-test-ulps: Update.
5218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219
2bc13872
FW
52202012-07-31 Florian Weimer <fweimer@redhat.com>
5221
5222 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5223 Exit with zero in case no suitable GID is found, and write a
5224 message to standard error.
5225
bea9b193
RM
52262012-07-30 Roland McGrath <roland@hack.frob.com>
5227
5228 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5229 rather than to 1.
5230 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5231 (MAXPATHLEN): Removed.
5232 (NOGROUP, NODEV): New macros.
5233 (setbit, clrbit, isset, isclr): New macros.
5234 (howmany, roundup, powerof2): New macros.
5235 (DEV_BSIZE): New macro.
5236
5237 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5238 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5239
5240 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5241 definition on [!__NO_LONG_DOUBLE_MATH].
5242
5243 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5244 PTR_MANGLE and PTR_DEMANGLE.
5245
5246 * socket/accept4.c (accept4): Rename to __libc_accept4.
5247 Define accept4 as a weak alias.
5248
5249 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5250 on [_DIRENT_HAVE_D_TYPE].
5251 * io/ftw.c (ftw_dir): Likewise.
5252
5253 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5254
5255 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5256
5257 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5258 Use the BSD numbers rather than the arbitrary ones we had.
5259 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5260 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5261 (SIGXCPU, SIGXFSZ): New macros.
5262 (_NSIG): Now 32.
5263
5264 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5265 initializer on [_LIBC_REENTRANT].
5266
5267 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5268 definitions inside [_POSIX_MAPPED_FILES].
5269
5270 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5271
5272 * dirent/opendir.c: Include <fcntl.h>.
5273
5274 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5275 (__libc_getspecific): Likewise.
5276 (__libc_key_create): Likewise.
5277
5278 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5279 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5280 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5281 (tmpfile64): Define as alias.
5282 * sysdeps/wordsize-64/tmpfile.c: File removed.
5283 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5286
5287 * stdio-common/vfscanf.c: Include <stdbool.h>.
5288 * nss/makedb.c: Likewise.
5289 * stdio-common/_i18n_number.h: Likewise.
5290 * argp/argp-help.c: Likewise.
5291 * posix/wordexp.c: Likewise.
5292 * sysdeps/posix/spawni.c: Likewise.
5293 * nss/nss_files/files-initgroups.c: Likewise.
5294 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5295 * nss/nss_files/files-initgroups.c: Likewise.
5296 * nss/nss_db/db-netgrp.c: Likewise.
5297 * nss/nss_db/db-initgroups.c: Likewise.
5298 * io/fchmodat.c: Include <sys/stat.h>.
5299
5300 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5301 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5302
5303 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5304 [HAVE_MMAP].
5305
5306 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5307 Add multiple inclusion protection.
5308
e5abc686
DM
53092012-07-27 David S. Miller <davem@davemloft.net>
5310
5311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5312
815e6fa3
GB
53132012-07-27 Gary Benson <gbenson@redhat.com>
5314
5315 [BZ #14298]
5316 * elf/rtld.c: Include <stap-probe.h>.
5317 (dl_main): Added static probes "init_start" and "init_complete".
5318 * elf/dl-load.c: Include <stap-probe.h>.
5319 (lose): Take new parameter "nsid".
5320 Added static probe "map_failed".
5321 (_dl_map_object_from_fd): Pass namespace id to lose.
5322 Added static probe "map_start".
5323 (open_verify): Pass namespace id to lose.
5324 * elf/dl-open.c: Include <stap-probe.h>.
5325 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5326 and "reloc_complete".
5327 * elf/dl-close.c: Include <stap-probe.h>.
5328 (_dl_close_worker): Added static probes "unmap_start" and
5329 "unmap_complete".
5330 * elf/rtld-debugger-interface.txt: New file documenting the above.
5331
9f98c16c
RM
53322012-07-26 Roland McGrath <roland@hack.frob.com>
5333
5334 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5335 rather than a string variable.
5336 * sunrpc/rpc_main.c (h_output): Likewise.
5337 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5338
f3c22df3
PT
53392012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5340
5341 * inet/check_native.c: New file.
5342
3129cfc6
JM
53432012-07-26 Joseph Myers <joseph@codesourcery.com>
5344
da865e95
JM
5345 [BZ #13629]
5346 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5347 if larger part has absolute value 1.0.
5348 * math/s_clog10.c (__clog10): Likewise.
5349 * math/s_clog10f.c (__clog10f): Likewise.
5350 * math/s_clog10l.c (__clog10l): Likewise.
5351 * math/s_clogf.c (__clogf): Likewise.
5352 * math/s_clogl.c (__clogl): Likewise.
5353 * math/libm-test.inc (clog_test): Add more tests.
5354 (clog10_test): Likewise.
5355 * sysdeps/i386/fpu/libm-test-ulps: Update.
5356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5357
3129cfc6
JM
5358 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5359 (pltexit): Likewise.
5360 (La_regs): Likewise.
5361 (La_retval): Likewise.
5362 (int_retval): Likewise.
5363 Update #error for removed macros to refer only to definitions in
5364 tst-audit.h.
5365 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5366 macro.
5367 (pltexit): Likewise.
5368 (La_regs): Likewise.
5369 (La_retval): Likewise.
5370 (int_retval): Likewise.
5371 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5372 macro.
5373 (pltexit): Likewise.
5374 (La_regs): Likewise.
5375 (La_retval): Likewise.
5376 (int_retval): Likewise.
5377 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5378 macro.
5379 (pltexit): Likewise.
5380 (La_regs): Likewise.
5381 (La_retval): Likewise.
5382 (int_retval): Likewise.
5383 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5384 macro.
5385 (pltexit): Likewise.
5386 (La_regs): Likewise.
5387 (La_retval): Likewise.
5388 (int_retval): Likewise.
5389 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5390 macro.
5391 (pltexit): Likewise.
5392 (La_regs): Likewise.
5393 (La_retval): Likewise.
5394 (int_retval): Likewise.
5395 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5396 macro.
5397 (pltexit): Likewise.
5398 (La_regs): Likewise.
5399 (La_retval): Likewise.
5400 (int_retval): Likewise.
5401 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5402 macro definitions in tst-audit.h.
5403 * sysdeps/i386/tst-audit.h: New file.
5404 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5405 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5406 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5407 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5408 * sysdeps/sh/tst-audit.h: Likewise.
5409 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5410 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5411 * sysdeps/x86_64/tst-audit.h: Likewise.
5412
bfc07087
AJ
54132012-07-26 Andreas Jaeger <aj@suse.de>
5414
b1b2aaf8
AJ
5415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5416 ptrace.
5417
5418 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5419 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5420 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5421 PTRACE_O_MASK.
5422 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5423 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5425
bfc07087
AJ
5426 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5427 value.
5428
5429 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5430 _sigsys.
5431 (si_call_addr, si_syscall, si_arch): Define new macro.
5432 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5433 _sigsys.
5434 (si_call_addr, si_syscall, si_arch): Define new marcro.
5435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5436 _sigsys.
5437 (si_call_addr, si_syscall, si_arch): Define new macro.
5438 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5439 _sigsys.
5440 (si_call_addr, si_syscall, si_arch): Define new macro.
5441
89b4b02f
JM
54422012-07-25 Joseph Myers <joseph@codesourcery.com>
5443
5444 [BZ #13717]
5445 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5446 Change to 2.4.21 where previously 2.4.1.
5447 * sysdeps/unix/sysv/linux/configure: Regenerated.
5448 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5449 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5450 Linux kernel version.
5451 (__ASSUME_STD_AUXV): Remove.
5452 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5453 kernel version.
5454 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5455 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5456 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5457 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5458 (__ASSUME_NETLINK_SUPPORT): Likewise.
5459 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5460 (__no_netlink_support): Remove conditional definition.
5461 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5462 Remove.
5463 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5464 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5465 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5466 (if_nameindex_ioctl): Remove.
5467 (if_nameindex_netlink): Do not handle __no_netlink_support.
5468 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5469 code.
5470 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
5471 Remove conditional code.
5472 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
5473 code.
5474 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
5475 unconditional.
5476 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5477 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
5478 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
5479 Remove.
5480 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
5481 [!__ASSUME_STD_AUXV]: Remove conditional code.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
5483 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
5484 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
5486 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
5487 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5488 code.
5489 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5491 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
5492 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5493 conditional code.
5494 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5496 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
5497 code.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5499 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
5500 conditional code.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
5502 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5503 code unconditional.
5504 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5505 conditional code.
5506 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5507 unconditional.
5508 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5509 conditional code.
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5511 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5512 unconditional.
5513 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5514 conditional code.
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5516 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5517 code unconditional.
5518 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5519 conditional code.
5520 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5521 unconditional.
5522 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5523 conditional code.
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5525 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
5526 code unconditional.
5527 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5528 conditional code.
5529 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
5530 unconditional.
5531 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
5532 conditional code.
5533
842a39cd
AS
55342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5535
5536 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
5537 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5538 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5539 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
5540 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
5541 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5542 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5543 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
5544 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
5545 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5546 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
5547 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
5548 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
5549 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5550 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
5551 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
5552 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
5553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
5554 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
5555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
5556 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
5557 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
5558 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5559
84b3fd84
FW
55602012-07-25 Florian Weimer <fweimer@redhat.com>
5561
5562 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
5563 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
5564 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
5565 Introduce __libc_secure_getenv.
0c7936d5
FW
5566 * stdlib/Versions (2.17): Add secure_getenv
5567 (GLIBC_PRIVATE): Add __libc_secure_getenv.
5568 * stdlib/secure-getenv.c: Rename __secure_getenv to
5569 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
5570 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
5571 * stdlib/tst-secure-getenv.c: New.
5572 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
5573 * manual/startup.texi (Environment Access): Document
5574 secure_getenv.
84b3fd84
FW
5575 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
5576 __libc_secure_getenv.
5577 * inet/ruserpass.c (ruserpass): Likewise.
5578 * malloc/mtrace.c (mtrace): Likewise.
5579 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 5580 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
5581 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
5582 * sysdeps/posix/tempname.c: Likewise. Evaluate
5583 HAVE_SECURE_GETENV.
5584 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 5585 __secure_getenv to __libc_secure_getenv.
84b3fd84 5586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5588 Likewise.
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5590 Likewise.
5591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
5592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
5593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
5595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 5598
56e49b71
JM
55992012-07-25 Joseph Myers <joseph@codesourcery.com>
5600
5601 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
5602 (struct La_i86_retval): Likewise.
5603 (struct La_x86_64_regs): Likewise.
5604 (struct La_x86_64_retval): Likewise.
5605 (struct La_x32_regs): Likewise.
5606 (struct La_x32_retval): Likewise.
5607 (struct La_ppc32_regs): Likewise.
5608 (struct La_ppc32_retval): Likewise.
5609 (struct La_ppc64_regs): Likewise.
5610 (struct La_ppc64_retval): Likewise.
5611 (struct La_sh_regs): Likewise.
5612 (struct La_sh_retval): Likewise.
5613 (struct La_s390_32_regs): Likewise.
5614 (struct La_s390_32_retval): Likewise.
5615 (struct La_s390_64_regs): Likewise.
5616 (struct La_s390_64_retval): Likewise.
5617 (struct La_sparc32_regs): Likewise.
5618 (struct La_sparc32_retval): Likewise.
5619 (struct La_sparc64_regs): Likewise.
5620 (struct La_sparc64_retval): Likewise.
5621 (struct audit_ifaces): Remove architecture-specific pltenter and
5622 pltexit members.
5623 * sysdeps/i386/ldsodefs.h: New file.
5624 * sysdeps/powerpc/ldsodefs.h: Likewise.
5625 * sysdeps/s390/ldsodefs.h: Likewise.
5626 * sysdeps/sh/ldsodefs.h: Likewise.
5627 * sysdeps/sparc/ldsodefs.h: Likewise.
5628 * sysdeps/x86_64/ldsodefs.h: Likewise.
5629
354691b7
MP
56302012-07-25 Marek Polacek <polacek@redhat.com>
5631
5632 [BZ #6808]
5633 * math/libm-test.inc (yn_test): Add another test.
5634 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
5635 to ERANGE when the result is +-Inf.
5636 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5637 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
5638 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
5639 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
5640
bf9e2071
JM
56412012-07-24 Joseph Myers <joseph@codesourcery.com>
5642
5643 * conform/data/time.h-data (NULL): Use macro-constant. Require
5644 equal to 0.
5645 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
5646 clock_t.
5647 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
5648
57633811
TS
56492012-07-23 Thomas Schwinge <thomas@codesourcery.com>
5650
5651 * configure.in <sysdeps resolving>: Correct printing
5652 Implies_before.
5653 * configure: Regenerate.
5654
c23c33b0
TS
56552012-07-22 Thomas Schwinge <thomas@codesourcery.com>
5656
5657 * math/w_ilogb.c: Include <limits.h>.
5658 * math/w_ilogbl.c: Likewise.
5659
b5982523
JM
56602012-07-20 Joseph Myers <joseph@codesourcery.com>
5661
5662 * manual/lang.texi (__va_copy): Document primarily as ISO C99
5663 va_copy. Document allowing for unavailable va_copy only as
5664 pre-C99 compatibility.
5665 * manual/string.texi (Copying and Concatenation): Use va_copy
5666 instead of __va_copy in concat example.
5667
ac4ea442
PT
56682012-07-20 Pino Toscano <toscano.pino@tiscali.it>
5669
5670 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
5671 (__sendto): Use create_address_port. Initialize APORT and deallocate
5672 it if not null.
5673
f98eafbd
PT
5674 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
5675 with O_NOLINK passed to __file_name_lookup.
5676
898c7aab
PT
5677 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
5678 with O_NOLINK passed to __file_name_lookup.
5679
0ced335a
PT
5680 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
5681 negative N or less than NGIDS.
5682
b3404dbd
PT
5683 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
5684 type to string_t. Set ERANGE as errno and return it if NAME is not big
5685 enough. Use memcpy instead of strncpy.
5686
0f48659e
JM
56872012-07-20 Joseph Myers <joseph@codesourcery.com>
5688
5689 * elf/Makefile (check-data): Remove.
5690 (localplt.data): New vpath directive.
5691 ($(objpfx)check-localplt.out): Use localplt.data from vpath
5692 instead of $(check-data).
5693 * scripts/data/localplt-generic.data: Move to ...
5694 * sysdeps/generic/localplt.data: ... here.
5695 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
5696 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
5697 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5699 ... here.
5700 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5702 ... here.
5703 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
5704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
5705 ... here.
5706 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
5707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5708 ... here.
5709 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
5710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
5711 ... here.
5712 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
5713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
5714 ... here.
5715
d37cbdaa
AZ
57162012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5717
5718 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
5719 PPC32 and PPC64 files.
5720 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
5721 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
5722
46f85fc2
AK
57232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5724
5725 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
5726 __makecontext_ret to ...
5727 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5728 ... here and call exit if uc_link is NULL. New file.
5729 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
5730 __makecontext_ret.S.
5731 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
5732 __makecontext_ret to ...
5733 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5734 ... here and call exit if uc_link is NULL. New file.
5735 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
5736 __makecontext_ret.S.
5737
08f43f9b
AK
57382012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5739
5740 * elf/elf.h (R_390_IRELATIVE): New definition.
5741 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
5742 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
5743 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
5744 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5745 (elf_machine_lazy_rel): Likewise.
5746 * sysdeps/s390/dl-irel.h: New file.
5747 * sysdeps/s390/s390-64/memcpy.S: New asm code.
5748 * sysdeps/s390/s390-64/memset.S: New asm code.
5749 * sysdeps/s390/s390-64/memcmp.S: New asm code.
5750 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
5751 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
5752 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
5753 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
5754 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
5755 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
5756 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
5757 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
5758 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
5759 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
5760 * sysdeps/s390/s390-32/memcpy.S: New asm code.
5761 * sysdeps/s390/s390-32/memset.S: New asm code.
5762 * sysdeps/s390/s390-32/memcmp.S: New asm code.
5763
3b05db33
MP
57642012-07-17 Marek Polacek <polacek@redhat.com>
5765
5766 [BZ #14349]
5767 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
5768 * sysdeps/s390/s390-64/configure.in: Likewise.
5769 * sysdeps/sparc/configure.in: Likewise.
5770 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
5771 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
5772 * sysdeps/i386/configure.in: Likewise.
5773 * sysdeps/x86_64/configure.in: Likewise.
5774 * sysdeps/sh/configure.in: Likewise.
5775 * sysdeps/s390/s390-32/configure: Regenerated.
5776 * sysdeps/s390/s390-64/configure: Likewise.
5777 * sysdeps/x86_64/configure: Likewise.
5778 * sysdeps/sh/configure: Likewise.
5779 * sysdeps/powerpc/powerpc64/configure: Likewise.
5780 * sysdeps/powerpc/powerpc32/configure: Likewise.
5781 * sysdeps/sparc/configure: Likwise.
5782 * sysdeps/i386/configure: Likewise.
5783
a66877c6
MP
5784 * elf/dl-open.c: Comment fixes.
5785
cfc82fd8
JM
57862012-07-17 Joseph Myers <joseph@codesourcery.com>
5787
bd29910a
JM
5788 * Makefile [CXX] (check-data): Remove.
5789 [CXX] (c++-types.data): New vpath directive.
5790 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
5791 vpath. Do not allow for C++ type data being missing.
5792 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
5793 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
5794 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
5795 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
5796 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
5797 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
5798 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5800 ... here.
5801 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
5802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5803 ... here.
5804 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
5805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
5806 ... here.
5807 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
5808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
5809 ... here.
5810 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
5812 ... here.
5813 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
5814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
5815 ... here.
5816 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
5817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
5818 ... here.
5819 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
5820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
5821
cfc82fd8
JM
5822 * elf/tls-macros.h (TLS_LE): Move architecture-specific
5823 definitions to architecture-specific files.
5824 (TLS_IE): Likewise.
5825 (TLS_LD): Likewise.
5826 (TLS_GD): Likewise.
5827 * sysdeps/i386/tls-macros.h: New file.
5828 * sysdeps/powerpc/tls-macros.h: Likewise.
5829 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5830 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5831 * sysdeps/sh/tls-macros.h: Likewise.
5832 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
5833 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
5834 * sysdeps/x86_64/tls-macros.h: Likewise.
5835
f7db3170
TS
58362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5837
07cbfc23
TS
5838 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
5839 zero value for regular exit case.
5840
f7db3170
TS
5841 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5842 (__start_context): Preserve zero value for regular exit case.
5843
dc97c227
TS
58442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
5845 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5846
5847 * manual/setjmp.texi (setcontext): Clarify normal process
5848 termination when uc_link is the null pointer.
5849 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
5850 exit call.
5851
d0cd7d02
AS
58522012-07-16 Andreas Schwab <schwab@linux-m68k.org>
5853
5854 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
5855 preprocessor. Test for each exception mask separately.
5856
dd318934
AJ
58572012-07-16 Andreas Jaeger <aj@suse.de>
5858
5859 * po/ru.po: Update from translation team.
5860
8048311a
JM
58612012-07-15 Joseph Myers <joseph@codesourcery.com>
5862
5863 * conform/data/string.h-data (NULL): Use macro-constant. Require
5864 equal to 0.
5865 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5866 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5867 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
5868 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
5869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5870
b637d46e
AJ
58712012-07-13 Andreas Jaeger <aj@suse.de>
5872
5873 * po/fr.po: Update from translation team.
5874
541428fe
MP
58752012-07-12 Marek Polacek <polacek@redhat.com>
5876
5877 [BZ #14173]
5878 * math/libm-test.inc (yn_test): Add test for BZ #14173.
5879 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
5880 loop condition.
5881
ec332e94
JM
58822012-07-12 Joseph Myers <joseph@codesourcery.com>
5883
5884 [BZ #13717]
5885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5886 Change to 2.4.1 where previously 2.4.0.
5887 * sysdeps/unix/sysv/linux/configure: Regenerated.
5888 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
5889 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
5890 version.
5891 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
5892 (__ASSUME_AT_CLKTCK): Remove.
5893 (__ASSUME_AT_PAGESIZE): Likewise.
5894 (__ASSUME_AT_XID): Likewise.
5895 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
5896 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
5897 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
5898 unconditionally.
5899 (HAVE_AUX_PAGESIZE): Likewise.
5900 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
5901 [__ASSUME_AT_CLKTCK]: Make code unconditional.
5902 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
5903
7b6e99be
JB
59042012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
5905
5906 [BZ #14307]
5907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
5908 the temporary buffer used to invoke __gethostbyname2_r,
5909 __gethostbyaddr_r and gethostbyname4_r to make room for struct
5910 host_data / struct gaih_addrtuple.
5911 * resolv/nss_dns/dns-host.c (global scope): Move definition of
5912 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
5913 header file nss/nsswitch.h.
5914 * nss/nsswitch.h (global scope): Add definition of implementation
5915 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
5916 resolv/nss_dns/dns-host.c).
5917
608404eb
AJ
59182012-07-11 Andreas Jaeger <aj@suse.de>
5919
5920 * po/fr.po: Update from translation team.
5921
71220aca
AJ
5922 * po/sv.po: Update from translation team
5923 * po/fr.po: Another update from translation team.
5924
28cfe843
AZ
59252012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926
5927 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
5928 for subnormals or multiply small sinh result by itself.
5929 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5931
6b90f981
DM
59322012-07-11 David S. Miller <davem@davemloft.net>
5933
5934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5935
c6825772
AS
59362012-07-10 Andreas Schwab <schwab@linux-m68k.org>
5937
5938 [BZ #14347]
5939 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
5940 (INTERNAL_MARK): Shift it here.
5941
7b8e0d49
MP
59422012-07-10 Marek Polacek <polacek@redhat.com>
5943
5944 [BZ #14151]
5945 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
5946 libc_cv_asm_global_directive with .globl.
5947 * configure: Regenerated.
5948 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
5949 with .globl.
5950 * sysdeps/i386/configure: Regenerated.
5951 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
5952 with .globl.
5953 * sysdeps/x86_64/configure: Regenerated.
5954 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
5955 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
5956 * elf/tst-unique2mod2.c: Likewise.
5957 * elf/tst-unique2mod1.c: Likewise.
5958 * elf/tst-unique1mod2.c: Likewise.
5959 * elf/tst-unique1mod1.c: Likewise.
5960 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5961 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5963 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5964 * sysdeps/mach/sysdep.h: Likewise.
5965 * sysdeps/i386/sysdep.h: Likewise.
5966 * sysdeps/i386/i386-mcount.S: Likewise.
5967 * sysdeps/x86_64/_mcount.S: Likewise.
5968 * sysdeps/x86_64/sysdep.h: Likewise.
5969 * sysdeps/sh/_mcount.S: Likewise.
5970 * sysdeps/sh/sysdep.h: Likewise.
5971 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
5972 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
5973 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
5974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5975 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
5976 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
5977 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
5978 * locale/localeinfo.h: Likewise.
5979 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
5980 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
5981
6c55cda3
RM
59822012-07-09 Roland McGrath <roland@hack.frob.com>
5983
5984 [BZ #14336]
5985 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5986 system".
5987 * manual/message.texi (The Uniforum approach): Likewise.
5988 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
5989 (glibc iconv Implementation): Likewise.
5990
638a572e
JM
59912012-07-09 Joseph Myers <joseph@codesourcery.com>
5992
5993 [BZ #14337]
5994 * math/s_clog.c (__clog): Avoid scaling a value down where that
5995 could result in underflow.
5996 * math/s_clog10.c (__clog10): Likewise.
5997 * math/s_clog10f.c (__clog10f): Likewise.
5998 * math/s_clog10l.c (__clog10l): Likewise.
5999 * math/s_clogf.c (__clogf): Likewise.
6000 * math/s_clogl.c (__clogl): Likewise.
6001 * math/libm-test.inc (clog_test): Add more tests.
6002 (clog10_test): Likewise.
6003 * sysdeps/i386/fpu/libm-test-ulps: Update.
6004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6005
261f4859
AS
60062012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6007
0abaf3e4
AS
6008 [BZ #14283]
6009 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6010 by 7 not 8 to examine high bit of fractional part.
6011
261f4859
AS
6012 [BZ #14042]
6013 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6014 for call to __mcount_internal.
6015 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6016 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6017 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6018
f17ac40d
JM
60192012-07-06 Joseph Myers <joseph@codesourcery.com>
6020
9ad63c23
JM
6021 [BZ #14154]
6022 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6023 approximation for values within 0x1p-13f of an odd multiple of
6024 pi/4.
6025 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6026 exception. Add more tests.
6027 * sysdeps/i386/fpu/libm-test-ulps: Update.
6028
f17ac40d
JM
6029 [BZ #6778]
6030 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6031 inputs and return -1 for them. Do not check for +Inf in case not
6032 reachable for +Inf.
6033 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6034 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6036 and return -1 for them. Do not check for +Inf in case not
6037 reachable for +Inf.
6038 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6039 define.
6040 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6041 and return -1 for them. Do not check for +Inf in case not
6042 reachable for +Inf.
6043 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6044 spurious underflow.
6045 * sysdeps/i386/fpu/libm-test-ulps: Update.
6046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6047
fb21f89b
MF
60482012-07-06 Mike Frysinger <vapier@gentoo.org>
6049
6050 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6051
cdfe2c5e
JM
60522012-07-05 Joseph Myers <joseph@codesourcery.com>
6053
6054 [BZ #14157]
6055 [BZ #14331]
6056 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6057 could result in spurious underflow. Scale down values above
6058 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6059 * math/s_csqrtf.c (__csqrtf): Likewise.
6060 * math/s_csqrtl.c (__csqrtl): Likewise.
6061 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6062 spurious underflow.
6063 * sysdeps/i386/fpu/libm-test-ulps: Update.
6064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065
70d35b67
AS
60662012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6067
704bc459
AS
6068 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6069 xopen-msg.sed.
6070 * catgets/xopen-msg.awk: New file.
6071 * catgets/xopen-msg.sed: Removed.
6072
70d35b67
AS
6073 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6074 po2text.sed.
6075 * intl/po2test.awk: New file.
6076 * intl/po2test.sed: Removed.
6077
ca61cf32
JM
60782012-07-04 Joseph Myers <joseph@codesourcery.com>
6079
6080 [BZ #14328]
6081 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6082 or multiply small sinh result by itself.
6083 * math/s_ctanf.c (__ctanf): Likewise.
6084 * math/s_ctanh.c (__ctanh): Likewise.
6085 * math/s_ctanhf.c (__ctanhf): Likewise.
6086 * math/s_ctanhl.c (__ctanhl): Likewise.
6087 * math/s_ctanl.c (__ctanl): Likewise.
6088 * math/libm-test.inc (ctan_test_tonearest): New function.
6089 (ctan_test_towardzero): Likewise.
6090 (ctan_test_downward): Likewise.
6091 (ctan_test_upward): Likewise.
6092 (ctanh_test_tonearest): Likewise.
6093 (ctanh_test_towardzero): Likewise.
6094 (ctanh_test_downward): Likewise.
6095 (ctanh_test_upward): Likewise.
6096 (main): Call these new functions.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099
ca48a46a
MF
61002012-07-03 Mike Frysinger <vapier@gentoo.org>
6101
6102 * .gitignore: Delete /ports entry.
6103
9d63d37d
AJ
61042012-07-03 Andreas Jaeger <aj@suse.de>
6105
6106 * po/bg.po: Update from translation team.
6107 * po/cs.po: Likewise.
6108 * po/de.po: Likewise.
6109 * po/hr.po: Likewise.
6110 * po/nl.pl: Likewise.
6111 * po/pl.po: Likewise.
6112 * po/vi.po: Likewise.
6113
370ca3d2
JM
61142012-07-03 Joseph Myers <joseph@codesourcery.com>
6115
95f5a9a8
JM
6116 * Makeconfig [!+link] (+link-before-libc): New variable.
6117 [!+link] (+link-after-libc): Likewise.
6118 [!+link] (+link-tests): Likewise.
6119 [!+link] (+link): Define in terms of $(+link-before-libc) and
6120 $(+link-after-libc).
6121 [!+link-static] (+link-static-before-libc): New variable.
6122 [!+link-static] (+link-static-after-libc): Likewise.
6123 [!+link-static] (+link-static-tests): Likewise.
6124 [!+link-static] (+link-static): Define in terms of
6125 $(+link-static-before-libc) and $(+link-static-after-libc).
6126 [build-shared] (link-libc-before-gnulib): New variable.
6127 [build-shared] (link-libc-tests): Likewise.
6128 [build-shared] (link-libc): Define in terms of
6129 $(link-libc-before-gnulib).
6130 [!build-shared] (link-libc-tests): New variable.
6131 (link-libc-static-tests): New variable.
6132 [!gnulib] (gnulib-arch): New variable.
6133 [!gnulib] (gnulib-tests): Likewise.
6134 [!gnulib] (static-gnulib-arch): Likewise.
6135 [!gnulib] (static-gnulib-tests): Likewise.
6136 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6137 Define with "=" instead of ":=".
6138 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6139 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6140 * Rules (binaries-all-notests): New variable.
6141 (binaries-all-tests): Likewise.
6142 (binaries-static-notests): Likewise.
6143 (binaries-static-tests): Likewise.
6144 (binaries-all): Define using $(binaries-all-notests) and
6145 $(binaries-all-tests).
6146 (binaries-static): Define using $(binaries-static-notests) and
6147 $(binaries-static-tests).
6148 (binaries-shared-tests): New variable.
6149 (binaries-shared-notests): Likewise.
6150 (binaries-shared): Remove variable.
6151 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6152 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6153 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6154 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6155 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6156 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6157 * elf/Makefile (sln-modules): New variable.
6158 (extra-objs): Add $(sln-modules:=.o).
6159 (ldconfig-modules): Add static-stubs.
6160 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6161 * elf/static-stubs.c: New file.
6162
7a845b2c
JM
6163 [BZ #14283]
6164 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6165 by 7 not 8 to examine high bit of fractional part. Use volatile
6166 variables when splitting into final array of floats if
6167 __FLT_EVAL_METHOD__ != 0.
6168 * math/libm-test.inc (cos_test): Add another test.
6169 (sin_test): Likewise.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6171
e2283f38
JM
6172 [BZ #14273]
6173 * math/libm-test.inc (cosh_test): Add more tests.
6174
370ca3d2
JM
6175 * version.h (RELEASE): Set to "development".
6176 (VERSION): Set to "2.16.90".
6177
ee9247c3
CD
61782012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6179
6180 * NEWS: Update copyright. Remove last-updated date.
6181 Mention math library bug fixes and timezone data changes.
6182 * README: Mention GNU/Hurd, x32, and HPPA support status.
6183
4648c381
TS
61842012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6185
6186 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6187
aac78a43
AJ
61882012-06-27 Andreas Jaeger <aj@suse.de>
6189
6190 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6191
ed3dbfad
AJ
61922012-06-25 Andreas Jaeger <aj@suse.de>
6193
6194 * sysdeps/s390/fpu/libm-test-ulps: Update.
6195
4d0ee855
AS
61962012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6197 Thomas Schwinge <thomas@codesourcery.com>
6198
6199 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6200 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6201 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6202 fanotify_mark.
6203
af1bce34
TS
62042012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6205
a9fa33ba
TS
6206 * sysdeps/mach/start.c: Remove file.
6207 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6208 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6209 * sysdeps/sh/init-first.c: Likewise.
6210
58f902b8
TS
6211 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6212 registers for frame unwinding purposes, add CFI directives.
6213 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6215 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6216 Likewise.
6217
1518f58b
TS
6218 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6219 __fortify_fail returning.
6220 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6221
db9b5059
TS
6222 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6223 sysdeps/sh/____longjmp_chk.S.
6224 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6225 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6226 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6227 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6228
967705fe
TS
6229 * sysdeps/sh/abort-instr.h: New file.
6230 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6231 process in case exit returns.
6232
a9def8c4
TS
6233 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6234 initialize the GOT register before use.
6235
2a649725
TS
6236 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6237 calculation of ARGC > 4.
6238
af1bce34
TS
6239 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6240 meaningful names to some local labels.
6241
d230f50a
KK
62422012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6243 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6244
6245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6246 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6247 (__arch_compare_and_exchange_val_16_acq): Likewise.
6248 (__arch_compare_and_exchange_val_32_acq): Likewise.
6249 (atomic_exchange_and_add): Fix gUSA sequence.
6250 (atomic_add): Likewise.
6251 (atomic_add_negative): Likewise.
6252 (atomic_add_zero): Likewise.
6253 (atomic_bit_test_set): Likewise.
6254
0479b305
AS
62552012-06-22 Andreas Schwab <schwab@redhat.com>
6256
6257 [BZ #13579]
6258 * include/link.h (struct link_map): Add l_free_initfini.
6259 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6260 l_initfini.
6261 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6262 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6263 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6264 set.
6265
0e3933b9
CD
62662012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6267
6268 * configure.in: Use AC_LANG_SOURCE.
6269 * configure: Regenerate.
6270
4248b1b1
RM
62712012-06-22 Roland McGrath <roland@hack.frob.com>
6272
6273 * configure.in (libc_cv_localstatedir): New substituted variable.
6274 * configure: Regenerated.
6275 * config.make.in (localstatedir): New variable, substituted from
6276 libc_cv_localstatedir.
6277 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6278 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6279 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6280 * sysdeps/gnu/configure: Regenerated.
6281
006dd861
JL
62822012-06-21 Jeff Law <law@redhat.com>
6283
6284 [BZ #14277]
6285 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6286 free. Simplify list management for _LIBC case.
6287
79662d42
JM
62882012-06-21 Joseph Myers <joseph@codesourcery.com>
6289
b7abb4bf
JM
6290 [BZ #14273]
6291 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6292 Clear sign bit of 64-bit integer value before comparing against
6293 overflow value.
6294
79662d42
JM
6295 * sysdeps/mach/configure: Regenerated.
6296
1f150908
L
62972012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6298
6299 [BZ #14278]
6300 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6301
28363bbf
JL
63022012-06-21 Jeff Law <law@redhat.com>
6303
6304 [BZ #13882]
6305 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6306 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 6307 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
6308 * elf/dl-open.c (dl_open_worker): Likewise.
6309
09615db4
CD
63102012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6311
6312 * scripts/list-sources.sh: Scan PORTS for translations.
6313 * po/libc.pot: Regenerated.
6314
2174c6dd
AJ
63152012-06-21 Andreas Jaeger <aj@suse.de>
6316
6317 [BZ #12194]
6318 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6319 warning.
6320 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6321 * bits/byteswap-16.h (__bswap_16): Likewise.
6322 * bits/byteswap.h (__bswap_constant_16): Likewise.
6323
3ee947b1
L
63242012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6325
6326 [BZ #14117]
a2f34833
L
6327 * sysdeps/i386/fpu_control.h: Removed.
6328 * sysdeps/x86_64/fpu_control.h: Moved to ...
6329 * sysdeps/x86/fpu_control.h: Here.
6330
3ee947b1
L
6331 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6332 (_FPU_SETCW): Likewise.
6333
ed1825f8
L
63342012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6335
25f1282a
L
6336 [BZ #14117]
6337 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6338 * sysdeps/x86/fpu/bits/mathinline.h: This.
6339 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6340
ed1825f8
L
6341 [BZ #14050]
6342 [BZ #14117]
6343 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6344 functions if __x86_64__ is defined.
6345
36d54b74
CLT
63462012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6347
6348 * string/endian.h: Add !__ASSEMBLER__ condition for including
6349 conversion interfaces.
6350
10285c21
JM
63512012-06-15 Joseph Myers <joseph@codesourcery.com>
6352
6353 [BZ #14241]
6354 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6355 of ABS(x) in calculating zero to negative powers other than odd
6356 integers.
6357 * math/libm-test.inc (pow_test): Add more tests.
6358
06c5abbd
AJ
63592012-06-15 Andreas Jaeger <aj@suse.de>
6360
6361 * manual/contrib.texi (Contributors): Update entry of Liubov
6362 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6363 Machado Filho.
6364
a3aeac40
CH
63652012-06-15 Cyril Hrubis <metan@ucw.cz>
6366
6367 * string/string.h: Add __wur to GNU version of strerror_r.
6368
49bdf4c1
L
63692012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6370
6371 [BZ #14229]
6372 * string/Makefile (tests): Add tst-strtok_r.
6373 * string/tst-strtok_r.c: New file.
6374 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6375 RAX_LP/RDX_LP on SAVE_PTR.
6376
834f9b8d
RM
63772012-06-14 Roland McGrath <roland@hack.frob.com>
6378
6379 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6380
75fa1921
JM
63812012-06-14 Joseph Myers <joseph@codesourcery.com>
6382
6383 * libm_test.inc (csqrt_test): Allow more spurious underflow
6384 exceptions.
6385 (j0_test): Likewise.
6386 (j1_test): Likewise.
6387 (y0_test): Likewise.
6388 (y1_test): Likewise.
6389
771766df
CD
63902012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6391
6392 * po/Makefile (libc.pot): Use UTF-8 charset.
6393
ceb9e56b
PP
63942012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6395
6396 [BZ #14210]
6397 Suppress sign-conversion warning from FD_SET.
6398 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6399 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6400 not unsigned long int.
6401 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6402
ddb28975
L
64032012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6404
6405 [BZ #14050]
6406 [BZ #14117]
6407 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6408 __extern_always_inline instead of __extern_inline.
6409 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6410 (__signbit): Likewise.
6411 (__signbitl): Support C++ namespace.
6412 (lrintf): New inline function.
6413 (lrint): Likewise.
6414 (llrintf): Likewise.
6415 (llrint): Likewise.
6416 (fmaxf): Likewise.
6417 (fmax): Likewise.
6418 (fminf): Likewise.
6419 (fmin): Likewise.
6420 (rint): Likewise.
6421 (rintf): Likewise.
6422 (ceil): Likewise.
6423 (ceilf): Likewise.
6424 (floor): Likewise.
6425 (floorf): Likewise.
6426 (nearbyint): Likewise.
6427 (nearbyintf): Likewise.
6428
d7b4fb26
TS
64292012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6430
6431 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6432 non-default versions.
6433
eb55f5c2
RM
64342012-06-11 Roland McGrath <roland@hack.frob.com>
6435
6436 [BZ #14218]
6437 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6438
366af02c
TS
64392012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6440
99ff6e5c
TS
6441 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6442 (FE_UPWARD, FE_DOWNWARD): Don't define.
6443 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6444 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6445
366af02c
TS
6446 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6447 reading it.
6448 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6450
793ea851
KK
64512012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6452
6453 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6455 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6456 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6457
a728a38f
L
64582012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6459
6460 [BZ #14117]
c08010c7
L
6461 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6462 * sysdeps/i386/fpu/Implies: New file.
6463 * sysdeps/x86_64/fpu/Implies: Likewise.
6464 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6465 * sysdeps/x86/fpu/bits/fenv.h: This.
6466
a728a38f
L
6467 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
6468 __SSE_MATH__.
6469
6e230d11
SP
64702012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6471
6472 [BZ #14134]
6473 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
6474 character 0xffff that matches the last element of the
6475 conversion table.
6476
1b671feb
AZ
64772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478
6479 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
6480 fmodl commit.
6481
6043738b
AZ
64822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6483
6484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
6485 values higher than 25.6283.
6486
34ae0b32
AZ
64872012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488
6489 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
6490 subnormal exponent extraction and add some __builtin_expect.
6491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
6492 Fix for subnormal mantissa calculation.
6493
1214ec8f
MF
64942012-06-04 Mike Frysinger <vapier@gentoo.org>
6495
6496 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
6497 cpu2 is -1 and errno is not ENOSYS.
6498
f3d1f93c
L
64992012-06-04 H.J. Lu <hongjiu.lu@intel.com>
6500
6501 [BZ #14117]
0e4a3cd7
L
6502 * sysdeps/i386/i486/bits/string.h: Renamed to ...
6503 * sysdeps/x86/bits/string.h: This.
6504 * sysdeps/x86_64/bits/string.h: Removed.
6505
6704c645
L
6506 * sysdeps/i386/i486/bits/string.h: Define inline functions only
6507 if not compiling for x86-64, but compiling for >= i486.
6508
48495318
L
6509 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
6510 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
6511
14adcbfc
L
6512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
6513 New macro from Linux kernel 3.4.0.
6514 (FP_XSTATE_MAGIC2): Likewise.
6515 (FP_XSTATE_MAGIC2_SIZE): Likewise.
6516 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
6517 (struct _fpx_sw_bytes): New struct.
6518 (struct _xsave_hdr): Likewise.
6519 (struct _ymmh_state): Likewise.
6520 (struct _xstate): Likewise.
6521
68e408ab
L
6522 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
6523 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
6524 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
6525 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
6526 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
6527 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
6528
f3d1f93c
L
6529 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
6530 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
6531 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
6532 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
6533 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
6534 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
6535
d9dc34cd
TMQMF
65362012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6537
6538 [BZ #13743]
6539 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
6540 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
6541 (sysdep_headers): Include sys/platform/ppc.h.
6542 * sysdeps/powerpc/test-gettimebase.c: Test for
6543 __ppc_get_timebase() to catch future ISA opcode/insn changes.
6544 * manual/Makefile (appendices): Include platform.texi.
6545 * manual/contrib.texi (Contributors): Update @node pointers.
6546 * manual/maint.texi (Maintenance): Likewise.
6547 (Platform): New node.
6548 * manual/platform.texi: New file. Document the new features.
6549
4af3879c
SP
65502012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6551 Jakub Jelinek <jakub@redhat.com>
6552
6553 [BZ #14188]
6554 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
6555 where __builtin_expect is unavailable.
6556
2fd6ff13
DM
65572012-06-03 David S. Miller <davem@davemloft.net>
6558
6559 * stdlib/longlong.h: Updated from GCC.
6560
173f7220
AS
65612012-06-02 Andreas Schwab <schwab@linux-m68k.org>
6562
6563 [BZ #14042]
6564 * sysdeps/powerpc/powerpc32/mcount.c: New file.
6565 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
6566 __mcount_internal.
6567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
6568 (GLIBC_2.16): Likewise.
6569
f34a1c6f
L
65702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6571
6572 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
6573
88a4576f
JM
65742012-06-01 Joseph Myers <joseph@codesourcery.com>
6575
ea32bcdd
JM
6576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6577 (default-abi): New variable.
6578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
6579 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
6580 variable.
6581 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
6582 Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
6584 Likewise.
6585 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
6586 Likewise.
6587
88a4576f
JM
6588 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
6589 definition. Document in comment.
6590
402fe938
DM
65912012-06-01 David S. Miller <davem@davemloft.net>
6592
6593 * stdlib/longlong.h: Updated from GCC.
6594
3553723f
L
65952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 [BZ #14117]
3bd872c4
L
6598 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
6599 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
6600 sys/debugreg.h sys/io.h here.
6601 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
6602 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
6603 sys/io.h.
6604 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
6605 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
6606 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
6607 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
6608 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
6609 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
6610
3553723f
L
6611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
6612 Define only if __x86_64__ is defined.
6613
4842e4fe
JM
66142012-06-01 Joseph Myers <joseph@codesourcery.com>
6615
c5bfe3d5
JM
6616 [BZ #14048]
6617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
6618 Use int64_t for variable i.
6619 * math/libm-test.inc (fmod_test): Add more tests.
6620
4842e4fe
JM
6621 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
6622 z computation is not scheduled after fetestexcept.
6623 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
6624 Use math_force_eval instead of asm to ensure calculation scheduled
6625 before exception test.
6626 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
6627 Ensure a1 + u.d computation is not scheduled after fetestexcept.
6628
efb73488
AJ
66292012-06-01 Aurelien Jarno <aurelien@aurel32.net>
6630
6631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
6632 computation is not scheduled after fetestexcept.
6633
29bcce7c
L
66342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
6635
6636 [BZ #14117]
6637 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
6638 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
6639
73a68f94
AZ
66402012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6641
6642 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
6643 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6644
67b6df78
L
66452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6646
edf2933a 6647 [BZ #14117]
ebc64a18
L
6648 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
6649 <bits/wordsize.h>.
6650 (__WCHAR_MIN): Support __WORDSIZE == 64.
6651 (__WCHAR_MAX): Likewise.
6652
edf2933a
L
6653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
6654 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
6655
57c6cf40
L
6656 [BZ #14183]
6657 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
6658 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
6659
67b6df78 6660 [BZ #14117]
8eb6281e
L
6661 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
6662 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
6663
aac639f4
L
6664 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
6665 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
6666
67b6df78
L
6667 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
6668 Defined to 1 if __x86_64__ isn't defined.
6669 (_STAT_VER_LINUX_OLD): New.
6670 (st_atime): Remove duplicate.
6671 (st_mtime): Likewise.
6672 (st_ctime): Likewise.
6673
1c2cfe81
DM
66742012-05-31 David S. Miller <davem@davemloft.net>
6675
6676 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6677 entries.
6678
5be8418c
AS
66792012-06-01 Andreas Schwab <schwab@linux-m68k.org>
6680
e7725326
AS
6681 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
6682 gen-libm-test.pl.
6683
5be8418c
AS
6684 [BZ #14132]
6685 * elf/dl-reloc.c: Include <_itoa.h>.
6686 (_dl_reloc_bad_type): Remove use of INTUSE.
6687 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
6688 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
6689 * stdio-common/psiginfo.c (psiginfo): Likewise.
6690 * stdio-common/psignal.c (psignal): Likewise.
6691 * string/strsignal.c (strsignal): Likewise.
6692 * include/signal.h (_sys_siglist): Declare hidden proto.
6693 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
6694 INTVARDEF with libc_hidden_data_def.
6695 * stdio-common/itoa-udigits.c: Likewise.
6696 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
6697 (_itoa_lower_digits_internal): Remove declaration.
6698 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
6699 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
6700 (_sys_sigabbrev_internal): Remove aliases.
6701 (_sys_siglist): Define hidden alias.
6702
507352f1
MT
67032012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
6704
6705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6706 bits/sysctl.h.
6707
42bbb1c3
L
67082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
6709
6710 [BZ #14117]
6bd784b6
L
6711 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
6712 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
6713
8bca20f0
L
6714 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
6715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
6716 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
6717 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
6718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
6719 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
6720
f9e890a9
L
6721 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
6722 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
6723 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
6724
471101a1
L
6725 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
6726 with __addr.
6727 (insw): Likewise.
6728 (insl): Likewise.
6729 (outsb): Likewise.
6730 (outsw): Likewise.
6731 (outsl): Likewise.
6732
6451c862
L
6733 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
6734 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6735 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
6736
a254b8c9
L
6737 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
6738 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
6740 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
6741 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
6742 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
6743
b8dfdd92
L
6744 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
6745 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
6746
578cd270
L
6747 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
6748 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
6749
de662f5f
L
6750 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
6751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
6752 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
6753
25653439
L
6754 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
6755 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
6756 to ...
6757 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
6758
6bad24a0
L
6759 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
6760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
6761 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
6762
42bbb1c3
L
6763 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
6764 for x86-64.
6765 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
6766
2d10d547
JM
67672012-05-31 Joseph Myers <joseph@codesourcery.com>
6768
6769 * math/math.h (M_El): Use two more decimal places.
6770 (M_LOG2El): Likewise.
6771 (M_LOG10El): Likewise.
6772 (M_LN2l): Likewise.
6773 (M_LN10l): Likewise.
6774 (M_PIl): Likewise.
6775 (M_PI_2l): Likewise.
6776 (M_PI_4l): Likewise.
6777 (M_1_PIl): Likewise.
6778 (M_2_PIl): Likewise.
6779 (M_2_SQRTPIl): Likewise.
6780 (M_SQRT2l): Likewise.
6781 (M_SQRT1_2l): Likewise.
6782
f230c29b
DM
67832012-05-31 David S. Miller <davem@davemloft.net>
6784
6785 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
6786 values between float registers.
6787 * sysdeps/sparc/sparc64/memset.S: Likewise.
6788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6789
fed806c3
MF
67902012-05-31 Mike Frysinger <vapier@gentoo.org>
6791
6792 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
6793 -D_FORTIFY_SOURCE=1.
6794 (CPPFLAGS-tst-longjmp_chk.c): Define.
6795 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
6796 (CPPFLAGS-tst-longjmp_chk2.c): Define.
6797 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
6798 CFLAGS-tst-wchar-h.c.
6799
30917259
MP
68002012-05-31 Marek Polacek <polacek@redhat.com>
6801
6802 [BZ #14132]
6803 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
6804 __endmntent_internal): Remove declaration.
6805 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
6806 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
6807 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
6808
1c58d5dc
DM
68092012-05-30 David S. Miller <davem@davemloft.net>
6810
6811 * sysdeps/sparc/sparc32/soft-fp/q_util.c
6812 (___Q_simulate_exceptions): Use real FP ops rather than writing
6813 into the %fsr.
6814 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
6815 Likewise.
6816
7dc00e0d
L
68172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6818
6819 [BZ #14117]
0bd53985
L
6820 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
6821 * sysdeps/x86/bits/xtitypes.h: This.
6822
3a257e66
L
6823 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
6824 * sysdeps/x86/bits/wordsize.h: This.
6825
62f62904
L
6826 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
6827 * sysdeps/x86/bits/huge_vall.h: This.
6828
404fe9d9
L
6829 * sysdeps/i386/bits/select.h: Removed.
6830 * sysdeps/x86_64/bits/select.h: Renamed to ...
6831 * sysdeps/x86/bits/select.h: This.
6832
d48d0446
L
6833 * sysdeps/i386/bits/setjmp.h: Removed.
6834 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6835 * sysdeps/x86/bits/setjmp.h: This.
6836
7dc00e0d
L
6837 * sysdeps/i386/bits/mathdef.h: Removed.
6838 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
6839 * sysdeps/x86/bits/mathdef.h: This.
6840
03277f8f
AS
68412012-05-30 Andreas Schwab <schwab@linux-m68k.org>
6842
6843 [BZ #14132]
6844 * include/sys/socket.h (__connect_internal)
6845 (__libc_sa_len_internal): Remove declaration.
6846 (__connect, __libc_sa_len): Declare hidden_proto.
6847 (SA_LEN): Remove use of INTUSE.
6848 * socket/connect.c: Add libc_hidden_def.
6849 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
6850 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
6851 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
6852 alias.
6853 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6854 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6855 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
6856 of adding _internal alias.
6857
13764867
L
68582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6859
6860 [BZ #14117]
6bd97696
L
6861 * sysdeps/i386/bits/link.h: Removed.
6862 * sysdeps/i386/bits/linkmap.h: Likewise.
6863 * sysdeps/x86_64/bits/link.h: Renamed to ...
6864 * sysdeps/x86/bits/link.h: This.
6865 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
6866 * sysdeps/x86/bits/linkmap.h: This.
6867
f726f0bb
L
6868 * sysdeps/i386/bits/endian.h: Removed.
6869 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6870 * sysdeps/x86/bits/endian.h: This.
6871
13764867
L
6872 * sysdeps/i386/bits/byteswap.h: Removed.
6873 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6874 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
6875 * sysdeps/x86/bits/byteswap.h: This.
6876 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
6877 * sysdeps/x86/bits/byteswap-16.h: This.
6878 * sysdeps/i386/Implies: Add x86.
6879 * sysdeps/x86_64/Implies: Likewise.
6880
ae251b0b
DM
68812012-05-30 David S. Miller <davem@davemloft.net>
6882
6883 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
6884 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
6885 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6886 (FP_TRAPPING_EXCEPTIONS): Define.
6887 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6888 (FP_TRAPPING_EXCEPTIONS): Define.
6889 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
6890 subnormals only when inexact has been signalled or underflow
6891 exceptions are enabled.
6892 (_FP_PACK_CANONICAL): Likewise.
6893
d5c90867
L
68942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6895
6896 [BZ #14183]
6897 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
6898 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
6899
63f1549e
RH
69002012-05-30 Richard Henderson <rth@twiddle.net>
6901
8d8f2279
RH
6902 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
6903 with #ifndef NOT_IN_libc.
6904
63f1549e
RH
6905 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
6906 marked to avoid plt entry.
6907
0ab0291b
L
69082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
6909
6910 [BZ #14112]
6911 * Makeconfig (default-abi): New macro.
6912 (abi-includes): Likewise.
6913 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
6914 $(abi-$(default-abi)-lib-soname) for soname if defined.
6915 ($(common-objpfx)gnu/lib-names.stmp): Generate from
6916 abi-variants.
6917 * Makefile (installed-stubs): Likewise.
6918 * include/stubs-biarch.h: Removed.
6919 * scripts/lib-names.awk: Only handle one library at a time.
6920 * scripts/soversions.awk: Remove WORDSIZE support.
6921 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
6922 entries.
6923 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
6924 Removed.
6925 (syscall-list-default-condition): Likewise.
6926 (syscall-list-default-condition): Likewise.
6927 (syscall-list-includes): Likewise.
6928 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
6929 syscall-list-* with abi-*. Handle undefined abi-variants.
6930 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
6931 * sysdeps/unix/sysv/linux/i386/Implies: New file.
6932 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
6933 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
6934 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
6935 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
6936 Removed.
6937 (syscall-list-32-options): Likewise.
6938 (syscall-list-32-condition): Likewise.
6939 (syscall-list-64-options): Likewise.
6940 (syscall-list-64-condition): Likewise.
6941 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
6942 macro.
6943 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
6944 Renamed to ...
6945 (abi-*): This.
6946 (abi-64-ld-soname): New macro.
6947 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
6949 Renamed to ...
6950 (abi-*): This.
6951 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
6952 * sysdeps/x86_64/x32/shlib-versions: Likewise.
6953
4da0431d
JM
69542012-05-30 Joseph Myers <joseph@codesourcery.com>
6955
3a85279c
JM
6956 * sysdeps/unix/sysv/linux/kernel-features.h
6957 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
6958 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
6959 include <kernel-features.h>.
6960 [!__NR_ftruncate64]: Remove conditional code.
6961 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6962 [__NR_ftruncate64]: Make code unconditional.
6963 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6964 * sysdeps/unix/sysv/linux/truncate64.c: Do not
6965 include <kernel-features.h>.
6966 [!__NR_ftruncate64]: Remove conditional code.
6967 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6968 [__NR_ftruncate64]: Make code unconditional.
6969 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
6971 include <kernel-features.h>.
6972 [!__NR_ftruncate64]: Remove conditional code.
6973 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6974 [__NR_ftruncate64]: Make code unconditional.
6975 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6977 include <kernel-features.h>.
6978 [!__NR_ftruncate64]: Remove conditional code.
6979 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6980 [__NR_ftruncate64]: Make code unconditional.
6981 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
6982
4da0431d
JM
6983 * configure.in (libc_cv_fpie): Weaken to a compile test using
6984 LIBC_TRY_CC_OPTION.
6985 * configure: Regenerated.
6986
11ef492c
AK
69872012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6988
6989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
6990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
6991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6993 Refreshed.
6994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
6995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
6996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
6997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
6998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
6999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7000 Refreshed.
7001
d66ef399
DM
70022012-05-27 David S. Miller <davem@davemloft.net>
7003
7004 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7005 (___Q_zero): New.
7006 (__Q_simulate_exceptions): Return void. Change to simulate
7007 exceptions by writing into the %fsr.
7008 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7009 (__Qp_handle_exceptions): Likewise.
7010 (numbers): Delete.
7011 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7012 __Qp_handle_exceptions.
7013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7014 __Qp_handle_exceptions.
7015 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7016 as unused and give dummy FP_RND_NEAREST initializer.
7017 (FP_INHIBIT_RESULTS): Define.
7018 (___Q_simulate_exceptions): Update declaration.
7019 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7020 formatting.
7021 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7022 as unused and give dummy FP_RND_NEAREST initializer.
7023 (__Qp_handle_exceptions): Update declaration.
7024 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7025 formatting.
7026
04fb54b5
TS
70272012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7028
7029 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7030 the temporary FPU control word.
7031 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7032 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7033 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7034 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7035 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7036 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7037 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7039 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7040 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7041 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7042
3f99608f
KK
70432012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7044
7045 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7046 fields.
7047
65a4de4e
CLT
70482012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7049
7050 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7051 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7052 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7053 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7054 Likewise.
7055 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7056 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7057 Likewise.
7058
15749d40
UD
70592012-05-27 Ulrich Drepper <drepper@gmail.com>
7060
7061 * po/h.po: Update from translation team.
7062
25dbcb27
AS
70632012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7064
3d3f8e55
AS
7065 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7066
25dbcb27
AS
7067 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7068 handling of denormals.
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7070 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7071 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7072 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7074 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7076 Likewise.
7077
7ad47a80 70782012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
7079
7080 [BZ #14152]
7081 * math/libm-test.inc (fma_test): Don't always expect underflow
7082 exception.
7083
9c6ea9fa
SP
70842012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7085
7086 [BZ #12416]
7087 * elf/tst-execstack.c: Include stackinfo.h.
7088 (do_test): Adjust test case to ensure that pthread_getattr_np
7089 behaviour remains the same after marking stack executable.
7090
a8239222
JM
70912012-05-25 Joseph Myers <joseph@codesourcery.com>
7092
7093 * sysdeps/unix/sysv/linux/kernel-features.h
7094 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7095 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7096 kernel-features.h.
7097 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7098 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7099 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7100 kernel-features.h.
7101 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7102 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7103
918b5606
L
71042012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7105
7106 * configure.in: Define the default includes to being none.
7107 * configure: Regenerated.
7108
3a097cc7
RM
71092012-05-25 Roland McGrath <roland@hack.frob.com>
7110
8422c9a5
RM
7111 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7112 * sysdeps/x86_64/setjmp.S: Likewise.
7113 * sysdeps/i386/bsd-setjmp.S: Likewise.
7114 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7115 * sysdeps/i386/setjmp.S: Likewise.
7116 * sysdeps/i386/__longjmp.S: Likewise.
7117 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7118 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7119
3a097cc7
RM
7120 * include/stap-probe.h: New file.
7121 * configure.in: Handle --enable-systemtap.
7122 * configure: Regenerated.
7123 * config.h.in (USE_STAP_PROBE): New #undef.
7124 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7125 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7126 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7127
21708942
JM
71282012-05-25 Joseph Myers <joseph@codesourcery.com>
7129
7130 [BZ #13717]
7131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7132 to 2.4.0 where earlier.
7133 * sysdeps/unix/sysv/linux/configure: Regenerated.
7134 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7135 <kernel-features.h>.
7136 [__ASSUME_32BITUIDS]: Make code unconditional.
7137 [!__ASSUME_32BITUIDS]: Remove conditional code.
7138 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7139 <kernel-features.h>.
7140 [__ASSUME_32BITUIDS]: Make code unconditional.
7141 [!__ASSUME_32BITUIDS]: Remove conditional code.
7142 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7143 [__ASSUME_32BITUIDS]: Make code unconditional.
7144 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7145 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7146 <kernel-features.h>.
7147 [__ASSUME_32BITUIDS]: Make code unconditional.
7148 [!__ASSUME_32BITUIDS]: Remove conditional code.
7149 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7150 <kernel-features.h>.
7151 [__ASSUME_32BITUIDS]: Make code unconditional.
7152 [!__ASSUME_32BITUIDS]: Remove conditional code.
7153 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7154 <kernel-features.h>.
7155 [__ASSUME_32BITUIDS]: Make code unconditional.
7156 [!__ASSUME_32BITUIDS]: Remove conditional code.
7157 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7158 <kernel-features.h>.
7159 [__ASSUME_32BITUIDS]: Make code unconditional.
7160 [!__ASSUME_32BITUIDS]: Remove conditional code.
7161 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7162 <kernel-features.h>.
7163 [__ASSUME_32BITUIDS]: Make code unconditional.
7164 [!__ASSUME_32BITUIDS]: Remove conditional code.
7165 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7166 <kernel-features.h>.
7167 [__ASSUME_32BITUIDS]: Make code unconditional.
7168 [!__ASSUME_32BITUIDS]: Remove conditional code.
7169 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7170 <kernel-features.h>.
7171 [__ASSUME_32BITUIDS]: Make code unconditional.
7172 [!__ASSUME_32BITUIDS]: Remove conditional code.
7173 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7174 <kernel-features.h>.
7175 [__ASSUME_32BITUIDS]: Make code unconditional.
7176 [!__ASSUME_32BITUIDS]: Remove conditional code.
7177 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7178 <kernel-features.h>.
7179 [__ASSUME_32BITUIDS]: Make code unconditional.
7180 [!__ASSUME_32BITUIDS]: Remove conditional code.
7181 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7182 <kernel-features.h>.
7183 [__ASSUME_32BITUIDS]: Make code unconditional.
7184 [!__ASSUME_32BITUIDS]: Remove conditional code.
7185 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7186 <kernel-features.h>.
7187 [__NR_setresgid] (__setresgid): Do not declare.
7188 [__ASSUME_32BITUIDS]: Make code unconditional.
7189 [!__ASSUME_32BITUIDS]: Remove conditional code.
7190 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7191 <kernel-features.h>.
7192 [__NR_setresuid] (__setresuid): Do not declare.
7193 [__ASSUME_32BITUIDS]: Make code unconditional.
7194 [!__ASSUME_32BITUIDS]: Remove conditional code.
7195 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
7224 <kernel-features.h>.
7225 [__ASSUME_32BITUIDS]: Make code unconditional.
7226 [!__ASSUME_32BITUIDS]: Remove conditional code.
7227 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7228 <kernel-features.h>.
7229 [__ASSUME_32BITUIDS]: Make code unconditional.
7230 [!__ASSUME_32BITUIDS]: Remove conditional code.
7231 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7232 <kernel-features.h>.
7233 [__ASSUME_32BITUIDS]: Make code unconditional.
7234 [!__ASSUME_32BITUIDS]: Remove conditional code.
7235 * sysdeps/unix/sysv/linux/kernel-features.h
7236 (__ASSUME_SETRESUID_SYSCALL): Remove.
7237 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7238 (__ASSUME_32BITUIDS): Likewise.
7239 (__ASSUME_LDT_WORKS): Likewise.
7240 (__ASSUME_O_DIRECTORY): Likewise.
7241 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7242 architecture but not kernel version.
7243 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7244 (__ASSUME_MMAP2_SYSCALL): Likewise.
7245 (__ASSUME_STAT64_SYSCALL): Likewise.
7246 (__ASSUME_IPC64): Likewise.
7247 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7248 <kernel-features.h>.
7249 [__ASSUME_32BITUIDS]: Make code unconditional.
7250 [!__ASSUME_32BITUIDS]: Remove conditional code.
7251 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7252 <kernel-features.h>.
7253 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7254 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7255 132096]: Remove conditional code.
7256 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7257 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
7266 <kernel-features.h>.
7267 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7268 unconditional.
7269 (__setresgid): Do not declare.
7270 [__ASSUME_32BITUIDS]: Make code unconditional.
7271 [!__ASSUME_32BITUIDS]: Remove conditional code.
7272 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7273 <kernel-features.h>.
7274 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7275 unconditional.
7276 (__setresuid): Do not declare.
7277 [__ASSUME_32BITUIDS]: Make code unconditional.
7278 [!__ASSUME_32BITUIDS]: Remove conditional code.
7279 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7280 <kernel-features.h>.
7281 [__ASSUME_32BITUIDS]: Make code unconditional.
7282 [!__ASSUME_32BITUIDS]: Remove conditional code.
7283 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7284 <kernel-features.h>.
7285 [__ASSUME_32BITUIDS]: Make code unconditional.
7286 [!__ASSUME_32BITUIDS]: Remove conditional code.
7287
a386f1cc
RH
72882012-05-25 Richard Henderson <rth@twiddle.net>
7289
7290 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7291 dl_hwcap to ifunc resolver.
7292 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7293 elf_ifunc_invoke.
7294 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7295 dl_hwcap to ifunc resolver.
7296 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7297
b6550497
JM
72982012-05-24 Joseph Myers <joseph@codesourcery.com>
7299
7300 [BZ #14153]
7301 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7302 for |x| <= 2**-26, not 2**-57.
7303 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7304 exception.
7305
b0bc23a1
JL
73062012-05-24 Jeff Law <law@redhat.com>
7307
7308 * stdio-common/Makefile (tests): Add bug25.
7309 * stdio-common/bug25.c: New test.
7310
347c92e9
L
73112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7312
7313 [BZ #13576]
7314 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7315 multiple of MALLOC_ALIGNMENT in size.
7316 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7317
6bcc8b3f
JM
73182012-05-24 Joseph Myers <joseph@codesourcery.com>
7319
7320 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7321 Require >= 256.
7322 (FILENAME_MAX): Use macro-int-constant.
7323 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7324 (_IOFBF): Use macro-int-constant.
7325 (_IOLBF): Likewise.
7326 (_IONBF): Likewise.
7327 (SEEK_CUR): Likewise.
7328 (SEEK_END): Likewise.
7329 (SEEK_SET): Likewise.
7330 (TMP_MAX): Likewise.
7331 (EOF): Use macro-int-constant. Require < 0.
7332 (NULL): Use macro-constant. Require == 0.
7333 (stdin): Require type to be FILE *.
7334 (stdout): Likewise.
7335 (stderr): Likewise.
7336 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7337 macro-int-constant.
7338 (EXIT_SUCCESS): Likewise.
7339 (NULL): Use macro-constant. Require == 0.
7340 (RAND_MAX): Use macro-int-constant.
7341 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7342 [C99-based standards] (strtof): Require function.
7343 [C99-based standards] (strtold): Likewise.
7344 [C99-based standards] (strtoll): Likewise.
7345 [C99-based standards] (strtoull): Likewise.
7346 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7347 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7348 [ISO || ISO99 || ISO11] (math.h): Likewise.
7349 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7350 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7352
d18ea0c5
AS
73532012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7354
7355 [BZ #14132]
56d25bb8
AS
7356 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7357 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7358 * intl/dgettext.c (DCGETTEXT): Likewise.
7359 * intl/gettext.c (DCGETTEXT): Likewise.
7360 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7361 * posix/regex_internal.h (gettext): Likewise.
7362 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7363 Remove declaration.
7364 * include/argz.h (__argz_count_internal)
7365 (__argz_stringify_internal): Remove declaration.
7366 (__argz_count, __argz_stringify): Declare hidden proto.
7367 * intl/dcgettext.c: Remove use of INTDEF.
7368 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7369 * string/argz-stringify.c: Likewise.
7370 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7371 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7372 Declare hidden proto.
d18ea0c5
AS
7373 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7374 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7375 Declare hidden proto.
7376 * include/stdio.h (__asprintf_internal): Don't declare.
7377 (__asprintf): Don't define as macro. Declare hidden proto.
7378 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7379 (__fsetlocking): Declare hidden proto.
7380 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7381 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7382 hidden proto.
7383 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7384 (_IO_setlinebuf): Remove use of INTUSE.
7385 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7386 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7387 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7388 Remove declaration.
7389 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7390 (_IO_do_flush): Remove use of INTUSE.
7391 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7392 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7393 (_IO_adjust_column, _IO_least_wmarker)
7394 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7395 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7396 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7397 (_IO_default_doallocate, _IO_wdefault_doallocate)
7398 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7399 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7400 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7401 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7402 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7403 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7404 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7405 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7406 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7407 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7408 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7409 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7410 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7411 proto.
7412 (_IO_flush_all_internal, _IO_adjust_column_internal)
7413 (_IO_default_uflow_internal, _IO_default_finish_internal)
7414 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7415 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7416 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7417 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7418 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7419 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7420 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7421 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7422 (_IO_file_close_internal, _IO_file_close_it_internal)
7423 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7424 (_IO_file_init_internal, _IO_file_attach_internal)
7425 (_IO_file_fopen_internal, _IO_file_read_internal)
7426 (_IO_file_sync_internal, _IO_file_seek_internal)
7427 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7428 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7429 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7430 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7431 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7432 (_IO_list_all_internal, _IO_link_in_internal)
7433 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7434 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7435 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7436 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7437 (_IO_do_write_internal, _IO_padn_internal)
7438 (_IO_getline_info_internal, _IO_getline_internal)
7439 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7440 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7441 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7442 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7443 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7444 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7445 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7446 with libc_hidden_ver, remove use of INTUSE.
7447 * libio/genops.c: Likewise.
7448 * libio/freopen.c: Likewise.
7449 * libio/freopen64.c: Likewise.
7450 * libio/iofclose.c: Likewise.
7451 * libio/iofdopen.c: Likewise.
7452 * libio/iofflush.c: Likewise.
7453 * libio/iofflush_u.c: Likewise.
7454 * libio/iofgets.c: Likewise.
7455 * libio/iofgets_u.c: Likewise.
7456 * libio/iofopen.c: Likewise.
7457 * libio/iofopncook.c: Likewise.
7458 * libio/iofread.c: Likewise.
7459 * libio/iofread_u.c: Likewise.
7460 * libio/ioftell.c: Likewise.
7461 * libio/iofwrite.c: Likewise.
7462 * libio/iogetline.c: Likewise.
7463 * libio/iogets.c: Likewise.
7464 * libio/iogetwline.c: Likewise.
7465 * libio/iopadn.c: Likewise.
7466 * libio/iopopen.c: Likewise.
7467 * libio/ioseekoff.c: Likewise.
7468 * libio/ioseekpos.c: Likewise.
7469 * libio/iosetbuffer.c: Likewise.
7470 * libio/iosetvbuf.c: Likewise.
7471 * libio/ioungetc.c: Likewise.
7472 * libio/ioungetwc.c: Likewise.
7473 * libio/iovdprintf.c: Likewise.
7474 * libio/iovsprintf.c: Likewise.
7475 * libio/iovsscanf.c: Likewise.
7476 * libio/memstream.c: Likewise.
7477 * libio/obprintf.c: Likewise.
7478 * libio/oldfileops.c: Likewise.
7479 * libio/oldiofclose.c: Likewise.
7480 * libio/oldiofdopen.c: Likewise.
7481 * libio/oldiofopen.c: Likewise.
7482 * libio/oldiopopen.c: Likewise.
7483 * libio/oldstdfiles.c: Likewise.
7484 * libio/putc.c: Likewise.
7485 * libio/setbuf.c: Likewise.
7486 * libio/setlinebuf.c: Likewise.
7487 * libio/stdfiles.c: Likewise.
7488 * libio/strops.c: Likewise.
7489 * libio/vasprintf.c: Likewise.
7490 * libio/vscanf.c: Likewise.
7491 * libio/vsnprintf.c: Likewise.
7492 * libio/vswprintf.c: Likewise.
7493 * libio/wfiledoalloc.c: Likewise.
7494 * libio/wfileops.c: Likewise.
7495 * libio/wgenops.c: Likewise.
7496 * libio/wmemstream.c: Likewise.
7497 * libio/wstrops.c: Likewise.
7498 * libio/__fpurge.c: Likewise.
7499 * libio/__fsetlocking.c: Likewise.
7500 * assert/assert.c: Likewise.
7501 * debug/fgets_chk.c: Likewise.
7502 * debug/fgets_u_chk.c: Likewise.
7503 * debug/fread_chk.c: Likewise.
7504 * debug/fread_u_chk.c: Likewise.
7505 * debug/gets_chk.c: Likewise.
7506 * debug/obprintf_chk.c: Likewise.
7507 * debug/vasprintf_chk.c: Likewise.
7508 * debug/vdprintf_chk.c: Likewise.
7509 * debug/vsnprintf_chk.c: Likewise.
7510 * debug/vsprintf_chk.c: Likewise.
7511 * malloc/mtrace.c: Likewise.
7512 * misc/error.c: Likewise.
7513 * misc/syslog.c: Likewise.
7514 * stdio-common/asprintf.c: Likewise.
7515 * stdio-common/fxprintf.c: Likewise.
7516 * stdio-common/getw.c: Likewise.
7517 * stdio-common/isoc99_fscanf.c: Likewise.
7518 * stdio-common/isoc99_scanf.c: Likewise.
7519 * stdio-common/isoc99_vfscanf.c: Likewise.
7520 * stdio-common/isoc99_vscanf.c: Likewise.
7521 * stdio-common/isoc99_vsscanf.c: Likewise.
7522 * stdio-common/printf-prs.c: Likewise.
7523 * stdio-common/printf_fp.c: Likewise.
7524 * stdio-common/printf_fphex.c: Likewise.
7525 * stdio-common/printf_size.c: Likewise.
7526 * stdio-common/putw.c: Likewise.
7527 * stdio-common/scanf.c: Likewise.
7528 * stdio-common/sprintf.c: Likewise.
7529 * stdio-common/tmpfile.c: Likewise.
7530 * stdio-common/vfprintf.c: Likewise.
7531 * stdio-common/vfscanf.c: Likewise.
7532 * stdlib/strfmon_l.c: Likewise.
7533 * sunrpc/openchild.c: Likewise.
7534 * sunrpc/xdr_stdio.c: Likewise.
7535 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7536 * sysdeps/mach/hurd/tmpfile.c: Likewise.
7537
d6c33fda
RM
75382012-05-24 Roland McGrath <roland@hack.frob.com>
7539
c1487492
RM
7540 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7541
7542 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
7543 in the third column, to generate for the shared library an IFUNC
7544 that uses _dl_vdso_vsym.
7545 * Makerules (COMPILE.c, compile-stdin.c): New variables.
7546 * Makeconfig (object-suffixes-noshared): New variable.
7547
7548 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
7549 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
7550 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
7551 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
7552
d6c33fda
RM
7553 [BZ #14132]
7554 * include/sys/time.h (__gettimeofday): Remove macro.
7555 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
7556 * time/gettimeofday.c (__gettimeofday): Remove #undef.
7557 Remove INTDEF.
7558 (__gettimeofday): Add libc_hidden_def.
7559 (gettimeofday): Add libc_hidden_weak.
7560 * sysdeps/mach/gettimeofday.c: Likewise.
7561 * sysdeps/posix/gettimeofday.c: Likewise.
7562 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7563 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7564 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
7565 (__gettimeofday_internal): Remove strong_alias.
7566 (__gettimeofday): Add libc_hidden_def.
7567 (gettimeofday): Add libc_hidden_weak.
7568 * sysdeps/unix/syscalls.list (gettimeofday):
7569 Remove __gettimeofday_internal alias.
7570
b5a2bbe6
L
75712012-05-24 Daniel Jacobowitz <drow@false.org>
7572 H.J. Lu <hongjiu.lu@intel.com>
7573
7574 [BZ #12495]
7575 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
7576 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
7577 (largebin_index_32_big): New.
7578 (largebin_index): Use it for 16-byte alignment.
7579 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
7580 correction with front_misalign.
7581
cfba4fda
L
75822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7583
7f907421
L
7584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
7585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
7588 Likewise.
7589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7590 Likewise.
7591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
7592 Likewise.
7593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
7594 Likewise.
7595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
7596 Likewise.
7597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
7598 Likewise.
7599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7600 Likewise.
7601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
7602 Likewise.
7603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
7604 Likewise.
7605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7606 Likewise.
7607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
7608 Likewise.
7609
cfba4fda
L
7610 * scripts/data/c++-types-x32-linux-gnu.data: New file.
7611 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
7612
80bad0cc
JM
76132012-05-24 Joseph Myers <joseph@codesourcery.com>
7614
7a25eb06
JM
7615 [BZ #10846]
7616 [BZ #14036]
7617 * math/libm-test.inc (exp_test): Add test from bug 14036.
7618 (pow_test): Add test from bug 10846.
7619
795405f9
JM
7620 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
7621 and other flags.
7622 (special_function): Do not include flags in test name.
7623 (parse_args): Likewise.
7624 * sysdeps/i386/fpu/libm-test-ulps: Update.
7625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7626 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7627 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629
80bad0cc
JM
7630 * math/gen-libm-test.pl (%beautify): Add entries for underflow
7631 exceptions.
7632 * math/libm-test.inc ("Philosophy"): Update comment about
7633 exception testing.
7634 (UNDERFLOW_EXCEPTION): New macro.
7635 (UNDERFLOW_EXCEPTION_OK): Likewise.
7636 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7637 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7638 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7639 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7640 (INVALID_EXCEPTION_OK): Update value.
7641 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7642 (OVERFLOW_EXCEPTION_OK): Likewise.
7643 (IGNORE_ZERO_INF_SIGN): Likewise.
7644 (test_exceptions): Handle underflow exceptions.
7645 (acos_test): Update for underflow exception expectations.
7646 (cexp_test): Likewise.
7647 (clog_test): Likewise.
7648 (clog10_test): Likewise.
7649 (csqrt_test): Likewise.
7650 (ctan_test): Likewise.
7651 (ctanh_test): Likewise.
7652 (exp_test): Likewise.
7653 (exp10_test): Likewise.
7654 (exp2_test): Likewise.
7655 (expm1_test): Likewise.
7656 (fma_test): Likewise.
7657 (j0_test): Likewise.
7658 (jn_test): Likewise.
7659 (nexttoward_test): Likewise.
7660 (pow_test): Likewise.
7661 (scalbn_test): Likewise.
7662 (scalbln_test): Likewise.
7663 (tan_test): Likewise.
7664 (y1_test): Likewise.
7665 * sysdeps/i386/fpu/libm-test-ulps: Update.
7666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7667
9e0e3d0b
DM
76682012-05-23 David S. Miller <davem@davemloft.net>
7669
7670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7671 (__libc_sigaction): Remove unused local variables.
7672
ccd0a08f
L
76732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7674
7675 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
7676
62bdf9a6
PE
76772012-05-23 Paul Eggert <eggert@cs.ucla.edu>
7678
f8591f80
PE
7679 mktime: avoid signed integer overflow
7680 * time/mktime.c (__mktime_internal): Do not mishandle the case
7681 where diff == INT_MIN.
7682
94c7d826
PE
7683 mktime: simplify computation of average
7684 * time/mktime.c (ranged_convert): Use new time_t_avg function
7685 instead of rolling our own (probably-slower) code.
7686
ce73d683
PE
7687 mktime: do not assume signed right shift propagates sign bit
7688 * time/mktime.c (isdst_differ): New static function.
7689 (__mktime_internal): No need to normalize tm_isdst now.
7690 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
7691 tm_isdst values.
7692
72a22e59
PE
7693 mktime: merge another wrapv change from gnulib
7694 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
7695 from some compilers.
7696
68605433
PE
7697 mktime: remove incorrect attempt at unusual arithmetics
7698 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
7699 The code didn't really work on such machines anyway.
7700 (TYPE_MINIMUM): Assume two's complement.
7701 (twos_complement_arithmetic): Verify that long_int and time_t
7702 are two's complement (or unsigned, in the latter case).
7703
03cf7fe3
PE
7704 mktime: check signed shifts on long_int and time_t, too
7705 * time/mktime.c (SHR): Check that shifts work as desired
7706 on the types long_int and time_t too, as SHR is used on
7707 such types.
7708
f04dfbc2
PE
7709 mktime: do not assume 'long' is wide enough
7710 * time/mktime.c (verify): Move decl up.
7711 (long_int): New type.
7712 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
7713 to remove assumption in the code that 'long' is wide enough to
7714 store year values. This assumption is not true on x32 and on
7715 some non-glibc platforms.
7716
62bdf9a6
PE
7717 mktime: merge wrapv change from gnulib
7718 * time/mktime.c (WRAPV): New macro.
7719 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
7720 (guess_time_tm, __mktime_internal): Do not assume that signed
7721 integer overflow wraps around; modern compilers generate code
7722 where this assumption is no longer valid.
7723
5e292e4f
L
77242012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7725
7726 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7727 Replace "jmp L(pseudo_end)" with "ret".
7728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
7729 Likewise.
7730
8caf8c87
AJ
77312012-05-23 Andreas Jaeger <aj@suse.de>
7732
7733 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
7734 * sysdeps/unix/sysv/linux/poll.c: Remove file.
7735
1a09dc56
AJ
77362012-05-23 Andreas Jaeger <aj@suse.de>
7737 Maximilian Attems <max@stro.at>
7738
7739 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
7740 New macros.
7741
1c87aba0
L
77422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
7743
7744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
7745 code so that pseudo_end is just ret and the stack pointer is
7746 correct also for static library in error case.
7747
40e45bd5
JM
77482012-05-23 Joseph Myers <joseph@codesourcery.com>
7749
c2670533
JM
7750 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
7751 move to syscalls.list.
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7756
40e45bd5
JM
7757 * manual/install.texi (Running make install): Do not mention Linux
7758 kernel version for which pt_chown is not needed.
7759 (Linux): Do not mention problems with nscd with 2.0 kernels.
7760 * INSTALL: Regenerated.
7761
be08eda5
AJ
77622012-05-23 Andreas Jaeger <aj@suse.de>
7763
7764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
7765 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
7766 macro.
7767 * sysdeps/unix/sysv/linux/s390/bits/mman.h
7768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7769 * sysdeps/unix/sysv/linux/sh/bits/mman.h
7770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7771 * sysdeps/unix/sysv/linux/i386/bits/mman.h
7772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
7774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
7776 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
7777 * sysdeps/unix/sysv/linux/bits/in.h
7778 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
7779
a6a056bb
RM
77802012-05-22 Roland McGrath <roland@hack.frob.com>
7781
7782 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
7783 (PREPARE_VERSION): Just use assert instead, it will be elided
7784 under [NDEBUG] anyway.
7785
c9009328
L
77862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7787
7788 * sysdeps/unix/sysv/linux/Makefile: Include
7789 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 7790 (sysdep_routines): Remove sysctl.
c9009328
L
7791 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
7792 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
7793 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
7794 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
7795 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
7796
73338355
AJ
77972012-05-22 Andreas Jaeger <aj@suse.de>
7798
7799 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
7800 that pseudo_end is just ret and the stack pointer is correct also
7801 for static library in error case.
7802
d44638b0
PP
78032012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7804
7805 [BZ #14122]
7806 * nss/nsswitch.c (defconfig_entries): New variable.
7807 (__nss_database_lookup): Don't leak defconfig entries.
7808 (nss_parse_service_list): Don't leak on error paths.
7809 (free_database_entries): New function.
7810 (free_defconfig): New function.
7811 (free_mem): Move common code to free_database_entries.
7812
31a39bd8
L
78132012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7814
da0331a8
L
7815 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
7816 Add arch_prctl.
7817 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
7818
31a39bd8
L
7819 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7820 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
7821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
7822 New macro.
7823 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7824 (INTERNAL_SYSCALL_TYPES): Likewise.
7825 (LOAD_ARGS_TYPES_[1-6]): Likewise.
7826 (LOAD_REGS_TYPES_[1-6]): Likewise.
7827 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
7828 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
7829
45470df3
AZ
78302012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7831
7832 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
7833 copysignl for GLIBC_2_0.
7834 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
7835 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
7836 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
7837 logbl for GLIBC_2_0.
7838 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7839 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7840
98a61bcb
L
78412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7842
a4f6e481
L
7843 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
7844 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
7845
f63d5db6
L
7846 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
7847 Use "neg %eax".
7848
98a61bcb
L
7849 * time/mktime.c: Update copyright years.
7850
95770f14
PE
78512012-05-22 Paul Eggert <eggert@cs.ucla.edu>
7852
6226efbd
PE
7853 mktime: merge comment-quoting-style change from gnulib
7854 * time/mktime.c: Quote 'like this' in comments.
7855 The GNU coding standards suggest that we no longer quote `like this',
7856 as "`" and "'" are typically rendered asymmetrically nowadays.
7857 The typical gnulib style is to quote 'like this' when quoting
7858 code, and "like this" when quoting English.
7859
b99e4f78
PE
7860 * time/mktime.c (compile-command): Add "-I.".
7861
643e01e6
PE
7862 mktime: merge mktime-internal.h change from gnulib
7863 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
7864
2554247d
PE
7865 mktime: merge time_r change from gnulib
7866 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
7867
826dd0ab
PE
7868 mktime: merge DEBUG change from gnulib
7869 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
7870 case system <time.h> has a #define.
7871
bd83aabe
PE
7872 mktime: merge <sys/types.h> change from gnulib
7873 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
7874 since <time.t> is now guaranteed to define time_t.
7875
95770f14
PE
7876 mktime: merge HAVE_CONFIG_H change from gnulib
7877 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
7878
5e1a27a9
L
78792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
7880
0e44a77e
L
7881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7882 Use "neg %eax".
7883
5e1a27a9
L
7884 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
7885 __rlim_t cast.
7886 (struct rusage): Use anonymous union to pad each field to
7887 __syscall_slong_t.
7888
46259bec
DM
78892012-05-21 David S. Miller <davem@davemloft.net>
7890
7891 * Makefules (o-iterator): Remove .s cases.
7892 (compile-command.s): Delete.
7893 (COMPILE.s): Delete.
7894 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
7895
59f0c22e
JM
78962012-05-21 Joseph Myers <joseph@codesourcery.com>
7897
7898 * configure.in (libc_cv_predef_stack_protector): Only consider
7899 "foobar" and "__stack_chk_fail" lines in libc_undefs.
7900 * configure: Regenerated.
7901
20c07380
L
79022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7903
bbb3154b
L
7904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
7905 New macro. Use R*LP on int and pointer.
7906 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
7907 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
7908 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
7909 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
7910
20c07380
L
7911 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
7912 [__WORDSIZE_TIME64_COMPAT32] instead of
7913 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
7914 (struct utmp): Likewise.
7915 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
7916 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
7917 Renamed to ...
7918 (__WORDSIZE_TIME64_COMPAT32): This.
7919 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7920 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7921 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7923 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
7924 (__WORDSIZE_TIME64_COMPAT32): New macro.
7925
d8d1017e
AJ
79262012-05-21 Andreas Jaeger <aj@suse.de>
7927
7928 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
7929 only if [SHARED]. Add prototype for __wcschr_ia32.
7930
6c7fb145
RM
79312012-05-21 Roland McGrath <roland@hack.frob.com>
7932
7933 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
7934 of %rbp unmolested in the jmp_buf while mangling the low bits.
7935 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
7936 unmolested high bits of %rbp while demangling the low bits.
7937 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7938
66274218
AJ
79392012-05-21 Andreas Jaeger <aj@suse.de>
7940
07c58f8f
AJ
7941 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
7942 * sunrpc/svc_simple.c: Use it for registerrpc.
7943 * sunrpc/xcrypt.c: Use it for passwd2des.
7944
66274218
AJ
7945 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
7946
61f65140
L
79472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7948
7949 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
7950 Don't define if [__SYSCALL_WORDSIZE != 32].
7951 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
7952 New macro.
7953
5fefb436
AJ
79542012-05-21 Bruno Haible <bruno@clisp.org>
7955 Andreas Jaeger <aj@suse.de>
7956
7957 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
7958 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
7959 inptr and inend for must_buffer_ch.
7960 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
7961 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
7962 * stdio-common/Makefile (tests): Remove bug15.
7963 (bug15-ENV): Remove macro.
7964 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
7965 anymore.
7966
d8e272ab
AJ
79672012-05-19 Andreas Jaeger <aj@suse.de>
7968 Roland McGrath <roland@hack.frob.com>
7969
7970 * manual/contrib.texi: Completely rewritten. It contains now an
7971 alphabetical list of contributors and their contributions.
7972
4a56a162
RH
79732012-05-21 Richard Henderson <rth@twiddle.net>
7974
7975 * misc/getauxval.c (__getauxval): Use unsigned long int.
7976 * misc/sys/auxv.h: Include <sys/cdefs.h>.
7977 (getauxval): Use unsigned long int.
7978
d024d23c
L
79792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
7980
7981 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
7982
cbc00a03
RM
79832012-05-21 Roland McGrath <roland@hack.frob.com>
7984
7985 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
7986 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
7987 __alignof__ (long double).
7988
478143fa
AZ
79892012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7990
7991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7992
c7683a6d
RH
79932012-05-20 Richard Henderson <rth@twiddle.net>
7994
7995 * misc/getauxval.c: New file.
7996 * misc/sys/auxv.h: New file.
7997 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
7998 (routines): Add getauxval.
7999 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8000 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8001 * elf/dl-sysdep.c (_dl_auxv): Remove.
8002 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8003 * elf/dl-support.c (_dl_auxv): New variable.
8004 (_dl_aux_init): Initialize it.
8005 * manual/startup.texi (Auxiliary Vector): New node.
8006 * sysdeps/generic/bits/hwcap.h: New file.
8007 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8008 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8009 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8010 * sysdeps/sparc/sysdep.h: ... here. Include it.
8011 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8012 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8014 Update.
c7683a6d
RH
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8023
a6f1845d
AZ
80242012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025
8026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8027
cbcbe830
DM
80282012-05-19 David S. Miller <davem@davemloft.net>
8029
8030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8031
e0b16cc2
JM
80322012-05-19 Joseph Myers <joseph@codesourcery.com>
8033
8034 [BZ #14123]
8035 * math/s_ccosh.c: Include <float.h>
8036 (__ccosh): Avoid internal overflow calculating sinh and cosh
8037 values before multiplying by sin and cos values.
8038 * math/s_ccoshf.c: Likewise.
8039 * math/s_ccoshl.c: Likewise.
8040 * math/s_csin.c: Likewise.
8041 * math/s_csinf.c: Likewise.
8042 * math/s_csinl.c: Likewise.
8043 * math/s_csinh.c: Likewise.
8044 * math/s_csinhf.c: Likewise.
8045 * math/s_csinhl.c: Likewise.
8046 * math/libm-test.inc (ccos_test): Add more tests.
8047 (ccosh_test): Likewise.
8048 (csin_test): Likewise.
8049 (csinh_test): Likewise.
8050 * sysdeps/i386/fpu/libm-test-ulps: Update.
8051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8052
6ad13e08
L
80532012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8054
f66f0ce8
L
8055 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8056 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8057
6ad13e08
L
8058 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8059
b1d072a7
JM
80602012-05-19 Joseph Myers <joseph@codesourcery.com>
8061
8062 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8063 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8064 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8065 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8066 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8067 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8068 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8069 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8070 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8071 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8072 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8073 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8074 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8075 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8076 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8077 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8078 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8079 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8080 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8081 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8082 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8083 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8084 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8085 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8086 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8087 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8088 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8089 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8090 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8091 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8092 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8093
9eae47cb
AJ
80942012-05-18 Andreas Jaeger <aj@suse.de>
8095
8096 * csu/.gitignore: Delete.
8097
bb07f69f
L
80982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8099
8100 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8101 (timex): Use __syscall_slong_t.
8102
e6bdb741
AJ
81032012-05-18 Andreas Jaeger <aj@suse.de>
8104 Carlos O'Donell <carlos_odonell@mentor.com>
8105
8106 * manual/install.texi (Configuring and compiling): Update
8107 description about files modified in the source directory.
d6c33fda 8108 * INSTALL: Regenerated.
e6bdb741 8109
1b74487e
L
81102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8111
8112 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8113 value. Use "or" to set return value to -1.
8114 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8115 negate return value.
8116
a88b64b9
TMQMF
81172012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8118
8119 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8120 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8121 failure if the compiler has Graphite support disabled.
8122 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8123 Likewise.
8124 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8125 CFLAGS-memmove.c): Likewise.
8126 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8127 Likewise.
8128
3707636e
L
81292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8130
610b8622
L
8131 * sysdeps/x86_64/x32/_itoa.h: New file.
8132
7cd195df
L
8133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8134 getdents system call only if kernel and user dirents have the
8135 same d_ino and d_off.
8136
94b07d20
L
8137 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8138 LLONG_MAX != LONG_MAX.
8139 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8140 (_fitoa_word): Likewise.
8141
18298070
L
8142 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8143 years.
8144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8145 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8146 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8147
553c7ea4
L
8148 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8149 include <bits/wordsize.h>. Check __x86_64__ instead of
8150 __WORDSIZE.
8151 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8152 if __x86_64__ is defined. Use anonymous union on fpstate.
8153
3707636e
L
8154 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8155 anonymous union.
8156
b53ef01a
AS
81572012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8158
37fb1dc0
AS
8159 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8160 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8161 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8162 Refer to _rtld_local_ro instead of _rtld_global_ro.
8163 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8164 Likewise.
8165 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8166 Likewise.
8167 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8168 Likewise.
8169 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8170 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8171 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8172
b53ef01a
AS
8173 * sysdeps/powerpc/powerpc32/dl-machine.c
8174 (__elf_machine_runtime_setup) [PROF]: Don't reference
8175 _dl_prof_resolve.
8176
7a185db2
AJ
81772012-05-18 Andreas Jaeger <aj@suse.de>
8178
8179 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8180 function only available for GCCs before 3.4 since GCC 3.4
8181 introduced a builtin.
8182 (lrint): Likewise.
8183 (llrintf): Likewise.
8184 (llrint): Likewise.
8185 (fmaxf): Likewise.
8186 (fmax): Likewise.
8187 (fminf): Likewise.
8188 (fmin): Likewise.
8189 (rint): Likewise.
8190 (rintf): Likewise.
8191 (nearbyint): Likewise.
8192 (nearbyintf): Likewise.
8193 (ceil): Likewise.
8194 (ceilf): Likewise.
8195 (floor): Likewise.
8196 (floorf): Likewise.
8197
3e5aef87
L
81982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8199
428bd707
L
8200 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8201 on both fields and cast pointer to __syscall_ulong_t.
8202
3e5aef87
L
8203 * bits/types.h (__fsword_t): New type.
8204 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8205 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8207 (__FSWORD_T_TYPE): Likewise.
8208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8209 (__FSWORD_T_TYPE): Likewise.
8210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8211 (__FSWORD_T_TYPE): Likewise.
8212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8213 (__FSWORD_T_TYPE): Likewise.
8214 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8215 __SWORD_TYPE with __fsword_t.
8216 (statfs64): Likewise.
8217
1ba7c3dc
DM
82182012-05-17 David S. Miller <davem@davemloft.net>
8219
8220 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8221
59910343
AJ
82222012-05-17 Andreas Jaeger <aj@suse.de>
8223
8224 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8225 warning.
8226
2e4c1e9e
L
82272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8230
de7f5ce7
AJ
82312012-05-17 Andreas Jaeger <aj@suse.de>
8232
8233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8234 when it is used.
8235
286abc3d
CM
82362012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8237
8238 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8239
477cc68e
L
82402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8243 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8244
1a0994f5
CD
82452012-05-17 Andreas Jaeger <aj@suse.de>
8246 Carlos O'Donell <carlos_odonell@mentor.com>
8247
8248 [BZ #14059]
8249 * sysdeps/x86_64/multiarch/init-arch.h
8250 (bit_YMM_Usable): Rename to...
8251 (bit_AVX_Usable): ... this.
8252 (bit_FMA4_Usable): New macro.
8253 (bit_XMM_state): New macro.
8254 (bit_YMM_state): New macro.
8255 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8256 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8257 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8258 (CPUID_OSXSAVE): New macro.
8259 (CPUID_AVX): New macro.
8260 (CPUID_FMA4): New macro.
8261 (index_YMM_Usable): Rename to...
8262 (index_AVX_Usable): ... this.
8263 (HAS_AVX): Use HAS_ARCH_FEATURE.
8264 (HAS_FMA4): Likewise.
8265 (HAS_YMM_USABLE): Remove.
8266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8267 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8268 are present.
8269 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8270 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8271 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8272 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8273 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8274
0af797de
CM
82752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8276
8277 * math/libm-test.c: Support platforms without multiple rounding modes.
8278 * math/bug-nextafter.c: Support platforms without FP exceptions.
8279 * math/bug-nexttoward.c: Likewise.
8280 * math/test-fenv.c: Likewise.
8281 * math/test-misc.c: Likewise.
8282 * stdlib/bug-getcontext.c: Likewise.
8283
e39745ff
AJ
82842012-05-17 Andreas Jaeger <aj@suse.de>
8285
8286 * manual/examples/search.c (critter_cmp): Change signature to
8287 avoid warnings.
8288 * manual/string.texi (Collation Functions): Likewise.
8289
48970aba
L
82902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 * bits/types.h: Fold copyright years.
8293 * bits/typesizes.h: Likewise.
8294 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8297 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8298 * time/time.h: Likewise.
8299
bedee953
PP
83002012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8301
8302 [BZ #208]
8303 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8304 in instead of returning them. Return void.
8305 (__libc_mallinfo): Accumulate over all arenas.
8306 (__malloc_stats): Adjust for change in int_mallinfo interface.
8307
61653dfb
RM
83082012-05-16 Roland McGrath <roland@hack.frob.com>
8309
30b99d79
RM
8310 [BZ #10375]
8311 * configure.in (NM): Add AC_CHECK_TOOL for it.
8312 (libc_extra_cflags): New substituted variable.
8313 Check for -fstack-protector being used implicitly.
8314 * configure: Regenerated.
8315 * config.make.in (config-extra-cflags): New variable,
8316 gets @libc_extra_cflags@.
8317 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8318
61653dfb
RM
8319 [BZ #10375]
8320 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8321 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8322 * configure: Regenerated.
8323 * config.make.in (CPPUNDEFS): New substituted variable.
8324 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8325 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8326 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8327
661768bb
L
83282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8329
8330 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8331 (mq_attr): Use __syscall_slong_t.
8332
d4261567
L
83332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8334
8335 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8336 Check __x86_64__ instead of __WORDSIZE.
8337 (_STAT_VER_LINUX): Likewise.
8338 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8339 __syscall_ulong_t and __syscall_slong_t.
8340 (stat64): Likewise.
8341
cf3ff365
L
83422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8343
8344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8345
76cf3e4d
L
83462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8347
8348 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8349
a637753a
L
83502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8353 __syscall_ulong_t.
8354
d5e05119
L
8355 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8356 include <bits/wordsize.h>. Check __x86_64__ instead of
8357 __WORDSIZE.
8358 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8359 defined.
8360 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8361
f62ee380
L
8362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8363 include <bits/wordsize.h>. Check __x86_64__ instead of
8364 __WORDSIZE.
8365 (user_regs_struct): Use "__extension__ unsigned long long"
8366 instead of "unsigned long" if __x86_64__ is defined.
8367 (user): Likewise. Pad after pointer field if __ILP32__ is
8368 defined.
8369
4e124ced
JM
83702012-05-16 Joseph Myers <joseph@codesourcery.com>
8371
6a3951a0
JM
8372 * configure.in (makeinfo): Require version 4.5 or later. Allow
8373 versions 5 to 9.
8374 * configure: Regenerated.
8375 * manual/install.texi (texinfo): Increase version requirement to
8376 4.5 or later.
8377 * INSTALL: Regenerated.
8378
4e124ced
JM
8379 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8380
953ca31a
L
83812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8382
8383 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8384
617aca05
L
8385 * sysdeps/x86_64/x32/ffs.c: New file.
8386
5762f7ae
L
8387 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8388 __syscall_ulong_t.
8389 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8390 defined. Use __syscall_ulong_t.
8391 (shminfo): Use __syscall_ulong_t.
8392 (shm_info): Likewise.
8393
a26b6856
L
8394 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8395 __syscall_ulong_t.
8396
cb2b9ef7
L
8397 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8398 <bits/wordsize.h>.
8399 (msgqnum_t): Use __syscall_ulong_t.
8400 (msglen_t): Likewise.
8401 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8402 __syscall_ulong_t.
8403
34683bb0
L
8404 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8405 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8406
84a68786
L
8407 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8408
48baa5f1
L
8409 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8410 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8411
180be88b
L
8412 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8413 __syscall_slong_t.
8414
5e90c8ad
L
8415 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8416 include <bits/wordsize.h>. Check __x86_64__ instead of
8417 __WORDSIZE.
8418
23dfb58b
L
8419 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8420 "unsigned long long int" if __x86_64__ is defined.
8421 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8422
ce5d54b0
L
8423 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8424 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8425 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8426
13dc9eac
L
8427 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8428 <stdint.h>.
8429 (GET_PC): Cast to uintptr_t first.
8430 (GET_FRAME): Likewise.
8431 (GET_STACK): Likewise.
8432
a7895d15
L
8433 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8434 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8435 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8436 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8437 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8438 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8439 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8440 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8442 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8443 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8444 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8445 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8446 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8448 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8449 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8450 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8451 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8452 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8454 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8455 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8456 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8457 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8458 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8460 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8462
656416c9
AS
84632012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8464
5bd66283
AS
8465 * Makerules (+depfiles): Also collect depfiles from .oS in
8466 $(extra-objs).
8467 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
8468 .oS, $(libnldbl-routines)).
8469
656416c9
AS
8470 * Makerules (native-compile-mkdep-flags): Define.
8471 * sunrpc/Makefile (extra-objs): Add $(addprefix
8472 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
8473 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
8474 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
8475 calling $(make-target-directory).
8476
a46f2169
L
84772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * bits/types.h (__snseconds_t): Removed.
8480 * time/time.h (struct timespec): Replace __snseconds_t with
8481 __syscall_slong_t.
8482 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
8483 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
8484 Likewise.
8485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8486 (__SNSECONDS_T_TYPE): Likewise.
8487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8488 (__SNSECONDS_T_TYPE): Likewise.
8489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8490 (__SNSECONDS_T_TYPE): Likewise.
8491
6af6528b
L
84922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * sysdeps/mach/hurd/bits/typesizes.h
8495 (__SYSCALL_SLONG_TYPE): New macro.
8496 (__SYSCALL_ULONG_TYPE): Likewise.
8497
de986b56
L
84982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 * bits/types.h (__syscall_slong_t): New type.
8501 (__syscall_ulong_t): Likewise.
8502
8503 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
8504 (__SYSCALL_ULONG_TYPE): Likewise.
8505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8506 (__SYSCALL_SLONG_TYPE): Likewise.
8507 (__SYSCALL_ULONG_TYPE): Likewise.
8508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8509 (__SYSCALL_SLONG_TYPE): Likewise.
8510 (__SYSCALL_ULONG_TYPE): Likewise.
8511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8512 (__SYSCALL_SLONG_TYPE): Likewise.
8513 (__SYSCALL_ULONG_TYPE): Likewise.
8514
85736dc7
L
85152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8516
8517 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
8518 Add sigaltstack-offsets.sym.
8519 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
8520 <sigaltstack-offsets.h>.
8521 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
8522 longjmp_msg pointer.
8523 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
8524 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
8525 signal stack.
8526 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
8527
cc03b296
JM
85282012-05-15 Joseph Myers <joseph@codesourcery.com>
8529
a9538892
JM
8530 * elf/stackguard-macros.h: Remove file.
8531 * sysdeps/generic/stackguard-macros.h: New file.
8532 * sysdeps/i386/stackguard-macros.h: Likewise.
8533 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8534 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8535 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8536 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8537 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8538 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8539 * sysdeps/x86_64/stackguard-macros.h: Likewise.
8540 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
8541 <elf/stackguard-macros.h>.
8542
cc03b296
JM
8543 [BZ #14109]
8544 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
8545 __aligned__ in attribute.
8546 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
8547 (gregset_t): Likewise.
8548
93171016
L
85492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8550
8551 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
8552 * sysdeps/x86_64/64/Implies-after: Here. New file.
8553 * sysdeps/x86_64/x32/Implies-after: New file.
8554
d86813a0
L
85552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8556
8557 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
8558 and access return value for _dl_profile_fixup. Use R10_LP to
8559 load frame size.
8560
2953ec75
L
85612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8562
8563 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
8564
3b550e9e
L
85652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8566
8567 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
8568 * sysdeps/x86_64/x32/sysdep.h: New file.
8569
eda41706
L
85702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8571
8572 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
8573 * sysdeps/x86_64/setjmp.S: Likewise.
8574
9ea01d93
AZ
85752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8576
8577 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
8578 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
8579 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
8580 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
8581 remove unused global constant.
8582
02a91938
CM
85832012-05-15 Chris Metcalf <cmetcalf@tilera.com>
8584
8585 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
8586 include of <not-cancel.h>.
8587
6540185f
RM
85882012-05-15 Roland McGrath <roland@hack.frob.com>
8589
8590 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
8591
509072a0
AJ
85922012-05-15 Jeff Law <law@redhat.com>
8593 Andreas Jaeger <aj@suse.de>
8594
8595 [BZ #13594]
8596 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
8597 out from...
8598 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
8599 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
8600 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
8601 code changing __hst_map_handle.map.
8602
ba75122d
RM
86032012-05-15 Roland McGrath <roland@hack.frob.com>
8604
8605 * configure.in (sysnames): Look for Implies-before and Implies-after
8606 files.
8607 * configure: Regenerated.
8608
890d8bd8
L
86092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8610
8611 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
8612 8-byte data alignment with LP_SIZE alignment.
8613
f6ee6623
L
86142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8615
8616 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
8617 into R10_LP.
8618
ea2626f6
L
86192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8620
8621 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
8622
085f715e
L
86232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
8626 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
8627 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
8628 Likewise.
8629 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
8630
be8498fc
L
86312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
8634 (stackinfo_sub_sp): Likewise.
8635
70bc83b9
L
86362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8637
8638 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
8639 RAX_LP.
8640
9bc0b730
L
86412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
8644 into R*_LP.
8645
6d2850e7
L
86462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
8649 sizes into R*_LP.
8650
3cb84561
L
86512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8652
8653 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
8654
54e2ed81
L
86552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8658 into R11_LP and load __x86_64_shared_cache_size_half into
8659 R8_LP.
8660
8a17f349
L
86612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
8662
8663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
8664 R8_LP.
8665
777b1eea
AZ
86662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8667
8668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
8669 logb for POWER7.
8670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
8671 logbf for POWER7.
8672 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
8673 logbl for POWER7.
8674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
8675 powerpc32/power7/fpu/s_logb.c via #include.
8676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
8677 powerpc32/power7/fpu/s_logbf.c via #include.
8678 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
8679 powerpc32/power7/fpu/s_logbl.c via #include.
8680
d20d4ac2
JM
86812012-05-15 Joseph Myers <joseph@codesourcery.com>
8682
8683 * README.libm: Remove file.
8684
6cdef1ab
L
86852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8686
8687 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
8688 count for x32. Use R*_LP and omit operand-size suffix.
8689
0b254d8f
L
86902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8691
8692 * shlib-versions: Move x86_64-.*-linux.* entries to ...
8693 * sysdeps/x86_64/64/shlib-versions: Here. New file.
8694 * sysdeps/x86_64/x32/shlib-versions: New file.
8695
ceb809dc
RM
86962012-05-14 Roland McGrath <roland@hack.frob.com>
8697
8698 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
8699 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
8700 Use _dl_fatal_printf instead.
8701
37f1abd4
JM
87022012-05-14 Joseph Myers <joseph@codesourcery.com>
8703
8704 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
8705 set if not set by the user. Do not allow for being unset.
8706 * sysdeps/unix/sysv/linux/configure: Regenerated.
8707
11de3a33
L
87082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8709
8710 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
8711 the `q' suffix from lea and replace .quad with ASM_ADDR.
8712
e02f153a
L
87132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8714
8715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
8716 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
8717 instead of $17.
8718 (PTR_DEMANGLE): Likewise.
8719
520ae0fd
L
87202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8721
8722 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
8723 (LP_OP): Likewise.
8724 (ASM_ADDR): Likewise.
8725 (RAX_LP): Likewise.
8726 (RBP_LP): Likewise.
8727 (RBX_LP): Likewise.
8728 (RCX_LP): Likewise.
8729 (RDI_LP): Likewise.
8730 (RSI_LP): Likewise.
8731 (RSP_LP): Likewise.
8732 (R8_LP): Likewise.
8733 (R9_LP): Likewise.
8734 (R10_LP): Likewise.
8735 (R10_LP): Likewise.
8736 (R11_LP): Likewise.
8737 (R12_LP): Likewise.
8738 (R13_LP): Likewise.
8739 (R14_LP): Likewise.
8740 (R15_LP): Likewise.
8741
b985be81
L
87422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8743
8744 * sysdeps/x86_64/x32/dl-machine.h: New file.
8745
6a4888ff
AJ
87462012-05-14 Andreas Jaeger <aj@suse.de>
8747
8748 * manual/Makefile (subdir): Remove export of subdir.
8749 (all): Remove target.
8750 (.PHONY): Remove all from list.
8751 (mkinstalldirs): Remove.
8752 (.PHONY): Remove installdirs from list.
8753 ($(inst_infodir)/libc.info): Use make-target-directory.
8754 (installdirs): Remove.
8755 (subdir_%): Remove.
8756 (glibc-targets): Remove.
8757 (lib): Remove.
8758 (stubs): Remove.
8759 ($(objpfx)stubs ../po/manual.pot): Remove.
8760 ($(objpfx)stamp%): Remove.
8761 (make-target-directory): Remove.
8762 (subdir_install): Remove.
8763 (routines): Remove.
8764 (aux): Remove.
8765 (sources): Remove.
8766 (objects): Remove.
8767 (headers): Remove.
8768
8769 [BZ #13750]
8770 * manual/.gitignore: Remove, it's not needed anymore.
8771 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
8772 all files in it.
8773 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
8774 directory.
8775 (texis): Renamed to $(objpfx)texis.
8776 (texis-path): New, contains path to generated files.
8777 (chapters.%): Use texis-path for complete path, add extra argument
8778 libc-texinfo.sh.
8779 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
8780 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
8781 (summary,texi, stamp-summary): Use complete path of
8782 files. Generate files in build dir.
8783 (dir-add.texi): Build in build dir.
8784 (libm-err.texi,stamp-libm-err): Likewise.
8785 (version.texi, stamp-version): Likewise.
8786 (.%c.texi): Likewise.
8787 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
8788 (mostlyclean): Remove target.
8789 (realclean): Remove target.
8790 (generated): Add new variable with contents from mostlyclean and
8791 realclean, remove entries duplicated in common-mostlyclean, add
8792 stamp-libm-err and stamp-version.
8793 (generated-dirs): Add libc directory.
8794 ($(inst_infodir)/libc.info): Install files from build dir.
8795
8796 * manual/install.texi (Configuring and compiling): Adjust since
8797 the info files are not part of the tar ball anymore.
8798
7ac77294
AJ
87992012-05-14 Andreas Jaeger <aj@suse.de>
8800
8801 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
8802 variable.
8803
ffb7875d
JM
88042012-05-14 Joseph Myers <joseph@codesourcery.com>
8805
8806 [BZ #13717]
8807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8808 to 2.2.0 where earlier.
8809 * sysdeps/unix/sysv/linux/configure: Regenerated.
8810 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
8811 Remove conditional code.
8812 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
8813 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
8814 Remove conditional code.
8815 [!__NR_lchown]: Likewise.
8816 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8817 [__NR_lchown]: Likewise.
8818 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
8819 comment referencing __ASSUME_LCHOWN_SYSCALL.
8820 * sysdeps/unix/sysv/linux/i386/sigaction.c
8821 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8822 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8823 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
8824 Remove conditional code.
8825 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
8826 (__protocol_available): Remove #if 0 code.
8827 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
8828 conditional code.
8829 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
8830 * sysdeps/unix/sysv/linux/kernel-features.h
8831 (__ASSUME_GETCWD_SYSCALL): Don't define.
8832 (__ASSUME_REALTIME_SIGNALS): Likewise.
8833 (__ASSUME_PREAD_SYSCALL): Likewise.
8834 (__ASSUME_PWRITE_SYSCALL): Likewise.
8835 (__ASSUME_POLL_SYSCALL): Likewise.
8836 (__ASSUME_LCHOWN_SYSCALL): Likewise.
8837 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
8838 non-SPARC.
8839 (__ASSUME_SIOCGIFNAME): Don't define.
8840 (__ASSUME_MSG_NOSIGNAL): Likewise.
8841 (__ASSUME_SENDFILE): Define unconditionally.
8842 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
8843 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
8844 conditional code.
8845 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
8846 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
8847 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8848 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8849 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
8850 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
8851 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
8853 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8856 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
8859 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8862 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
8865 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
8868 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
8869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
8871 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
8874 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8876 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
8877 Remove conditional code.
8878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8879 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8880 Remove conditional code.
8881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8882 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
8883 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
8884 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8885 Remove conditional code.
8886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8887 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
8888 Remove conditional code.
8889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8890 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
8891 Remove conditional code.
8892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8893 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
8894 Remove conditional code.
8895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
8896 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
8897 Remove conditional code.
8898 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8899 * sysdeps/unix/sysv/linux/sh/pwrite64.c
8900 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
8901 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
8902 * sysdeps/unix/sysv/linux/sigaction.c
8903 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8904 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8905 * sysdeps/unix/sysv/linux/sigpending.c
8906 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8907 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8908 * sysdeps/unix/sysv/linux/sigprocmask.c
8909 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8910 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8911 * sysdeps/unix/sysv/linux/sigsuspend.c
8912 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
8913 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
8914 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8915 (__libc_missing_rt_sigs): Remove.
8916 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
8917 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
8918 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
8919 Remove conditional code.
8920 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
8921 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
8922 return 1.
8923 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
8924 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
8925 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
8926 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
8927
1bfb7291
AJ
89282012-05-14 Andreas Jaeger <aj@suse.de>
8929
caae5a81
AJ
8930 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
8931 it's not used in glibc.
8932 (__coshm1): Likewise.
8933 (__acosh1p): Likewise.
8934 (__sgn): Likewise.
8935
1bfb7291
AJ
8936 * manual/string.texi (Copying and Concatenation): Add missing
8937 variable in concat example.
8938 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8939
c044d724
L
89402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8941
144c5467 8942 [BZ #14103]
c044d724
L
8943 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
8944 __builtin_clzl with __builtin_clzll.
8945
2523c62b
L
89462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8947
8948 [BZ #14104]
8949 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
8950 libc_freeres_ptr.
8951
d7bb4c42
LD
89522012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8953
8954 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
8955 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
8956 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
8957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
8958
9dc4e1fb
MF
89592012-05-14 Mike Frysinger <vapier@gentoo.org>
8960
8961 * NEWS: Update ia64 info.
8962
c7df0112
AS
89632012-05-12 Andreas Schwab <schwab@linux-m68k.org>
8964
8965 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
8966 used as bcopy.
8967
dc70356c
TS
89682012-05-12 Thomas Schwinge <thomas@codesourcery.com>
8969
8970 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
8971 * sysdeps/unix/syscalls.list (dup3): Likewise.
8972 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
8973 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
8974
9fb1a21f
L
89752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8976
8977 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
8978 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
8979
4822a2a5
L
89802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
8981
8982 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
8983 thread pointer.
8984 (TLS_IE): Use mov/add instead of movq/addq to load thread
8985 pointer.
8986 (TLS_GD_PREFIX): New.
8987 (TLS_GD): Use it.
8988
842b81d6
DM
89892012-05-11 David S. Miller <davem@davemloft.net>
8990
8991 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
8992 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
8993 (_FPU_SETCW): Likewise.
8994
1cf463cd
L
89952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
8996
8997 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
8998 is 32-byte aligned.
8999
60cc4a18
AS
90002012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9001
9002 [BZ #11837]
9003 * iconvdata/gb18030.c: Update tables.
9004 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9005 characters specially.
9006 (BODY for TO_LOOP): Add encoding of missing ranges.
9007
febb44a4
TS
90082012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9009
9010 [BZ #13673]
9011 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9012 * sysdeps/mach/hurd/dup3.c: Likewise.
9013 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9014 * sysdeps/powerpc/memmove.c:: Likewise.
9015
0a10fb9e
L
90162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9017
9018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9019 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9020
df8a552f
L
90212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9022
9023 * elf/elf.h (R_X86_64_RELATIVE64): New.
9024 (R_X86_64_NUM): Updated.
9025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9026 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9027 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9028 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9029 tst-quad1pie tst-quad2pie
9030 (modules-names): Add tst-quadmod1 tst-quadmod2.
9031 ($(objpfx)tst-quad1): New dependency.
9032 ($(objpfx)tst-quad2): Likewise.
9033 ($(objpfx)tst-quad1pie): Likewise.
9034 ($(objpfx)tst-quad2pie): Likewise.
9035 * sysdeps/x86_64/tst-quad1.c: New file.
9036 * sysdeps/x86_64/tst-quad1pie.c: New file.
9037 * sysdeps/x86_64/tst-quad2.c: Likewise.
9038 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9039 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9040 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9041 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9042 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9043
f34d6f84
ST
90442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9045
f42d41d1
ST
9046 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9047 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9048 * streams/stropts.h (t_scalar_t): Define type.
9049
3c3571fc
ST
9050 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9051 (_PATH_PRESERVE): Set to "/var/lib".
9052 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9053
61f06bd3
ST
9054 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9055 instead of int.
9056
918d4d71
ST
9057 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9058 if __dir_mkfile succeeded.
9059
f34d6f84
ST
9060 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9061 checking for _hurd_dtablesize. Unlock it right after having
9062 finished _hurd_dtable allocation.
9063
10589b4a
TS
90642012-05-10 Thomas Schwinge <thomas@schwinge.name>
9065
674cdbc7
TS
9066 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9067 * sysdeps/mach/hurd/configure: Regenerated.
9068 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9069 special-casing to...
9070 * sysdeps/gnu/configure.in: ... this new file.
9071 * sysdeps/unix/sysv/linux/configure: Regenerated.
9072 * sysdeps/gnu/configure: New generated file.
9073
8e41b99f
TS
9074 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9075 for Linux: use nsec instead of usec, as well as:
9076 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9077 members of type struct timespec.
9078 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9079 New macros.
9080 (struct stat64): Likewise.
9081 (_STATBUF_ST_NSEC): New macro.
9082 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9083
10589b4a
TS
9084 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9085 __strtoul_internal rather than strtoul.
9086
63643c85
PT
90872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9088
9089 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9090 and reject them.
9091
3faebe6a
ST
90922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9093
9094 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9095 which preserves existing values.
9096 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9097
c6474b07
PT
90982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9099
9100 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9101 TIMEOUT values. Return EINVAL for NFDS values either negative or
9102 greater than FD_SETSIZE.
9103
1043890b
ST
91042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9105
9106 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9107 allocated, call __vm_protect to finish enabling the existing space, and
9108 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9109 allocate the remainder.
9110
37ed8b9b
PT
91112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9112
9113 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9114 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9115
db653660
ST
91162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9117
37ed8b9b
PT
9118 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9119 sysdeps/mach/hurd/readlink.c.
b29d4053 9120
db653660
ST
9121 * posix/tst-sysconf.c (posix_options): Only use
9122 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9123 _POSIX_SYNCHRONIZED_IO when they are defined
9124 * sysdeps/mach/hurd/bits/posix_opt.h:
9125 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9126 (_XOPEN_REALTIME): Undefine macro.
9127 (_XOPEN_REALTIME_THREADS): Undefine macro.
9128 (_XOPEN_SHM): Undefine macro.
9129 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9130 macro to -1.
9131 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9132 macro to -1.
9133 (_POSIX_ASYNC_IO): Undefine macro.
9134 (_POSIX_PRIORITIZED_IO): Undefine macro.
9135 (_POSIX_SPIN_LOCKS): Define macro to -1.
9136
ee16e894
ST
9137 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9138 SA_NODEFER, SA_RESETHAND.
9139 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9140 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9141 F_DUPFD_CLOEXEC.
9142
6103ae3b
TS
91432012-05-10 Thomas Schwinge <thomas@schwinge.name>
9144
9145 * elf/Makefile (pldd-modules): Define unconditionally.
9146
80b4e5f3
TS
91472012-05-10 Thomas Schwinge <thomas@schwinge.name>
9148
9149 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9150
edadcbd6
ST
91512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9152
9153 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9154 Return ENOENT when name is empty.
9155 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9156
80694780
TS
91572012-05-10 Thomas Schwinge <thomas@schwinge.name>
9158
1792c087
TS
9159 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9160
80694780
TS
9161 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9162
6b645f0d
ST
91632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9164
80694780
TS
9165 Fix mlock in all cases except non-readable pages.
9166 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9167 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 9168
6b645f0d
ST
9169 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9170 (__mkdir): When path is `/', just fail with EEXIST.
9171 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9172
e468f8a3
TS
91732012-05-10 Thomas Schwinge <thomas@schwinge.name>
9174
9175 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9176 <sys/uio.h> (for writev).
9177 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9178 and <sys/param.h> (for MIN).
9179
a4186cff
PT
91802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9181
9182 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9183 REQUESTED_TIME. Properly set the remaining time and return EINTR
9184 if interrupted.
9185
510bbf14
TS
91862012-05-10 Thomas Schwinge <thomas@schwinge.name>
9187
9188 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9189 Depend on against $(link-rpcuserlibs).
9190
5d5722e8
ST
91912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9192
a4186cff
PT
9193 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9194 (__libc_stack_end): Do not use attribute_relro.
9195 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9196 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 9197 to libthread-provided value.
a4186cff
PT
9198 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9199 attribute_relro.
5d5722e8 9200
37233df9
TS
92012012-05-10 Thomas Schwinge <thomas@schwinge.name>
9202
be971a2b
TS
9203 [BZ #3748]
9204 * bits/libc-lock.h (__libc_once_get): New macro.
9205 * sysdeps/mach/bits/libc-lock.h: Likewise.
9206 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9207 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9208 instead of using implementation details.
9209
37233df9
TS
9210 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9211 * libio/freopen.c: Likewise.
9212 * libio/freopen64.c: Likewise.
9213 * misc/syslog.c: Likewise.
9214 * nscd/connections.c: Likewise.
9215 * nscd/netgroupcache.c: Likewise.
9216 * sysdeps/posix/getcwd.c: Likewise.
9217
38de94a5
RM
92182012-05-10 Roland McGrath <roland@hack.frob.com>
9219
9220 * math/w_ilogbf.c: Add #include <limits.h>.
9221
67530489
ST
92222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9223
a4186cff 9224 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
9225 path instead of returning without unlocking.
9226
67530489
ST
9227 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9228 immediate-write ioctls.
9229 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9230
5aa3a74a
TS
92312012-05-10 Thomas Schwinge <thomas@schwinge.name>
9232
18bad2ae
TS
9233 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9234 __builtin_frame_address instead of making assumptions about the
9235 location of the return address relative to DATA. Force early load of
9236 the return address.
9237 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9238 __builtin_frame_address.
9239
5aa3a74a
TS
9240 dup3 for GNU Hurd.
9241 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9242 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9243 implement dup3 and do some further code clean-ups.
9244 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9245 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9246
ecd0de9a
ST
92472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9248
cd9fa985
ST
9249 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9250
a4186cff
PT
9251 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9252 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9253 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9254 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9255 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9256 d->port.lock.
802ca5a5 9257
a4186cff
PT
9258 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9259 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9260 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 9261
bcf55240
TS
92622012-05-10 Thomas Schwinge <thomas@schwinge.name>
9263
6960eb42
TS
9264 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9265 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9266 definitions.
9267
eb43375f
TS
9268 accept4 for GNU Hurd.
9269 * include/sys/socket.h (__libc_accept4): New prototype.
9270 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9271 to implement __libc_accept4.
9272 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9273 __libc_accept4.
9274 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9275
bcf55240
TS
9276 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9277 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9278 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9279 signal-defines.sym.
9280
6178c55b
ST
92812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9282
a4186cff 9283 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 9284
6f080c2f
TS
92852012-05-10 Thomas Schwinge <thomas@schwinge.name>
9286
9287 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9288 assertion on O_CLOEXEC flag.
9289 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9290 * hurd/intern-fd.c: Likewise.
9291 * hurd/port2fd.c: Likewise.
9292
bcfe3a54
ST
92932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9294
9295 [BZ #3906]
9296 * bits/in.h (IPV6_PKTINFO): Define new macro.
9297 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9298
89c9aa49
AZ
92992012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9300
9301 [BZ #13954]
9302 [BZ #13955]
9303 [BZ #13956]
9304 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9305 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9306 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9309 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9310 * math/libm-test.inc (logb_test) : Additional logb tests.
9311
021db4be
AJ
93122012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9313 Andreas Jaeger <aj@suse.de>
9314
9315 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9316 * configure: Regenerated.
9317 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9318 * config.make.in (link-obsolete-rpc): New substituted variable.
9319 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9320 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9321 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9322 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9323 so that libc.a contains the symbols.
9324 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9325 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9326 * sunrpc/auth_none.c: Likewise.
9327 * sunrpc/auth_unix.c: Likewise.
9328 * sunrpc/authdes_prot.c: Likewise.
9329 * sunrpc/authuxprot.c: Likewise.
9330 * sunrpc/clnt_gen.c: Likewise.
9331 * sunrpc/clnt_perr.c: Likewise.
9332 * sunrpc/clnt_raw.c: Likewise.
9333 * sunrpc/clnt_simp.c: Likewise.
9334 * sunrpc/clnt_tcp.c: Likewise.
9335 * sunrpc/clnt_udp.c: Likewise.
9336 * sunrpc/clnt_unix.c: Likewise.
9337 * sunrpc/des_crypt.c: Likewise.
9338 * sunrpc/des_soft.c: Likewise.
9339 * sunrpc/get_myaddr.c: Likewise.
9340 * sunrpc/key_call.c: Likewise.
9341 * sunrpc/key_prot.c: Likewise.
9342 * sunrpc/netname.c: Likewise.
9343 * sunrpc/pm_getmaps.c: Likewise.
9344 * sunrpc/pm_getport.c: Likewise.
9345 * sunrpc/pmap_clnt.c: Likewise.
9346 * sunrpc/pmap_prot.c: Likewise.
9347 * sunrpc/pmap_prot2.c: Likewise.
9348 * sunrpc/pmap_rmt.c: Likewise.
9349 * sunrpc/publickey.c: Likewise.
9350 * sunrpc/rpc_cmsg.c: Likewise.
9351 * sunrpc/rpc_common.c: Likewise.
9352 * sunrpc/rpc_dtable.c: Likewise.
9353 * sunrpc/rpc_prot.c: Likewise.
9354 * sunrpc/rpc_thread.c: Likewise.
9355 * sunrpc/rtime.c: Likewise.
9356 * sunrpc/svc.c: Likewise.
9357 * sunrpc/svc_auth.c: Likewise.
9358 * sunrpc/svc_raw.c: Likewise.
9359 * sunrpc/svc_run.c: Likewise.
9360 * sunrpc/svc_tcp.c: Likewise.
9361 * sunrpc/svc_udp.c: Likewise.
9362 * sunrpc/svc_unix.c: Likewise.
9363 * sunrpc/svcauth_des.c: Likewise.
9364 * sunrpc/xcrypt.c: Likewise.
9365 * sunrpc/xdr.c: Likewise.
9366 * sunrpc/xdr_array.c: Likewise.
9367 * sunrpc/xdr_float.c: Likewise.
9368 * sunrpc/xdr_intXX_t.c: Likewise.
9369 * sunrpc/xdr_mem.c: Likewise.
9370 * sunrpc/xdr_rec.c: Likewise.
9371 * sunrpc/xdr_ref.c: Likewise.
9372 * sunrpc/xdr_sizeof.c: Likewise.
9373 * sunrpc/xdr_stdio.c: Likewise.
9374
b5c086a2
RM
93752012-05-10 Roland McGrath <roland@hack.frob.com>
9376
9377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9378 change. Update copyright years.
9379
6d74dd09
JM
93802012-05-10 Joseph Myers <joseph@codesourcery.com>
9381
9382 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9383
28e72501
MK
93842012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9385 Joseph Myers <joseph@codesourcery.com>
9386 Paul Pluzhnikov <ppluzhnikov@google.com>
9387
9388 [BZ #14012]
9389 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9390 requiring rpcgen.
9391 [cross-compiling] (extra-libs): Likewise.
9392 [cross-compiling] (extra-libs-others): Likewise.
9393 [cross-compiling] (librpcsvc-routines): Likewise.
9394 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9395 [cross-compiling] (omit-deps): Likewise.
9396 (sunrpc-CPPFLAGS): New variable.
9397 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9398 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9399 (cross-rpcgen-objs): New variable.
9400 (extra-objs): Append $(cross-rpcgen-objs).
9401 ($(cross-rpcgen-objs)): New rule.
9402 ($(objpfx)cross-rpcgen): Likewise.
9403 (rpcgen-cmd): Define to use $(built-program-file). Expand
9404 comment.
9405 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9406 ($(objpfx)x%.stmp): Likewise.
9407 * sunrpc/proto.h [IS_IN_build] (_): Define.
9408 [IS_IN_build] (_libc_intl_domainname): Likewise.
9409
c8c59454
L
94102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9411
9412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9413 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9414 and R_X86_64_TPOFF64.
9415
6f27cd16
JM
94162012-05-10 Joseph Myers <joseph@codesourcery.com>
9417
9418 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9419 sysdeps/unix/sysv/syscalls.list.
9420 (stime): Likewise.
9421 (utime): Likewise.
9422 * sysdeps/unix/sysv/syscalls.list: Remove file.
9423
02467e1c
PE
94242012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9425
9426 [BZ #3440]
9427 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9428 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9429 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9430 (__LC_IDENTIFICATION): Make these macros useful in #if
9431 expressions, as required by C99.
9432
da392631
AS
94332012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9434
9435 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9436 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9437 after this.
9438
8115f29b
L
94392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9440
9441 * stdlib/longlong.h: Updated from GCC.
9442
bdd74070
AJ
94432012-05-09 Andreas Jaeger <aj@suse.de>
9444
edfe0dbe
AJ
9445 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9446 default is first entry.
9447 (run_mode): Set type.
9448 (main): Remove informal message about syslog.
9449 (options): Fix typo.
9450
bcfe3a54
ST
9451 [BZ #14053]
9452 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 9453 to asm.
bcfe3a54
ST
9454 (lrint): Likewise.
9455 (llrintf): Likewise.
9456 (llrint): Likewise.
9457 (rint): Likewise.
9458 (rintf): Likewise.
9459 (nearbyint): Likewise.
9460 (nearbyintf): Likewise.
bdd74070 9461
91d8d69e
AJ
94622012-05-09 Andreas Jaeger <aj@suse.de>
9463 Pedro Alves <palves@redhat.com>
9464
9465 * nscd/nscd.c (run_mode): Use enum.
9466 (main): Cleanup coding style issue.
9467
bb90b80b
AJ
94682012-05-09 Alexandre Oliva <aoliva@redhat.com>
9469 Andreas Jaeger <aj@suse.de>
9470
bcfe3a54
ST
9471 * nscd/nscd.c (go_background): Replaced with...
9472 (run_mode): ... this.
bb90b80b 9473 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
9474 (options): Add -F --foreground.
9475 (main): Implement it.
9476 (parse_opt): Parse it.
bb90b80b 9477
1a4b75a1
AJ
94782012-05-09 Andreas Jaeger <aj@suse.de>
9479
9480 [BZ #14083]
9481 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
9482 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
9483 -Wconversion warning.
9484 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
9485 Likewise.
9486
b1cc2472
JM
94872012-05-09 Joseph Myers <joseph@codesourcery.com>
9488
9489 * conform/data/locale.h-data (NULL): Use macro-constant. Require
9490 == 0.
9491 (LC_ALL): Use macro-int-constant.
9492 (LC_COLLATE): Likewise.
9493 (LC_CTYPE): Likewise.
9494 (LC_MESSAGES): Likewise.
9495 (LC_MONETARY): Likewise.
9496 (LC_NUMERIC): Likewise.
9497 (LC_TIME): Likewise.
9498 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
9499 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9500 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9501 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
9502 Specify type.
9503 [C99-based standards] (float_t): Expect type.
9504 [C99-based standards] (double_t): Expect type.
9505 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
9506 type.
9507 [C99-based standards] (HUGE_VALL): Likewise.
9508 [C99-based standards] (INFINITY): Likewise.
9509 [C99-based standards] (NAN): Likewise.
9510 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
9511 [C99-based standards] (FP_NAN): Likewise.
9512 [C99-based standards] (FP_NORMAL): Likewise.
9513 [C99-based standards] (FP_SUBNORMAL): Likewise.
9514 [C99-based standards] (FP_ZERO): Likewise.
9515 [C99-based standards] (FP_FAST_FMA): Use
9516 optional-macro-int-constant. Specify type. Require == 1.
9517 [C99-based standards] (FP_FAST_FMAF): Likewise.
9518 [C99-based standards] (FP_FAST_FMAL): Likewise.
9519 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
9520 [C99-based standards] (FP_ILOGBNAN): Likewise.
9521 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
9522 Specify type.
9523 [C99-based standards] (MATH_ERREXCEPT): Likewise.
9524 [C99-based standards] (math_errhandling): Specify type.
9525 [ISO99 || ISO11] (signgam): Do not allow.
9526 [non-C99-based standards] (copysignf): Do not allow.
9527 [non-C99-based standards] (exp2f): Likewise.
9528 [non-C99-based standards] (log2f): Likewise.
9529 [non-C99-based standards] (modff): Allow.
9530 [non-C99-based standards] (erff): Do not allow.
9531 [non-C99-based standards] (erfcf): Likewise.
9532 [non-C99-based standards] (gammaf): Likewise.
9533 [non-C99-based standards] (hypotf): Likewise.
9534 [non-C99-based standards] (j0f): Likewise.
9535 [non-C99-based standards] (j1f): Likewise.
9536 [non-C99-based standards] (jnf): Likewise.
9537 [non-C99-based standards] (lgammaf): Likewise.
9538 [non-C99-based standards] (tgammaf): Likewise.
9539 [non-C99-based standards] (y0f): Likewise.
9540 [non-C99-based standards] (y1f): Likewise.
9541 [non-C99-based standards] (ynf): Likewise.
9542 [non-C99-based standards] (isnanf): Likewise.
9543 [non-C99-based standards] (acoshf): Likewise.
9544 [non-C99-based standards] (asinhf): Likewise.
9545 [non-C99-based standards] (atanhf): Likewise.
9546 [non-C99-based standards] (cbrtf): Likewise.
9547 [non-C99-based standards] (expm1f): Likewise.
9548 [non-C99-based standards] (ilogbf): Likewise.
9549 [non-C99-based standards] (log1pf): Likewise.
9550 [non-C99-based standards] (logbf): Likewise.
9551 [non-C99-based standards] (nextafterf): Likewise.
9552 [non-C99-based standards] (remainderf): Likewise.
9553 [non-C99-based standards] (rintf): Likewise.
9554 [non-C99-based standards] (scalbf): Likewise.
9555 [non-C99-based standards] (copysignl): Likewise.
9556 [non-C99-based standards] (exp2l): Likewise.
9557 [non-C99-based standards] (log2l): Likewise.
9558 [non-C99-based standards] (modfl): Allow.
9559 [non-C99-based standards] (erfl): Do not allow.
9560 [non-C99-based standards] (erfcl): Likewise.
9561 [non-C99-based standards] (gammal): Likewise.
9562 [non-C99-based standards] (hypotl): Likewise.
9563 [non-C99-based standards] (j0l): Likewise.
9564 [non-C99-based standards] (j1l): Likewise.
9565 [non-C99-based standards] (jnl): Likewise.
9566 [non-C99-based standards] (lgammal): Likewise.
9567 [non-C99-based standards] (tgammal): Likewise.
9568 [non-C99-based standards] (y0l): Likewise.
9569 [non-C99-based standards] (y1l): Likewise.
9570 [non-C99-based standards] (ynl): Likewise.
9571 [non-C99-based standards] (isnanl): Likewise.
9572 [non-C99-based standards] (acoshl): Likewise.
9573 [non-C99-based standards] (asinhl): Likewise.
9574 [non-C99-based standards] (atanhl): Likewise.
9575 [non-C99-based standards] (cbrtl): Likewise.
9576 [non-C99-based standards] (expm1l): Likewise.
9577 [non-C99-based standards] (ilogbl): Likewise.
9578 [non-C99-based standards] (log1pl): Likewise.
9579 [non-C99-based standards] (logbl): Likewise.
9580 [non-C99-based standards] (nextafterl): Likewise.
9581 [non-C99-based standards] (remainderl): Likewise.
9582 [non-C99-based standards] (rintl): Likewise.
9583 [non-C99-based standards] (scalbl): Likewise.
9584 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9585 [non-C99-based standards] (FP_*): Do not allow.
9586 [C99-based standards] (FP_*): Change to
9587 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
9588 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9589 allow.
9590 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
9591 (SIG_ERR): Likewise.
9592 [X/Open-based standards] (SIG_HOLD): Likewise.
9593 (SIG_IGN): Likewise.
9594 (SIGABRT): Use macro-int-constant. Specify type. Require
9595 positive value.
9596 (SIGFPE): Likewise.
9597 (SIGILL): Likewise.
9598 (SIGINT): Likewise.
9599 (SIGSEGV): Likewise.
9600 (SIGTER): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
9604 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
9605 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
9606 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
9607 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
9611 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
9612 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
9613 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
9614 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
9615 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
9616 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
9617 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
9618 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
9619 [X/Open-based standards] (SIGTRAP): Likewise.
9620 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
9621 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
9622 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
9623 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
9624 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
9625 allow.
9626
b9f1922d
IW
96272012-05-08 Ian Wienand <ianw@vmware.com>
9628
9629 [BZ #14080]
9630 * time/tzset.c (__tzset_parse_tz): Update default rules for
9631 daylight time changes in the Energy Policy Act of 2005.
9632
1db86e88
AJ
96332012-05-09 Andreas Jaeger <aj@suse.de>
9634
9635 [BZ #13983]
9636 * elf/ldconfig.c (parse_conf): Change string to make clear that
9637 ldconfig only issued a warning if ld.so.conf does not exist.
9638
dee4a4e3
DM
96392012-05-08 David S. Miller <davem@davemloft.net>
9640
ee0db190
DM
9641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
9642 movxtod instead of popping the value on the stack.
9643
dee4a4e3
DM
9644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9645
6a43ec98
CD
96462012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
9647
9648 * config.h.in: Add HAVE_ARM_PCS_VFP.
9649
05c2c961
RMG
96502012-05-08 Roland Mc Grath <roland@hack.frob.com>
9651
bcfe3a54
ST
9652 [BZ #13979]
9653 * include/features.h: Warn if user requests __FORTIFY_SOURCE
9654 checking but the checks are disabled for any reason.
05c2c961 9655
4b30f61a
L
96562012-05-08 H.J. Lu <hongjiu.lu@intel.com>
9657
9658 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
9659 and ELF64_R_TYPE with ELFW(R_TYPE).
9660
eee2bc67
JM
96612012-05-08 Joseph Myers <joseph@codesourcery.com>
9662
7ea5391a
JM
9663 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
9664 (ulimit): Likewise.
9665
eee2bc67
JM
9666 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
9667 (settimeofday): Likewise.
9668
abb66a67
MF
96692012-05-08 Mike Frysinger <vapier@gentoo.org>
9670
9671 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
9672 a struct th_u2 inside the union, and move tu_block/tu_code into
9673 a new th_u3 union of tu_block/tu_code inside of that. Move
9674 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
9675 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
9676 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
9677 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
9678 (th_stuff): Change to th_u1.tu_stuff.
9679 (th_data): Define.
9680 (th_msg): Change to th_u1.th_u2.tu_data.
9681
7f18b530
DM
96822012-05-07 David S. Miller <davem@davemloft.net>
9683
05760585
DM
9684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9685
7f18b530
DM
9686 [BZ #14074]
9687 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
9688 (SETUP_PIC_REG): Use it.
9689 (SETUP_PIC_REG_LEAF): Use it.
9690
495fd99f
JM
96912012-05-07 Joseph Myers <joseph@codesourcery.com>
9692
9693 [BZ #13885]
9694 [BZ #13923]
9695 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9696 USE_AS_EXPM1L.
9697 (EXPL_FINITE): Likewise.
9698 (FLDLOG): Likewise.
9699 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9700 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9701 e_expl.S.
9702 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9703 USE_AS_EXPM1L.
9704 (EXPL_FINITE): Likewise.
9705 (FLDLOG): Likewise.
9706 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
9707 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
9708 e_expl.S.
9709 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
9710 test of -max_value argument for long double.
9711 * sysdeps/i386/fpu/libm-test-ulps: Update.
9712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9713
6693d694
DM
97142012-05-06 David S. Miller <davem@davemloft.net>
9715
9716 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
9717 quad soft-float symbols whose references which are compiler
9718 generated.
9719 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9720
6c23e11c
JM
97212012-05-06 Joseph Myers <joseph@codesourcery.com>
9722
d8b82cad
JM
9723 [BZ #13884]
9724 [BZ #13914]
9725 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9726 USE_AS_EXP10L.
9727 (EXPL_FINITE): Likewise.
9728 (FLDLOG): Likewise.
9729 (c0): Likewise.
9730 (c1): Likewise.
9731 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9732 Adjust comments for base varying.
9733 (__expl_finite): Change alias to EXPL_FINITE.
9734 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
9735 e_expl.S.
9736 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
9737 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9739 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
9740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
9741 USE_AS_EXP10L.
9742 (EXPL_FINITE): Likewise.
9743 (FLDLOG): Likewise.
9744 (c0): Likewise.
9745 (c1): Likewise.
9746 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
9747 Adjust comments for base varying.
9748 (__expl_finite): Change alias to EXPL_FINITE.
9749 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
9750 tests for bugs.
9751 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9752
6c23e11c
JM
9753 [BZ #14064]
9754 * math/libm-test.inc (check_float_internal): Correct ulp
9755 calculation for subnormal expected results.
9756
29ba805c
AJ
97572012-05-06 Andreas Jaeger <aj@suse.de>
9758
9759 * Makeconfig (+math-flags): New, set to -frounding-math.
9760 (+cflags): Add +math-flags so that all of glibc gets compiled with
9761 it.
9762
9763 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
9764
7b17aeda
JM
97652012-05-05 Joseph Myers <joseph@codesourcery.com>
9766
5779f134
JM
9767 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
9768 Disable one test.
9769
41498f4d
JM
9770 [BZ #13787]
9771 [BZ #13922]
9772 [BZ #14036]
9773 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
9774 (__ieee754_expl): Allow for and saturate large arguments.
9775 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
9776 (u_threshold): Likewise.
9777 (__exp): Call __ieee754_exp before checking for overflow and
9778 underflow.
9779 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
9780 (u_threshold): Likewise.
9781 (__expf): Call __ieee754_expf before checking for overflow and
9782 underflow.
9783 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
9784 (u_threshold): Likewise.
9785 (__expl): Call __ieee754_expl before checking for overflow and
9786 underflow.
9787 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
9788 (__ieee754_expl): Allow for and saturate large arguments.
9789 * math/libm-test.inc (exp_test): Add another test. Do not allow
9790 missing overflow exception on overflow.
9791 (expm1_test): Do not allow missing overflow exception on overflow.
9792
6698b8bf
JM
9793 * sysdeps/i386/fpu/e_expl.c: Move to ...
9794 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
9795 rather than using inline asm.
9796 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
9797 * sysdeps/x86_64/fpu/e_expl.S: Copy from
9798 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
9799
7b17aeda
JM
9800 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
9801 (nice): Likewise.
9802 (poll): Likewise.
9803 (signal): Likewise.
9804 (time): Likewise.
9805 (times): Likewise.
9806
f7c85819
JM
98072012-05-04 Joseph Myers <joseph@codesourcery.com>
9808
9809 * sysdeps/unix/syscalls.list (adjtime): Add entry from
9810 sysdeps/unix/common/syscalls.list.
9811 (fchmod): Likewise.
9812 (fchown): Likewise.
9813 (ftruncate): Likewise.
9814 (getrusage): Likewise.
9815 (gettimeofday): Likewise.
9816 (setpgid): Likewise.
9817 (setregid): Likewise.
9818 (setreuid): Likewise.
9819 (sigaction): Likewise.
9820 (truncate): Likewise.
9821 (vhangup): Likewise.
9822 * sysdeps/unix/common/syscalls.list: Remove file.
9823 * sysdeps/unix/bsd/Implies: Don't include unix/common.
9824 * sysdeps/unix/sysv/linux/Implies: Likewise.
9825
336270d0
L
98262012-05-04 H.J. Lu <hongjiu.lu@intel.com>
9827
9828 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
9829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
9830 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
9831 Moved to ...
9832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9833 Here.
9834 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
9835 to ...
9836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
9837 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
9838 to ...
9839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
9840 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
9841 to ...
9842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
9843 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
9844 to ...
9845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
9846 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
9847 to ...
9848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
9849 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
9850 to ...
9851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
9852 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
9853 to ...
9854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9855 Here.
9856 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
9857 to ...
9858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
9859 Here.
9860 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
9861 to ...
9862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
9863 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
9864 Moved to ...
9865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
9866 Here.
9867 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
9868 to ...
9869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
9870
d128e450
JM
98712012-05-04 Joseph Myers <joseph@codesourcery.com>
9872
fa8ee516
JM
9873 * sysdeps/unix/common/bits/dirent.h: Remove file.
9874 * sysdeps/unix/common/bits/fcntl.h: Likewise.
9875
d128e450
JM
9876 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
9877 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
9878 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
9879 * sysdeps/unix/bsd/isatty.c: Likewise.
9880 * sysdeps/unix/bsd/tcdrain.c: Likewise.
9881 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
9882 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
9883
ff8faaf0 98842012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 9885
62881be4 9886 [BZ #13563]
31dc8730
AZ
9887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
9888 long double comparison inaccuracies.
9889 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9891
6fef930c
AS
98922012-05-04 Andreas Schwab <schwab@linux-m68k.org>
9893
9894 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
9895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
9896
8f203e6c
JM
98972012-05-04 Joseph Myers <joseph@codesourcery.com>
9898
9899 [BZ #14049]
9900 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
9901 nonzero digits before rounding a hex value.
9902 * stdlib/tst-strtod.c (tests): Add another test.
9903
5197d9c2
AK
99042012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9905
9906 * sysdeps/s390/fpu/libm-test-ulps: Update.
9907
f0c1dedf
AJ
99082012-05-03 Andreas Jaeger <aj@suse.de>
9909
9910 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
9911 does not get optimized out.
9912 (malloc_opt_barrier): New.
9913
a65ef2ae 99142012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 9915 Roland McGrath <roland@hack.frob.com>
a65ef2ae 9916
2b942cb7 9917 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 9918 intermediate file deletion.
2b942cb7 9919 (generated): Add .symlist files.
a65ef2ae 9920
54b71e02
JM
99212012-05-03 Joseph Myers <joseph@codesourcery.com>
9922
9923 [BZ #13775]
9924 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
9925 Redirect under this condition.
9926 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9927 [__USE_GNU] (__dprintf_chk): Not under this condition.
9928 [__USE_GNU] (__vdprintf_chk): Likewise.
9929 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
9930 under this condition.
9931 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
9932 [__USE_XOPEN2K8] (dprintf): Define under this condition.
9933 [__USE_XOPEN2K8] (vdprintf): Likewise.
9934 [__USE_GNU] (__dprintf_chk): Not under this condition.
9935 [__USE_GNU] (__vdprintf_chk): Likewise.
9936 [__USE_GNU] (dprintf): Likewise.
9937 [__USE_GNU] (vdprintf): Likewise.
9938
d3dfcc41
RM
99392012-05-03 Roland McGrath <roland@hack.frob.com>
9940
9941 * elf/Makefile (common-generated): Set this instead of generated for
9942 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
9943 $(all-built-dso)-derived lists.
9944
7ac30cc5
AJ
99452012-05-03 Andreas Jaeger <aj@suse.de>
9946
0c51e550
AJ
9947 * sysdeps/i386/fpu/libm-test-ulps: Update.
9948
7ac30cc5
AJ
9949 * FAQ: Removed.
9950 * FAQ.in: Likewise.
9951 * scripts/gen-FAQ.pl: Likewise.
9952 * manual/install.texi (Installation): Point to online location of
9953 FAQ.
9954 * Makefile (files-for-dist): Remove FAQ.
9955 (FAQ): Remove.
9956
d4c2917f
AM
99572012-05-02 Allan McRae <allan@archlinux.org>
9958
9959 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
9960 (LDFLAGS-reldepmod5.so): Likewise.
9961 (LDFLAGS-reldep6mod1.so): Likewise.
9962 (LDFLAGS-reldep6mod4.so): Likewise.
9963 (LDFLAGS-reldep8mod3.so): Likewise.
9964 (LDFLAGS-unload4mod1.so): Likewise.
9965 (LDFLAGS-unload4mod2.so): Likewise.
9966 (LDFLAGS-tst-initorder): Likewise.
9967 (LDFLAGS-tst-initordera2.so): Likewise.
9968 (LDFLAGS-tst-initordera3.so): Likewise.
9969 (LDFLAGS-tst-initordera4.so): Likewise.
9970 (LDFLAGS-tst-initorderb2.so): Likewise.
9971 (LDFLAGS-noload): Likewise.
9972 (LDFLAGS-next): Likewise.
9973 (LDFLAGS-order2mod1.so): Likewise.
9974 (LDFLAGS-order2mod2.so): Likewise.
9975 (LDFLAGS-tst-initorder2): Likewise.
9976 (LDFLAGS-tst-initorder2a.so): Likewise.
9977 (LDFLAGS-tst-initorder2b.so): Likewise.
9978 (LDFLAGS-tst-initorder2c.so): Likewise.
9979 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
9980
d77f993f
DM
99812012-05-02 David S. Miller <davem@davemloft.net>
9982
9983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9984
171a70b4
PP
99852012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9986
9987 [BZ #14055]
9988 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
9989
0be196ad
AJ
99902012-05-02 Andreas Jaeger <aj@suse.de>
9991
9992 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
9993 since we manipulate rounding mode.
9994 (CPPFLAGS-test-idouble.c): Likewise.
9995 (CPPFLAGS-test-ifloat.c): Likewise.
9996 (CFLAGS-test-ldouble.c): Likewise.
9997 (CFLAGS-test-double.c): Likewise.
9998 (CFLAGS-test-float.c): Likewise.
9999 (CFLAGS-test-misc.c): Likewise.
10000 (CFLAGS-test-test-fenv.c): Likewise.
10001
4f9d04aa
AZ
100022012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10003
2b942cb7
RM
10004 [BZ #2550]
10005 [BZ #2570]
10006 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10007 comparisons to determine direction to adjust input.
4f9d04aa 10008
82a79e7d
RM
100092012-05-01 Roland McGrath <roland@hack.frob.com>
10010
f5a01ca9
RM
10011 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10012 output to the target.
10013
90fe4186
RM
10014 * scripts/localplt.awk: New file.
10015 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10016 (check-localplt-CFLAGS): Variable removed.
10017 ($(all-built-dso:=.jmprel)): New static pattern rule.
10018 (generated): Add those targets.
10019 (localplt-built-dso): New variable.
10020 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10021
10022 * elf/check-localplt.c: File removed.
10023
82397ed6
RM
10024 * scripts/check-execstack.awk: New file.
10025 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10026 (check-execstack-CFLAGS): Variable removed.
10027 ($(objpfx)check-execstack.h): Target removed.
10028 ($(objpfx)execstack-default): New target.
10029 (generated): Add that instead of check-execstack.h.
10030 ($(all-built-dso:=.phdr)): New static pattern rule.
10031 (generated): Add those targets.
10032 * elf/check-execstack.c: File removed.
10033
82a79e7d
RM
10034 * scripts/check-textrel.awk: New file.
10035 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10036 (check-textrel-CFLAGS): Variable removed.
10037 (all-built-dso): Use := to define.o
10038 ($(all-built-dso:=.dyn)): New static pattern rule.
10039 (generated): Add those targets.
10040 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10041 * config.make.in (READELF): New substituted variable.
10042 * elf/check-textrel.c: File removed.
10043
62fde54f 100442012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 10045
615605c9
JM
10046 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10047 allow.
10048 * conform/data/ctype.h-data [C99-based standards] (isblank):
10049 Expect function.
10050 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10051 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10052 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10053 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10054 Specify type. Require positive value.
10055 (EILSEQ): Likewise.
10056 (ERANGE): Likewise.
10057 [ISO || POSIX] (EILSEQ): Do not expect.
10058 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10059 Specify type. Require positive value.
10060 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10061 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10062 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10063 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10064 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10065 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10066 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10067 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10068 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10069 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10070 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10071 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10072 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10073 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10074 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10075 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10076 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10077 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10078 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10079 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10080 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10081 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10082 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10083 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10084 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10085 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10086 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10087 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10088 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10089 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10090 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10091 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10092 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10093 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10094 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10095 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10096 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10097 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10098 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10099 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10100 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10101 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10102 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10103 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10104 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10105 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10106 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10107 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10108 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10109 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10110 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10111 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10112 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10113 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10114 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10115 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10116 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10117 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10118 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10119 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10120 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10121 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10122 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10123 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10124 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10125 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10126 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10127 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10128 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10129 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10130 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10131 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10132 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10133 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10134 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10135 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10136 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10137 Require >= 2.
10138 (FLT_ROUNDS): Expect as macro, not constant.
10139 (FLT_MANT_DIG): Use macro-int-constant.
10140 (DBL_MANT_DIG): Likewise.
10141 (LDBL_MANT_DIG): Likewise.
10142 (FLT_DIG): Likewise.
10143 (DBL_DIG): Likewise.
10144 (LDBL_DIG): Likewise.
10145 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10146 (DBL_MIN_EXP): Likewise.
10147 (LDBL_MIN_EXP): Likewise.
10148 (FLT_MAX_EXP): Use macro-int-constant.
10149 (DBL_MAX_EXP): Likewise.
10150 (LDBL_MAX_EXP): Likewise.
10151 (FLT_MAX_10_EXP): Likewise.
10152 (DBL_MAX_10_EXP): Likewise.
10153 (LDBL_MAX_10_EXP): Likewise.
10154 (FLT_MAX): Use macro-constant.
10155 (DBL_MAX): Likewise.
10156 (LDBL_MAX): Likewise.
10157 (FLT_EPSILON): Use macro-constant. Give upper bound.
10158 (DBL_EPSILON): Likewise.
10159 (LDBL_EPSILON): Likewise.
10160 (FLT_MIN): Likewise.
10161 (DBL_MIN): Likewise.
10162 (LDBL_MIN): Likewise.
10163 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10164 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10165 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10166 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10167 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10168 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10169 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10170 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10171 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10172 [ISO11] (FLT_TRUE_MIN): Likewise.
10173 [ISO11] (LDBL_TRUE_MIN): Likewise.
10174 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10175 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10176 (SCHAR_MIN): Use macro-int-constant. Specify type.
10177 (SCHAR_MAX): Likewise.
10178 (UCHAR_MAX): Likewise.
10179 (CHAR_MIN): Likewise.
10180 (CHAR_MAX): Likewise.
10181 (MB_LEN_MAX): Use macro-int-constant.
10182 (SHRT_MIN): Use macro-int-constant. Specify type.
10183 (SHRT_MAX): Likewise.
10184 (USHRT_MAX): Likewise.
10185 (INT_MAX): Likewise.
10186 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10187 bound negative.
10188 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10189 bound with "U".
10190 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10191 bound with "L".
10192 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10193 bound negative. Suffix upper bound with "L".
10194 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10195 bound with "UL".
10196 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10197 Specify type.
10198 [C99-based standards] (LLONG_MAX): Likewise.
10199 [C99-based standards] (ULLONG_MAX): Likewise.
10200 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10201 == 0.
10202 [ISO11] (max_align_t): Require type.
10203 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10204
c9140a62
JM
10205 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10206 from $CFLAGS, without defining away __attribute__ calls.
10207 (checknamespace): Use $CFLAGS_namespace.
10208
9af0bf29
JM
10209 * conform/conformtest.pl (@keywords): Only include C99 keywords
10210 for standards based on C99 or C11.
10211
343222a2
JM
10212 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10213 Disable tests.
10214 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10215 UNIX98]: Likewise.
10216
661f8cf0
JM
10217 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10218 usability of symbols in #if.
10219
ee74b9cb
JM
10220 * conform/conformtest.pl: If macro or constant types start
10221 "promoted:", expect the symbol to be of the following type
10222 promoted by the integer promotions.
62fde54f 10223
aafc49b3
JM
10224 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10225 in one place. Also handle "macro-constant".
10226
fefdf574
JM
10227 * conform/conformtest.pl: Only accept expected macro values with
10228 "==". Parse all "macro" lines in one place.
10229 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10230
f2d922fe
JM
10231 * conform/conformtest.pl: Handle braced types on "constant" lines
10232 instead of handling "typed-constant".
10233 * conform/data/signal.h-data: Use "constant" instead of
10234 "typed-constant".
10235
d22956c9
JM
10236 * conform/conformtest.pl: Handle "optional-" at start of lines in
10237 one place rather than duplicating several cases. Handle each
10238 format of "macro" line with initial "optional-".
10239
028e2e38
JM
10240 * conform/conformtest.pl: Only accept expected constant or
10241 optional-constant values with "==". Parse all "constant" lines in
10242 one place. Parse all "optional-constant" lines in one place.
10243 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10244 * conform/data/fmtmsg.h-data: Likewise.
10245 * conform/data/netinet/in.h-data: Likewise.
10246 * conform/data/tar.h-data: Likewise.
10247 * conform/data/limits.h-data: Use "==" form on "constant" and
10248 "optional-constant" lines.
10249
1b8f2850
JM
10250 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10251 Use -std=c99 for XOPEN2K.
10252 (@knownproblems): Remove.
10253 (newtoken): Don't check %isknown.
10254
a05a144b
JM
10255 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10256 Do not expect macro.
10257 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10258 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10259 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10260 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10261 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10262 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10263 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10264 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10265 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10266 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10267 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10268 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10269 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10270 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10271 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10272 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10273 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10274 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10275 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10276 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10277 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10278 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10279 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10280 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10281 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10282 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10283 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10284 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10285 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10286 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10287 [XPG3] (acosh): Likewise.
10288 [XPG3] (asinh): Likewise.
10289 [XPG3] (atanh): Likewise.
10290 [XPG3] (cbrt): Likewise.
10291 [XPG3] (expm1): Likewise.
10292 [XPG3] (ilogb): Likewise.
10293 [XPG3] (log1p): Likewise.
10294 [XPG3] (logb): Likewise.
10295 [XPG3] (nextafter): Likewise.
10296 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10297 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10298 [XPG3] (remainder): Likewise.
10299 [XPG3] (rint): Likewise.
10300 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10301 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10302 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10303 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10304 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10305 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10306 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10307 [UNIX98 || XOPEN2K] (scalb): Expect.
10308 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10309 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10310 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10311 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10312 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10313 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10314 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10315 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10316 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10317 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10318 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10319 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10320 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10321 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10322 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10323 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10324 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10325 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10326 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10327 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10328 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10329 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10330 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10331 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10332 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10333 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10334 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10335 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10336 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10337 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10338 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10339 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10340 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10341 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10342 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10343 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10344 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10345 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10346 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10347 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10348 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10349 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10350 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10351 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10352 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10353 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10354 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10355 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10356 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10357 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10358 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10359 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10360 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10361 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10362 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10363 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10364 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10365 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10366 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10367 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10368 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10369 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10370 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10371 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10372 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10373 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10374 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10375 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10376 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10377 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10378 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10379 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10380 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10381 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10382 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10383 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10384 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10385 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10386 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10387 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10388 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10389 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10390 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10391 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10392 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10393 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10394 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10395 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10396 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10397 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10398 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10399 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10400 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10401 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10402 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10403 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10404 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10405 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10406 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10407 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10408 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10409 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10410 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10411 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10412 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10413 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10414 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10415 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10416 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10417 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10418 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10419 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10420 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10421 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10422 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10423 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10424 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10425 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10426 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10427 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10428 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10429 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10430 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10431 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10432 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10433 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10434 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10435 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10436 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10437 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10438 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10439 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10440 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10441 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10442 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10443 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10444 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10445
73c5ebe3
JM
10446 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10447 _XOPEN_SOURCE_EXTENDED for XPG4.
10448
39c33b6c
JM
10449 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10450
62fde54f
JM
10451 * Makeconfig (localtime): Remove variable.
10452 (inst_localtime-file): Likewise.
10453
0741d64c
AS
104542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10455
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10457 Update.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10459 Update.
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10461 Update.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10463 Update.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10465 Update.
10466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
10467 Update.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10469 Update.
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
10471 Update.
10472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10473 Update.
10474
7cb029ee
JM
104752012-05-01 Joseph Myers <joseph@codesourcery.com>
10476
10477 [BZ #2550]
10478 [BZ #2570]
10479 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
10480 comparisons to determine direction to adjust input.
10481 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10482 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
10483 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
10484 Likewise.
10485 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
10486 Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10488 Likewise.
10489 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
10490 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10491 Likewise.
10492 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10493 Likewise.
10494 * math/libm-test.inc (nexttoward_test): Add more tests.
10495
412bd966
AS
104962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10497
10498 [BZ #14040]
10499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
10500 in version GLIBC_2.1, not GLIBC_2.0.
10501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
10502 Likewise.
10503
9568c0c2
JM
105042012-04-30 Joseph Myers <joseph@codesourcery.com>
10505
adfbc8ac
JM
10506 [BZ #13942]
10507 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
10508 (1 - x) * (1 + x).
10509 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10510 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
10511 * math/libm-test.inc (acos_test): Add more tests.
10512 (asin_test): Likewise.
10513 * sysdeps/i386/fpu/libm-test-ulps: Update.
10514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515
5ba3cc69
JM
10516 [BZ #14034]
10517 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
10518 of square root.
10519 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
10520 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
10521 * math/libm-test.inc (acos_test_tonearest): New function.
10522 (acos_test_towardzero): Likewise.
10523 (acos_test_downward): Likewise.
10524 (acos_test_upward): Likewise.
10525 (asin_test_tonearest): Likewise.
10526 (asin_test_towardzero): Likewise.
10527 (asin_test_downward): Likewise.
10528 (asin_test_upward): Likewise.
10529 (main): Call the new functions.
10530 * sysdeps/i386/fpu/libm-test-ulps: Update.
10531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10532
9568c0c2
JM
10533 [BZ #13884]
10534 [BZ #13924]
10535 * math/e_exp10.c: Include <float.h>.
10536 (__ieee754_exp10): Handle underflow here rather than multiplying
10537 large negative argument by M_LN10.
10538 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
10539 of __ieee754_expf.
10540 * math/e_exp10l.c: Include <float.h>.
10541 (__ieee754_exp10l): Handle underflow here rather than multiplying
10542 large negative argument by M_LN10l.
10543 * math/libm-test.inc (exp10_test): Add another test. Do not allow
10544 spurious overflow exception on underflow.
10545
5ac3ea17
MP
105462012-04-29 Marek Polacek <polacek@redhat.com>
10547
10548 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
10549 (__fortify_function): New macro.
10550 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
10551 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
10552 __extern_always_inline.
10553 * libio/bits/stdio2.h: Likewise.
10554 * libio/bits/stdio.h: Likewise.
10555 * string/string.h: Likewise.
10556 * string/bits/string3.h: Likewise.
10557 * include/stdio.h: Likewise.
10558 * stdlib/bits/stdlib.h: Likewise.
10559 * stdlib/stdlib.h: Likewise.
10560 * rt/bits/mqueue2.h: Likewise.
10561 * rt/mqueue.h: Likewise.
10562 * posix/bits/unistd.h: Likewise.
10563 * posix/unistd.h: Likewise.
10564 * io/bits/poll2.h: Likewise.
10565 * io/bits/fcntl2.h: Likewise.
10566 * io/fcntl.h: Likewise.
10567 * io/sys/poll.h: Likewise.
10568 * misc/bits/syslog.h: Likewise.
10569 * misc/bits/syslog-ldbl.h: Likewise.
10570 * misc/sys/syslog.h: Likewise.
10571 * socket/bits/socket2.h: Likewise.
10572 * socket/sys/socket.h: Likewise.
10573 * debug/tst-chk1.c: Likewise.
10574 * wcsmbs/bits/wchar2.h: Likewise.
10575 * wcsmbs/bits/wchar-ldbl.h: Likewise.
10576 * wcsmbs/wchar.h: Likewise.
10577
ecf0ebfb
AJ
105782012-04-29 Andreas Jaeger <aj@suse.de>
10579
10580 * Makerules (tests): Remove enable-check-abi protection.
10581 (check-abi-warn): Remove.
10582 (check-abi-%): Remove check-abi-warn usage.
10583
10584 * configure.in: Remove check-abi configure option.
10585 * configure: Regenerated.
10586 * config.make.in (enable-check-abi): Remove.
10587
6d5c57fa
AS
105882012-04-28 Andreas Schwab <schwab@linux-m68k.org>
10589
24c5d07e 10590 [BZ #14033]
ded5180a
AS
10591 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
10592 double functions to double *_finite functions.
10593
7e0d315d
AS
10594 [BZ #13941]
10595 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
10596 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
10597 LDBL_MIN_EXP.
10598 * stdio-common/Makefile (tests): Add tst-sprintf3.
10599 * stdio-common/tst-sprintf3.c: New file.
10600
6d5c57fa
AS
10601 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
10602 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
10603
0749ff8b
JM
106042012-04-28 Joseph Myers <joseph@codesourcery.com>
10605
10606 * conform/conformtest.pl: Remove duplicate typed-constant
10607 handling.
10608
8dbd5d7b
DM
106092012-04-28 David S. Miller <davem@davemloft.net>
10610
10611 * Makerules (%.abilist): Add vpath on sysdep_dirs.
10612 (check-abi-%): Remove AWK script prerequisite and explicit
10613 abilist directory.
10614 (check-abi): Rewrite to just diff the symlist with the abilist.
10615 (config-tls, config-abi-config): Delete, no longer used.
10616 (update-abi-%): Remove AWK script and explicit abilist directory.
10617 (update-abi): Rewrite to simply compare and conditionally copy the
10618 symlist and the sysdep abilist file. Remove update-abi-config
10619 checks.
10620 * abilist/ld.abilist: Remove.
10621 * abilist/libBrokenLocale.abilist: Remove.
10622 * abilist/libanl.abilist: Remove.
10623 * abilist/libcrypt.abilist: Remove.
10624 * abilist/libdl.abilist: Remove.
10625 * abilist/librt.abilist: Remove.
10626 * abilist/libthread_db.abilist: Remove.
10627 * abilist/libutil.abilist: Remove.
10628 * scripts/extract-abilist.awk: Remove.
10629 * scripts/merge-abilist.awk: Remove.
10630 * sysdeps/generic/libcidn.abilist: New file.
10631 * sysdeps/generic/libnss_compat.abilist: New file.
10632 * sysdeps/generic/libnss_db.abilist: New file.
10633 * sysdeps/generic/libnss_dns.abilist: New file.
10634 * sysdeps/generic/libnss_files.abilist: New file.
10635 * sysdeps/generic/libnss_hesiod.abilist: New file.
10636 * sysdeps/generic/libnss_nis.abilist: New file.
10637 * sysdeps/generic/libnss_nisplus.abilist: New file.
10638 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
10639 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
10640 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
10641 file.
10642 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
10643 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
10644 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
10645 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
10646 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
10647 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
10648 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
10649 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
10650 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
10651 file.
10652 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
10653 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
10654 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
10655 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
10656 file.
10657 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
10658 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
10659 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
10660 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
10661 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
10662 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
10663 file.
10664 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
10665 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
10666 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
10667 file.
10668 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
10669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
10670 New file.
10671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
10672 New file.
10673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
10674 New file.
10675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
10676 New file.
10677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
10678 New file.
10679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
10680 New file.
10681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
10682 New file.
10683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
10684 New file.
10685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
10686 New file.
10687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
10688 New file.
10689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
10690 New file.
10691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
10692 New file.
10693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
10694 New file.
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
10696 file.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10698 New file.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10700 New file.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
10702 file.
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10704 New file.
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10706 New file.
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
10708 file.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10710 New file.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10712 New file.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10714 New file.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10716 New file.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10718 New file.
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10720 New file.
10721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
10722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
10723 file.
10724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10725 New file.
10726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
10727 file.
10728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
10729 file.
10730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
10731 file.
10732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
10733 file.
10734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
10735 file.
10736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10737 New file.
10738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
10739 file.
10740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
10741 file.
10742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10743 New file.
10744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
10745 file.
10746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
10747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
10748 file.
10749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10750 New file.
10751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
10752 file.
10753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
10754 file.
10755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
10756 file.
10757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
10758 file.
10759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
10760 file.
10761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10762 New file.
10763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
10764 file.
10765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
10766 file.
10767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10768 New file.
10769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
10770 file.
10771 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10772 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
10773 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
10774 file.
10775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
10776 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
10777 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
10778 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
10779 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
10780 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
10781 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
10782 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
10783 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
10784 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
10785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
10786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
10787 file.
10788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10789 New file.
10790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
10791 file.
10792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
10793 file.
10794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
10795 file.
10796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
10797 file.
10798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
10799 file.
10800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10801 New file.
10802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10803 New file.
10804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
10805 file.
10806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10807 New file.
10808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
10809 file.
10810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
10811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
10812 file.
10813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10814 New file.
10815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
10816 file.
10817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
10818 file.
10819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
10820 file.
10821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
10822 file.
10823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
10824 file.
10825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10826 New file.
10827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10828 New file.
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
10830 file.
10831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10832 New file.
10833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
10834 file.
10835
41d73a1b
JM
108362012-04-28 Joseph Myers <joseph@codesourcery.com>
10837
10838 * conform/conformtest.pl: Fix typo in handling typed-constant from
10839 allow-header.
10840
28aeeda4
JM
108412012-04-27 Joseph Myers <joseph@codesourcery.com>
10842
adae8f5e
JM
10843 * README: Cut down references to pre-2.6 Linux kernels and
10844 Linuxthreads. Update lists of configurations in libc and ports
10845 and sort alphabetically. Say "or newer" with Linux kernel version
10846 requirements.
10847
28aeeda4
JM
10848 * config.h.in [IS_IN_build]: Allow compiling without optimization.
10849
a462cb63
RA
108502012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10851
10852 [BZ #887]
10853 * math/libm-test.inc (logb_test_downward): New test to expose
10854 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
10855 rounding mode.
10856
6ad3493e
JM
108572012-04-27 Joseph Myers <joseph@codesourcery.com>
10858
10859 [BZ #14027]
10860 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
10861 to be done.
10862 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
10863 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
10864
2ce4f015
JM
108652012-04-26 Joseph Myers <joseph@codesourcery.com>
10866
5aeb141a
JM
10867 * sysdeps/unix/i386/brk.S: Remove file.
10868 * sysdeps/unix/i386/dl-brk.S: Likewise.
10869 * sysdeps/unix/i386/pipe.S: Likewise.
10870 * sysdeps/unix/i386/sigreturn.S: Likewise.
10871 * sysdeps/unix/i386/syscall.S: Likewise.
10872 * sysdeps/unix/i386/vfork.S: Likewise.
10873 * sysdeps/unix/i386/wait.S: Likewise.
10874
7143acae
JM
10875 * sysdeps/unix/common/tcsendbrk.c: Move to ...
10876 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
10877
2ce4f015
JM
10878 * configure.in (arm*-none*): Do not allow without
10879 --enable-hacker-mode.
10880 (netbsd*): Remove case setting base_os.
10881 (386bsd*): Likewise.
10882 (freebsd*): Likewise.
10883 (bsdi*): Likewise.
10884 (osf*): Likewise.
10885 (sunos*): Likewise.
10886 (ultrix*): Likewise.
10887 (newsos*): Likewise.
10888 (dynix*): Likewise.
10889 (*bsd*): Likewise.
10890 (sysv*): Likewise.
10891 (isc*): Likewise.
10892 (esix*): Likewise.
10893 (sco*): Likewise.
10894 (minix*): Likewise.
10895 (irix4*): Likewise.
10896 (irix6*): Likewise.
10897 (solaris[2-9]*): Likewise.
10898 (none): Likewise.
10899 * configure: Regenerated.
10900
0ac229c8
AZ
109012012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10902
10903 [BZ #11521]
10904 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
10905 overflow or cancellation in calculating denominator.
10906 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
10907 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
10908 down expression to avoid unexpected rounding in newer GCCs.
10909 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10910
33f244f4
DM
109112012-04-26 David S. Miller <davem@davemloft.net>
10912
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
10914 long-double compat symbols.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
10919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
10923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10928
cfa1f3e8
DM
109292012-04-25 David S. Miller <davem@davemloft.net>
10930
10931 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
10932 HWCAP_* values only after the memory barriers have been defined.
10933 (atomic_full_barrier): Define.
10934 (atomic_read_barrier): Define.
10935 (atomic_write_barrier): Define.
10936
6e236b92
SP
109372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10938
10939 * shlib-versions: Add libgcc_s version information.
10940 * sysdeps/generic/libgcc_s.h: Remove.
10941 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
10942 libgcc_s.h.
10943 * sysdeps/gnu/unwind-resume.c: Likewise.
10944 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
10945
aab39a09
DM
109462012-04-25 David S. Miller <davem@davemloft.net>
10947
10948 * sysdeps/unix/sparc/brk.S: Delete.
10949 * sysdeps/unix/sparc/dl-brk.S: Delete.
10950 * sysdeps/unix/sparc/pipe.S: Delete.
10951 * sysdeps/unix/sparc/sysdep.S: Delete.
10952 * sysdeps/unix/sparc/sysdep.h: Delete.
10953 * sysdeps/unix/sparc/vfork.S: Delete.
10954 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
10955 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
10956 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
10957 ret_ERRVAL, r0, r1, MOVE): Define.
10958 (JUMPTARGET): Remove.
10959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
10960 sysdeps/unix/sparc/sysdep.h
10961 (ENTRY, END): Remove.
10962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10963
a3cc4f48
JM
109642012-04-25 Joseph Myers <joseph@codesourcery.com>
10965
2ed8cda2
JM
10966 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
10967 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
10968 -DIS_IN_build.
10969
35d76d59
JM
10970 * timezone/README: Update upstream location and email address for
10971 tzcode and tzdata.
10972 * timezone/zdump.c: Update from tzcode 2012b.
10973 * timezone/zic.c: Likewise.
10974
a3cc4f48
JM
10975 * configure.in (libc_cv_as_needed): Remove test.
10976 * configure: Regenerated.
10977 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
10978 conditional definition.
10979 [$(have-as-needed) != yes] (no-as-needed): Likewise.
10980 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
10981 * config.make.in (have-as-needed): Remove variable.
10982
ceab42c3
SP
109832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10984 Paul Pluzhnikov <ppluzhnikov@google.com>
10985
10986 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
10987 strings correctly.
10988
3ce2865f
CLT
109892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
10990
10991 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
10992 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
10993 * sysdeps/sh/strlen.S: Likewise.
10994
f37e0d68
JM
109952012-04-24 Joseph Myers <joseph@codesourcery.com>
10996
ae186e9a
JM
10997 * sysdeps/unix/fork.S: Remove file.
10998 * sysdeps/unix/i386/fork.S: Likewise.
10999 * sysdeps/unix/sparc/fork.S: Likewise.
11000
b96914af
JM
11001 * sysdeps/unix/system.c: Remove file.
11002 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11003
f37e0d68
JM
11004 * sysdeps/unix/getegid.S: Remove file.
11005 * sysdeps/unix/geteuid.S: Likewise.
11006
87ef29ca
RM
110072012-04-24 Roland McGrath <roland@hack.frob.com>
11008
83bcd236
RM
11009 * scripts/check-localplt.awk: New file.
11010 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11011 of diff.
11012 * scripts/data/localplt-generic.data: Add a comment.
11013
87ef29ca
RM
11014 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11015 NODE when __dir_mkfile failed.
11016 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11017 Reported by Ludovic Courtès <ludo@gnu.org>.
11018
e5a6e567
AJ
110192012-04-24 Andreas Jaeger <aj@suse.de>
11020
11021 * Makerules (common-clean): Also remove gen-as-const-headers
11022 files.
11023
c1820385
JM
110242012-04-24 Joseph Myers <joseph@codesourcery.com>
11025
11026 * Makerules (native-compile): Do not change working directory for
11027 build. Use $(OUTPUT_OPTION) in command.
11028 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11029
94e02fc4
AZ
110302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11031
11032 [BZ #13886]
11033 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11034 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11035 * math/libm-test.inc (floor_test): Add more tests.
11036 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11037
3a533ca3
JM
110382012-04-24 Joseph Myers <joseph@codesourcery.com>
11039
940ab4b3
JM
11040 * sysdeps/unix/getdents.c: Remove file.
11041 * sysdeps/unix/sysv/getdents.c: Likewise.
11042 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11043
90e037bd
JM
11044 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11045 sysdeps/unix/mman/syscalls.list.
11046 (mmap): Likewise.
11047 (mprotect): Likewise.
11048 (msync): Likewise.
11049 (munmap): Likewise.
11050 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11051 * sysdeps/unix/mman/syscalls.list: Remove.
11052 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11053
3a533ca3
JM
11054 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11055 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11056 * configure: Regenerated.
11057 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11058 $(libgcc_s_suffix).
11059 * config.make.in (libgcc_s_suffix): Remove variable.
11060
1ad743de
JM
110612012-04-23 Joseph Myers <joseph@codesourcery.com>
11062
4ad451e2
JM
11063 * sysdeps/unix/sysv/gethostname.c: Move to ...
11064 * sysdeps/posix/gethostname.c: ... here.
11065
5e37ce39
JM
11066 * sysdeps/unix/execve.S: Remove file.
11067
1ad743de
JM
11068 * sysdeps/unix/_exit.S: Remove file.
11069
4e681b5b
AJ
110702012-04-23 Andreas Jaeger <aj@suse.de>
11071
11072 [BZ #13739]
11073 * manual/Makefile: Remove make dist support, there's no
11074 need for a stand-alone documentation tar ball.
11075 (TEXI2DVI): Define always, it's not in Makeconfig.
11076 (dist): Removed.
11077 (tar-it): Removed.
11078 (edition): Removed.
11079 (glibc-doc-$(edition).tar): Removed
11080 (%.Z): Removed.
11081 (%.gz): Removed.
11082 (%.uu): Removed.
11083 (ETAGS): Remove, it's in Makeconfig.
11084 (move-if-change): Remove, it's in Makeconfig.
11085
c0baea34
PE
110862013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11087
11088 [BZ #13970]
11089 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11090 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11091 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11092 (strtod_l, strtof_l, strtold_l): Remove __wur.
11093 It is not necessarily an error to ignore strtol's return value.
11094 One can reliably look at the stored endptr to decide whether
11095 the number had valid syntax.
11096
7c0616fa
AJ
110972012-04-21 Andreas Jaeger <aj@suse.de>
11098
803cb6b7 11099 [BZ #13739]
7c0616fa
AJ
11100 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11101
b0fe253f
JM
111022012-04-21 Joseph Myers <joseph@codesourcery.com>
11103
11104 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11105 * sysdeps/unix/sysv/Versions: Remove file.
11106
8280f22d
MT
111072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11108
11109 [BZ #13927]
11110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11111
75ce411f 111122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
11113
11114 [BZ #7064]
11115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11116 version from __vm86.
11117
097d59fa
JM
111182012-04-20 Joseph Myers <joseph@codesourcery.com>
11119
a90f3bcb
JM
11120 * sysdeps/unix/common/lxstat.c: Remove file.
11121 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11122
edc7ea78
JM
11123 * sysdeps/unix/sysv/Makefile: Remove file.
11124
cb78c221
JM
11125 * sysdeps/unix/sysv/direct.h: Remove file.
11126
efa6a45f
JM
11127 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11128 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11129 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11130 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11131 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11132 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11133 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11134
9c9f2d0c
JM
11135 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11136
4541c83b
JM
11137 * sysdeps/unix/xmknod.c: Remove file.
11138 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11139
f5d153a0
JM
11140 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11141
aa746595
JM
11142 * sysdeps/unix/sysv/i386/time.S: Remove file.
11143
cce5905e
JM
11144 * sysdeps/unix/fxstat.c: Remove file.
11145 * sysdeps/unix/xstat.c: Likewise.
11146 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11147
37fa3841
JM
11148 * sysdeps/unix/sysv/sigaction.c: Remove file.
11149
ff1962a3
JM
11150 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11151 (sysdep_headers): Remove variable.
11152 [termio.h not in sysdep_headers] (generated): Likewise.
11153 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11154 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11155 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11156 * sysdeps/unix/sysv/tcflow.c: Likewise.
11157 * sysdeps/unix/sysv/tcflush.c: Likewise.
11158 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11159 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11160 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11161 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11162 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11163
e7740d31
JM
11164 * sysdeps/unix/siglist.c: Remove file.
11165
ee06f18b
JM
11166 * sysdeps/unix/getppid.S: Remove file.
11167
097d59fa
JM
11168 * sysdeps/unix/mkdir.c: Remove file.
11169 * sysdeps/unix/rmdir.c: Likewise.
11170
ff3d51ec
AS
111712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11172
11173 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11174 ERR_MAX value.
11175 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11176 errlist-compat value.
11177
50f81fd7
DM
111782012-04-18 David S. Miller <davem@davemloft.net>
11179
11180 * sysdeps/generic/memcopy.h (reg_char): Delete.
11181 * debug/strcat_chk.c: Use char, not reg_char.
11182 * debug/strcpy_chk.c: Likewise.
11183 * debug/strncat_chk.c: Likewise.
11184 * debug/strncpy_chk.c: Likewise.
11185 * string/memchr.c: Likewise.
11186 * string/memrchr.c: Likewise.
11187 * string/rawmemchr.c: Likewise.
11188 * string/strcat.c: Likewise.
11189 * string/strchr.c: Likewise.
11190 * string/strchrnul.c: Likewise.
11191 * string/strcmp.c: Likewise.
11192 * string/strcpy.c: Likewise.
11193 * string/strncat.c: Likewise.
11194 * string/strncmp.c: Likewise.
11195 * string/strncpy.c: Likewise.
11196
8ff41c46
WS
111972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11198
11199 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11200 __builtin_memcopy is called when src and dest ranges are known to not
11201 overlap.
11202
6b652f46
WS
112032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11204
11205 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11206 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11207 fwd_align_merge macro call.
11208 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11209 bwd_align_merge macro call.
11210 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11211
b282631e
WS
112122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11213
11214 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11215 bwd_align_merge macros.
11216 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11217 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11218 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11219
95aa737c
DM
112202012-04-18 David S. Miller <davem@davemloft.net>
11221
11222 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11223
7a99a614
AJ
112242012-04-18 Andreas Jaeger <aj@suse.de>
11225
11226 [BZ# 6794]
11227 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11228 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11229 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11230
11231 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11232 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11233 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11234
11235 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11236 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11237 Adjust for changed ldbl-128 files.
11238
11239 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11240 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11241 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11242
e5270c23
DM
112432012-04-17 David S. Miller <davem@davemloft.net>
11244
11245 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11246
fb5e92c9
AS
112472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11248
11249 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11250 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11251 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11252 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11253 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11254 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11255
76da7265
AZ
112562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11257
11258 [BZ #6794]
11259 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11260 * math/libm-test.inc: Add ilogb errno and exception tests.
11261 * math/w_ilogb.c: New file: ilogb wrapper.
11262 * math/w_ilogbf.c: New file: ilogbf wrapper.
11263 * math/w_ilogbl.c: New file: ilogbl wrapper.
11264 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11265 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11266 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11267 exception being thrown with 0.0 as argument.
11268 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11269 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11270 exception being thrown with 0.0 as argument.
11271 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11272 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11273 exception being thrown with 0.0 as argument.
11274 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11275 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11276 exception being thrown with 0.0 as argument.
11277 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11278 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 11279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
11280 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11281 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11282 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11283 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11284 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11285 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11286
0396e69d
PB
112872012-04-17 Petr Baudis <pasky@ucw.cz>
11288
11289 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11290 with altivec.
11291
750b5926
MP
112922012-04-16 Marek Polacek <polacek@redhat.com>
11293
11294 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11295
751728a1
MP
112962012-04-16 Marek Polacek <polacek@redhat.com>
11297
11298 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11299 operands of fdivp instruction.
11300
34a27407
L
113012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11304 * elf/tst-auditmod3b.c: Likewise.
11305 * elf/tst-auditmod4b.c: Likewise.
11306 * elf/tst-auditmod5b.c: Likewise.
11307 * elf/tst-auditmod6b.c: Likewise.
11308 * elf/tst-auditmod6c.c: Likewise.
11309 * elf/tst-auditmod7b.c: Likewise.
11310 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11311 * sysdeps/x86_64/preconfigure.in: Likewise.
11312 * sysdeps/x86_64/preconfigure: Regenerated.
11313
7e73e17d
L
113142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11315
11316 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11317 __ILP32__.
11318
c7a6ab72
AB
113192012-04-13 Antoine Balestrat <merkil33@gmail.com>
11320
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11322 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11323
a9e8e0e0
CL
113242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11325
11326 [BZ #13973]
11327 * locale/iso-639.def: Fix gl language name. Spotted by
11328 Yaron Shahrabani.
11329
ec98af7d
RM
113302012-04-12 Roland McGrath <roland@hack.frob.com>
11331
11332 [BZ #2074]
11333 * libio/libio.h (__io_write_fn): Update comment.
11334
247c3ede
PB
113352012-04-12 Petr Baudis <pasky@ucw.cz>
11336
11337 [BZ #2074]
11338 * stdio.texi (Hook Functions): The user provided writer function
11339 is not allowed to return -1.
11340
55939d6d
DM
113412012-04-11 David S. Miller <davem@davemloft.net>
11342
11343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11344
90020f5a
MF
113452012-04-11 Mike Frysinger <vapier@gentoo.org>
11346
11347 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11348 Add a leading slash to rtkaio.
11349
288f9098
JM
113502012-04-11 Jim Meyering <meyering@redhat.com>
11351
90020f5a
MF
11352 [BZ #11959]
11353 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11354 It is not necessarily an error to ignore fwrite's return
11355 value. One can reliably use ferror to test for errors after
11356 the fact.
288f9098 11357
4be2b570
L
113582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 * bits/types.h (__snseconds_t): New type.
11361 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11362
11363 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11364 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11365 (__SNSECONDS_T_TYPE): Likewise.
11366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11367 (__SNSECONDS_T_TYPE): Likewise.
11368 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11369 (__SNSECONDS_T_TYPE): Likewise.
11370
288f9098 113712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
11372
11373 [BZ #2636]
11374 * manual/time.texi (Processor Time): Return type of times is
11375 elapsed real time since an arbitrary point in the past.
11376 (CPU Time): Move CLK_TCK from here...
11377 (Processor Time): ...to here. Correct description.
11378 * manual/conf.texi (Constants for Sysconf): Correct description of
11379 _SC_CLK_TCK.
11380
d7dd4413
DM
113812012-04-10 David S. Miller <davem@davemloft.net>
11382
11383 [BZ #13967]
11384 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11385 where the is a gap between DT_REL(A) and DT_JMPREL.
11386
b46068fc
L
113872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11390 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11391 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11392
73d65cc3
SP
113932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11394
11395 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11396 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11397 (dl_main): Handle --inhibit-cache.
11398 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11399 _dl_inhibit_cache.
11400 * elf/dl-load.c (_dl_map_object): Use it.
11401 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11402
bcc8d661
JM
114032012-04-09 Joseph Myers <joseph@codesourcery.com>
11404
8f9a2fae
JM
11405 [BZ #13872]
11406 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11407 (__ieee754_powl): Saturate large exponents rather than testing for
11408 overflow of y*log2(x).
11409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11410 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11411 exceptions.
11412
bcc8d661
JM
11413 [BZ #11521]
11414 * math/s_ctan.c: Include <float.h>.
11415 (__ctan): Avoid internal overflow or cancellation in calculating
11416 denominator.
11417 * math/s_ctanf.c: Likewise.
11418 * math/s_ctanl.c: Likewise.
11419 * math/s_ctanh.c: Likewise.
11420 * math/s_ctanhf.c: Likewise.
11421 * math/s_ctanhl.c: Likewise.
11422 * math/libm-test.inc (ctan_test): Add more tests.
11423 (ctanh_test): Likewise.
11424 * sysdeps/i386/fpu/libm-test-ulps: Update.
11425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11426
823fbbb4
AJ
114272012-04-09 Andreas Jaeger <aj@suse.de>
11428
03879793
AJ
11429 [BZ #6894]
11430 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11431 is an optional BSD extension.
11432
823fbbb4
AJ
11433 [BZ #10254]
11434 * manual/stdio.texi (Opening Streams): Document additional fopen
11435 parameters.
11436
8de131cb
RM
114372012-04-09 Roland McGrath <roland@hack.frob.com>
11438
11439 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11440 %eax without telling the compiler.
11441
c0ed9d7d
CD
114422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11443
11444 [BZ # 13963]
11445 * manual/install.texi: Use sourceware.org.
11446
c483f6b4
JM
114472012-04-09 Joseph Myers <joseph@codesourcery.com>
11448
d7dd9453
JM
11449 [BZ #13873]
11450 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11451 (__ieee754_pow): Generate overflow and underflow using huge*huge
11452 and tiny*tiny rather than just returning constant infinity or zero
11453 for large exponents.
11454 * math/libm-test.inc (pow_test): Require overflow exceptions for
11455 applicable cases of large exponents.
11456
c483f6b4
JM
11457 [BZ #706]
11458 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11459 (__ieee754_pow): Use iterative multiplication algorithm only for
11460 integer exponents with absolute value below 1024. Check for odd
11461 integer exponents when using algorithm for real exponents.
11462 * math/libm-test.inc (pow_test): Add more tests.
11463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11464
d2de7579
JM
114652012-04-08 Joseph Myers <joseph@codesourcery.com>
11466
11467 [BZ #13705]
11468 * math/libm-test.inc (exp_test): Do not allow overflow exception
11469 on underflow test.
11470
f77f1232
AJ
114712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
11472
11473 [BZ #13705]
11474 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
11475 instead of __kernel_standard_f.
11476
3884932b
MF
114772012-04-08 Mike Frysinger <vapier@gentoo.org>
11478
11479 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
11480 * sysdeps/x86_64/memset_chk.S: Likewise.
11481
54472e9c
AJ
114822012-04-08 Andreas Jaeger <aj@suse.de>
11483
6ab0fbfc
AJ
11484 [BZ #10153]
11485 * manual/startup.texi (Environment Access): Describe return value
11486 for putenv and setenv.
11487
61efba8c
AJ
11488 [BZ #6895]
11489 * manual/filesys.texi (Directory Entries): Add description for
11490 DT_LNK.
11491
95c3f29a
AJ
11492 [BZ #6890]
11493 * manual/filesys.texi (Directory Entries): Clarify that it's file
11494 system not operating system in the description of DT_UNKNOWN.
11495
54472e9c
AJ
11496 [BZ #6578]
11497 * manual/syslog.texi (closelog): Fix reference, it's openlog.
11498
624254b1
SC
114992012-04-08 Stephen Compall <s11@member.fsf.org>
11500
11501 [BZ #6649]
11502 * manual/llio.texi (Opening and Closing Files): Add cross
11503 reference to explain mode argument.
11504
1e4920e0
MF
115052012-04-07 Mike Frysinger <vapier@gentoo.org>
11506
11507 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
11508 * sysdeps/x86_64/memset_chk.S: Likewise.
11509
5ed848f3
DM
115102012-04-07 David S. Miller <davem@davemloft.net>
11511
11512 * elf/elf.h (R_SPARC_WDISP10): Define.
11513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
11514 R_SPARC_SIZE32.
11515 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
11516 R_SPARC_SIZE64 and R_SPARC_H34.
11517
96154cd8
CD
115182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
11519
11520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
11521 conditions and remove no longer applicable assertion.
11522
9904dc47
L
115232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11524
11525 * bits/byteswap.h: Include <features.h>.
11526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11528
f8887d0a
L
115292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
11530
11531 * bits/byteswap.h (__bswap_16): Removed.
11532 Include <bits/byteswap-16.h> to get __bswap_16.
11533 * sysdeps/i386/bits/byteswap.h: Likewise.
11534 * sysdeps/s390/bits/byteswap.h: Likewise.
11535 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11536 * bits/byteswap-16.h: New file.
11537 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11538 * sysdeps/s390/bits/byteswap-16.h: Likewise.
11539 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
11540 * string/Makefile (headers): Add bits/byteswap-16.h.
11541
62470f60
PP
115422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11543
11544 [BZ #13895]
11545 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
11546 extra indirection.
11547 * nss/Makefile (tests-static, tests): Add tst-nss-static.
11548 * nss/tst-nss-static.c: New.
11549
4dad7bab
RM
115502012-04-06 Robert Millan <rmh@gnu.org>
11551
11552 [BZ #6486]
11553 * manual/llio.texi (File Position Primitive): lseek
11554 refers to WHENCE when it really means OFFSET.
11555
e9142a17
AJ
115562012-04-06 Andreas Jaeger <aj@suse.de>
11557
2c040eff
AJ
11558 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
11559 strncmp declarations.
11560
e9142a17
AJ
11561 * abilist/libc.abilist: Add __poll and __ppoll.
11562
ff9f1c5f
DM
115632012-04-05 David S. Miller <davem@davemloft.net>
11564
dcd2ae90
DM
11565 * scripts/check-local-headers.sh: Accept a host triplet in the
11566 path matched by the exclude regexp.
11567
993eb054
DM
11568 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
11569 definition.
11570 * sysdeps/powerpc/powerpc32/dl-machine.h
11571 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
11572 * sysdeps/s390/s390-32/dl-machine.h
11573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11574 * sysdeps/sparc/sparc32/dl-machine.h
11575 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11576 * sysdeps/sparc/sparc64/dl-machine.h
11577 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
11578
ff9f1c5f
DM
11579 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
11580 lazy binding.
48e2e132 11581 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
11582 undefined symbol errors.
11583
48e2e132 11584 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
11585 DT_NEEDED entries.
11586
e80d6f94
MM
115872012-04-05 Michael Matz <matz@suse.de>
11588
11589 [BZ #13592]
11590 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
11591
349fa79f
AJ
115922012-04-05 Andreas Jaeger <aj@suse.de>
11593
11594 [BZ #13908]
11595 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
11596 comment.
11597
f402708f
KK
115982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11599
11600 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
11601 which ROUND is no valid rounding mode.
11602
2ecccfc9
KK
116032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11604
11605 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
11606 read again.
11607 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11608
8a53f50f
KK
116092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11610
11611 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
11612 an exception using FPU order intentionally.
11613
116142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11615
11616 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
11617 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
11618 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
11619 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
11620
d653abb7
SJ
116212012-04-05 Simon Josefsson <simon@josefsson.org>
11622
11623 [BZ #12340]
11624 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
11625 EINVAL when BUFLEN is too smal.
11626
c3b1bf7d
TS
116272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
11628
11629 [BZ #13553]
11630 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
11631 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
11632
b1aa60f3
AJ
116332012-04-03 Andreas Jaeger <aj@suse.de>
11634
c3b1bf7d 11635 [BZ #13938]
67f60a26
AJ
11636 * manual/setjmp.texi (System V contexts): Fix sentence.
11637
b1aa60f3
AJ
11638 [BZ #13926]
11639 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
11640 New macro for this case.
11641 [!__GNUC__] (__bswap_64): New inline function for this case.
11642 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11643 * bits/byteswap.h: Likewise.
11644 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
11645 ull, guard with __GLIBC_HAVE_LONG_LONG.
11646
11647 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
11648 __GLIBC_HAVE_LONG_LONG.
11649
11650 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
11651 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
11652
39c59c35
TMQMF
116532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11654
11655 [BZ #13691]
11656 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
11657 inptr and inend, rather than using last_ch.
11658
135ffda8
DM
116592012-04-02 David S. Miller <davem@davemloft.net>
11660
11661 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
11662 * stdio-common/printf-parse.h (read_int): Change return type to
11663 'int', return -1 on INT_MAX overflow.
11664 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
11665 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
11666 overflows INT_MAX. Check for overflow of in-format-string precision
11667 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
11668 SIZE_MAX not INT_MAX for integer overflow test.
11669 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
11670 skip the construct in the format string but do not record anything.
11671 * stdio-common/bug22.c: Adjust to test both width/prevision
11672 INT_MAX overflow as well as total length INT_MAX overflow. Check
11673 explicitly for proper errno values.
11674
228c019e
TS
116752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
11676
302cadd3
TS
11677 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
11678 CHAR_MAX.
11679 * string/test-strcmp.c [! WIDE]: Likewise.
11680 * time/tst-mktime2.c: Likewise for INT_MAX.
11681 * string/test-string.h: #include <sys/param.h> for MIN.
11682
228c019e
TS
11683 * csu/init-first.c (__libc_init_first): Call __ctype_init.
11684 * sysdeps/i386/init-first.c (init): Likewise.
11685 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
11686 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
11687 * sysdeps/sh/init-first.c (init): Likewise.
11688
cfa633f5
UD
116892012-04-01 Ulrich Drepper <drepper@gmail.com>
11690
11691 * po/ru.po: Update from translation team.
d1635ef8 11692 * po/vi.po: Likewise.
cfa633f5 11693
6cd0a5ea
SP
116942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11695
11696 * resolv/nss_dns/dns-host.c: Merge copyright years.
11697
4b43400f
LD
116982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11699
11700 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11701 Optimize memcpy with prefetch if
11702 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
11703 src, dst pointers have unequal 16 byte alignments.
11704
48c41d04
SP
117052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11706
11707 [BZ #13928]
11708 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
11709 from a CNAME entry and return the minimum ttl for the query.
11710 (gaih_getanswer_slice): Likewise.
11711
b8dc394d
JL
117122012-03-30 Jeff Law <law@redhat.com>
11713
11714 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
11715 due to long keys.
11716 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11717 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11718
2f5a5ed0
JL
11719 * resolv/nss_dns/dns-host.c: Update copyright year.
11720
1d39e359
UD
117212012-03-30 Ulrich Drepper <drepper@gmail.com>
11722
c030f70c 11723 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 11724 requests to save a system call. Fix check that all bytes are sent.
c030f70c 11725
1d39e359
UD
11726 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
11727 comments for sendmmsg.
11728
117292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
11730
11731 [BZ #13691]
11732 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
11733 with only 1 character between 0x0041 and 0x01b0.
11734 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
11735 * wcsmbs/tst-mbsnrtowcs.c: New file.
11736
20fde227
DM
117372012-03-29 David S. Miller <davem@davemloft.net>
11738
11739 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
11740 small copies by hand.
11741
984a4237
JL
117422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11743
11744 [BZ #13761]
11745 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
11746 _nss_compat_initgroups_dyn): Fall back to malloc/free
11747 for large group memberships.
11748
18c9d62b
DM
117492012-03-28 David S. Miller <davem@davemloft.net>
11750
88d85d4f
DM
11751 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
11752 that branches into memcpy.
11753 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11754 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11755 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11756 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
11758 bits.
11759 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
11760 implementation too.
11761 * sysdeps/sparc/mempcpy.S: New file.
11762
e5aa83e1
DM
11763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
11764 the IFUNC routine in the libc case.
11765 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11766
88570753
DM
11767 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
11768 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
11769 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
11770 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
11771 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
11772 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
11773 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
11774 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
11775
249d7567
DM
11776 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
11777 loop to 256 bytes instead of 64 bytes and fix test signedness.
11778
18c9d62b
DM
11779 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
11780 * sysdeps/sparc/sparc32/Makefile: rather than here...
11781 * sysdeps/sparc/sparc64/Makefile: and here.
11782
05f3d1f6
UD
117832012-03-28 Ulrich Drepper <drepper@gmail.com>
11784
11785 * malloc/mallocbug.c: Avoid warnings about unused variables.
11786
86ae07a8
JL
117872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11788
11789 [BZ #13760]
11790 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
11791 in the right place. Discard and retry query if response is
11792 larger than input buffer size.
11793
41bf21a1
JM
117942012-03-28 Joseph Myers <joseph@codesourcery.com>
11795
d6270972
JM
11796 [BZ #369]
11797 [BZ #2678]
11798 [BZ #3866]
11799 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
11800 x for large integer exponent.
11801 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11802 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
11803 sign of result as needed afterwards.
11804 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11805 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
11806 result for underflowing pow the same as for overflow.
11807 (__kernel_standard_l): Handle powl overflow and underflow here
11808 rather than calling __kernel_standard.
11809 * math/libm-test.inc (pow_test): Add more tests.
11810
414fca03 11811 [BZ #3868]
41bf21a1
JM
11812 [BZ #13879]
11813 [BZ #13910]
11814 [BZ #13911]
11815 [BZ #13912]
11816 [BZ #13913]
11817 [BZ #13915]
11818 [BZ #13916]
11819 [BZ #13917]
11820 [BZ #13918]
11821 [BZ #13919]
11822 [BZ #13920]
11823 [BZ #13921]
11824 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
11825 * sysdeps/ieee754/k_standard.c: Include <float.h>.
11826 (__kernel_standard_l): New function.
11827 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
11828 __kernel_standard.
11829 * math/w_acosl.c (__acosl): Likewise.
11830 * math/w_asinl.c (__asinl): Likewise.
11831 * math/w_atan2l.c (__atan2l): Likewise.
11832 * math/w_atanhl.c (__atanhl): Likewise.
11833 * math/w_coshl.c (__coshl): Likewise.
11834 * math/w_exp10l.c (__exp10l): Likewise.
11835 * math/w_exp2l.c (__exp2l): Likewise.
11836 * math/w_fmodl.c (__fmodl): Likewise.
11837 * math/w_hypotl.c (__hypotl): Likewise.
11838 * math/w_j0l.c (__j0l, __y0l): Likewise.
11839 * math/w_j1l.c (__j1l, __y1l): Likewise.
11840 * math/w_jnl.c (__jnl, __ynl): Likewise.
11841 * math/w_lgammal.c (__lgammal): Likewise.
11842 * math/w_log10l.c (__log10l): Likewise.
11843 * math/w_log2l.c (__log2l): Likewise.
11844 * math/w_logl.c (__logl): Likewise.
11845 * math/w_powl.c (__powl): Likewise.
11846 * math/w_remainderl.c (__remainderl): Likewise.
11847 * math/w_scalbl.c (sysv_scalbl): Likewise.
11848 * math/w_sinhl.c (__sinhl): Likewise.
11849 * math/w_sqrtl.c (__sqrtl): Likewise.
11850 * math/w_tgammal.c (__tgammal): Likewise.
11851 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
11852 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
11853 * math/libm-test.inc (acos_test): Add more tests.
11854 (acosh_test): Likewise.
11855 (asin_test): Likewise.
11856 (atanh_test): Likewise.
11857 (exp_test): Likewise.
11858 (exp10_test): Likewise.
11859 (exp2_test): Likewise.
11860 (expm1_test): Likewise.
11861 (lgamma_test): Likewise.
11862 (log_test): Likewise.
11863 (log10_test): Likewise.
11864 (log1p_test): Likewise.
11865 (log2_test): Likewise.
11866 (pow_test): Do not allow some spurious overflow exceptions.
11867 (sqrt_test): Add more tests.
11868 (tgamma_test): Likewise.
11869 (y0_test): Likewise.
11870 (y1_test): Likewise.
11871 (yn_test): Likewise.
11872
dd62fda6
AB
118732012-03-27 Anton Blanchard <anton@samba.org>
11874
11875 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
11876 MAP_HUGETLB.
11877 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11878 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11879 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11880
1e3cdfda
AJ
118812012-03-27 David S. Miller <davem@davemloft.net>
11882
b855ab85
DM
11883 * conform/Makefile: Run run-conformtest.sh using $(BASH).
11884
1e3cdfda
AJ
11885 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
11886 have-as-vis3 check.
11887
118882012-03-27 Andreas Jaeger <aj@suse.de>
11889
11890 * sysdeps/x86_64/elf/configure.in: Moved to ...
11891 * sysdeps/x86_64/configure.in: ... here.
11892 * sysdeps/x86_64/elf/start.S: Moved to ...
11893 * sysdeps/x86_64/start.S: ... here.
11894 * sysdeps/x86_64/elf/configure: Delete.
11895
11896 * sysdeps/x86_64/configure.in: Merge contents from
11897 sysdeps/i386/configure.in (without i686 check).
11898
11899 * sysdeps/i386/elf/Versions: Merge into ...
11900 * sysdeps/i386/Versions: ... this.
11901 * sysdeps/i386/elf/Versions: Delete file.
11902 * sysdeps/i386/elf/start.S: Moved to ...
11903 * sysdeps/i386/start.S: ...here.
11904 * sysdeps/i386/elf/configure.in: Merge into...
11905 * sysdeps/i386/configure.in: ...here.
11906 * sysdeps/i386/elf/configure.in: Delete file.
11907 * sysdeps/i386/elf/configure: Delete file.
11908
11909 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
11910 * debug/backtracesyms.c: ... here.
11911 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
11912 * debug/backtracesymsfd.c: ... here.
11913 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
11914 * sysdeps/generic/ifunc-sel.h: ... here.
11915
11916 * sysdeps/unix/i386/start.c: Delete file.
11917 * sysdeps/unix/sparc/start.c: Delete file.
11918 * sysdeps/unix/start.c: Delete file.
11919
11920 * sysdeps/sh/elf/configure.in: Moved to ...
11921 * sysdeps/sh/configure.in: ... here.
11922 * sysdeps/sh/elf/start.S: Moved to ...
11923 * sysdeps/sh/start.S: ... here.
11924 * sysdeps/sh/elf/configure: Delete file.
11925
11926 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
11927 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
11928 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
11929 * sysdeps/powerpc/powerpc64/entry.h: ... here.
11930 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
11931 * sysdeps/powerpc/powerpc64/start.S: here.
11932 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
11933 * sysdeps/powerpc/powerpc64/Makefile: ... this.
11934 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
11935 * sysdeps/powerpc/powerpc64/configure.in: ... this.
11936 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
11937
11938 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
11939 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
11940 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
11941 * sysdeps/powerpc/powerpc32/start.S: ... here.
11942 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
11943 * sysdeps/powerpc/powerpc32/configure.in: ... this.
11944 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
11945
11946 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
11947 * sysdeps/powerpc/ifunc-sel.h: ... here.
11948 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
11949 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
11950
11951 * sysdeps/sparc/elf/configure.in: Moved to ...
11952 * sysdeps/sparc/configure.in: ... here.
11953 * sysdeps/sparc/elf/configure: Delete file.
11954 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
11955 * sysdeps/sparc/sparc32/start.S: ... here.
11956 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
11957 * sysdeps/sparc/sparc64/start.S: ... here.
11958 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
11959 * sysdeps/sparc/sparc32/Makefile: ... this.
11960 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
11961 * sysdeps/sparc/sparc64/Makefile: ... this.
11962
11963 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
11964 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
11965 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
11966 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
11967 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
11968 * sysdeps/s390/s390-32/setjmp.S: ... here.
11969 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
11970 * sysdeps/s390/s390-32/configure.in: ... here.
11971 * sysdeps/s390/s390-32/elf/configure: Delete file.
11972 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
11973 * sysdeps/s390/s390-32/start.S: ... here.
11974
11975 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
11976 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
11977 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
11978 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
11979 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
11980 * sysdeps/s390/s390-64/setjmp.S: ... here.
11981 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
11982 * sysdeps/s390/s390-64/configure.in: ... here
11983 * sysdeps/s390/s390-64/elf/configure: Delete file.
11984 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
11985 * sysdeps/s390/s390-64/start.S: ... here.
11986 * sysdeps/s390/s390-64/elf/configure: Delete.
11987
11988 * configure.in: Remove support for elf directories in sysdeps.
11989
11990 * configure: Regenerated.
11991 * sysdeps/i386/configure: Regenerated.
11992 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11993 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11994 * sysdeps/s390/s390-32/configure: Regenerated.
11995 * sysdeps/s390/s390-64/configure: Regenerated.
11996 * sysdeps/sh/configure: Regenerated.
11997 * sysdeps/sparc/configure: Regenerated.
11998 * sysdeps/x86_64/configure: Regenerated.
11999
a3f61311
AS
120002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12001
c876e002
AS
12002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12003
a3f61311
AS
12004 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12005 denormal result into account.
12006
ac4c54f0
RM
120072012-03-25 Roland McGrath <roland@hack.frob.com>
12008
12009 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12010 Reported by Allan McRae <allan@archlinux.org>.
12011
6a9b9c02
JL
120122012-03-23 Jeff Law <law@redhat.com>
12013
12014 * nss/getnssent.c (__nss_getent): Fix typo.
12015
4c42a0c1
DM
120162012-03-23 David S. Miller <davem@davemloft.net>
12017
12018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12019
1532c7ac
L
120202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12021
12022 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12023 to pad to uint64_t for each field.
12024 (dl_tls_index): Replace unsigned long with uint64_t.
12025
3ff42526
PP
120262012-03-23 Daniel Jacobowitz <dmj@google.com>
12027 Paul Pluzhnikov <ppluzhnikov@google.com>
12028
12029 [BZ #6528]
12030 * grp/Makefile (otherlibs): Don't set it.
12031 * inet/Makefile (otherlibs): Likewise.
12032 * login/Makefile (otherlibs): Likewise.
12033 * nscd/Makefile (otherlibs): Likewise.
12034 * posix/Makefile (otherlibs): Likewise.
12035 * pwd/Makefile (otherlibs): Likewise.
12036 * rt/Makefile (otherlibs): Likewise.
12037 * sunrpc/Makefile (otherlibs): Likewise.
12038 * nss/Makefile (otherlibs): Likewise.
12039 Add libnss_files to routines and static-only-routines.
12040 ($(objpfx)getent): Remove rule.
12041 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12042 static-only-routines.
12043
7c69cd14
JM
120442012-03-22 Joseph Myers <joseph@codesourcery.com>
12045
12046 [BZ #13892]
12047 * math/s_cexp.c: Include <float.h>.
12048 (__cexp): Handle exp result overflowing not necessarily
12049 overflowing both real and imaginary parts of result.
12050 * math/s_cexpf.c: Likewise.
12051 * math/s_cexpl.c: Likewise.
12052 * math/libm-test.inc (cexp_test): Add more tests.
12053 * sysdeps/i386/fpu/libm-test-ulps: Update.
12054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12055
81b035fe
L
120562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12057
12058 * include/link.h (ELFW): New macro.
12059 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12060 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12061
1da7940c
L
120622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12063
12064 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12065 with uint64_t.
12066
b749dbb9
L
120672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12068
12069 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12070 declaration.
12071 (struct La_x32_retval): Likewise.
12072
2ff87f3f
L
120732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12074
12075 * sysdeps/x86_64/preconfigure.in: New file.
12076 * sysdeps/x86_64/preconfigure: New generated file.
12077
c0df8e69
JM
120782012-03-22 Joseph Myers <joseph@codesourcery.com>
12079
48e44791
JM
12080 [BZ #13824]
12081 * math/e_exp2l.c: Include <float.h>.
12082 (__ieee754_exp2l): Handle overflow and underflow cases
12083 separately. Only pass fractional part of argument to
12084 __ieee754_expl.
12085 * math/libm-test.inc (exp2_test): Add more tests.
12086
c0df8e69
JM
12087 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12088 negating x to take absolute value.
12089 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12090 Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12092 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12093 Likewise.
12094 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12095 computing low part if x was negated.
12096 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12097
c8e43ba7
L
120982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12099
12100 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12101 la_x32_gnu_pltexit.
12102 (pltexit): Cast int_retval to ptrdiff_t.
12103 * elf/tst-auditmod3b.c: Likewise.
12104 * elf/tst-auditmod4b.c: Likewise.
12105 * elf/tst-auditmod5b.c: Likewise.
12106 * elf/tst-auditmod6b.c: Likewise.
12107 * elf/tst-auditmod6c.c: Likewise.
12108 * elf/tst-auditmod7b.c: Likewise.
12109
12110 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12111 and x32_gnu_pltexit.
12112
12113 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12114 __ELF_NATIVE_CLASS.
12115 (La_x32_regs): New macro.
12116 (La_x32_retval): Likewise.
12117 (la_x32_gnu_pltenter): New function prototype.
12118 (la_x32_gnu_pltexit): Likewise.
12119
7998fa78
AS
121202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12121
dcb33988
AS
12122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12123 exponent.
12124
233fc563
AS
12125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12126
7998fa78
AS
12127 * configure.in (libc_cv_cc_nofma): Check for option to disable
12128 generation of FMA instructions.
12129 * configure: Regenerate.
12130 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12131 * sysdeps/ieee754/dbl-64/Makefile: New file.
12132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12133 Remove brandred-fma4.
12134 (CFLAGS-brandred-fma4.c): Remove.
12135 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12136 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12137 define.
12138 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12139 define.
12140
8e95c99a
L
121412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12142
12143 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12144 LLONG_MAX != LONG_MAX.
12145 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12146 (_fitoa_word): Likewise.
12147 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12148 LLONG_MAX != LONG_MAX.
12149 * stdio-common/_itowa.h: Include <_itoa.h>.
12150 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12151 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12152 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12153 only if not defined.
12154 (_ITOA_WORD_TYPE): Likewise.
12155 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12156 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12157
6f4db457
DM
121582012-03-21 David S. Miller <davem@davemloft.net>
12159
12160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12161
7785fe5a
L
121622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12163
12164 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12165 of x86_64 when setting libc_cv_slibdir, libdir and
12166 libc_cv_localedir.
12167 * sysdeps/unix/sysv/linux/configure: Regenerated.
12168
4535cd55
JM
121692012-03-21 Joseph Myers <joseph@codesourcery.com>
12170
12171 * manual/lang.texi (Old Varargs): Remove section.
12172 (How Variadic): Update menu.
12173 (va_start): Do not mention varargs.h.
12174
17228132
TS
121752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12176 Joseph Myers <joseph@codesourcery.com>
12177
12178 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12179 link test.
12180 * configure: Regenerated.
12181
8149f976
TS
121822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12183
05f3d1f6
UD
12184 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12185 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12186 conformtest.pl
8149f976 12187
1a4ac776
JM
121882012-03-21 Joseph Myers <joseph@codesourcery.com>
12189
be22ce65
JM
12190 * NOTES: Remove.
12191 * Makefile (files-for-dist): Remove NOTES.
12192 (NOTES): Remove rule.
12193 * README: Don't refer to NOTES.
12194 * manual/creature.texi: Don't include macros.texi.
12195 * manual/intro.texi (creature.texi): Remove comment referring to
12196 NOTES.
12197
40b601fb
JM
12198 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12199 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12200 * configure: Regenerated.
12201 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12202 LIBC_TRY_CC_OPTION.
12203 (libc_cv_as_i686): Likewise.
12204 (libc_cv_cc_avx): Likewise.
12205 (libc_cv_cc_sse2avx): Likewise.
12206 (libc_cv_cc_fma4): Likewise.
12207 (libc_cv_cc_novzeroupper): Likewise.
12208 * sysdeps/i386/configure: Regenerated.
12209
1a4ac776
JM
12210 [BZ #13883]
12211 * sysdeps/i386/fpu/s_cexp.S: Remove.
12212 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12213 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12214 * math/libm-test.inc (cexp_test): Add more tests.
12215 * sysdeps/i386/fpu/libm-test-ulps: Update.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217
a458e7fe
AM
122182012-03-21 Allan McRae <allan@archlinux.org>
12219
12220 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12221
0cb7efc5
JM
122222012-03-21 Joseph Myers <joseph@codesourcery.com>
12223
12224 [BZ #13871]
12225 * math/w_exp2.c: Do not include <float.h>.
12226 (o_threshold, u_threshold): Remove.
12227 (__exp2): Calculate result before checking finiteness and calling
12228 __kernel_standard.
12229 * math/w_exp2f.c: Likewise.
12230 * math/w_exp2l.c: Likewise.
12231 * math/libm-test.inc (exp2_test): Require overflow exception for
12232 1e6 input.
2460d3aa
JM
12233
12234 [BZ #3866]
12235 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12236 range of signed 64-bit integers before using fistpll. Remove
12237 checks for whether integers fit in mantissa bits.
12238 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12239 the range of signed 32-bit integers before using fistpl. Remove
12240 checks for whether integers fit in mantissa bits.
12241 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12242 (__ieee754_powl): Test for y outside the range of signed 64-bit
12243 integers before using fistpll. Reduce 64-bit values to 63-bit
12244 ones as needed.
12245 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12246 divide-by-zero is raised for zero to large negative powers.
12247 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12248 (__ieee754_powl): Test for y outside the range of signed 64-bit
12249 integers before using fistpll. Reduce 64-bit values to 63-bit
12250 ones as needed.
12251 * math/libm-test.inc (pow_test): Add more tests.
12252
eb96ffb0
L
122532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12254
12255 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12256 <stdio-common/_itoa.h>.
12257 * debug/segfault.c: Likewise.
12258 * elf/dl-cache.c: Likewise.
12259 * elf/dl-minimal.c: Likewise.
12260 * elf/dl-misc.c: Likewise.
12261 * elf/dl-sysdep.c: Likewise.
12262 * elf/dl-version.c: Likewise.
12263 * elf/rtld.c: Likewise.
12264 * hurd/hurdsock.c: Likewise.
12265 * hurd/lookup-retry.c: Likewise.
12266 * malloc/malloc.c: Likewise.
12267 * malloc/mtrace.c: Likewise.
12268 * nscd/nscd_getgr_r.c: Likewise.
12269 * nscd/nscd_getpw_r.c: Likewise.
12270 * nscd/nscd_getserv_r.c: Likewise.
12271 * posix/getopt_init.c: Likewise.
12272 * posix/wordexp.c: Likewise.
12273 * stdio-common/_itoa.c: Likewise.
12274 * stdio-common/printf_fphex.c: Likewise.
12275 * stdio-common/vfprintf.c: Likewise.
12276 * string/_strerror.c: Likewise.
12277 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12278 * sysdeps/i386/i686/hp-timing.h: Likewise.
12279 * sysdeps/mach/_strerror.c: Likewise.
12280 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12281 * sysdeps/mach/hurd/sethostid.c: Likewise.
12282 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12283 * sysdeps/mach/xpg-strerror.c: Likewise.
12284 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12285 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12286 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12287 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12288 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12289 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12290 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12291 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12292 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12293 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12294 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12296 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12297 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12298 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12299 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12300 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12301 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12302 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12303 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12304 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12305
12306 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12307
12308 * stdio-common/_itoa.h: Moved to ...
12309 * sysdeps/generic/_itoa.h: Here.
12310
12311 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12312
12313 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12314 instead of "_itoa.h" and "_itowa.h".
12315 * stdio-common/vfprintf.: Likewise.
12316
d1af992d
L
123172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12320 <bits/wordsize.h>.
12321 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12322 (__signbit): Likwise.
12323 (llrintf): Likwise.
12324 (llrint): Likwise.
12325
114883e0
L
123262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12327
12328 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12329 __WORDSIZE != 64.
12330
c135cc1b
JM
123312012-03-20 Joseph Myers <joseph@codesourcery.com>
12332
12333 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12334 OVERFLOW_EXCEPTION_OK.
12335 * math/libm-test.inc ("Philosophy"): Update comment about
12336 exception testing.
12337 (OVERFLOW_EXCEPTION): Define.
12338 (OVERFLOW_EXCEPTION_OK): Likewise.
12339 (INVALID_EXCEPTION_OK): Renumber.
12340 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12341 (IGNORE_ZERO_INF_SIGN): Likewise.
12342 (test_exceptions): Handle FE_OVERFLOW.
12343 (exp10_test): Expect overflow exceptions.
12344 (exp2_test): Likewise.
12345 (expm1_test): Likewise.
12346 (nextafter_test): Likewise.
12347 (pow_test): Likewise.
12348 (scalbn_test): Likewise.
12349 (scalbln_test): Likewise.
12350
95443d88
L
123512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12352
12353 * sysdeps/x86_64/bits/atomic.h
12354 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12355 64bit integer.
12356 (atomic_exchange_acq): Likewise.
12357 (__arch_exchange_and_add_body): Likewise.
12358 (__arch_add_body): Likewise.
12359 (atomic_add_negative): Likewise.
12360 (atomic_add_zero): Likewise.
12361
490df6c4
L
123622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12363
c2722551 12364 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
12365 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12366
5e52b189
L
123672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12368
12369 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12370 Check __x86_64__ instead of __WORDSIZE.
12371
a9879d4c
L
123722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12373
12374 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12375
5df98260
DM
123762012-03-19 David S. Miller <davem@davemloft.net>
12377
e1497744
DM
12378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12379
5df98260
DM
12380 * sysdeps/sparc/fpu/fenv_private.h: New file.
12381 * sysdeps/sparc/fpu/math_private.h: Use it.
12382 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12383 Remove.
12384 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12385 (libc_feholdexcept_setroundl): Remove.
12386 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12387 Remove.
12388 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12389 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12390
b4c35121
L
123912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12392
12393 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12394 int64_t instead of long int.
12395 (INSERT_WORDS64): Likwise.
12396
56965fd7
L
123972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12398
12399 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12400 _Unwind_GetCFA return to _Unwind_Ptr first.
12401
83d1aec8
JM
124022012-03-19 Joseph Myers <joseph@codesourcery.com>
12403
1897ad44
JM
12404 [BZ #13629]
12405 * math/s_clog.c: Include <float.h>.
12406 (__clog): Scale large or subnormal inputs.
12407 * math/s_clogf.c: Likewise.
12408 * math/s_clogl.c: Likewise.
12409 * math/s_clog10.c: Include <float.h>.
12410 (M_LOG10_2): Define.
12411 (__clog10): Scale large or subnormal inputs.
12412 * math/s_clog10f.c: Likewise.
12413 * math/s_clog10l.c: Likewise.
12414 * math/libm-test.inc (clog_test): Add more tests.
12415 (clog10_test): Likewise.
12416 * sysdeps/i386/fpu/libm-test-ulps: Update.
12417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12418
7726d6a9
JM
12419 [BZ #11451]
12420 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12421 x and y.
12422 * math/libm-test.inc (atan2_test): Add another test.
12423
83d1aec8
JM
12424 * Makerules (common-objdir-compile): Remove.
12425 * sysdeps/unix/Makefile (config-generated): Do not add
12426 $(unix-generated) to variable.
12427 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12428 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12429 Remove rule.
12430 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12431 Likewise.
12432 [generic bits/local_lim.h] (before-compile): Do not append to
12433 variable.
12434 [generic bits/local_lim.h] (common-generated): Likewise.
12435 [generic sys/param.h] (before-compile): Do not append to variable.
12436 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12437 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12438 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12439 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12440 include.
12441 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12442 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12443 [generic sys/param.h] ($(addprefix
12444 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12445 [generic sys/param.h] (common-generated): Do not append to
12446 variable.
12447 [generic sys/param.h] (sysdep_headers): Likewise.
12448 [generic bits/errno.h] (before-compile): Do not append to
12449 variable.
12450 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12451 rule.
12452 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12453 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12454 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12455 [generic bits/errno.h] (common-generated): Do not append to
12456 variable.
12457 [generic bits/ioctls.h] (before-compile): Do not append to
12458 variable.
12459 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12460 rule.
12461 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12462 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12463 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12464 rule.
12465 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12466 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
12467 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
12468 [generic bits/ioctls.h] (common-generated): Do not append to
12469 variable.
12470 [generic sys/syscall.h] (syscall.h): Remove variable.
12471 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
12472 rule.
12473 [generic sys/syscall.h] (before-compile): Do not append to
12474 variable.
12475 [generic sys/syscall.h] (common-generated): Likewise.
12476 * sysdeps/unix/errnos-tmpl.c: Remove file.
12477 * sysdeps/unix/errnos.awk: Likewise.
12478 * sysdeps/unix/ioctls-tmpl.c: Likewise.
12479 * sysdeps/unix/ioctls.awk: Likewise.
12480 * sysdeps/unix/mk-local_lim.c: Likewise.
12481 * sysdeps/unix/snarf-ioctls: Likewise.
12482
4851a949
RH
124832012-03-19 Richard Henderson <rth@twiddle.net>
12484
bd37f2ee
RH
12485 * sysdeps/i386/fpu/fenv_private.h: New file.
12486 * sysdeps/i386/fpu/math_private.h: Use it.
12487 (math_opt_barrier, math_force_eval): Remove.
12488 (libc_feholdexcept_setround_53bit): Remove.
12489 (libc_feupdateenv_53bit): Remove.
12490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
12491 (math_opt_barrier, math_force_eval): Remove.
12492 (libc_feholdexcept): Remove.
12493 (libc_feholdexcept_setround): Remove.
12494 (libc_fetestexcept, libc_fesetenv): Remove.
12495 (libc_feupdateenv_test): Remove.
12496 (libc_feupdateenv, libc_feholdsetround): Remove.
12497 (libc_feresetround): Remove.
12498
d0adc922
RH
12499 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
12500 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
12501
0fe0f1f8
RH
12502 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
12503 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
12504 (libc_feupdateenv_testl): New.
12505 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
12506 (libc_feupdateenv_testf): New.
12507 (libc_feupdateenv): Use libc_feupdateenv_test.
12508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
12509 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12510
eb92c487
RH
12511 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
12512 (libc_feholdsetroundf, libc_feholdsetroundl): New.
12513 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
12514 (libc_feresetround_noex): New.
12515 (libc_feresetround_noexf): New.
12516 (libc_feresetround_noexl): New.
12517 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
12518 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
12519 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12520 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
12521 SET_RESTORE_ROUND.
12522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
12524 (__cos): Likewise.
12525 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
12526 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12527 SET_RESTORE_ROUND_NOEX.
12528 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
12529 SET_RESTORE_ROUND_NOEXF.
12530 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
12531 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
12532 (libc_feholdsetroundf): New.
12533 (libc_feresetround, libc_feresetroundf): New.
12534
7d2e8012
RH
12535 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
12536 (libc_feholdexcept_setround_53bit): Convert from macro to function.
12537 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
12538
b4dabbb4
RH
12539 * sysdeps/generic/math_private.h: Include <fenv.h>.
12540 (default_libc_feholdexcept): New.
12541 (default_libc_feholdexcept_setround): New.
12542 (default_libc_fesetenv, default_libc_feupdateenv): New.
12543 (libc_feholdexcept): Only define if undefined.
12544 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
12545 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
12546 (libc_feholdexcept_setroundl): Likewise.
12547 (libc_feholdexcept_setround_53bit): Likewise.
12548 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
12549 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
12550 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
12551 (libc_feupdateenv_53bit): Likewise.
12552 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
12553 (libc_feholdexcept): Convert from macro to inline function.
12554 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
12555 (libc_fesetenv, libc_feupdateenv): Likewise.
12556
4851a949
RH
12557 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
12558 not previously defined.
12559 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
12560 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
12561 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
12562 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
12563 * sysdeps/ieee754/flt-32/math_private.h: New file.
12564 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
12565 math_private.h below SET_FLOAT_WORD.
12566 (__isnan, __isinf_ns, __finite): Remove.
12567 (__isnanf, __isinf_nsf, __finitef): Remove.
12568
e79d442e
AS
125692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
12570
12571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12572
90b80344
DM
125732012-03-17 David S. Miller <davem@davemloft.net>
12574
12575 [BZ #6471]
12576 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
12577 for 2.16.
12578
edc21804
DM
125792012-03-16 David S. Miller <davem@davemloft.net>
12580
77e927af
DM
12581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
12582 warnings.
12583
374976dd
DM
12584 [BZ #6471]
12585 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
12586 properly.
12587 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
12588 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
12589 sysdep_routines when subdir is sysvipc.
12590 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
12591 __getshmlba helper.
12592
edc21804
DM
12593 * sysdeps/sparc/fpu/libm-test/ulps: Update.
12594
473c3ef3
L
125952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
12598 [__LP64__].
12599
eb0f39b6
L
126002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12601
12602 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
12603 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
12604 (__lround): Renamed to ...
12605 (__llround): This. Replace long int with long long int.
12606 Define lround functions as aliases of llround functions.
12607 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
12608
6b6cd74b
L
126092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12610
12611 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
12612 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
12613 adresses to uintptr_t. Replace "long int" and "unsigned long
12614 int" with "greg_t" on va_arg.
12615
f1a77b01
L
126162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12617
12618 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
12619 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
12620
12621 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
12622 Move e_machine check before EI_CLASS check. Handle x32
12623 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
12624 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
12625 SKIP_EM_IA_64 and include
12626 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
12627
12628 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
12629 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
12630 (add_system_dir): New macro.
12631
12632 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
12633 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
12634
11b90b9f
JM
126352012-03-16 Joseph Myers <joseph@codesourcery.com>
12636
c36e1d23
JM
12637 [BZ #2551]
12638 [BZ #2552]
12639 [BZ #2553]
12640 [BZ #2554]
12641 [BZ #2562]
12642 [BZ #2563]
12643 [BZ #2565]
12644 [BZ #2566]
12645 [BZ #2576]
12646 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
12647 (y0): Likewise.
12648 * math/w_j0f.c (j0f): Likewise.
12649 (y0f): Likewise.
12650 * math/w_j0l.c (__j0l): Likewise.
12651 (__y0l): Likewise.
12652 * math/w_j1.c (j1): Likewise.
12653 (y1): Likewise.
12654 * math/w_j1f.c (j1f): Likewise.
12655 (y1f): Likewise.
12656 * math/w_j1l.c (__j1l): Likewise.
12657 (__y1l): Likewise.
12658 * math/w_jn.c (jn): Likewise.
12659 (yn): Likewise.
12660 * math/w_jnf.c (jnf): Likewise.
12661 (ynf): Likewise.
12662 * math/w_jnl.c (__jnl): Likewise.
12663 (__ynl): Likewise.
12664 * math/libm-test.inc (j0_test): Add more tests.
12665 (j1_test): Likewise.
12666 (jn_test): Likewise. Add trailing semicolon to existing test.
12667 (y0_test): Likewise.
12668 (y1_test): Likewise.
12669 * sysdeps/i386/fpu/libm-test-ulps: Update.
12670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12671
11b90b9f
JM
12672 [BZ #13851]
12673 [BZ #13854]
12674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12675 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
12676 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
12677 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
12678 (__tanl): Set errno for infinite argument.
12679 * sysdeps/i386/fpu/mptan.c: Remove.
12680 * sysdeps/i386/fpu/s_tan.S: Likewise.
12681 * sysdeps/i386/fpu/s_tanl.S: Likewise.
12682 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
12683 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
12684 * math/libm-test.inc (tan_test): Add more tests and enable more
12685 tests for double and long double.
12686 * sysdeps/i386/fpu/libm-test-ulps: Update.
12687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12688
6a1bd2a1
JK
126892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12690
12691 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
12692 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
12693
10a803e0
RM
126942012-03-16 Roland McGrath <roland@hack.frob.com>
12695
12696 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
12697 * configure.in: Use it for both main tree and add-ons.
12698 * configure: Regenerated.
12699
f196c7f7
L
127002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
12703
8848d99d
JM
127042012-03-16 Joseph Myers <joseph@codesourcery.com>
12705
96cbe7f4
JM
12706 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
12707 in comment.
12708
8848d99d
JM
12709 [BZ #13851]
12710 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
12711 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
12712 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
12713 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
12714 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
12715 infinite argument.
12716 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
12717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
12718 != 0 for prec == 2.
12719 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
12720 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
12721 * sysdeps/i386/fpu/s_cosl.S: Likewise.
12722 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
12723 * sysdeps/i386/fpu/s_sinl.S: Likewise.
12724 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
12725 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
12726 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
12727 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
12728 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
12729 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
12730 * math/libm-test.inc (cos_test): Add more tests and enable more
12731 tests for long double.
12732 (sin_test): Likewise.
12733 (sincos_test): Likewise.
12734 * sysdeps/i386/fpu/libm-test-ulps: Update.
12735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12736
dd7f4703
DM
127372012-03-16 David S. Miller <davem@davemloft.net>
12738
12739 * sysdeps/sparc/fpu/math_private.h: New file.
12740
006f1daa
DM
127412012-03-15 David S. Miller <davem@davemloft.net>
12742
c0c83bc8
DM
12743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
12744 file.
e6a62e18 12745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
12746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
12747 file.
e6a62e18
DM
12748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
12749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
12750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
12751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
12752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
12753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
12754 sysdep routines.
12755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12756
88cb87d9
DM
12757 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
12758 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
12759
006f1daa 12760 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
12761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
12762 sparc-ifunc.h
006f1daa 12763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
12764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
12765 Likewise.
12766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
12767 Likewise.
006f1daa
DM
12768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
12769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
12770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
12771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12772 Likewise.
006f1daa
DM
12773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
12775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
12777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
12778 Likewise.
12779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
12780 Likewise.
006f1daa
DM
12781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
12783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
12784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
12785 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12786 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12787 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
12788 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
12789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
12792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
12793 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
12794 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
12795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
12796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
12797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
12798 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
12799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
12800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
12801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
12802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
12803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
12804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
12805
11e0098e
AS
128062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12807
12808 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
12809 scaling.
12810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12811
e85b09d0
AJ
128122012-03-15 Andreas Jaeger <aj@suse.de>
12813
12814 [BZ #13852]
12815 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
12816 ieee754/flt-32 implementation for sin, cos and sincos.
12817 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
12818 * sysdeps/i386/fpu/s_cosf.S: Likewise.
12819 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
12820 * sysdeps/i386/fpu/s_sinf.S: Likewise.
12821 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
12822 ieee754/flt-32 implementation for tan.
12823
12824 * math/libm-test.inc (cos_test): Enable some large input tests for
12825 float as well
12826 (sin_test): Likewise.
12827 (sincos_test): Likewise.
12828 (tan_test): Add tests for large input.
12829
12830 * sysdeps/i386/fpu/libm-test-ulps: Update.
12831
81c64153
AJ
128322012-03-15 Andreas Jaeger <aj@suse.de>
12833
12834 [BZ #13658]
12835 * math/libm-test.inc (cos_test): Add more test cases.
12836 (sin_test): Likewise.
12837 (sincos_test): Likewise.
12838
7bbfa5c6
AJ
128392012-03-15 Andreas Jaeger <aj@suse.de>
12840
12841 [BZ #13837]
12842 * math/libm-test.inc (cos_test): Add a test case for large input
12843 value.
12844 (sin_test): Likewise.
12845 (sincos_test): Likewise.
12846
128472012-03-15 Andreas Jaeger <aj@suse.de>,
12848 Joseph Myers <joseph@codesourcery.com>
12849
12850 [BZ #13658]
0671f479 12851 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
12852 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
12853 * sysdeps/i386/fpu/branred.c: Likewise.
12854 * sysdeps/i386/fpu/dosincos.c: Likewise.
12855 * sysdeps/i386/fpu/mpa.c: Likewise.
12856 * sysdeps/i386/fpu/s_cos.S: Likewise.
12857 * sysdeps/i386/fpu/s_sin.S: Likewise.
12858 * sysdeps/i386/fpu/s_sincos.S: Likewise.
12859 * sysdeps/i386/fpu/sincos32.c: Likewise.
12860
12861 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
12862 Define.
12863 (libc_feupdateenv_53bit): Define.
12864 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
12865 Define.
12866 (libc_feupdateenv_53bit): Define.
12867
12868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
12869 53 bit (without extend i386 double precision).
12870
12871 * math/libm-test.inc (sincos_test): Add tests for large input.
12872 (sin): Likewise.
12873 (cos): Likewise.
12874
12875 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12876
9cad04ea
AS
128772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
12878
12879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12880
f7062b9a
DM
128812012-03-15 David S. Miller <davem@davemloft.net>
12882
12883 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
12884 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
12885 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
12886 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
12887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
12888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
12889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
12890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
12891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
12892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
12893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
12894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
12895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
12896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
12897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
12898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
12899 file.
f7062b9a 12900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
12901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
12902 file.
f7062b9a 12903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
12904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
12905 file.
f7062b9a 12906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
12907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
12908 file.
f7062b9a
DM
12909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
12910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
12911 fmin/fmax sysdep routines.
12912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
12913
7bd951ff
DM
129142012-03-14 David S. Miller <davem@davemloft.net>
12915
559398ab
DM
12916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
12917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
12918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
12919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
12920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
12921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
12922 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
12923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
12924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
12925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
12926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
12927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
12928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
12929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
12930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
12931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
12932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
12933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
12934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
12935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
12936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
12937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
12938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
12939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
12940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
12941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
12942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
12943 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
12945 routines.
12946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
12947 file.
559398ab 12948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
12949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
12950 file.
559398ab 12951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
12952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
12953 file.
559398ab 12954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
12955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
12956 file.
559398ab 12957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
12958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
12959 file.
559398ab 12960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
12961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
12962 file.
12963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
12964 file.
12965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
12966 file.
12967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
12968 file.
12969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
12970 New file.
12971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
12972 file.
12973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
12974 file.
559398ab 12975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
12976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
12977 file.
559398ab 12978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
12979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
12980 file.
559398ab 12981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
12982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
12983 file.
559398ab 12984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
12985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
12986 VIS3 routines.
559398ab
DM
12987
12988 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12989 New file.
12990
5a1c1e32
DM
12991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12992
eae47a36
DM
12993 * sysdeps/sparc/configure.in: New file.
12994 * sysdeps/sparc/configure: Generate.
12995 * configure.in (libc_cv_sparc_as_vis3): Substitute.
12996 * configure: Regenerate.
12997 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
12998 * config.make.in (have-as-vis3): New.
12999 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13000 available use -Av9d instead of -Av9a.
13001 * sysdeps/sparc/sparc64/Makefile: Likewise.
13002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
13003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13004 New file.
13005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13006 file.
13007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13008 New file.
13009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13010 file.
eae47a36
DM
13011 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13016
c0c83bc8
DM
13017 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13018 fzeros/fnegs to load 0x80000000 into a float register instead of
13019 using the stack.
7bd951ff
DM
13020 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13021
bd951ccb
JM
130222012-03-14 Joseph Myers <joseph@codesourcery.com>
13023
13024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13025 bits/syscall.h.
13026 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13027 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13028 ($(inst_includedir)/bits/syscall.h): Remove rule.
13029 ($(objpfx)bits/syscall.d): Include instead of
13030 $(objpfx)syscall-list.d.
13031 (generated): Change syscall-list.h and syscall-list.d to
13032 bits/syscall.h and bits/syscall.d.
13033
bb4e6db2
RM
130342012-03-14 Roland McGrath <roland@hack.frob.com>
13035
13036 [BZ #13846]
13037 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13038
aa4a2ae1
JM
130392012-03-14 Joseph Myers <joseph@codesourcery.com>
13040
e456826d
JM
13041 [BZ #13841]
13042 * math/s_csqrt.c: Include <float.h>.
13043 (__csqrt): Scale large or subnormal inputs.
13044 * math/s_csqrtf.c: Likewise.
13045 * math/s_csqrtl.c: Likewise.
13046 * math/libm-test.inc (csqrt_test): Add more tests.
13047 * sysdeps/i386/fpu/libm-test-ulps: Update.
13048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13049
aa4a2ae1
JM
13050 [BZ #13840]
13051 * math/libm-test.inc (hypot_test): Add more tests.
13052
7c10fd35
DM
130532012-03-13 David S. Miller <davem@davemloft.net>
13054
13055 [BZ #13840]
13056 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13057 double-precision for the calculation instead of scaling.
13058
f453b98b
JM
130592012-03-13 Joseph Myers <joseph@codesourcery.com>
13060
13061 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13062 manipulate bits before adding and subtracting TWO52[sx].
13063 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13065 Likewise.
13066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13067
09a3453f
DM
130682012-03-13 David S. Miller <davem@davemloft.net>
13069
8e59da90
DM
13070 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13071 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13073 rtld-global-offsets.h
13074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13075
2a8ab7f2
DM
13076 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13077 large parameters.
13078
10f62770
DM
13079 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13080
5f0bdb18
DM
13081 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13082 'err' in the ifdef scope in which it is actually used.
13083
09a3453f
DM
13084 * nss/nss_db/db-init.c: Include string.h
13085
b4b2eb5e
DM
130862012-03-12 David S. Miller <davem@davemloft.net>
13087
98bb2f1c
DM
13088 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13089 masking out of the most significant byte of random value used.
13090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13091 Fix coding style in previous change.
13092
b4b2eb5e
DM
13093 * sysdeps/unix/sysv/linux/kernel-features.h
13094 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13095 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13096 expression.
13097 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13098 later.
13099
6e226b09
DM
131002012-03-11 David S. Miller <davem@davemloft.net>
13101
a1bcbd40
DM
13102 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13103 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13104 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13105 for 'resultvar' otherwise things get truncated on 64-bit.
13106
cb9d6174
DM
13107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13108 Fix masking out of the most significant byte of random value used.
13109
6e226b09
DM
13110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13111
058c132d
AS
131122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13113
13114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13115
2d2cd515
DM
131162012-03-09 David S. Miller <davem@davemloft.net>
13117
13118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13119 variables with appropriate CPP guards.
13120 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13121 frame pointer, not the stack pointer. Correct layout comments. Fix test
13122 on resulting framesize and the management of the outregs buffer for pltexit.
13123 Preserve floating point return values across _dl_call_pltexit call.
13124 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13125 framesize and the management of the outregs buffer for pltexit.
13126 Preserve floating point return values across _dl_call_pltexit
13127 call.
13128 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13129 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13130 (print_exit): Fix format string for return register value.
13131
9a07f9d0
JM
131322012-03-10 Joseph Myers <joseph@codesourcery.com>
13133
13134 * sunrpc/Makefile (others): Add rpcgen.
13135 ($(objpfx)rpcgen): Remove special build rule and dependency on
13136 libc.
13137 * sunrpc/rpcgen.c: New file.
13138
547b5e30
PE
131392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13140
c524201a
PE
13141 [BZ #13673]
13142 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13143 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13144 * sysdeps/i386/crti.S: Likewise.
13145 * sysdeps/i386/crtn.S: Likewise.
13146 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13147 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13148 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13149 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13150 * sysdeps/sh/crti.S: Likewise.
13151 * sysdeps/sh/crtn.S: Likewise.
13152 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13153
7b6235f2
PE
13154 [BZ #13673]
13155 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13156 with URL.
13157 * locale/programs/locfile-kw.gperf: Likewise.
13158 * locale/programs/charmap-kw.h: Regenerated.
13159 * locale/programs/locfile-kw.h: Likewise.
13160
547b5e30
PE
13161 [BZ #13673]
13162 * intl/plural.y: Replace FSF snail mail address with URL.
13163 * intl/plural.c: Regenerated.
13164
5f0a5dae
RH
131652012-03-09 Richard Henderson <rth@twiddle.net>
13166
13167 * include/math_private.h: Remove file.
13168 * math/math_private.h: Move file ...
13169 * sysdeps/generic/math_private.h: ... here.
13170
b8c03620
RH
13171 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13172 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13173 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13174
4e234f5d 13175 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
13176 and <math_private.h>.
13177 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13178 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13179 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13180 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13181 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13182 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13183 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13185 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13186 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13187 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13188 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13189 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13191 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13192 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13193 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13194 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13195 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13196 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13198 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13199 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13201 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13202 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13203 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13208 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13209 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13210 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13211 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13212 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13213 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13214 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13215 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13217 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13218 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13219 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13220 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13222 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13223 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13224 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13226 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13227 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13228 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13229 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13230 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13231 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13232 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13234 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13235 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13236 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13237 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13238 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13239 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13240 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13241 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13242 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13243 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13244 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13251 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13264 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13265 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13266 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13267 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13268 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13270 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13271 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13272 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13273 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13274 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13275 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13276 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13277 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13278 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13279 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13280 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13282 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13283 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13284 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13285 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13286 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13287 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13288 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13289 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13290 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13291 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13292 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13294 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13295 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13296 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13297 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13298 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13299 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13300 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13301 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13302 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13303 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13304 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13305 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13306 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13307 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13308 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13309 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13310 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13311 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13312 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13313 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13314 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13315 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13316 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13317 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13318 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13319 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13320 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13321 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13322 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13323 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13324 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13325 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13326 * sysdeps/ieee754/k_standard.c: Likewise.
13327 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13328 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13329 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13330 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13331 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13332 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13333 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13334 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13335 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13336 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13337 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13339 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13340 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13341 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13342 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13343 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13344 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13345 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13346 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13347 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13348 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13350 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13351 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13352 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13353 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13354 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13355 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13356 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13357 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13358 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13359 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13360 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13361 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13362 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13363 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13364 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13365 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13366 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13367 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13368 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13369 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13370 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13371 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13372 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13373 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13375 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13376 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13378 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13379 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13380 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13381 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13382 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13383 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13384 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13388 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13389 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13390 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13391 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13393 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13394 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13397 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13400 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13403 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13404 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13406 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13407 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13417 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13418 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13419 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13420 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13421 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13422 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13423 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13424 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13425 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13426 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13428 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13429 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13431 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13433 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13434 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13435 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13436 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13437 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13438 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13440 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13441 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13443 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13444 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13445 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13446 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13447 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13448 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13449 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13450 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13451 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13452 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13453 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13454 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13455 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13456 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13457 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13458 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13459 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13460 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13461 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13462 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13463 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13464 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13465 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13466 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
13467 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
13468 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13469 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
13470 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
13471 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13472 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13473 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13475 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13476 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
13477 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13479 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13480 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13481 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
13482 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
13483 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13484 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13485 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13486 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13487 * sysdeps/ieee754/s_lib_version.c: Likewise.
13488 * sysdeps/ieee754/s_matherr.c: Likewise.
13489 * sysdeps/ieee754/s_signgam.c: Likewise.
13490 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13491 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13492 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
13493 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
13494 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
13495 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13496 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
13497 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
13498 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
13499 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
13500 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13501 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
13502 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13504 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
13505 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13507 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13508 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13510 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 13511
1991fa03
JM
135122012-03-09 Joseph Myers <joseph@codesourcery.com>
13513
13514 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
13515 * sunrpc/rpc_main.c: Likewise.
13516 * sunrpc/rpc_svcout.c: Likewise.
13517
60d6f5a6
DM
135182012-03-09 David S. Miller <davem@davemloft.net>
13519
13520 * include/math_private.h: New file.
13521
4962050e
JM
135222012-03-09 Joseph Myers <joseph@codesourcery.com>
13523
02a6f887
JM
13524 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
13525 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
13526 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
13527 from <bits/socket_type.h>.
13528 (enum __socket_type): Don't define here.
13529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
13530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13531 bits/socket_type.h.
13532
c6e013c1
JM
13533 [BZ #13566]
13534 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
13535 checking __USE_GNU.
13536
4962050e
JM
13537 * Makerules ($(inst_includedir)/%.h): New rule.
13538 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
13539 (install-others): Remove variable setting.
13540 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
13541
38842f45
RH
135422012-03-08 Richard Henderson <rth@twiddle.net>
13543
67bb6da6
RH
13544 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
13545 from macro to inline function; merge with the
13546 !__LIBC_INTERNAL_MATH_INLINES version.
13547 (__ieee754_sqrtf): Likewise.
13548
15194b4b
RH
13549 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
13550 to inline function.
13551 (__rintf, __floor, __floorf): Likewise.
13552
64e21ede
RH
13553 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
13554 macro to inline function.
13555 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
13556
38842f45
RH
13557 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
13558 not <math/math_private.h>.
13559
c64bf5fe
DM
135602012-03-08 David S. Miller <davem@davemloft.net>
13561
13562 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
13563 copyright year.
13564 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13565
82d86f28
TS
135662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
13567
13568 * resolv/gai_misc.c (handle_requests): Fix struct timespec
13569 normalization.
13570 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
13571 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13572
aea5d727
UD
135732012-03-08 Ulrich Drepper <drepper@gmail.com>
13574
13575 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
13576 be defined individually, they must be defined as a block. Define
13577 S for printing a string instead of hidint the different by using a
13578 macro for adding the 'l'.
13579 * stdio-common/tst-fphex-wide.c: Adjust.
13580
70bca0a3
MP
135812012-03-07 Marek Polacek <polacek@redhat.com>
13582
13583 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
13584
65b81130
MP
135852012-03-08 Marek Polacek <polacek@redhat.com>
13586
13587 [BZ #13806]
13588 * stdio-common/Makefile (tests): Add tst-fphex-wide.
13589 * stdio-common/tst-fphex.c: Define a few macros to make the
13590 test reusable. Use them.
13591 * stdio-common/tst-fphex-wide.c: New file.
13592
07037eeb
JM
135932012-03-08 Joseph Myers <joseph@codesourcery.com>
13594
a7a93d50
JM
13595 [BZ #6911]
13596 * manual/macros.texi (gnusystems): New macro.
13597 (nongnusystems): Likewise.
13598 (gnulinuxhurdsystems): Likewise.
13599 (gnuhurdsystems): Likewise..
13600 (gnulinuxsystems): Likewise.
13601 * manual/charset.texi: Use new macros or @theglibc{} to refer to
13602 variants of the GNU system, not "GNU system".
13603 * manual/conf.texi: Likewise.
13604 * manual/errno.texi: Likewise. Update example of errno macro
13605 expansion.
13606 * manual/filesys.texi: Likewise.
13607 (getumask): Document as specific to GNU/Hurd.
13608 * manual/install.texi: Likewise. Reword some references to
13609 GNU/Linux.
13610 * manual/intro.texi: Likewise.
13611 * manual/io.texi: Likewise.
13612 (File Name Portability): Detail which constraints are inapplicable
13613 to all GNU systems and which are only inapplicable to GNU/Hurd.
13614 * manual/job.texi: Likewise.
13615 * manual/llio.texi: Likewise.
13616 (O_NOCTTY): Document as present on GNU/Linux.
13617 * manual/maint.texi: Likewise.
13618 * manual/memory.texi: Likewise.
13619 * manual/pattern.texi: Likewise.
13620 * manual/pipe.texi: Likewise.
13621 * manual/process.texi: Likewise.
13622 * manual/resource.texi: Likewise.
13623 (RUSAGE_CHILDREN): Remove statement about specifying a particular
13624 child on GNU/Hurd.
13625 * manual/setjmp.texi: Likewise.
13626 * manual/signal.texi: Likewise.
13627 * manual/startup.texi: Likewise.
13628 * manual/stdio.texi: Likewise.
13629 * manual/terminal.texi: Likewise.
13630 (ONLCR): Document as POSIX.
13631 (OXTABS): Document availability on GNU/Linux as XTABS.
13632 (ONOEOT): Document availability separately from other bits.
13633 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
13634 * manual/time.texi: Likewise.
13635 * manual/users.texi: Likewise.
13636 * INSTALL: Regenerated.
13637 * sysdeps/gnu/errlist.c: Regenerated.
13638
07037eeb
JM
13639 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
13640 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
13641 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
13642 puts.
13643 * configure: Regenerated.
13644
d1d3431a
JM
136452012-03-07 Joseph Myers <joseph@codesourcery.com>
13646
af6a1e37
JM
13647 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
13648 default includes instead of AC_HEADER_CHECK.
13649 * sysdeps/i386/configure: Regenerated.
13650
d1d3431a
JM
13651 [BZ #10716]
13652 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
13653 * math/s_cacoshf.c (__cacoshf): Likewise.
13654 * math/s_cacoshl.c (__cacoshl): Likewise.
13655 * math/s_casinh.c (__casinh): Set signs of result from argument.
13656 * math/s_casinhf.c (__casinhf): Likewise.
13657 * math/s_casinhl.c (__casinhl): Likewise.
13658 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
13659 (casinh_test): Add more tests.
13660 * sysdeps/i386/fpu/libm-test-ulps: Update.
13661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13662
482ff4da
UD
136632012-03-07 Ulrich Drepper <drepper@gmail.com>
13664
872fda05
UD
13665 * po/zh_TW.po: Update from translation team.
13666
a4300c7a
UD
13667 * login/Makefile (distribute): Remove variable.
13668 * catgets/Makefile: Likewise.
13669 * mach/Makefile: Likewise.
13670 * malloc/Makefile: Likewise.
13671 * misc/Makefile: Likewise.
13672 * iconv/Makefile: Likewise.
13673 * nscd/Makefile: Likewise.
13674 * hurd/Makefile: Likewise.
13675 * manual/Makefile: Likewise.
13676 * locale/Makefile: Likewise.
13677 * intl/Makefile: Likewise.
13678 * conform/Makefile: Likewise.
13679 * nss/Makefile: Likewise.
13680 * time/Makefile: Likewise.
13681 * soft-fp/Makefile: Likewise.
13682 * dirent/Makefile: Likewise.
13683 * gmon/Makefile: Likewise.
13684 * po/Makefile: Likewise.
13685 * rt/Makefile: Likewise.
13686 * socket/Makefile: Likewise.
13687 * math/Makefile: Likewise.
13688 * signal/Makefile: Likewise.
13689 * debug/Makefile: Likewise.
13690 * elf/Makefile: Likewise.
13691 * timezone/Makefile: Likewise.
13692 * stdlib/Makefile: Likewise.
13693 * iconvdata/Makefile: Likewise.
13694 * sunrpc/Makefile: Likewise.
13695 * io/Makefile: Likewise.
13696 * argp/Makefile: Likewise.
13697 * inet/Makefile: Likewise.
13698 * hesiod/Makefile: Likewise.
13699 * grp/Makefile: Likewise.
13700 * csu/Makefile: Likewise.
13701 * wctype/Makefile: Likewise.
13702 * crypt/Makefile: Likewise.
13703 * libio/Makefile: Likewise.
13704 * string/Makefile: Likewise.
13705 * nis/Makefile: Likewise.
13706 * resolv/Makefile: Likewise.
13707 * stdio-common/Makefile: Likewise.
13708 * wcsmbs/Makefile: Likewise.
13709 * dlfcn/Makefile: Likewise.
13710 * posix/Makefile: Likewise.
13711
3b7c4e74 13712 [BZ #6959]
482ff4da
UD
13713 * timezone/Makefile: Don't install timezone files, just the programs
13714 and scripts.
13715
f72ed77d
UD
137162012-03-06 Ulrich Drepper <drepper@gmail.com>
13717
a000466f
UD
13718 * nss/databases.def: Add missing gshadow entry.
13719
f72ed77d
UD
13720 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
13721
a53b7a4e
MP
137222012-03-06 Marek Polacek <polacek@redhat.com>
13723
13724 [BZ #13726]
13725 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
13726 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13727 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
13728 * stdio-common/tst-long-dbl-fphex.c: New file.
13729
e9258400
DM
137302012-03-06 David S. Miller <davem@davemloft.net>
13731
13732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13733 (set_obp_int): New function.
13734 (get_obp_int): New function.
13735 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
13736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
13737 Avoid unused variable warnings on 'val' and use builtin_expect.
13738 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
13739 __builtin_expect.
e9258400
DM
13740 (INLINE_CLONE_SYSCALL): Likewise.
13741
3bd2c723
DM
137422012-03-05 David S. Miller <davem@davemloft.net>
13743
13744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13745
bbb78d03
AS
137462012-03-05 Andreas Schwab <schwab@linux-m68k.org>
13747
884c5db4
AS
13748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13749
bbb78d03
AS
13750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
13751 only for |x| >= 40.
13752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13753
1c9f702a 137542012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
13755
13756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
13757 Replace gettimeofday with __vdso_gettimeofday.
13758
7be16f82
RM
13759 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13760 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
13761 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
13762
13763 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
13764 time with __vdso_time.
13765
ed58a00f
JM
137662012-03-05 Joseph Myers <joseph@codesourcery.com>
13767
13768 * manual/lang.texi (size_t): Note types to which size_t may be
13769 equivalent with the GNU C Library, but do not describe when
13770 differences between them are significant.
13771
30ee4ced
AJ
137722012-03-05 Andreas Jaeger <aj@suse.de>
13773
13774 * sysdeps/i386/fpu/libm-test-ulps: Update.
13775
b7cd39e8
JM
137762012-03-05 Joseph Myers <joseph@codesourcery.com>
13777
13778 [BZ #3976]
13779 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
13780 (__ieee754_pow): Save and restore rounding mode and use
13781 round-to-nearest for main computations.
13782 * math/libm-test.inc (pow_test_tonearest): New function.
13783 (pow_test_towardzero): Likewise.
13784 (pow_test_downward): Likewise.
13785 (pow_test_upward): Likewise.
13786 (main): Call the new functions.
13787 * sysdeps/i386/fpu/libm-test-ulps: Update.
13788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
13789
13790 [BZ #3976]
13791 * math/libm-test.inc (cosh_test_tonearest): New function.
13792 (cosh_test_towardzero): Likewise.
13793 (cosh_test_downward): Likewise.
13794 (cosh_test_upward): Likewise.
13795 (sinh_test_tonearest): Likewise.
13796 (sinh_test_towardzero): Likewise.
13797 (sinh_test_downward): Likewise.
13798 (sinh_test_upward): Likewise.
13799 (main): Call the new functions.
13800 * sysdeps/i386/fpu/libm-test-ulps: Update.
13801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13802
6c6a98c9
TV
138032012-03-05 Tom de Vries <tom@codesourcery.com>
13804
13805 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
13806 default stack guard is set in last bytes.
13807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
13808
21bb2d2e 138092012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 13810
21bb2d2e 13811 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 13812
21bb2d2e
AJ
13813 [BZ #13656]
13814 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
13815 possibly allocate from heap instead of stack.
13816 * stdio-common/bug-vfprintf-nargs.c: New file.
13817 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 13818
c6922934
AS
138192012-03-03 Andreas Schwab <schwab@linux-m68k.org>
13820
13821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13822
bc957d53
MP
138232012-03-03 Marek Polacek <polacek@redhat.com>
13824
13825 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
13826 * math/math_private.h: Likewise.
13827 * stdlib/tst-strtod.c: Likewise.
13828 * sysdeps/i386/i486/bits/atomic.h: Likewise.
13829 * sysdeps/x86_64/bits/atomic.h: Likewise.
13830
6358490d
DM
138312012-03-02 David S. Miller <davem@davemloft.net>
13832
13833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
13834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
13836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
13838 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
13839 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
13840 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
13841
01ae168d
RM
138422012-03-02 Roland McGrath <roland@hack.frob.com>
13843
d9a17c07
RM
13844 [BZ #13792]
13845 * manual/examples/README: New file, says the example source files
13846 can be used under GPL>=2.
13847 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
13848 line containing just "*/".
13849 * manual/examples/add.c: Add copyright header (GPL>=2).
13850 * manual/examples/argp-ex1.c: Likewise.
13851 * manual/examples/argp-ex2.c: Likewise.
13852 * manual/examples/argp-ex3.c: Likewise.
13853 * manual/examples/argp-ex4.c: Likewise.
13854 * manual/examples/atexit.c: Likewise.
13855 * manual/examples/db.c: Likewise.
13856 * manual/examples/dir.c: Likewise.
13857 * manual/examples/dir2.c: Likewise.
13858 * manual/examples/execinfo.c: Likewise.
13859 * manual/examples/filecli.c: Likewise.
13860 * manual/examples/filesrv.c: Likewise.
13861 * manual/examples/fmtmsgexpl.c: Likewise.
13862 * manual/examples/genpass.c: Likewise.
13863 * manual/examples/inetcli.c: Likewise.
13864 * manual/examples/inetsrv.c: Likewise.
13865 * manual/examples/isockad.c: Likewise.
13866 * manual/examples/longopt.c: Likewise.
13867 * manual/examples/memopen.c: Likewise.
13868 * manual/examples/memstrm.c: Likewise.
13869 * manual/examples/mkfsock.c: Likewise.
13870 * manual/examples/mkisock.c: Likewise.
13871 * manual/examples/mygetpass.c: Likewise.
13872 * manual/examples/pipe.c: Likewise.
13873 * manual/examples/popen.c: Likewise.
13874 * manual/examples/rprintf.c: Likewise.
13875 * manual/examples/search.c: Likewise.
13876 * manual/examples/select.c: Likewise.
13877 * manual/examples/setjmp.c: Likewise.
13878 * manual/examples/sigh1.c: Likewise.
13879 * manual/examples/sigusr.c: Likewise.
13880 * manual/examples/stpcpy.c: Likewise.
13881 * manual/examples/strdupa.c: Likewise.
13882 * manual/examples/strftim.c: Likewise.
13883 * manual/examples/strncat.c: Likewise.
13884 * manual/examples/subopt.c: Likewise.
13885 * manual/examples/swapcontext.c: Likewise.
13886 * manual/examples/termios.c: Likewise.
13887 * manual/examples/testopt.c: Likewise.
13888 * manual/examples/testpass.c: Likewise.
13889 * manual/examples/timeval_subtract.c: Likewise.
13890
01ae168d
RM
13891 [BZ #13792]
13892 * manual/time.texi (Elapsed Time): Move timeval_subtract example
13893 function to ...
13894 * manual/timeval_subtract.c.texi: ... here, new file.
13895
49efa33d
DM
138962012-03-02 David S. Miller <davem@davemloft.net>
13897
13898 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
13899
28afd92d
JM
139002012-03-02 Joseph Myers <joseph@codesourcery.com>
13901
804360ed
JM
13902 [BZ #3976]
13903 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
13904 (__sin): Save and restore rounding mode and use round-to-nearest
13905 for all computations.
13906 (__cos): Save and restore rounding mode and use round-to-nearest
13907 for all computations.
13908 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
13909 <fenv.h>.
13910 (tan): Save and restore rounding mode and use round-to-nearest for
13911 all computations.
13912 * math/libm-test.inc (cos_test_tonearest): New function.
13913 (cos_test_towardzero): Likewise.
13914 (cos_test_downward): Likewise.
13915 (cos_test_upward): Likewise.
13916 (sin_test_tonearest): Likewise.
13917 (sin_test_towardzero): Likewise.
13918 (sin_test_downward): Likewise.
13919 (sin_test_upward): Likewise.
13920 (tan_test_tonearest): Likewise.
13921 (tan_test_towardzero): Likewise.
13922 (tan_test_downward): Likewise.
13923 (tan_test_upward): Likewise.
13924 (main): Call the new functions.
13925 * sysdeps/i386/fpu/libm-test-ulps: Update.
13926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13927
a6d06d7b
JM
13928 [BZ #10135]
13929 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
13930 small n, then large n, before computing and testing k+n.
13931 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
13933 Likewise.
13934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
13935 Likewise.
13936 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
13937 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
13938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
13939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
13943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
13944 * math/libm-test.inc (scalbn_test): Add more tests.
13945 (scalbln_test): Likewise.
13946
07e12bb3
JM
13947 * manual/filesys.texi (mode_t): Describe constraints on size and
13948 signedness, not exact equivalence to a particular type.
13949 (ino_t): Likewise.
13950 (ino64_t): Likewise.
13951 (dev_t): Likewise.
13952 (nlink_t): Likewise.
13953 (blkcnt_t): Likewise.
13954 (blkcnt64_t): Likewise.
13955 * manual/llio.texi (off_t): Likewise.
13956
28afd92d
JM
13957 [BZ #3976]
13958 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
13959 (__ieee754_exp): Save and restore rounding mode and use
13960 round-to-nearest for all computations.
13961 * math/libm-test.inc (exp_test_tonearest): New function.
13962 (exp_test_towardzero): Likewise.
13963 (exp_test_downward): Likewise.
13964 (exp_test_upward): Likewise.
13965 (main): Call the new functions.
13966 * sysdeps/i386/fpu/libm-test-ulps: Update.
13967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13968
b1eeb65d
CD
139692012-03-01 Chris Demetriou <cgd@google.com>
13970
13971 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
13972 have predictable order.
13973
53362a4b
DM
139742012-03-01 David S. Miller <davem@davemloft.net>
13975
3c969083
DM
13976 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
13977
759707de
DM
13978 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
13979 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
13980 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13981 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
13982
dfdb8ff2
DM
13983 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
13984 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
13985 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
13986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
13987 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
13988 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
13989 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
13990 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
13991 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
13992
ead89f96
DM
13993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13994
7f66bd07
DM
13995 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
13996 * sysdeps/sparc/fpu/libm-test-ulps: to here.
13997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
13998
53362a4b
DM
13999 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14000 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14001 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14002 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14003 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14004 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14005 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14007 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14008 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14009 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14010 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14013 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14015 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14016 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14017 * sysdeps/sparc/elf/configure: Regenerated.
14018
7b1902cb
JM
140192012-03-01 Joseph Myers <joseph@codesourcery.com>
14020
bec039bc
JM
14021 * configure.in (AS, LD): Require binutils 2.20 or later.
14022 * configure: Regenerated.
14023 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14024 as required minimum version.
14025 * INSTALL: Regenerated.
14026
7b1902cb
JM
14027 [BZ #2541]
14028 [BZ #4108]
14029 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14030 before squaring exponent.
14031 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14032 bottom long double and 27 bits of top long double before squaring
14033 exponent.
14034 * math/libm-test.inc (erfc_test): Add more tests.
14035 * sysdeps/i386/fpu/libm-test-ulps: Update.
14036 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14038
f775c276
KT
140392012-03-01 Kai Tietz <ktietz@redhat.com>
14040
14041 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14042 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14043 containing bit-fields.
14044 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14045 * soft-fp/single.h (_FP_UNION_S): Likewise.
14046 * soft-fp/double.h (_FP_UNION_D): Likewise.
14047
5b8a4d4a
JM
140482012-02-29 Joseph Myers <joseph@codesourcery.com>
14049
0bab47b6
JM
14050 [BZ #13786]
14051 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14052 not include ../strcmp.S.
14053 [USE_AS_STRNCASECMP_L]: Likewise.
14054 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14055 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14056 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14057 (__strncasecmp_l_ia32): Define as alias to
14058 __strncasecmp_l_nonascii.
14059
0fcad3e2
JM
14060 [BZ #5794]
14061 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14062 * sysdeps/i386/fpu/libm-test-ulps: Update.
14063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14064
5b8a4d4a
JM
14065 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14067
8fdceb2e
JL
140682012-02-29 Jeff Law <law@redhat.com>
14069
14070 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14071 out of bounds read.
14072
1f393a11
MP
140732012-02-29 Marek Polacek <polacek@redhat.com>
14074
14075 [BZ #13706]
14076 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14077 * elf/Makefile: Add rules to run tst-unused-dep.out.
14078
8847f037
DM
140792012-02-28 David S. Miller <davem@davemloft.net>
14080
14081 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14082 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14083 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14084 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14085 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14086 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14087
169d7f11
JM
140882012-02-29 Joseph Myers <joseph@codesourcery.com>
14089
14090 * math/libm-test.inc (llround_test): Move one test from
14091 lround_test. Use TEST_f_L in moved test.
14092 (lround_test): Move misplaced test to llround_test. Add testcase
14093 from bug 2561.
14094
39adf059
UD
140952012-02-28 Ulrich Drepper <drepper@gmail.com>
14096
14097 * sysdeps/x86_64/fpu/e_expf.S: New file.
14098 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14099
71b5d1c5
SB
141002012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14101
14102 [BZ #13637]
14103 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14104 of remain_len that may cause incomplete multi-byte character and
14105 false match.
14106 * posix/bug-regex33.c: New file.
14107 * posix/Makefile (tests): Add bug-regex33.
14108
1f77f049
JM
141092012-02-28 Joseph Myers <joseph@codesourcery.com>
14110
14111 * manual/macros.texi: New file.
14112 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14113 * manual/libc.texinfo: Include macros.texi.
14114 * manual/creatute.texi: Likewise.
14115 * manual/install.texi: Likewise.
14116 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14117 @glibcadj{} in references to the GNU C Library.
14118 * manual/charset.texi: Likewise.
14119 * manual/conf.texi: Likewise.
14120 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14121 when not using those macros.
14122 * manual/creature.texi: Likewise.
14123 * manual/crypt.texi: Likewise.
14124 * manual/errno.texi: Likewise.
14125 * manual/filesys.texi: Likewise.
14126 * manual/header.texi: Likewise.
14127 * manual/install.texi: Likewise.
14128 * manual/intro.texi: Likewise.
14129 * manual/io.texi: Likewise.
14130 * manual/job.texi: Likewise.
14131 * manual/lang.texi: Likewise.
14132 * manual/libc.texiinfo: Likewise.
14133 * manual/llio.texi: Likewise.
14134 * manual/locale.texi: Likewise.
14135 * manual/maint.texi: Likewise.
14136 * manual/math.texi: Likewise.
14137 * manual/memory.texi: Likewise.
14138 * manual/message.texi: Likewise.
14139 * manual/nss.texi: Likewise.
14140 * manual/pattern.texi: Likewise.
14141 * manual/process.texi: Likewise.
14142 * manual/resource.texi: Likewise.
14143 * manual/search.texi: Likewise.
14144 * manual/setjmp.texi: Likewise.
14145 * manual/signal.texi: Likewise.
14146 * manual/socket.texi: Likewise.
14147 * manual/startup.texi: Likewise.
14148 * manual/stdio.texi: Likewise.
14149 * manual/string.texi: Likewise.
14150 * manual/sysinfo.texi: Likewise.
14151 * manual/syslog.texi: Likewise.
14152 * manual/terminal.texi: Likewise.
14153 * manual/time.texi: Likewise.
14154 * manual/users.texi: Likewise.
14155 * INSTALL: Regenerated.
14156 * NOTES: Regenerated.
d40c5d54 14157 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 14158
450bf206
AS
141592012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14160
14161 * include/dirent.h: Include <dirstream.h> before
14162 <dirent/dirent.h>.
14163
741a235b
DM
141642012-02-28 David S. Miller <davem@davemloft.net>
14165
14166 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14167 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14168 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14169 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14170
d6b5aa58
DM
141712012-02-27 David S. Miller <davem@davemloft.net>
14172
1aff59a3
DM
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14175 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14176 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14177
d6b5aa58
DM
14178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14179 frame pointer instead of stack pointer relative arg slot.
14180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14181 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14182 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14183
433f48bf
CD
141842012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14185
14186 [BZ #3992]
14187 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14188
d674b76d
DM
141892012-02-27 David S. Miller <davem@davemloft.net>
14190
14191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14197 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14199
0e7727f7
JM
142002012-02-27 Joseph Myers <joseph@codesourcery.com>
14201
14202 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14203 later. Allow versions 5-9.
43be4ca2 14204 * configure: Regenerated.
0e7727f7
JM
14205 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14206 required minimum version and 4.6 as recommended version. Do not
14207 mention bugs in GCC 2.7 and 2.8.
43be4ca2 14208 * INSTALL: Regenerated.
0e7727f7 14209
a78bc654
DM
142102012-02-27 David S. Miller <davem@davemloft.net>
14211
428d5830
DM
14212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14218 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14219 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14220
a78bc654
DM
14221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14222 manipulate bits before adding and subtracting TWO112[sx].
14223 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14224
4579f81c
RM
142252012-02-27 Roland McGrath <roland@hack.frob.com>
14226
36c8acb4
RM
14227 [BZ #13775]
14228 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14229 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14230 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14231 being in POSIX, because they are in 1003.1-2008.
14232
84ad622b
RM
14233 * rt/tst-aio.c: Include <fcntl.h>.
14234 * rt/tst-aio7.c: Likewise.
14235 * rt/tst-aio64.c: Likewise.
14236
4579f81c
RM
14237 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14238
abd923db
JM
142392012-02-27 Joseph Myers <joseph@codesourcery.com>
14240
14241 * manual/install.texi (--with-headers): Describe headers as
14242 interface headers, not private headers.
14243 (Specific advice for GNU/Linux systems): Describe use of headers
14244 from "make headers_install", not private headers from older
14245 kernels.
43be4ca2 14246 * INSTALL: Regenerated.
abd923db
JM
14247 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14248 Change to 2.6.19.
14249 * sysdeps/unix/sysv/linux/configure: Regenerated.
14250
6664049b
JM
14251 * manual/llio.texi (fclean): Remove documentation.
14252
bb8b6697
JM
14253 * manual/Makefile (libc-texi-generated): New variable. Include
14254 version.texi.
14255 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14256 $(libc-texi-generated), not duplicated list of files.
14257 (version.texi, stamp-version): New rules.
14258 (realclean): Remove $(libc-texi-generated), not individual files
14259 from that list. Do not remove dir-add.texinfo.
14260 * manual/libc.texinfo: Comment out uses of edition numbers and
14261 references to printed manual. Remove last-updated dates.
14262 (EDITION): Comment out.
14263 (ISBN): Likewise.
14264 (VERSION, UPDATED): Remove.
14265 (version.texi): Include.
14266
12e5c3b9
AS
142672012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14268
14269 * sysdeps/posix/spawni.c: Include <signal.h>.
14270 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14271 * sysdeps/pthread/aio_fsync.c: Likewise.
14272
4efeffc1 142732012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 14274
ba63ba08
UD
14275 * conform/Makefile (tests): Run only when not cross-compiling and
14276 when fast-check is not defined.
14277
d94a4670
UD
14278 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14279 * conform/data/limits.h-data: Fixes for POSIX2008.
14280 * conform/run-conformtest.sh: Run all tests.
14281 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14282 headers.
14283 * include/bits/dlfcn.h: Likewise.
14284 * include/langinfo.h: Likewise.
14285 * include/monetary.h: Likewise.
14286 * include/sys/poll.h: Likewise.
14287
14288 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14289 for __USE_GNU.
14290 * posix/spawn.h: Define __need_sigset_t.
14291 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14292 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14293 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14294 to get sigevent_t only.
14295 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14296 only for __USE_GNU.
14297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14298 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14299 process_vm_writev only for __USE_GNU.
14300 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
14301
14302 * conform/Makefile: For now ignore errors from run-conformtest.
14303 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14304 POSIX to avoid namespace pollution. Don't prepend headers.
14305 * conform/data/aio.h-data: Fixes for POSIX testing.
14306 * conform/data/fcntl.h-data: Likewise.
14307 * conform/data/glob.h-data: Likewise.
14308 * conform/data/grp.h-data: Likewise.
14309 * conform/data/pthread.h-data: Likewise.
14310 * conform/data/pwd.h-data: Likewise.
14311 * conform/data/signal.h-data: Likewise.
14312 * conform/data/spawn.h-data: Likewise.
14313 * conform/data/stdio.h-data: Likewise.
14314 * conform/data/stdlib.h-data: Likewise.
14315 * conform/data/stropts.h-data: Likewise.
14316 * conform/data/sys/mman.h-data: Likewise.
14317 * conform/data/sys/stat.h-data: Likewise.
14318 * conform/data/sys/types.h-data: Likewise.
14319 * conform/data/sys/wait.h-data: Likewise.
14320 * conform/data/time.h-data: Likewise.
14321 * conform/data/unistd.h-data: Likewise.
14322 * conform/data/utime.h-data: Likewise.
14323
14324 * io/sys/stat.h: fchmod was always in POSIX.
14325 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14326 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14327 * rt/aio.h: Define __need_timespec before including <time.h>.
14328 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14329 struct. Add forward declaration of pthread_attr_t and use it in
14330 sigevent.
14331 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14332 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14333 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14334 always remove CLK_TCK definition.
14335
c20105c3
AS
143362012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14337
14338 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14339
7a270350
UD
143402012-02-25 Ulrich Drepper <drepper@gmail.com>
14341
31341567
UD
14342 * conform/run-conformtest.sh: New file.
14343 * conform/Makefile: Run run-conformtest for tests.
14344 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14345 support.
14346
14347 * conform/data/uchar.h-data: New file.
14348 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14349 * conform/data/arpa/inet.h-data: Likewise.
14350 * conform/data/assert.h-data: Likewise.
14351 * conform/data/complex.h-data: Likewise.
14352 * conform/data/cpio.h-data: Likewise.
14353 * conform/data/ctype.h-data: Likewise.
14354 * conform/data/dirent.h-data: Likewise.
14355 * conform/data/dlfcn.h-data: Likewise.
14356 * conform/data/errno.h-data: Likewise.
14357 * conform/data/fcntl.h-data: Likewise.
14358 * conform/data/float.h-data: Likewise.
14359 * conform/data/fmtmsg.h-data: Likewise.
14360 * conform/data/fnmatch.h-data: Likewise.
14361 * conform/data/ftw.h-data: Likewise.
14362 * conform/data/glob.h-data: Likewise.
14363 * conform/data/grp.h-data: Likewise.
14364 * conform/data/iconv.h-data: Likewise.
14365 * conform/data/inttypes.h-data: Likewise.
14366 * conform/data/langinfo.h-data: Likewise.
14367 * conform/data/libgen.h-data: Likewise.
14368 * conform/data/limits.h-data: Likewise.
14369 * conform/data/locale.h-data: Likewise.
14370 * conform/data/math.h-data: Likewise.
14371 * conform/data/monetary.h-data: Likewise.
14372 * conform/data/mqueue.h-data: Likewise.
14373 * conform/data/ndbm.h-data: Likewise.
14374 * conform/data/net/if.h-data: Likewise.
14375 * conform/data/netdb.h-data: Likewise.
14376 * conform/data/netinet/in.h-data: Likewise.
14377 * conform/data/nl_types.h-data: Likewise.
14378 * conform/data/poll.h-data: Likewise.
14379 * conform/data/pthread.h-data: Likewise.
14380 * conform/data/pwd.h-data: Likewise.
14381 * conform/data/regex.h-data: Likewise.
14382 * conform/data/sched.h-data: Likewise.
14383 * conform/data/search.h-data: Likewise.
14384 * conform/data/semaphore.h-data: Likewise.
14385 * conform/data/setjmp.h-data: Likewise.
14386 * conform/data/signal.h-data: Likewise.
14387 * conform/data/spawn.h-data: Likewise.
14388 * conform/data/stdarg.h-data: Likewise.
14389 * conform/data/stdio.h-data: Likewise.
14390 * conform/data/stdlib.h-data: Likewise.
14391 * conform/data/string.h-data: Likewise.
14392 * conform/data/strings.h-data: Likewise.
14393 * conform/data/stropts.h-data: Likewise.
14394 * conform/data/sys/ipc.h-data: Likewise.
14395 * conform/data/sys/mman.h-data: Likewise.
14396 * conform/data/sys/msg.h-data: Likewise.
14397 * conform/data/sys/resource.h-data: Likewise.
14398 * conform/data/sys/select.h-data: Likewise.
14399 * conform/data/sys/sem.h-data: Likewise.
14400 * conform/data/sys/shm.h-data: Likewise.
14401 * conform/data/sys/socket.h-data: Likewise.
14402 * conform/data/sys/stat.h-data: Likewise.
14403 * conform/data/sys/statvfs.h-data: Likewise.
14404 * conform/data/sys/time.h-data: Likewise.
14405 * conform/data/sys/timeb.h-data: Likewise.
14406 * conform/data/sys/times.h-data: Likewise.
14407 * conform/data/sys/types.h-data: Likewise.
14408 * conform/data/sys/uio.h-data: Likewise.
14409 * conform/data/sys/un.h-data: Likewise.
14410 * conform/data/sys/utsname.h-data: Likewise.
14411 * conform/data/sys/wait.h-data: Likewise.
14412 * conform/data/syslog.h-data: Likewise.
14413 * conform/data/tar.h-data: Likewise.
14414 * conform/data/termios.h-data: Likewise.
14415 * conform/data/utime.h-data: Likewise.
14416 * conform/data/utmpx.h-data: Likewise.
14417 * conform/data/varargs.h-data: Likewise.
14418 * conform/data/wchar.h-data: Likewise.
14419 * conform/data/wctype.h-data: Likewise.
14420 * conform/data/wordexp.h-data: Likewise.
14421
14422 * include/stropts.h: New file.
14423 * include/uchar.h: New file.
14424 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14425 * include/assert.h: Likewise.
14426 * include/ctype.h: Likewise.
14427 * include/dirent.h: Likewise.
14428 * include/dlfcn.h: Likewise.
14429 * include/fcntl.h: Likewise.
14430 * include/fnmatch.h: Likewise.
14431 * include/glob.h: Likewise.
14432 * include/grp.h: Likewise.
14433 * include/libio.h: Likewise.
14434 * include/locale.h: Likewise.
14435 * include/math.h: Likewise.
14436 * include/net/if.h: Likewise.
14437 * include/netdb.h: Likewise.
14438 * include/netinet/in.h: Likewise.
14439 * include/pthread.h: Likewise.
14440 * include/pwd.h: Likewise.
14441 * include/regex.h: Likewise.
14442 * include/sched.h: Likewise.
14443 * include/search.h: Likewise.
14444 * include/setjmp.h: Likewise.
14445 * include/signal.h: Likewise.
14446 * include/stdio.h: Likewise.
14447 * include/stdlib.h: Likewise.
14448 * include/string.h: Likewise.
14449 * include/sys/cdefs.h: Likewise.
14450 * include/sys/mman.h: Likewise.
14451 * include/sys/msg.h: Likewise.
14452 * include/sys/resource.h: Likewise.
14453 * include/sys/select.h: Likewise.
14454 * include/sys/socket.h: Likewise.
14455 * include/sys/stat.h: Likewise.
14456 * include/sys/statvfs.h: Likewise.
14457 * include/sys/time.h: Likewise.
14458 * include/sys/times.h: Likewise.
14459 * include/sys/uio.h: Likewise.
14460 * include/sys/utsname.h: Likewise.
14461 * include/sys/wait.h: Likewise.
14462 * include/termios.h: Likewise.
14463 * include/time.h: Likewise.
14464 * include/ulimit.h: Likewise.
14465 * include/unistd.h: Likewise.
14466 * include/utime.h: Likewise.
14467 * include/wchar.h: Likewise.
14468 * include/wctype.h: Likewise.
14469 * include/wordexp.h: Likewise.
14470
14471 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
14472
7a270350
UD
14473 * time/time.h: TIME_UTC must be a macro.
14474 Make timespec_get available for ISO C11 only as well.
14475
7724defc
UD
144762012-02-24 Ulrich Drepper <drepper@gmail.com>
14477
14478 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
14479 Reported by Peng Haitao <penght@cn.fujitsu.com>.
14480
6b1d1d46
JM
144812012-02-24 Joseph Myers <joseph@codesourcery.com>
14482
14483 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 14484
0f8bbd69
JM
144852012-02-24 Joseph Myers <joseph@codesourcery.com>
14486
14487 * manual/texinfo.tex: Update to version 2012-01-19.16.
14488
66ab80bc
JM
144892012-02-24 Joseph Myers <joseph@codesourcery.com>
14490
14491 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
14492
74981cc5
RM
144932012-02-24 Roland McGrath <roland@hack.frob.com>
14494
ee968201
RM
14495 [BZ #13738]
14496 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
14497 * manual/fdl-1.3.texi: New file.
14498 * manual/fdl-1.1.texi: File removed.
14499
74981cc5
RM
14500 [BZ #13738]
14501 * manual/libc.texinfo (FDL_VERSION): New @set.
14502 Use it for mention of FDL in cover text.
14503 (Documentation License): Use it in @include file name.
14504
7bb764bc
JM
145052012-02-22 Joseph Myers <joseph@codesourcery.com>
14506 Roland McGrath <roland@hack.frob.com>
14507
14508 [BZ #5461]
14509 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
14510 not LONG_LONG_MAX and LONG_LONG_MIN.
14511 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
14512 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
14513 name.
14514 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
14515
6cbeae47
JM
145162012-02-22 Joseph Myers <joseph@codesourcery.com>
14517
14518 [BZ #2547]
14519 [BZ #11365]
14520 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
14521 manipulate bits before adding and subtracting TWO23[sx].
14522 * math/libm-test.inc (nearbyint_test): Add more tests.
14523
fe45ce09
JM
145242012-02-22 Joseph Myers <joseph@codesourcery.com>
14525
14526 [BZ #2548]
14527 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
14528 bits before adding and subtracting TWO23[sx].
14529 * math/libm-test.inc (rint_test): Add more tests.
14530 (rint_test_tonearest): Likewise.
14531 (rint_test_towardzero): Likewise.
14532 (rint_test_downward): Likewise.
14533 (rint_test_upward: Likewise.
14534
ff3b3d82
JM
145352012-02-22 Joseph Myers <joseph@codesourcery.com>
14536
14537 [BZ #10110]
14538 * include/stdc-predef.h: New file. Extracted from features.h.
14539 * include/features.h: Include stdc-predef.h.
14540 * Makefile (headers): Add stdc-predef.h.
14541 * CONFORMANCE (Compiler limitations): Update.
14542
ef0aab35
JM
145432012-02-22 Joseph Myers <joseph@codesourcery.com>
14544
14545 * manual/libc.texinfo (VERSION, UPDATED): Revert.
14546
58639409
DM
145472012-02-21 David S. Miller <davem@davemloft.net>
14548
14549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
14550 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14551
c0e70b25
DM
145522012-02-20 David S. Miller <davem@davemloft.net>
14553
14554 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
14555 using a normal save/restore sequence, rather than allocating a
14556 dummy stack frame just to store a frame pointer and restore.
14557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14558
fb06851d
JM
145592012-02-21 Joseph Myers <joseph@codesourcery.com>
14560
14561 * manual/install.texi: Fix stray word in line-wrapped comment.
14562
7a8b71c3
DM
145632012-02-20 David S. Miller <davem@davemloft.net>
14564
d510c123
DM
14565 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
14566 both binutils and gcc support GOTDATA.
14567
0722d7c2
DM
14568 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
14569 "rd %pc" in the PIC register setup sequences.
14570
3d2b3019
DM
14571 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
14572 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
14573 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14574 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
14575 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14577 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14578 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
14580 (SYSCALL_ERROR_HANDLER): Likewise.
14581 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14582 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
14584 (SYSCALL_ERROR_HANDLER): Likewise.
14585
c80098a9
DM
14586 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
14587 (HAVE_GCC_GOTDATA): New.
14588 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
14589 relocation support in both binutils and gcc.
14590 * sysdeps/sparc/elf/configure: Regenerate.
14591
3a2545a0
DM
14592 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
14593 * sysdeps/sparc/sparc32/elf/configure: Delete.
14594 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
14595 * sysdeps/sparc/sparc64/elf/configure: Delete.
14596 * sysdeps/sparc/elf/configure.in: New file.
14597 * sysdeps/sparc/elf/configure: Generate.
14598
7a8b71c3
DM
14599 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
14600 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
14601 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14602 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
14603 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
14604
f1e86fca
JM
146052012-02-21 Joseph Myers <joseph@codesourcery.com>
14606
14607 * manual/install.texi: Do not mention specific glibc version
14608 numbers.
14609 * manual/libc.texinfo (VERSION, UPDATED): Update.
14610 (@copying): Use @copyright{} and range of years.
14611
0e7dfaef
JM
146122012-02-21 Joseph Myers <joseph@codesourcery.com>
14613
14614 [BZ #13695]
14615 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
14616 [crti.S not in sysdirs] (generated): Do not append.
14617 [crti.S not in sysdirs] (omit-deps): Likewise.
14618 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
14619 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
14620 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
14621 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
14622 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
14623 Likewise.
14624 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
14625 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
14626 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
14627 * csu/defs.awk: Remove file.
14628 * sysdeps/generic/initfini.c: Likewise.
14629 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
14630 variable.
14631 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
14632 Likewise.
14633
599af3ca
JM
146342012-02-20 Joseph Myers <joseph@codesourcery.com>
14635
14636 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
14637 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
14639 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
14640 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14641 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
14642 <bits/epoll.h>.
14643 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
14644 (__EPOLL_PACKED): Define to empty if not defined by
14645 <bits/epoll.h>.
14646 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
14647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14648 bits/epoll.h.
14649
0e499750
JM
146502012-02-20 Joseph Myers <joseph@codesourcery.com>
14651
14652 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
14653 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
14654 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
14655 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
14656 <bits/timerfd.h>.
14657 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
14658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14659 bits/timerfd.h.
14660
5ad91f6e
JM
146612012-02-20 Joseph Myers <joseph@codesourcery.com>
14662
14663 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
14664 in C locale.
14665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14667 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
14668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14669
06b99b02
AJ
146702012-02-20 Aurelien Jarno <aurelien@aurel32.net>
14671
14672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14673 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
14674
7638c0fd
AS
146752012-02-19 Andreas Schwab <schwab@linux-m68k.org>
14676
14677 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
14678 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
14679 defined.
14680 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
14681 Likewise.
14682 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
14683 entry for 2.16.
14684
92221550
AJ
146852012-02-19 Aurelien Jarno <aurelien@aurel32.net>
14686
14687 * math/w_acos.c: Use non-signaling floating-point comparisons.
14688 * math/w_acosf.c: Likewise.
14689 * math/w_acosh.c: Likewise.
14690 * math/w_acoshf.c: Likewise.
14691 * math/w_acoshl.c: Likewise.
14692 * math/w_acosl.c: Likewise.
14693 * math/w_asin.c: Likewise.
14694 * math/w_asinf.c: Likewise.
14695 * math/w_asinl.c: Likewise.
14696 * math/w_atanh.c: Likewise.
14697 * math/w_atanhf.c: Likewise.
14698 * math/w_atanhl.c: Likewise.
14699 * math/w_exp2.c: Likewise.
14700 * math/w_exp2f.c: Likewise.
14701 * math/w_exp2l.c: Likewise.
14702 * math/w_j0.c: Likewise.
14703 * math/w_j0f.c: Likewise.
14704 * math/w_j0l.c: Likewise.
14705 * math/w_j1.c: Likewise.
14706 * math/w_j1f.c: Likewise.
14707 * math/w_j1l.c: Likewise.
14708 * math/w_jn.c: Likewise.
14709 * math/w_jnf.c: Likewise.
14710 * math/w_log.c: Likewise.
14711 * math/w_log10.c: Likewise.
14712 * math/w_log10f.c: Likewise.
14713 * math/w_log10l.c: Likewise.
14714 * math/w_log2.c: Likewise.
14715 * math/w_log2f.c: Likewise.
14716 * math/w_log2l.c: Likewise.
14717 * math/w_logf.c: Likewise.
14718 * math/w_logl.c: Likewise.
14719 * math/w_sqrt.c: Likewise.
14720 * math/w_sqrtf.c: Likewise.
14721 * math/w_sqrtl.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
14724 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14725 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14726 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14727
ebaf36eb
JM
147282012-02-19 Joseph Myers <joseph@codesourcery.com>
14729
14730 [BZ #9739]
14731 * manual/string.texi (strnlen): Use correct parameter name in
14732 equivalent expression.
14733
71c254a6
JM
147342012-02-19 Joseph Myers <joseph@codesourcery.com>
14735
14736 [BZ #11174]
14737 * manual/users.texi (seteuid): Consistently use neweuid for
14738 argument name.
14739
16d2c631
JM
147402012-02-19 Joseph Myers <joseph@codesourcery.com>
14741
14742 [BZ #13704]
14743 * manual/nss.texi (Services in the NSS configuration): Correct
14744 list of services in example configuration file.
14745
cd837b09
NB
147462012-02-19 Nick Bowler <nbowler@draconx.ca>
14747
14748 [BZ #11322]
14749 * manual/arith.texi: Remove statements about negative zero
14750 behaving identically to zero.
14751
02c4bbad
JM
147522012-02-18 Joseph Myers <joseph@codesourcery.com>
14753
14754 [BZ #5993]
14755 * manual/install.texi: Do not document upgrading from libc5.
14756
366842e7
JM
147572012-02-18 Joseph Myers <joseph@codesourcery.com>
14758
14759 [BZ #4596]
14760 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
14761
dd54084d
DM
147622012-02-18 David S. Miller <davem@davemloft.net>
14763
14764 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
14765 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
14766 %o7 across the call.
14767 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
14768 instead.
14769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
14770 SETUP_PIC_REG_LEAF.
14771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14772 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
14773 * sysdeps/sparc/crtn.S: Likewise.
14774
2bcc53a3
UD
147752012-02-17 Ulrich Drepper <drepper@gmail.com>
14776
14777 * aout/Makefile: Remove.
14778
09c093b5
RK
147792012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
14780
14781 [BZ #13058]
14782 * manual/examples/argp-ex1.c (main): Format definition in GNU
14783 style.
14784 * manual/examples/argp-ex2.c (main): Likewise.
14785 * manual/examples/argp-ex3.c (main): Likewise.
14786 * manual/examples/argp-ex4.c (main): Likewise.
14787 * manual/examples/longopt.c (main): Use new-style prototype
14788 definition.
14789 * manual/examples/strncat.c (main): Specify return type and use
14790 (void) for arguments.
14791 * manual/examples/subopt.c (main): Use char **argv argument.
14792
2ee633a2
JM
147932012-02-17 Joseph Myers <joseph@codesourcery.com>
14794
14795 [BZ #5077]
14796 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
14797 rounding modes.
14798
0520adde
FB
147992012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
14800
14801 [BZ #6907]
14802 * manual/string.texi (strchr): Change when strchrnul is
14803 recommended.
14804
3f4081cd
DGM
148052012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
14806
14807 [BZ #174]
14808 * manual/locale.texi (setlocale): Document LOCPATH.
14809
d1b10e78
JM
148102012-02-17 Joseph Myers <joseph@codesourcery.com>
14811
14812 [BZ #10210]
14813 * manual/process.texi (execle): Move @dots{} before last argument.
14814
79c6869c
PB
148152012-02-17 Paul Bolle <pebolle@tiscali.nl>
14816
14817 [BZ #12047]
14818 * manual/charset.texi (Generic Charset Conversion): Fix typo
14819 (LC_TYPE -> LC_CTYPE).
14820
cc6e48bc
NB
148212012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
14822
14823 [BZ #5805]
14824 * manual/arith.texi (scalbn): Use @var{} on parameter names.
14825 (scalbnf): Likewise.
14826 (scalbnl): Likewise.
14827 (scalbln): Likewise.
14828 (scalblnf): Likewise.
14829 (scalblnl): Likewise.
14830 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
14831 (vwarnx): Likewise.
14832 (verr): Likewise.
14833 (verrx): Likewise.
14834 * manual/filesys.texi (telldir): Use braces around return type.
14835 * manual/llio.texi (mmap): Add space after comma.
14836 (mmap64): Likewise.
14837 * manual/math.texi (jn): Use @var{} on parameter names.
14838 (jnf): Likewise.
14839 (jnl): Likewise.
14840 (yn): Likewise.
14841 (ynf): Likewise.
14842 (ynl): Likewise.
14843 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
14844 line.
14845 * manual/resource.texi (ulimit): Use @dots{} instead of literal
14846 "...".
14847 (sched_get_priority_min): Remove semicolon on @deftypefun line.
14848 (sched_get_priority_max): Likewise.
14849 * manual/signal.texi (sigvec): Add space after comma.
14850 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
14851 names.
14852 (if_indextoname): Likewise.
14853 (if_freenameindex): Likewise.
14854 (sendto): Use ',' instead of '.' in prototype.
14855 * manual/startup.texi (syscall): Use @dots{} instead of literal
14856 "...".
14857 * manual/stdio.texi (__fpending): Separate initial words of
14858 paragraph from @deftypefun line.
14859 * manual/syslog.texi (syslog): Use @dots{} instead of literal
14860 "...".
14861 (vsyslog): Use @var{} on parameter names.
14862 * manual/terminal.texi (stty): Use @var{} on parameter names.
14863 * manual/users.texi (getutmp): Use @var{} on parameter names.
14864 (getutmpx): Likewise.
14865
5b23062f
JM
148662012-02-17 Joseph Myers <joseph@codesourcery.com>
14867
14868 [BZ #6884]
14869 * manual/stdio.texi (fopen): Fix typos in description of
14870 ",ccs=STRING".
14871
8dee4833
AJ
148722012-02-17 Aurelien Jarno <aurelien@aurel32.net>
14873
14874 [BZ #4026]
14875 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
14876 get clock_id definition.
14877
9078ce93
TS
148782012-02-17 Thomas Schwinge <thomas@schwinge.name>
14879
14880 [BZ #4822]
14881 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
14882 (madvise): Cast every argument to void on its own.
14883
3835c55f
JM
148842012-02-17 Joseph Myers <joseph@codesourcery.com>
14885
14886 [BZ #9902]
14887 * manual/startup.texi (Exit Status): Fix typo.
14888
35c47e37
JM
148892012-02-17 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #10140]
14892 * manual/examples/argp-ex1.c: Include <stdlib.h>.
14893 * manual/examples/argp-ex2.c: Likewise.
14894 * manual/examples/argp-ex3.c: Likewise.
14895
e3b69ca7
RH
148962012-02-16 Richard Henderson <rth@redhat.com>
14897
14898 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
14899 * sysdeps/s390/s390-32/initfini.c: Remove.
14900 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
14901 * sysdeps/s390/s390-64/initfini.c: Remove.
14902
df83af67
KK
149032012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14904
14905 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
14906 compiler output for sysdeps/generic/initfini.c.
14907 * sysdeps/sh/elf/initfini.c: Remove file.
14908
f63f3380
DM
149092012-02-16 David S. Miller <davem@davemloft.net>
14910
fb59b3a4
DM
14911 [BZ #11494]
14912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
14913
f63f3380
DM
14914 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
14915 * sysdeps/sparc/crti.S: New file.
14916 * sysdeps/sparc/crtn.S: New file.
14917 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
14918 * sysdeps/sparc/sparc64/Makefile: Likewise.
14919
df6a4a4a
MF
149202012-02-15 Mike Frysinger <vapier@gentoo.org>
14921
6dd8f3dc 14922 [BZ #3335]
df6a4a4a
MF
14923 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
14924
1cac7236
RM
149252012-02-15 Roland McGrath <roland@hack.frob.com>
14926
d2c736f8
RM
14927 [BZ #4822]
14928 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
14929
1cac7236
RM
14930 * mach/devstream.c (cookie_io_functions_t): Macro removed.
14931 (write, read, close): Likewise.
14932 Patch by Aurelien Jarno <aurelien@aurel32.net>.
14933
8e475601
JM
149342012-02-15 Joseph Myers <joseph@codesourcery.com>
14935
14936 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
14937 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
14938 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
14939 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
14940 <bits/signalfd.h>.
14941 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
14942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14943 bits/signalfd.h.
14944
ed656b40
MP
149452012-02-14 Marek Polacek <polacek@redhat.com>
14946
14947 * sysdeps/x86_64/crti.S: New file.
14948 * sysdeps/x86_64/crtn.S: New file.
14949 * sysdeps/x86_64/elf/initfini.c: Remove file.
14950
2a979d3a
JM
149512012-02-13 Joseph Myers <joseph@codesourcery.com>
14952
14953 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
14954 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
14955 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
14956 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
14957 <bits/inotify.h>.
14958 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
14959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14960 bits/inotify.h.
14961
2a418ac3
JM
149622012-02-13 Joseph Myers <joseph@codesourcery.com>
14963
14964 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
14965 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
14966 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
14967 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
14968 <bits/eventfd.h>.
14969 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
14970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14971 bits/eventfd.h.
14972
fb779be7
TS
149732012-02-10 Thomas Schwinge <thomas@codesourcery.com>
14974
e19e83c5
RM
14975 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
14976 __feraiseexcept instead of feraiseexcept.
7c35ffed 14977
fb779be7
TS
14978 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
14979 nanosleep invocations.
14980 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
14981 strings, and add error checking for a nanosleep invocations.
14982
59ba27a6
PE
149832012-02-09 Paul Eggert <eggert@cs.ucla.edu>
14984
14985 Replace FSF snail mail address with URLs, as per GNU coding standards.
14986 Most of the snail mail addresses were wrong anyway, and omitting
14987 them makes the source code easier to maintain. Almost all of the
14988 changes are to license notices and to locale LC_IDENTIFICATION
14989 addresses, except for this one:
14990 * manual/libc.texinfo: In "Published by", give the FSF's URL,
14991 not its snail mail address.
14992
57b957eb
RH
149932012-02-09 Richard Henderson <rth@twiddle.net>
14994
af850b1c
RH
14995 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
14996 of kernel-features.h.
14997
57b957eb
RH
14998 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
14999
6b73181a
MP
150002012-02-08 Marek Polacek <polacek@redhat.com>
15001
15002 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15003 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15004 * sysdeps/gnu/_G_config.h: Likewise.
15005 * sysdeps/generic/_G_config.h: Likewise.
15006
26ecc33a
AS
150072012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15008
6c6dbc63
AS
15009 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15010 tests.
15011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012
e216c012
AS
15013 * sysdeps/powerpc/powerpc32/crti.S: New file.
15014 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15015 * sysdeps/powerpc/powerpc64/crti.S: New file.
15016 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15017
26ecc33a
AS
15018 * Makeconfig (have-initfini): Don't set.
15019 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15020 * configure.in (nopic_initfini): Don't substitute.
15021 * config.h.in (HAVE_INITFINI): Don't #undef.
15022 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15023 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15024
3add8e13
JM
150252012-02-08 Joseph Myers <joseph@codesourcery.com>
15026
15027 Support crti.S and crtn.S provided directly by architectures.
15028 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15029 [crti.S in sysdirs] (omit-deps): Likewise.
15030 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15031 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15032 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15033 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15034 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15035 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15036 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15037 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15038 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15039 compiler output for sysdeps/generic/initfini.c.
15040 * sysdeps/i386/elf/Makefile: Remove file.
15041 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15042
a22f12b4
MP
150432012-02-07 Marek Polacek <polacek@redhat.com>
15044
15045 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15046 * sysdeps/gnu/_G_config.h: Likewise.
15047 * sysdeps/mach/hurd/_G_config.h: Likewise.
15048
148cf100
MP
150492012-02-07 Marek Polacek <polacek@redhat.com>
15050
15051 * math/Makefile (tests): Add tst-CMPLX2.
15052 * math/tst-CMPLX2.c: New file.
15053
cfdc0dd7
AS
150542012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15055
84ba42c4
AS
15056 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15057
cfdc0dd7
AS
15058 * math/libm-test.inc (jn_test): Add missing L suffix.
15059
622c86f4
MP
150602012-02-06 Marek Polacek <polacek@redhat.com>
15061
15062 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15063 * sysdeps/i386/fpu/e_powf.S: Likewise.
15064 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15065 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15066 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15067 * sysdeps/i386/fpu/e_pow.S: Likewise.
15068 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15069 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15070 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15071 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15072 * sysdeps/i386/fpu/e_log2.S: Likewise.
15073 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15074 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15075 * sysdeps/i386/fpu/e_powl.S: Likewise.
15076 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15078 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15079 * sysdeps/i386/fpu/e_logl.S: Likewise.
15080 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15081 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15082 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15083 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15084 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15085 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15086 * sysdeps/i386/fpu/e_log.S: Likewise.
15087 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15088 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15089 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15090 * sysdeps/i386/fpu/e_logf.S: Likewise.
15091 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15092 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15093 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15094 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15095 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15096 * sysdeps/i386/fpu/e_log10.S: Likewise.
15097 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15098 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15099 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15100 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15101 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15102 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15103 * sysdeps/i386/asm-syntax.h: Likewise.
15104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15105 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15106 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15107 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15108 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15109 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15110 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15111 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15112 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15113 * sysdeps/powerpc/sysdep.h: Likewise.
15114 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15115 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15116
d4a54ac6
JM
151172012-02-06 Joseph Myers <joseph@codesourcery.com>
15118
15119 [BZ #411]
15120 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15121
314054ea
JM
151222012-02-06 Joseph Myers <joseph@codesourcery.com>
15123
15124 * sysdeps/i386/sysdep.h: Include <features.h>.
15125 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15126 version.
15127
d8e0ca50
JM
151282012-02-05 Joseph Myers <joseph@codesourcery.com>
15129
15130 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15131 Define.
15132 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15133 LOAD_PIC_REG_STR.
15134
b1da7dd9
JM
151352012-02-03 Joseph Myers <joseph@codesourcery.com>
15136
15137 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15138 (SETUP_PIC_REG): Use GET_PC_THUNK.
15139 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15140 macro.
15141
9a1d9254
JM
151422012-02-03 Joseph Myers <joseph@codesourcery.com>
15143
15144 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15145 for non-PIC compilation.
15146 (SETUP_PIC_REG): Add .p2align directive.
15147 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15148 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15156 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15157 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15158 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15159 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15160 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15161 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15162 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15163 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15164 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15165 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15166 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15167 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15168 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15169 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15170 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15171 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15172 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15173 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15174 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15176 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15177 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15178 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15179 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15180 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15181 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15182 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15183 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15184 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15185 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15186 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15187 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15188
65dc3b75
JM
151892012-02-03 Joseph Myers <joseph@codesourcery.com>
15190
15191 * math/tst-CMPLX.c: Include <stdio.h>.
15192
d55bf177
JM
151932012-01-31 Joseph Myers <joseph@codesourcery.com>
15194
15195 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15196 float.
15197 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15198 * sysdeps/sparc/bits/mathdef.h: Likewise.
15199
69db4f8f
MP
152002012-01-31 Marek Polacek <polacek@redhat.com>
15201
15202 * libio/libio.h: Don't define _PARAMS.
15203 * locale/programs/config.h: Don't define PARAMS.
15204 * stdlib/strtol_l.c: Likewise.
15205 (__strtol_l): Remove PARAMS from the prototype.
15206
41b81892
UD
152072012-01-31 Ulrich Drepper <drepper@gmail.com>
15208
3b49edc0
UD
15209 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15210 names. Just use the correct names. Remove unnecessary wrapper
15211 functions.
15212 * malloc/arena.c: Likewise.
15213 * malloc/hooks.c: Likewise.
15214
41b81892
UD
15215 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15216 ARENA_TEST says not to. Simplify test for creation of a new arena.
15217 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15218
27a25b6e
UD
152192012-01-30 Ulrich Drepper <drepper@gmail.com>
15220
15221 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15222 into tail calls.
15223 (update_get_addr): New function.
15224 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15225 GET_ADDR_MODULE parameter.
15226
c8a89e7d
JM
152272012-01-30 Joseph Myers <joseph@codesourcery.com>
15228
15229 * crypt/cert.c: Remove __STDC__ conditionals.
15230 * crypt/crypt-entry.c: Likewise.
15231 * crypt/crypt_util.c: Likewise.
15232 * libio/filedoalloc.c: Likewise.
15233 * libio/fileops.c: Likewise.
15234 * libio/genops.c: Likewise.
15235 * libio/iofclose.c: Likewise.
15236 * libio/iofdopen.c: Likewise.
15237 * libio/iofopen.c: Likewise.
15238 * libio/iofopen64.c: Likewise.
15239 * libio/iogetdelim.c: Likewise.
15240 * libio/iopopen.c: Likewise.
15241 * libio/obprintf.c: Likewise.
15242 * libio/oldfileops.c: Likewise.
15243 * libio/oldiofclose.c: Likewise.
15244 * libio/oldiofdopen.c: Likewise.
15245 * libio/oldiofopen.c: Likewise.
15246 * libio/oldiopopen.c: Likewise.
15247 * libio/wfiledoalloc.c: Likewise.
15248 * libio/wgenops.c: Likewise.
15249 * locale/programs/xmalloc.c: Likewise.
15250 * misc/syslog.c: Likewise.
15251 * stdio-common/xbug.c: Likewise.
15252 * string/memchr.c: Likewise.
15253 * string/memcmp.c: Likewise.
15254 * string/memrchr.c: Likewise.
15255 * string/rawmemchr.c: Likewise.
15256 * sysdeps/posix/getcwd.c: Likewise.
15257 * time/strftime_l.c: Likewise.
15258
3b100462
JM
152592012-01-30 Joseph Myers <joseph@codesourcery.com>
15260
15261 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
15262 * config.make.in (config-cflags-sse2avx): Define.
15263 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15264 Fix typo.
15265
607998af
CM
152662012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15267
15268 * scripts/config.guess: Update from upstream config git repository.
15269 * scripts/config.sub: Likewise.
15270
3601428f
CM
152712012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15272
3ac8b282
CM
15273 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15274 (EM_NUM): Update.
15275 (R_TILEPRO_*, R_TILEGX_*): New macros.
15276
e034841e
CM
15277 * scripts/firstversions.awk: Fix bug in version range handling.
15278
540d7568
CM
15279 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15280
3601428f
CM
15281 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15282
463de862
CM
15283 * include/sys/epoll.h: New file.
15284 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15285 libc_hidden_def.
15286
73139a76
UD
152872012-01-28 Ulrich Drepper <drepper@gmail.com>
15288
96bc5b45
UD
15289 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15290 Avoid unnecessary __WORDSIZE == 64 test.
15291 (fmaxf): Use VEX format if possible.
15292 (fmax): Likewise.
15293 (fminf): Likewise.
15294 (fmin): Likewise.
15295
56f6f6a2
UD
15296 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15297 * math/math_private.h: Remove libc_fegetround* and
15298 libc_fesetround*.
15299 * sysdeps/i386/configure.in: Check for -msse2avx.
15300 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15301 also if SSE2AVX is defined.
15302 Remove libc_fegetround* and libc_fesetround*.
15303 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15304 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15305 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15306 of HAS_YMM_USABLE.
15307 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15308 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15309 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15310 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15311 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15312
73139a76
UD
15313 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15314
d73f93a4
AZ
153152012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15316
15317 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15318 size is not set.
15319 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15320
6ee65ed6
UD
153212012-01-27 Ulrich Drepper <drepper@gmail.com>
15322
15323 [BZ #13618]
15324 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15325 relocation.
15326 * Makeconfig (libm): Define.
15327 * elf/Makefile: Add rules to build and run tst-relsort1.
15328 * elf/tst-relsort1.c: New file.
15329 * elf/tst-relsort1mod1.c: New file.
15330 * elf/tst-relsort1mod2.c: New file.
15331
8db21882
JM
153322012-01-27 Joseph Myers <joseph@codesourcery.com>
15333
15334 * math/s_ldexp.c: Remove __STDC__ conditionals.
15335 * math/s_ldexpf.c: Likewise.
15336 * math/s_ldexpl.c: Likewise.
15337 * math/s_nextafter.c: Likewise.
15338 * math/s_nexttowardf.c: Likewise.
15339 * math/s_significand.c: Likewise.
15340 * math/s_significandf.c: Likewise.
15341 * math/s_significandl.c: Likewise.
15342 * math/w_jnl.c: Likewise.
15343 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15344 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15345 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15346 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15347 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15356 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15358 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15362 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15363 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15364 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15365 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15366 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15367 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15368 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15369 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15370 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15371 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15372 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15373 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15374 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15375 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15376 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15377 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15378 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15379 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15380 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15381 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15382 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15383 * sysdeps/ieee754/k_standard.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15394 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15396 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15397 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15398 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15399 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15400 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15401 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15403 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15404 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15405 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15406 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15407 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15408 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15413 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15415 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15416 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15417 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15419 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15420 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15421 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15422 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15445 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15447 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15449 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15450 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15451 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15452 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15453 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15454 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15459 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15460 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15461 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15462 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15463 * sysdeps/ieee754/s_matherr.c: Likewise.
15464 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15465 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15468
965a54a4
JM
154692012-01-26 Joseph Myers <joseph@codesourcery.com>
15470
15471 * crypt/md5.h: Remove __STDC__ conditionals.
15472 * libio/libioP.h: Likewise.
15473 * locale/programs/config.h: Likewise.
15474 * sysdeps/generic/sysdep.h: Likewise.
15475 * sysdeps/i386/asm-syntax.h: Likewise.
15476 * sysdeps/s390/asm-syntax.h: Likewise.
15477 * sysdeps/unix/sysdep.h: Likewise.
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15480
7071ad79
JM
154812012-01-26 Joseph Myers <joseph@codesourcery.com>
15482
15483 * libio/libio.h: Remove __STDC__ conditionals.
15484 * malloc/obstack.h: Likewise.
15485 * math/complex.h: Likewise.
15486 * math/math.h: Likewise.
15487 * sysdeps/generic/_G_config.h: Likewise.
15488 * sysdeps/gnu/_G_config.h: Likewise.
15489 * sysdeps/mach/hurd/_G_config.h: Likewise.
15490 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15491 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15492 * sysdeps/sparc/bits/mathdef.h: Likewise.
15493
afc5ed09
UD
154942012-01-26 Ulrich Drepper <drepper@gmail.com>
15495
15496 [BZ #13583]
15497 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 15498 Clean up HAS_* macros.
afc5ed09 15499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
15500 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
15501 possible.
15502 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
15503 HAS_AVX.
15504 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15505 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15506 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15507 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15508 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 15509
bdb6de1d
JM
155102012-01-25 Joseph Myers <joseph@codesourcery.com>
15511
15512 * elf/tst-unique3.cc (gets): Remove declaration.
15513 * elf/tst-unique3lib.cc (gets): Likewise.
15514 * elf/tst-unique3lib2.cc (gets): Likewise.
15515 * elf/tst-unique4.cc (gets): Likewise.
15516
b15549e6
UD
155172012-01-24 Ulrich Drepper <drepper@gmail.com>
15518
15519 * include/stdio.h: Add C++ protection. Add gets declarations and
15520 definitions.
15521 * debug/tst-chk1.c: Don't declare gets here.
15522 * stdio-common/tst-gets.c: Likewise.
15523
a037381f
JM
155242012-01-24 Joseph Myers <joseph@codesourcery.com>
15525
15526 * posix/glob: Remove directory.
15527
f1d4aa75
JM
155282012-01-24 Joseph Myers <joseph@codesourcery.com>
15529
15530 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
15531
81c0c964
PT
155322012-01-22 Pino Toscano <toscano.pino@tiscali.it>
15533
15534 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
15535 of the non-standard EPFNOSUPPORT.
15536
0ea698ae
ST
155372011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
15538
15539 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
15540 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
15541 ANYWHERE set to 1 only on KERN_NO_SPACE error.
15542
d220b117
UD
155432012-01-21 Ulrich Drepper <drepper@gmail.com>
15544
15545 * wcsmbs/uchar.h: Test __STDC_VERSION__.
15546
3e1aa84e
UD
155472012-01-20 Ulrich Drepper <drepper@gmail.com>
15548
15549 * nscd/aicache.c (addhstaiX): Do not cache negative results of
15550 transient errors.
15551 * nscd/grpcache.c (cache_addgr): Likewise.
15552 * nscd/hstcache.c (cache_addhst): Likewise.
15553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15554 * nscd/pwdcache.c (cache_addpw): Likewise.
15555 * nscd/servicescache.c (cache_addserv): Likewise.
15556
400aa020
UD
155572012-01-16 Ulrich Drepper <drepper@gmail.com>
15558
d77e7869
UD
15559 * malloc/malloc.c: Various cleanups.
15560 * malloc/hooks.c: Likewise.
15561
400aa020
UD
15562 * stdlib/Makefile (tests): Add bug-fmtmsg1.
15563 * stdlib/bug-fmtmsg1.c: New file.
15564
15565 * stdlib/fmtmsg.c (init): Add missing unlock.
15566 Patch by Peng Haitao <penght@cn.fujitsu.com>.
15567
e0a309cf
MP
155682012-01-12 Marek Polacek <polacek@redhat.com>
15569
15570 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
15571 and _GNU_SOURCE.
15572
929d11c7
WS
155732012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
15574
15575 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
15576 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
15577 macro to ensure uniqueness of label name.
15578 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
15579 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
15580
41d0e869
UD
155812012-01-11 Ulrich Drepper <drepper@gmail.com>
15582
0cc5ed3b
UD
15583 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
15584
41d0e869
UD
15585 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
15586 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
15589
a47a831a
UD
155902012-01-10 Ulrich Drepper <drepper@gmail.com>
15591
daa891c0
UD
15592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
15593
15594 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
15595 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15597
e58ef0f2
UD
15598 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
15599
a47a831a 15600 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
15601 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15602 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 15603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
15604
15605 * math/bits/math-finite.h: Add ldexp support.
15606
a0bfc9c7
MP
156072012-01-10 Marek Polacek <polacek@redhat.com>
15608
15609 * locale/programs/localedef.h (show_archive_content): Add noreturn
15610 attribute.
15611
d6e97a1d
UD
156122012-01-09 Ulrich Drepper <drepper@gmail.com>
15613
15614 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
15615
d5835c26
UD
156162012-01-08 Ulrich Drepper <drepper@gmail.com>
15617
e5f484c6
UD
15618 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
15619
d5835c26
UD
15620 * io/Makefile (headers): Add bits/poll2.h.
15621
d1f741e9
WS
156222011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
15623
15624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
15625 typo #include statement.
15626
ec09c1c4
UD
156272012-01-08 Ulrich Drepper <drepper@gmail.com>
15628
15629 * include/sys/cdefs.h: Define __attribute_alloc_size.
15630 * catgets/gencat.c: Add alloc_size attribute and apply consistently
15631 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
15632 * elf/pldd.c: Likewise.
15633 * iconv/iconv_charmap.c: Likewise.
15634 * iconv/iconvconfig.c: Likewise.
15635 * iconv/strtab.c: Likewise.
15636 * locale/programs/locale.c: Likewise.
15637 * locale/programs/localedef.h: Likewise.
15638 * locale/programs/simple-hash.c: Likewise.
15639 * nscd/nscd.h: Likewise.
15640 * nss/makedb.c: Likewise.
15641 * sysdeps/generic/ldconfig.h: Likewise.
15642 * locale/programs/localedef.c: Remove xmalloc prototype.
15643 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
15644
20b38e03
PP
156452012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15646
15647 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
15648 appropriate.
15649
a0da5fe1
UD
156502012-01-08 Ulrich Drepper <drepper@gmail.com>
15651
1d5a644a 15652 * math/Makefile (tests): Add tst-CMPLX.
669704fd 15653 * math/tst-CMPLX.c: New file.
1d5a644a 15654
8784a6db
UD
15655 * math/complex.h (CMPLXL): Fix typo.
15656
d9a216c0
UD
15657 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
15658 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
15659 GLIBC_2.16.
15660 * debug/tst-chk1.c: Add poll and ppoll tests.
15661 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
15662 * include/sys/poll.h: Add hidden proto for ppoll.
15663 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
15664 * sysdeps/mach/hurd/ppoll.c: Likewise.
15665 * io/ppoll.c: Likewise.
15666 * debug/poll_chk.c: New file.
15667 * debug/ppoll_chk.c: New file.
15668 * include/bits/poll2.h: New file.
15669 * io/bits/poll2.h: New file.
15670
ac097f5c
UD
15671 [BZ #1350]
15672 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
15673
2119dcfa
UD
15674 * configure.in: static is always set to yes. Remove.
15675 * config.make.in: Don't set build-static.
15676 * Makeconfig: Remove use of build-static.
15677 * dlfcn/Makefile: Likewise.
15678 * elf/Makefile: Likewise.
15679 * math/Makefile: Likewise.
15680 * misc/Makefile: Likewise.
15681 * nptl/Makefile: Likewise.
15682 * sysdeps/mach/hurd/Makefile: Likewise.
15683
121766a9
UD
15684 * configure.in: PWD_P is not used anymore.
15685 * config.make.in: Remove PWD_P entry.
15686
51a1d39c 15687 * configure.in: Remove last remnants of RANLIB.
8720d066 15688 No need to check for signed size_t anymore.
215f4bdc
UD
15689 Don't set libc_commonpagesize and libc_relro_required here for Alpha
15690 and IA-64.
3857022a 15691 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
15692 * aclocal.m4: Likewise.
15693
d3ed7225
UD
15694 * wcsmbs/mbrtoc16.c: Implement using towc function.
15695 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
15696 * wcsmbs/wcsmbsload.c: Likewise.
15697 * iconv/gconv_simple.c: Likewise.
15698 * iconv/gconv_int.h: Likewise.
15699 * iconv/gconv_builtin.h: Likewise.
15700 * iconv/iconv_prog.c: Remove CHAR16 handling.
15701
15702 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
15703
15704 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
15705
a0da5fe1
UD
15706 * configure.in: Remove --with-elf and --enable-bounded options.
15707 Dont set base_machine for ia64. More non-ELF conditions removed.
15708 Remove testing and setting of leading underscore information.
15709 * config.make.in (build-bounded): Set to no.
15710 * config.h.in: Remove NO_UNDERSCORES entry.
15711 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
15712 them.
15713 * csu/start.c: Remove !NO_UNDERSCORE code.
15714 * locale/localeinfo.h: Likewise.
15715 * sysdeps/generic/machine-gmon.h: Likewise.
15716 * sysdeps/generic/sysdep.h: Likewise.
15717 * sysdeps/i386/sysdep.h: Likewise.
15718 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15719 * sysdeps/mach/sysdep.h: Likewise.
15720 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15721 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15722 * sysdeps/sh/sysdep.h: Likewise.
15723 * sysdeps/sparc/sparc32/alloca.S: Likewise.
15724 * sysdeps/unix/i386/sysdep.S: Likewise.
15725 * sysdeps/unix/sparc/start.c: Likewise.
15726 * sysdeps/unix/sparc/sysdep.S: Likewise.
15727 * sysdeps/unix/sparc/sysdep.h: Likewise.
15728 * sysdeps/unix/start.c: Likewise.
15729 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15730 * sysdeps/x86_64/sysdep.h: Likewise.
15731
df78418a
UD
157322012-01-07 Ulrich Drepper <drepper@gmail.com>
15733
a784e502
UD
15734 [BZ #13553]
15735 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
15736 for non-gcc.
15737 * argp/argp-fmtstream.h: Use const instead __const.
15738 * argp/argp.h: Likewise.
15739 * assert/assert.h: Likewise.
15740 * bits/fenv.h: Likewise.
15741 * bits/sched.h: Likewise.
15742 * bits/sigset.h: Likewise.
15743 * bits/sigthread.h: Likewise.
15744 * catgets/nl_types.h: Likewise.
15745 * conform/data/pthread.h-data: Likewise.
15746 * crypt/crypt-private.h: Likewise.
15747 * crypt/crypt.h: Likewise.
15748 * crypt/crypt_util.c: Likewise.
15749 * ctype/ctype.h: Likewise.
15750 * debug/execinfo.h: Likewise.
15751 * debug/mbsnrtowcs_chk.c: Likewise.
15752 * debug/mbsrtowcs_chk.c: Likewise.
15753 * debug/wcsnrtombs_chk.c: Likewise.
15754 * debug/wcsrtombs_chk.c: Likewise.
15755 * debug/wcstombs_chk.c: Likewise.
15756 * dirent/dirent.h: Likewise.
15757 * dlfcn/dlfcn.h: Likewise.
15758 * elf/neededtest4.c: Likewise.
15759 * grp/grp.h: Likewise.
15760 * gshadow/gshadow.h: Likewise.
15761 * iconv/gconv.h: Likewise.
15762 * iconv/gconv_int.h: Likewise.
15763 * iconv/gconv_simple.c: Likewise.
15764 * iconv/iconv.h: Likewise.
15765 * iconv/loop.c: Likewise.
15766 * iconv/skeleton.c: Likewise.
15767 * include/aio.h: Likewise.
15768 * include/aliases.h: Likewise.
15769 * include/argz.h: Likewise.
15770 * include/arpa/inet.h: Likewise.
15771 * include/assert.h: Likewise.
15772 * include/dirent.h: Likewise.
15773 * include/dlfcn.h: Likewise.
15774 * include/execinfo.h: Likewise.
15775 * include/fcntl.h: Likewise.
15776 * include/fenv.h: Likewise.
15777 * include/glob.h: Likewise.
15778 * include/grp.h: Likewise.
15779 * include/libintl.h: Likewise.
15780 * include/mntent.h: Likewise.
15781 * include/netdb.h: Likewise.
15782 * include/pwd.h: Likewise.
15783 * include/rpc/netdb.h: Likewise.
15784 * include/sched.h: Likewise.
15785 * include/search.h: Likewise.
15786 * include/shadow.h: Likewise.
15787 * include/signal.h: Likewise.
15788 * include/stdio.h: Likewise.
15789 * include/stdlib.h: Likewise.
15790 * include/string.h: Likewise.
15791 * include/sys/socket.h: Likewise.
15792 * include/sys/stat.h: Likewise.
15793 * include/sys/statfs.h: Likewise.
15794 * include/sys/statvfs.h: Likewise.
15795 * include/sys/syslog.h: Likewise.
15796 * include/sys/time.h: Likewise.
15797 * include/sys/uio.h: Likewise.
15798 * include/time.h: Likewise.
15799 * include/unistd.h: Likewise.
15800 * include/utmp.h: Likewise.
15801 * include/wchar.h: Likewise.
15802 * include/wctype.h: Likewise.
15803 * inet/aliases.h: Likewise.
15804 * inet/arpa/inet.h: Likewise.
15805 * inet/netinet/ether.h: Likewise.
15806 * inet/netinet/in.h: Likewise.
15807 * intl/libintl.h: Likewise.
15808 * io/bits/fcntl2.h: Likewise.
15809 * io/fcntl.h: Likewise.
15810 * io/ftw.h: Likewise.
15811 * io/sys/poll.h: Likewise.
15812 * io/sys/stat.h: Likewise.
15813 * io/sys/statfs.h: Likewise.
15814 * io/sys/statvfs.h: Likewise.
15815 * io/utime.h: Likewise.
15816 * libio/bits/stdio.h: Likewise.
15817 * libio/bits/stdio2.h: Likewise.
15818 * libio/libio.h: Likewise.
15819 * libio/libioP.h: Likewise.
15820 * libio/stdio.h: Likewise.
15821 * locale/lc-ctype.c: Likewise.
15822 * locale/locale.h: Likewise.
15823 * login/utmp.h: Likewise.
15824 * malloc/arena.c: Likewise.
15825 * malloc/malloc.c: Likewise.
15826 * malloc/malloc.h: Likewise.
15827 * malloc/mcheck.c: Likewise.
15828 * malloc/mtrace.c: Likewise.
15829 * math/bits/mathcalls.h: Likewise.
15830 * math/fenv.h: Likewise.
15831 * math/math_private.h: Likewise.
15832 * misc/bits/error.h: Likewise.
15833 * misc/bits/syslog.h: Likewise.
15834 * misc/err.h: Likewise.
15835 * misc/error.h: Likewise.
15836 * misc/fstab.h: Likewise.
15837 * misc/mntent.h: Likewise.
15838 * misc/regexp.h: Likewise.
15839 * misc/search.h: Likewise.
15840 * misc/sgtty.h: Likewise.
15841 * misc/sys/mman.h: Likewise.
15842 * misc/sys/syslog.h: Likewise.
15843 * misc/sys/uio.h: Likewise.
15844 * misc/sys/xattr.h: Likewise.
15845 * misc/ttyent.h: Likewise.
15846 * nis/rpcsvc/ypclnt.h: Likewise.
15847 * nss/nss.h: Likewise.
15848 * posix/bits/unistd.h: Likewise.
15849 * posix/fnmatch.h: Likewise.
15850 * posix/glob.h: Likewise.
15851 * posix/sched.h: Likewise.
15852 * posix/spawn.h: Likewise.
15853 * posix/sys/wait.h: Likewise.
15854 * posix/unistd.h: Likewise.
15855 * posix/wordexp.h: Likewise.
15856 * pwd/pwd.h: Likewise.
15857 * resolv/netdb.h: Likewise.
15858 * resource/sys/resource.h: Likewise.
15859 * rt/aio.h: Likewise.
15860 * rt/bits/mqueue2.h: Likewise.
15861 * rt/mqueue.h: Likewise.
15862 * shadow/shadow.h: Likewise.
15863 * signal/signal.h: Likewise.
15864 * socket/send.c: Likewise.
15865 * socket/sendto.c: Likewise.
15866 * socket/sys/socket.h: Likewise.
15867 * stdio-common/printf.h: Likewise.
15868 * stdlib/bits/stdlib.h: Likewise.
15869 * stdlib/fmtmsg.h: Likewise.
15870 * stdlib/monetary.h: Likewise.
15871 * stdlib/stdlib.h: Likewise.
15872 * stdlib/ucontext.h: Likewise.
15873 * streams/stropts.h: Likewise.
15874 * string/argz.h: Likewise.
15875 * string/bits/string2.h: Likewise.
15876 * string/string.h: Likewise.
15877 * string/strings.h: Likewise.
15878 * sunrpc/rpc/auth.h: Likewise.
15879 * sunrpc/rpc/auth_des.h: Likewise.
15880 * sunrpc/rpc/clnt.h: Likewise.
15881 * sunrpc/rpc/netdb.h: Likewise.
15882 * sunrpc/rpc/pmap_clnt.h: Likewise.
15883 * sunrpc/rpc/xdr.h: Likewise.
15884 * sysdeps/generic/inttypes.h: Likewise.
15885 * sysdeps/generic/net/if.h: Likewise.
15886 * sysdeps/generic/sys/swap.h: Likewise.
15887 * sysdeps/gnu/net/if.h: Likewise.
15888 * sysdeps/gnu/utmpx.h: Likewise.
15889 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
15890 * sysdeps/i386/i486/bits/string.h: Likewise.
15891 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
15892 * sysdeps/s390/bits/string.h: Likewise.
15893 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
15894 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
15895 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
15896 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
15897 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15898 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
15899 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
15900 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
15901 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
15902 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
15903 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
15904 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15905 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
15906 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15907 * sysdeps/unix/sysv/linux/readv.c: Likewise.
15908 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
15909 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15911 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15912 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
15914 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
15915 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
15916 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
15917 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
15918 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
15919 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
15920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15921 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
15922 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
15923 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
15924 * sysvipc/sys/ipc.h: Likewise.
15925 * sysvipc/sys/msg.h: Likewise.
15926 * sysvipc/sys/sem.h: Likewise.
15927 * sysvipc/sys/shm.h: Likewise.
15928 * termios/termios.h: Likewise.
15929 * time/sys/time.h: Likewise.
15930 * time/time.h: Likewise.
15931 * wcsmbs/bits/wchar2.h: Likewise.
15932 * wcsmbs/uchar.h: Likewise.
15933 * wcsmbs/wchar.h: Likewise.
15934 * wctype/wctype.h: Likewise.
15935
0269750c
UD
15936 [BZ #13551]
15937 * Makeconfig: Remove all but ELF support including AIX support.
15938 * Makerules: Likewise.
15939 * config.h.in: Likewise.
15940 * config.make.in: Likewise.
15941 * configure: Likewise.
15942 * configure.in: Likewise.
15943 * csu/Makefile: Likewise.
15944 * csu/version.c: Likewise.
15945 * debug/Makefile: Likewise.
15946 * dlfcn/Makefile: Likewise.
15947 * elf/Makefile: Likewise.
15948 * extra-lib.mk: Likewise.
15949 * iconv/Makefile: Likewise.
15950 * include/libc-symbols.h: Likewise.
15951 * include/shlib-compat.h: Likewise.
15952 * resolv/Makefile: Likewise.
15953 * resolv/res_libc.c: Likewise.
15954 * rt/Makefile: Likewise.
15955 * sysdeps/i386/asm-syntax.h: Likewise.
15956 * sysdeps/i386/sysdep.h: Likewise.
15957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
15958 * sysdeps/mach/sysdep.h: Likewise.
15959 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
15960 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
15961 * sysdeps/s390/asm-syntax.h: Likewise.
15962 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15963 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15964 * sysdeps/sh/sysdep.h: Likewise.
15965 * sysdeps/unix/sparc/sysdep.h: Likewise.
15966 * sysdeps/wordsize-32/divdi3.c: Likewise.
15967 * sysdeps/x86_64/sysdep.h: Likewise.
15968
00bbd29b
UD
15969 * argp/Versions: Remove _argp_unlock_xxx.
15970
15971 [BZ #13559]
15972 * abilist/ld.abilist: Update. Adjust for removal of tls option.
15973 * abilist/libBrokenLocale.abilist: Likewise.
15974 * abilist/libanl.abilist: Likewise.
15975 * abilist/libc.abilist: Likewise.
15976 * abilist/libcrypt.abilist: Likewise.
15977 * abilist/libdl.abilist: Likewise.
15978 * abilist/libm.abilist: Likewise.
15979 * abilist/libnsl.abilist: Likewise.
15980 * abilist/libpthread.abilist: Likewise.
15981 * abilist/libresolv.abilist: Likewise.
15982 * abilist/librt.abilist: Likewise.
15983 * abilist/libthread_db.abilist: Likewise.
15984 * abilist/libutil.abilist: Likewise.
15985 * abilist/libnss_db.abilist: New file.
15986
15987 * scripts/abilist.awk: Add support for indirect functions.
15988
a2693a0e
UD
15989 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
15990
3f05895f
UD
15991 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
15992
ecb6fb48
UD
15993 * shlib-versions: Remove entries for ports architectures.
15994
664f8cb9
UD
15995 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
15996 files in ports.
15997 * elf/stackguard-macros.h: Remove support for IA-64.
15998 * elf/tst-auditmod1.c: Likewise.
15999 * sysdeps/generic/ldsodefs.h: Likewise.
16000
7ae81d88
UD
16001 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16002 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16003 configure files.
16004
bdeba135
UD
16005 [BZ #13552]
16006 * configure.in: Remove --enable-omitfp support.
16007 * FAQ.in: Adjust.
16008 * config.make.in: Likewise.
16009 * Makeconfig: Likewise.
16010 * manual/install.texi: Likewise.
16011
d75a0a62
UD
16012 In case anyone cares, the IA-64 architecture could move to ports.
16013 * sysdeps/ia64/*: Removed.
16014 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 16015 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 16016
dcc9756b
UD
16017 [BZ #13555]
16018 * configure.in: Remove entries for unsupported architectures.
16019
d3761ebc 16020 [BZ #13533]
9954432e
UD
16021 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16022 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16023 routines.
16024 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16025 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16026 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16027 fall back to using wcrtomb.
16028 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16029 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16030 renaming.
16031 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16032 * wcsmbs/tst-c16c32-1.c: New file.
16033
16034 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16035 local variable.
16036
c3a87236
UD
16037 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16038
28926a1b
UD
16039 * elf/tst-unique3.cc: Add explicit declaration of gets.
16040 * elf/tst-unique3lib.cc: Likewise.
16041 * elf/tst-unique3lib2.cc: Likewise.
16042 * elf/tst-unique4.cc: Likewise.
16043
df78418a
UD
16044 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16045
8ecd6b2a
JM
160462012-01-06 Joseph Myers <joseph@codesourcery.com>
16047
16048 [BZ #13566]
16049 * assert/assert.h (static_assert): Don't define for C++.
16050 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16051 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16052
9f115170
UD
160532012-01-03 Ulrich Drepper <drepper@gmail.com>
16054
5e0d0300
UD
16055 * iconv/loop.c (single loop): Fix assertion in storing of
16056 remaining bytes.
16057
9f115170
UD
16058 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16059
81fb02b0
UD
160602012-01-01 Ulrich Drepper <drepper@gmail.com>
16061
16062 * posix/getconf.c: Update copyright year.
16063 * nss/getent.c: Likewise.
a316c1f6 16064 * nss/makedb.c: Likewise.
81fb02b0
UD
16065 * iconv/iconvconfig.c: Likewise.
16066 * iconv/iconv_prog.c: Likewise.
16067 * elf/ldconfig.c: Likewise.
a316c1f6
UD
16068 * elf/pldd.c: Likewise.
16069 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
16070 * catgets/gencat.c: Likewise.
16071 * csu/version.c: Likewise.
16072 * elf/ldd.bash.in: Likewise.
16073 * elf/sprof.c (print_version): Likewise.
16074 * locale/programs/locale.c: Likewise.
16075 * locale/programs/localedef.c: Likewise.
a316c1f6 16076 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
16077 * nscd/nscd.c (print_version): Likewise.
16078 * debug/xtrace.sh: Likewise.
16079 * malloc/memusage.sh: Likewise.
16080 * malloc/mtrace.pl: Likewise.
16081 * debug/catchsegv.sh: Likewise.
16082
2ba92745
JJ
160832011-12-30 Jakub Jelinek <jakub@redhat.com>
16084
16085 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16086 pure attribute.
16087
dadebdae
UD
160882011-12-24 Ulrich Drepper <drepper@gmail.com>
16089
d3761ebc 16090 [BZ #13533]
db6af3eb
UD
16091 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16092 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16093 transformations.
16094 * iconv/gconv_int.h: Likewise.
16095 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16096 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16097 from libc for GLIBC_2.16.
16098 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16099 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16100 * wcsmbs/uchar.h: Really define mbstate_t.
16101 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16102 * wcsmbs/c16rtomb.c: New file.
16103 * wcsmbs/mbrtoc16.c: New file.
16104 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16105 for C/POSIX locale.
16106 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16107 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16108
dadebdae
UD
16109 * wcsmbs/wchar.h: Add missing __restrict.
16110
67371b56
UD
161112011-12-23 Ulrich Drepper <drepper@gmail.com>
16112
74033a25
UD
16113 [BZ #13532]
16114 * time/Makefile (routines): Add timespec_get.
16115 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16116 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16117 timespec for ISO C11.
16118 * time/timespec_get.c: New file.
16119 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16120 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16121
380d7e87
UD
16122 [BZ #13531]
16123 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16124 * stdlib/stdlib.h: Declare aligned_alloc.
16125 * Versions.def: Add GLIBC_2.16 for libc.
16126 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16127
4e9e7a35
UD
16128 [BZ 13527]
16129 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16130 ISO C11.
16131
380d7e87 16132 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
16133 code.
16134
03a71829
UD
16135 [BZ #13528]
16136 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16137
839e283e
UD
16138 [BZ #13529]
16139 * assert/assert.h (static_assert): Define.
16140
ce5294e2 16141 * version.h: Update for 2.16 development version.
90fa7312 16142
8d44e150 16143 [BZ #13526]
d7809905
UD
16144 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16145 _ISOC11_SOURCE.
16146
c0da14cd
UD
16147 * version.h (RELEASE): Bump for 2.15 release.
16148 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16149
530a3249
MP
16150 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16151 Patch by Marek Polacek <mpolacek@redhat.com>.
16152
67371b56
UD
16153 * bits/byteswap.h: Protect long long constants with __extension__.
16154 * sysdeps/i386/bits/byteswap.h: Likewise.
16155 * sysdeps/ia64/bits/byteswap.h: Likewise.
16156 * sysdeps/s390/bits/byteswap.h: Likewise.
16157 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16158
15db4de1
LD
161592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16160
16161 [BZ #13540]
bbe315ea
LD
16162 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16163 destination buffer.
15db4de1
LD
16164 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16165
2b2596b1
MP
161662011-12-23 Marek Polacek <polacek@redhat.com>
16167
16168 * elf/dl-addr.c (determine_info): Add inline keyword.
16169 * elf/tst-auditmod4b.c (check_avx): Likewise.
16170 * elf/tst-auditmod6b.c (check_avx): Likewise.
16171 * elf/tst-auditmod6c.c (check_avx): Likewise.
16172 * elf/tst-auditmod7b.c (check_avx): Likewise.
16173
70c6c246
UD
161742011-12-23 Ulrich Drepper <drepper@gmail.com>
16175
16176 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16177 !__SSE_MATH__.
16178
c044cf14
LD
161792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16180
15db4de1 16181 [BZ #13540]
c044cf14
LD
16182 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16183 processing for last bytes.
16184
6b13d9d9
BH
161852011-08-06 Bruno Haible <bruno@clisp.org>
16186
d455f537
BH
16187 [BZ #13061]
16188 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16189 U+0385, not to U+1FEE.
16190
6b13d9d9
BH
16191 [BZ #13062]
16192 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16193 entry for U+00A5 U+0301.
16194
db910efd
UD
161952011-12-22 Ulrich Drepper <drepper@gmail.com>
16196
27deeafc
UD
16197 [BZ #13166]
16198 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16199 buffer for the output is too small.
16200
aed9d171
UD
16201 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16202 optimization.
16203
db910efd
UD
16204 [BZ #13185]
16205 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16206 SSE flags if possible.
16207
2bd779ae
LD
162082011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16209
e7f9dac3 16210 [BZ #13540]
2bd779ae
LD
16211 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16212 processing for last bytes.
16213
154bfc16
JM
162142011-12-22 Joseph Myers <joseph@codesourcery.com>
16215
16216 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16217 (syscall-list-default-options, syscall-list-default-condition)
16218 (syscall-list-includes): Define.
16219 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16220 list of ABIs and options and #if conditions for each ABI. Do not
16221 handle common syscalls between ABIs specially.
16222 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16223 Remove.
16224 (syscall-list-variants, syscall-list-32bit-options)
16225 (syscall-list-32bit-condition, syscall-list-64bit-options)
16226 (syscall-list-64bit-condition): Define.
16227 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16228 (syscall-list-variants, syscall-list-32bit-options)
16229 (syscall-list-32bit-condition, syscall-list-64bit-options)
16230 (syscall-list-64bit-condition): Define.
16231 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16232 Remove.
16233 (syscall-list-variants, syscall-list-32bit-options)
16234 (syscall-list-32bit-condition, syscall-list-64bit-options)
16235 (syscall-list-64bit-condition): Define.
16236 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16237 Remove.
16238 (syscall-list-variants, syscall-list-32bit-options)
16239 (syscall-list-32bit-condition, syscall-list-64bit-options)
16240 (syscall-list-64bit-condition): Define.
16241
21eaf3a5
UD
162422011-12-22 Ulrich Drepper <drepper@gmail.com>
16243
16c6f992
UD
16244 * locale/iso-639.def: Add brx entry.
16245
41043168
UD
16246 [BZ #13328]
16247 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16248 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16249
21eaf3a5
UD
16250 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16251 __feraiseexcept_renamed.
16252
e3a851a2
UD
162532011-12-21 Ulrich Drepper <drepper@gmail.com>
16254
4920765e
UD
16255 [BZ #13538]
16256 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16257 EPOLLET with unsigned values.
16258 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16259 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16260
e3a851a2
UD
16261 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16262 to large cancellation.
16263 * math/s_cacoshf.c: Likewise.
16264 * math/s_cacoshl.c: Likewise.
16265
b27e24b8
RK
162662011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16267
16268 [BZ #13305]
aebefeee 16269 [BZ #12786]
b27e24b8
RK
16270 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16271 * math/s_cacoshf.c: Likewise.
16272 * math/s_cacoshl.c: Likewise.
16273
ee190f67
UD
162742011-12-21 Ulrich Drepper <drepper@gmail.com>
16275
16276 [BZ #13439]
16277 * iconv/gconv.h: Define __GCONV_SWAP.
16278 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16279 * iconvdata/utf-16.c: Likewise.
16280 * iconvdata/utf-32.c: Likewise.
16281
707f25df
AS
162822011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16283
16284 [BZ #13524]
16285 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16286 numerator after shifting it by one limb.
16287
d2daaa1e
RÁE
162882011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16289
16290 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16291 under [__USE_EXTERN_INLINES].
16292
a4647e72
UD
162932011-12-17 Ulrich Drepper <drepper@gmail.com>
16294
16295 [BZ #13446]
16296 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16297
f0b264f1
AZ
162982011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16299
16300 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16301 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16302 optimized code.
16303 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16304 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16305 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16306 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16307 for strncasecmp/strncasecmp_l compilation.
16308 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16309 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16310
8ef4f244
MP
163112011-12-08 Marek Polacek <mpolacek@redhat.com>
16312
16313 [BZ #13484]
16314 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16315 of __asm__.
16316
97ac2654
UD
163172011-12-17 Ulrich Drepper <drepper@gmail.com>
16318
16319 [BZ #13506]
16320 * time/tzfile.c (__tzfile_read): Check values from file header.
16321
91d2a845
WS
163222011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16323
16324 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16325 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16326 * powerpc/powerpc32/dl-start.S: Likewise.
16327 * powerpc/powerpc32/elf/start.S: Likewise.
16328 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16329 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16330 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16331 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16332 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16333 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16334 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16335 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16336 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16337 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16338 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16339 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16340 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16341 * powerpc/powerpc32/memset.S: Likewise.
16342 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16343 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16344 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16345 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16346 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16347 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16348 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16349 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16350 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16351 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16352 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16353 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16354 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16355
a1267ba1
AZ
163562011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16357
16358 * math/libm-test.inc: Added more nearbyint tests.
16359 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16360 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16361 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16362 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16363
ad8ac1bd
RL
163642011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16365
16366 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16367 FD_CLOEXEC.
16368
1d3e4b61
UD
163692011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16370
16371 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16372 Add wcscpy-ssse3 wcscpy-c.
16373 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16374 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16375 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16376 * sysdeps/x86_64/wcschr.S: New file.
16377 * sysdeps/x86_64/wcsrchr.S: New file.
16378 * string/test-strcmp.c: Remove checking of wcscmp function for
16379 wrong alignments.
16380 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16381 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16382 wcsrchr-sse2 wcsrchr-c.
16383 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16384 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16385 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16386 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16387 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16388 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16389 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16390 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16391 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16392 * wcsmbc/wcschr.c (WCSCHR): New macro.
16393
5b330a2d
UD
163942011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16395
16396 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16397 * wcsmbs/test-wcsrchr.c: New file.
16398 * string/test-strrchr.c: Add wcsrchr support.
16399 (WIDE): New macro.
16400 * wcsmbs/test-wcscpy.c: New file.
16401 * string/test-strcpy.c: Add wcscpy support.
16402 (WIDE): New macro.
26428b7c 16403
f039c043
UD
164042011-12-10 Ulrich Drepper <drepper@gmail.com>
16405
16406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16407 the inner loop.
16408
850fb039
AS
164092011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16410
16411 [BZ #13472]
16412 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16413
4efbd5cb
UD
164142011-12-04 Ulrich Drepper <drepper@gmail.com>
16415
52ff5dd0 16416 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 16417 Minor optimizations.
52ff5dd0 16418
4efbd5cb
UD
16419 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16420 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16421 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16422
8a426e12
UD
164232011-12-03 Ulrich Drepper <drepper@gmail.com>
16424
aff2453d
UD
16425 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16426 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16427 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16428 for gcc to avoid warnings.
16429 * inet/Makefile (tests): Add tst-checks.
16430 * inet/tst-checks.c: New file.
16431
16432 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16433 warning.
16434
16435 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16436 __wmemcmp_sse2.
16437
16438 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16439 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16440
8a426e12
UD
16441 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16442
9bea3473
UD
164432011-12-02 Ulrich Drepper <drepper@gmail.com>
16444
3a965496
UD
16445 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16446 problem.
16447
9bea3473
UD
16448 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16449
f101631b
UD
164502011-11-29 Joseph Myers <joseph@codesourcery.com>
16451
16452 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16453 conditional on GCC version.
16454 (__arch_compare_and_exchange_val_8_acq)
16455 (__arch_compare_and_exchange_val_16_acq)
16456 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16457 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16458 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16459
a98275aa
UD
164602011-12-02 Joseph Myers <joseph@codesourcery.com>
16461
16462 * sysdeps/sh/backtrace.c: New file.
16463
d4cc29a2
AS
164642011-12-02 Andreas Schwab <schwab@redhat.com>
16465
16466 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
16467 parenthesis.
16468
6257af2d
AS
164692011-12-01 Andreas Schwab <schwab@redhat.com>
16470
16471 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
16472 falling back to utime.
16473
b5f44c1a
AS
164742011-11-30 Andreas Schwab <schwab@redhat.com>
16475
16476 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
16477 expectations for float.
16478
f3a6cc0a
AS
164792011-11-29 Andreas Schwab <schwab@redhat.com>
16480
16481 * locale/weight.h (findidx): Add parameter len.
16482 * locale/weightwc.h (findidx): Likewise.
16483 * posix/fnmatch_loop.c (FCT): Adjust caller.
16484 * posix/regcomp.c (build_equiv_class): Likewise.
16485 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
16486 * posix/regexec.c (check_node_accept_bytes): Likewise.
16487 * string/strcoll_l.c (STRCOLL): Likewise.
16488 * string/strxfrm_l.c (STRXFRM): Likewise.
16489
9d65ea3a
UD
164902011-11-17 Ulrich Drepper <drepper@gmail.com>
16491
16492 * Makefile.in: Remove CVSOPT handling.
16493 * configure.in: Remove use of AC_REVISION.
16494 * iconvdata/Makefile (distribute): No need to filter out CVS.
16495 * scripts/list-sources.sh: Remove CVS, subversion and monotone
16496 handling.
16497
5583a086
AS
164982011-11-16 Andreas Schwab <schwab@redhat.com>
16499
16500 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
16501 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
16502 [USE_AS_STRNCASECMP_L]: Likewise.
16503 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
16504 NO_TLS_DIRECT_SEG_REFS.
16505 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
16506 Fix argument offsets for non-PIC.
16507 [USE_AS_STRNCASECMP_L]: Likewise.
16508 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
16509 NO_TLS_DIRECT_SEG_REFS.
16510
d62a8200
UD
165112011-11-15 Ulrich Drepper <drepper@gmail.com>
16512
9d65ea3a 16513 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
16514 O_CLOEXEC.
16515 * locale/loadlocale.c (_nl_load_locale): Likewise.
16516
09f93bd3
AS
165172011-11-15 Andreas Schwab <schwab@redhat.com>
16518
446514f9
AS
16519 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
16520 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
16521 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
16522 (SYSCALL_GETTIME): Set errno on error.
16523
09f93bd3
AS
16524 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
16525 count references to noai6ai_cached.
16526
312be3f9
UD
165272011-11-15 Ulrich Drepper <drepper@gmail.com>
16528
16529 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
16530
16531 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
16532 FD_CLOEXEC for /proc/self/maps.
16533
16534 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
16535 FD_CLOEXEC for /proc/meminfo.
16536
16537 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
16538 gai.conf.
16539
16540 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
16541 FD_CLOEXEC for given file.
16542
16543 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
16544
16545 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
16546 FD_CLOEXEC for /etc/hosts.
16547 (_gethtent): Likewise.
16548
16549 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
16550
16551 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
16552 cancellation and set FD_CLOEXEC for /etc/netgroup.
16553
16554 * nss/nss_files/files-key.c (search): Don't allow cancellation when
16555 reading /etc/publickey.
16556
16557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
16558 allow cancellation when reading /etc/group.
16559
16560 * nss/nss_files/files-alias.c (internal_setent): Don't allow
16561 cancellation.
16562 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
16563
16564 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
16565 when using data file.
16566
16567 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
16568
16569 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
16570 (write_nis_obj): Use "c" and "e" in fopen.
16571
16572 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
16573
16574 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
16575
16576 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
16577
16578 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
16579
16580 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
16581 locale.alias.
16582
16583 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
16584
16585 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
16586
16587 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
16588
16589 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
16590 file parsing and set FD_CLOEXEC.
16591
82af0fa8
UD
165922011-11-14 Ulrich Drepper <drepper@gmail.com>
16593
16594 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
16595
a5fb313c
AS
165962011-11-14 Andreas Schwab <schwab@redhat.com>
16597
16598 * malloc/arena.c (arena_get2): Don't call reused_arena when
16599 _int_new_arena failed.
16600
6abf3465
UD
166012011-11-14 Ulrich Drepper <drepper@gmail.com>
16602
16603 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
16604 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
16605 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
16606 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16607 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16608 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
16609 to compile strcasecmp and strncasecmp.
16610 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
16611 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
16612
16613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
16614
76e3966e
UD
166152011-11-13 Ulrich Drepper <drepper@gmail.com>
16616
16617 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
16618 locale-defines.sym to gen-as-const-headers.
16619 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
16620 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
16621 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
16622 to compile strcasecmp and strncasecmp.
16623 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
16624 strcasecmp_l and strncasecmp_l.
16625 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
16626 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
16627 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
16628 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
16629 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
16630 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
16631 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
16632 * sysdeps/i386/i686/multiarch/strncase.S: New file.
16633 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
16634 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
16635 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
16636
ab26144e
UD
166372011-11-12 Ulrich Drepper <drepper@gmail.com>
16638
7edb22ef
UD
16639 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
16640 result of SYSDEP_GETTIME_CPU to retval.
16641 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
16642 parameter list to macro. Remove trailing semicolon. Adjust users.
16643
9694fc44
UD
16644 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
16645 variable.
16646
8ad89ef8
UD
16647 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
16648 mantissa words.
16649 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16650
0c822ef9
UD
16651 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
16652 from unused variable.
16653
874e0564
UD
16654 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
16655 DWARF definitions.
16656 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
16657 for assembling.
16658
3a2edc79
UD
16659 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
16660 over namespaces.
16661
f3c2577f
UD
16662 * sunrpc/rpc_prot.c (rejected): Fix case value.
16663
294ce126
UD
16664 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
16665 unsigned long long int to avoid warnings in shift.
16666
5e2b63c6
UD
16667 * posix/regex_internal.c (re_string_reconstruct): Actually use result
16668 of use of trans.
16669 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
16670 variable tmp.
16671
e7f4b08e
UD
16672 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
16673 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16675
ab26144e
UD
16676 * nis/nis_table.c (nis_list): Use variable of correct type for
16677 result of __follow_path call.
16678
8a6d5255
AZ
166792011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16680
16681 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
16682 of math functions ceil, trunc, floor, round, and sqrt, when
16683 avaliable on the platform.
16684 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
16685 name clash.
16686 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16687 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16688 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16689
aaddc98c
MP
166902011-10-30 Marek Polacek <mpolacek@redhat.com>
16691
16692 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
16693 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16694
95b7042b
RM
166952011-11-11 Roland McGrath <roland@hack.frob.com>
16696
16697 * include/unistd.h: Fix __readlink return type.
16698 Reported by Chris Metcalf <cmetcalf@tilera.com>.
16699
57769839
UD
167002011-11-11 Ulrich Drepper <drepper@gmail.com>
16701
16702 * stdlib/ucontext.h: Undo last change for makecontext.
16703
edc5984d
AS
167042011-11-11 Andreas Schwab <schwab@redhat.com>
16705
98591e58
AS
16706 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
16707
edc5984d
AS
16708 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
16709 * setjmp/setjmp.h: Mark functions as non-leaf.
16710 * setjmp/bits/setjmp2.h: Likewise.
16711 * stdlib/ucontext.h: Likewise.
16712
77cdc054
AS
167132011-11-10 Andreas Schwab <schwab@redhat.com>
16714
16715 * malloc/arena.c (_int_new_arena): Don't increment narenas.
16716 (reused_arena): Don't check arena limit.
16717 (arena_get2): Atomically check arena limit.
16718
fe72eebd
UD
167192011-11-08 Ulrich Drepper <drepper@gmail.com>
16720
5f078c32
UD
16721 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
16722 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
16723
fe72eebd
UD
16724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
16725 instructions.
16726
ae1bc2fa
AS
167272011-11-07 Andreas Schwab <schwab@redhat.com>
16728
7583a88d
AS
16729 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
16730 handler when locking.
16731
ae1bc2fa
AS
16732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16733 Fix size of allocated buffer.
16734
10fb0bfa
AS
167352011-11-04 Andreas Schwab <schwab@redhat.com>
16736
998832a4
AS
16737 [BZ #10103]
16738 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
16739 declarations for long double functions.
16740 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
16741
10fb0bfa
AS
16742 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
16743
3d7ba52b
AS
167442011-11-03 Andreas Schwab <schwab@redhat.com>
16745
a9ae54a1
AS
16746 * nscd/nscd.c (main): Don't start AVC thread until credentials are
16747 installed.
16748
3d7ba52b
AS
16749 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
16750 is disabled.
16751
bc8db248
ST
167522011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16753
16754 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
16755
45b96dd6
AS
167562011-11-01 Andreas Schwab <schwab@linux-m68k.org>
16757
647776f6
AS
16758 * include/alloca.h (stackinfo_alloca_round): Define.
16759 (extend_alloca): Use it.
16760 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
16761 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
16762 here.
16763
d91a8b93
AS
16764 * scripts/check-local-headers.sh: Ignore libaudit.h.
16765
45b96dd6
AS
16766 * nscd/Makefile (extra-objs): Make recursively expanded.
16767
432d41ce
UD
167682011-11-01 Ulrich Drepper <drepper@gmail.com>
16769
34372fc6
UD
16770 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
16771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16772
fadb59f8
UD
16773 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
16774 * posix/tst-rfc3484-2.c: Likewise.
16775 * posix/tst-rfc3484-3.c: Likewise.
16776
78239589
UD
16777 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16778 process_vm_writev.
16779 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
16780 process_vm_writev.
16781 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
16782 process_vm_writev from libc using GLIBC_2.15 version.
16783
432d41ce
UD
16784 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
16785
02f9c6cf
PP
167862011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16787
16788 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
16789 stack usage.
16790
3a2c0242
UD
167912011-10-31 Ulrich Drepper <drepper@gmail.com>
16792
f4ec4833
UD
16793 [BZ #13367]
16794 * nss/getent.c (initgroups_keys): Show error message in case no group
16795 names are given.
16796
3a2c0242
UD
16797 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
16798 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
16799 __bump_nl_timestamp.
16800 * nscd/connections (nscd_init): When host database is served open
16801 netlink socket and request notification about configuration changes.
16802 (main_loop_poll): Track netlink file descriptor and bump timestamp
16803 in case data becomes available.
16804 (main_loop_epoll): Likewise.
16805 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
16806 (database_pers_head): Add extra_data fileds.
16807 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
16808 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
16809 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
16810 Adjust caller.
16811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
16812 in6ai data, call __free_in6ai.
16813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
16814 Add -DHAVE_NETLINK.
16815 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
16816 interface information. Reuse previous data if netlink timestamp
16817 is not changed.
16818 (__bump_nl_timestamp): New function.
16819 (__free_in6ai): New function.
16820
636064eb
UD
168212011-10-30 Ulrich Drepper <drepper@gmail.com>
16822
16823 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
16824 close_not_cancel_no_status here.
16825 (__check_pf): Reorganize code a bit to not call close twice if OOM.
16826
9beb2334
UD
168272011-10-29 Ulrich Drepper <drepper@gmail.com>
16828
6ef76f3b
UD
16829 [BZ #13276]
16830 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
16831 return value.
16832
0ffc4f3e 16833 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
16834 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
16835 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
16836
cb95113e
UD
168372011-07-03 Andreas Jaeger <aj@suse.de>
16838
16839 [BZ #10709]
16840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
16841 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
16842 * math/libm-test.inc (sin_test): Add test case.
16843
a1b560ff
UD
168442011-10-29 Ulrich Drepper <drepper@gmail.com>
16845
c9aaface
UD
16846 [BZ #13337]
16847 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
16848 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16849
d272e7f1
UD
16850 * elf/chroot_canon.c (chroot_canon): Cleanups.
16851
1bc33071
UD
16852 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
16853
1760874d
TJ
16854 [BZ #13335]
16855 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
16856 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
16857
51d91b18
UD
16858 * string/test-strchr.c: Make usable for strchrnul testing.
16859 * string/test-strchrnul.c: New file.
16860 * string/Makefile (strop-tests): Add strchrnul.
16861
a1b560ff 16862 * po/it.po: Update from translation team.
b611fb81 16863 * po/es.po: Likewise.
a1b560ff 16864
a5b81e1f
UD
168652011-10-28 Ulrich Drepper <drepper@gmail.com>
16866
fd52bc6d
UD
16867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
16868 the three constants needed as parameters. Drop the others.
16869 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
16870 __m128i_strloadu_tolower.
52e4b9eb
UD
16871 Create and initialize variable zero and use it in all the places
16872 where _mm_setzero_si128 was used.
fd52bc6d 16873
a5b81e1f
UD
16874 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
16875 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
16876 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
16877 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
16878 anymore.
16879 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
16880 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
16881 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
16882 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
16883 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
16884 __mpranred, __mptan.
16885 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
16886 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
16887 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
16888 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
16889 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
16890 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
16891 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
16892 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
16893 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
16894
b4343346
AS
168952011-10-28 Andreas Schwab <schwab@redhat.com>
16896
0c92d8a8
AS
16897 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
16898 redefine if SHARED.
16899 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
16900
b4343346
AS
16901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
16902 wide char related routines to wcsmbs subdir.
16903
3871f58f
AS
169042011-10-27 Andreas Schwab <schwab@redhat.com>
16905
16906 [BZ #13344]
16907 * misc/sys/cdefs.h (__THROWNL): Define.
16908 * posix/unistd.h: Use __THREADNL instead of __THREAD
16909 for memory synchronization functions.
16910
94d44d9f
RM
169112011-10-26 Roland McGrath <roland@hack.frob.com>
16912
21b64b15 16913 [BZ #13349]
94d44d9f
RM
16914 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
16915 doesn't exist.
16916 * manual/stdio.texi (Obstack Streams): Node removed.
16917
f6ce9294
AS
169182011-10-26 Andreas Schwab <schwab@redhat.com>
16919
80479147
AS
16920 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
16921 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16922 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16923
f6ce9294
AS
16924 * math/math_private.h (math_force_eval): Allow non-addressable
16925 arguments.
16926 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
16927
618280a1
UD
169282011-10-25 Ulrich Drepper <drepper@gmail.com>
16929
e0016b11
UD
16930 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
16931 file is not needed.
16932
16933 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
16934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16935 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16936 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16940 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
16941 Add AVX variants.
16942 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
16943 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
16944 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
16945 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
16946 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
16947 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
16948 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
16949 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
16950 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
16951 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
16952 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
16953 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
16954 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
16955 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
16956 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
16957 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
16958 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
16959 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
16960 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
16961
16962 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
16963 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
16964
618280a1
UD
16965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
16966 place. Use VEX encoding when compiling for AVX.
16967
37822576
AS
169682011-10-25 Andreas Schwab <schwab@redhat.com>
16969
1f1e1947
AS
16970 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
16971 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16972
37822576
AS
16973 * string/test-strchr.c (do_test): Don't generate NUL bytes.
16974
31ea014d
UD
169752011-10-25 Ulrich Drepper <drepper@gmail.com>
16976
d7826aa1 16977 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 16978 useless if() expression.
d7826aa1
UD
16979 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16987 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16988 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16989 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16990 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
16991 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
16992 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
16993 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
16994 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
16995 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16996 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16997 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
16998
31ea014d
UD
16999 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17000
16437fec
AS
170012011-10-25 Andreas Schwab <schwab@redhat.com>
17002
17003 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17004 condition.
17005 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17006
31d3cc00
UD
170072011-10-25 Ulrich Drepper <drepper@gmail.com>
17008
17009 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17010 .text section. Avoid duplicate constants.
17011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17013 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17014 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17016 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17018 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17019 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17020 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17021 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17022 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17023 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17024 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17025 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17026 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17027 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17028 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17029 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17030 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17034 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17035 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17036 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17037 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17038 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17039 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17040 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17041 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17042 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17043 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17044 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17045 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17046 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17047 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17048 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17049 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17050 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17052 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17053 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17054 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17055 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17056
58985aa9
UD
170572011-10-24 Ulrich Drepper <drepper@gmail.com>
17058
202c9deb
UD
17059 * sysdeps/x86_64/dla.h: Move to ...
17060 * sysdeps/x86_64/fpu/dla.h: ...here.
17061 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17062 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 17063
af968f62
UD
17064 * config.make.in: Add have-mfma4 entry.
17065 * configure.in: Substitute libc_cv_cc_fma4.
17066 * math/Makefile (dbl-only-routines): Add sincostab.
17067 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17068 Use __sincostab not sincos.
17069 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17070 name is a macro.
17071 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17075 using __copysign.
17076 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17077 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17078 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17079 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17080 and __inv.
17081 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17082 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17083 __copysign.
17084 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17085 define aliases when function name is a macro.
17086 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17087 sysdeps/ieee754/dbl-64/sincos.tbl.
17088 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17089 fma4-enabled routines.
17090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17091 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17092 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17093 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17095 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17096 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17097 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17098 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17099 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17100 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17102 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17103 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17105 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17106 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17107 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17108 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17110 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17111 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17115 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17117 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17118 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17119 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17120
58985aa9
UD
17121 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17122 rename.
17123 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17131
a201fbcf
AS
171322011-10-24 Andreas Schwab <schwab@redhat.com>
17133
17134 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17135
fc2ee42a
LD
171362011-10-23 Ulrich Drepper <drepper@gmail.com>
17137
bb3129bd
UD
17138 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17139
0275fff8
UD
17140 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17141 prediction.
17142 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17143
2fa2ae85
UD
17144 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17145 Remove unused variable magic_bits.
17146 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17147
fc2ee42a
LD
17148 * string/strnlen.c: Define and use STRNLEN macro.
17149 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17150 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17152 * wcsmbs/wcslen.c: Define and use WCSLEN.
17153 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17154 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17155 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17156 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17157 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17158 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17159 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17160
ce7dd29f
LD
171612011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17162
17163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17164 strnlen-sse2-no-bsf.
17165 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17167 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17168 Add strnlen support.
17169 (USE_AS_STRNLEN): New macro.
17170 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17172 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17173 * sysdeps/x86_64/wcslen.S: New file.
17174
979c70a3
MZ
171752011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17176
17177 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17178 XMM-moves are used for copying on small sizes.
17179
2d09f82f
LD
171802011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17181
17182 * wcsmbs/Makefile (strop-tests): Add wcschr.
17183 * wcsmbs/test-wcschr.c: New file.
17184 * string/test-strchr.c: Update.
17185 Add wcschr support.
17186 (WIDE): New macro.
17187
619fccca
LD
171882011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17189
2d09f82f 17190 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
17191 * wcsmbs/test-wcslen.c: New file.
17192 * string/test-strlen.c: Update.
17193 Add wcslen support.
17194 (WIDE): New macro.
17195
09f699ea
UD
171962011-10-23 Ulrich Drepper <drepper@gmail.com>
17197
17198 * po/it.po: Update from translation team.
17199
95584d3b
LD
172002011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17201
17202 * sysdeps/x86_64/wcscmp.S: Update.
17203 Fix wrong comparison semantics.
17204 wcscmp shall use signed comparison not unsigned.
17205 Don't use substraction to avoid overflow bug.
17206 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17207 * wcsmbc/wcscmp.c: Likewise.
17208 * string/test-strcmp.c: Likewise.
17209 Add new tests to check cases with negative values.
17210
c8b3296b
UD
172112011-10-23 Ulrich Drepper <drepper@gmail.com>
17212
17213 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17214 * sysdeps/x86_64/dla.h: ...here. New file.
17215 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17216 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17217 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17220 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17224
246ad57a
AS
172252011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17226
17227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17228 __ynl_finite aliases.
17229
a1a87169
UD
172302011-10-22 Ulrich Drepper <drepper@gmail.com>
17231
0d355eb7
UD
17232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17233
a1a87169
UD
17234 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17235 define DLA_FMA.
17236 [DLA_FMA] (EMULV): Use DLA_FMA.
17237 [DLA_FMA] (MUL12): Use EMULV.
17238 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17239 that are not needed.
17240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17244 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17245 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17246 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17247
ee2aafe0
AS
172482011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17249
17250 * math/s_nan.c: Undef __nan.
17251 * math/s_nanf.c: Undef __nanf.
17252 * math/s_nanl.c: Undef __nanl.
17253 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17254 "math_private.h".
17255
bc62c2fb
UD
172562011-10-22 Ulrich Drepper <drepper@gmail.com>
17257
77425c63
UD
17258 * math/s_catan.c: Add branch predictions.
17259 * math/s_catanf.c: Likewise.
17260 * math/s_catanh.c: Likewise.
17261 * math/s_catanhf.c: Likewise.
17262 * math/s_catanhl.c: Likewise.
17263 * math/s_catanl.c: Likewise.
17264 * math/s_cexp.c: Likewise.
17265 * math/s_cexpf.c: Likewise.
17266 * math/s_cexpl.c: Likewise.
17267 * math/s_clog.c: Likewise.
17268 * math/s_clog10.c: Likewise.
17269 * math/s_clog10f.c: Likewise.
17270 * math/s_clog10l.c: Likewise.
17271 * math/s_clogf.c: Likewise.
17272 * math/s_clogl.c: Likewise.
17273 * math/s_csqrt.c: Likewise.
17274 * math/s_csqrtf.c: Likewise.
17275 * math/s_csqrtl.c: Likewise.
17276 * math/s_ctanf.c: Likewise.
17277 * math/s_ctanh.c: Likewise.
17278 * math/s_ctanhf.c: Likewise.
17279 * math/s_ctanhl.c: Likewise.
17280 * math/s_ctanl.c: Likewise.
17281
bc62c2fb
UD
17282 * math/math_private.h: Define __nan, __nanf, __nanl.
17283 * math/s_cacosh.c: Include <math_private.h>.
17284 * math/s_cacoshl.c: Likewise.
17285 * math/s_casinh.c: Likewise.
17286 * math/s_casinhf.c: Likewise.
17287 * math/s_casinhl.c: Likewise.
17288 * math/s_ccos.c: Rely entire on ccosh.
17289 * math/s_ccosf.c: Rely entire on ccoshf.
17290 * math/s_ccosl.c: Rely entirely on ccoshl.
17291 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17292 Remove tests for FE_INVALID.
17293 * math/s_ccoshf.c: Likewise.
17294 * math/s_ccoshl.c: Likewise.
17295 * math/s_csin.c: Likewise.
17296 * math/s_csinf.c: Likewise.
17297 * math/s_csinh.c Likewise.
17298 * math/s_csinhf.c: Likewise.
17299 * math/s_csinhl.c: Likewise.
17300 * math/s_csinl.c: Likewise.
17301 * math/s_ctan.c: Likewise.
17302 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17303 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17304 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17305
8ec250a4
UD
173062011-10-21 Ulrich Drepper <drepper@gmail.com>
17307
c196fed8
UD
17308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17309 compilation problems.
17310
8ec250a4
UD
17311 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17312 __builtin_expect.
17313
8d4f46c6
UD
173142011-10-20 Ulrich Drepper <drepper@gmail.com>
17315
ed72b654
UD
17316 * sysdeps/i386/configure.in: Test for -mfma4 option.
17317 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17318 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17319 COMMON_CPUID_INDEX_80000001.
17320 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17321 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17322 use it if FMA3 is not supported.
17323 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17324
8d4f46c6
UD
17325 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17326 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17327
d45c60c2
AS
173282011-10-20 Andreas Schwab <schwab@redhat.com>
17329
17330 [BZ #12892]
17331 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17332 it would create a cycle with a link time dependency.
17333
d9a4d2ab
UD
173342011-10-19 Ulrich Drepper <drepper@gmail.com>
17335
855d1560
UD
17336 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17337 instruction.
17338 * string/Makefile (strop-tests): Add rawmemchr.
17339 * string/test-rawmemchr.c: New file.
17340
d9a4d2ab
UD
17341 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17342 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17343 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17344 when compiling str{,n}casecmp and when AVX is available. Hook up
17345 new optimized code in initializers.
17346
8f3b1ffe
AS
173472011-10-19 Andreas Schwab <schwab@redhat.com>
17348
17349 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17350 __feraiseexcept instead of feraiseexcept.
17351
d38f1dba
UD
173522011-10-18 Ulrich Drepper <drepper@gmail.com>
17353
d9a8d0ab
UD
17354 * math/math_private.h: Define defaults for libc_fetestexcept and
17355 libc_feupdateenv.
17356 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17357 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17358 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17359 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17360 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17361 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17362 libc_fetestexcept and libc_feupdateenv.
17363
4855e3dd
UD
17364 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17365 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17366 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17367 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17368 libc_feholdexcept_setround.
17369
581d30e3
UD
17370 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17371 Add s_nearbyint-c and s_nearbyintf-c.
17372 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17373 nearbyintf inlines.
17374 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17375 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17376 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17377 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17378
d38f1dba
UD
17379 * math/math_private.h: Define defaults for libc_fegetround,
17380 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17381 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17382 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17384 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17385 standard functions.
17386 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17387 Remove comments and hacks for old compiler versions.
17388 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17389 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17390 libc_feholdexceptl.
17391
caa6c9d8
AS
173922011-10-18 Andreas Schwab <schwab@redhat.com>
17393
17394 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
17395 (__feraiseexcept_renamed): Add __NTH.
17396 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
17397 namespace violations.
17398
97c066e6
UD
173992011-10-17 Ulrich Drepper <drepper@gmail.com>
17400
99ce7b04
UD
17401 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17402
1004d182
UD
17403 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17404
228a984d
UD
17405 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17406 recently added interfaces.
17407 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17408
c8553a6a
UD
17409 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17410 about macro parameter expansion.
17411
ed22dcf6
UD
17412 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17413 __NO_MATH_INLINES is defined. Cleanups.
17414
17415 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17416 and __floorf is target has SSE4.1.
17417 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17418 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17419 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17420 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17421
b171c137
UD
17422 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17423 name.
17424 (floorf): Likewise.
17425
97c066e6
UD
17426 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17427
629f62ef
AS
174282011-10-17 Andreas Schwab <schwab@redhat.com>
17429
49a43d80
AS
17430 * misc/sys/cdefs.h: Fix last change.
17431
629f62ef
AS
17432 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17433 database lookup.
17434
e453f6cd
UD
174352011-10-16 Ulrich Drepper <drepper@gmail.com>
17436
aa78043a
UD
17437 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17438
ad0f5cad
UD
17439 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17440 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17445 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17446 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17447 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17448 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17449 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17450 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17451 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17452 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17453 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17454 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17455 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17456 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17457 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17458 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17459 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17460 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17461
17462 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17463 ceil, ceilf, floor, floorf.
17464
17465 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17466 Perform IRELATIVE relocations last.
17467
e453f6cd
UD
17468 * elf/do-rel.h: Add another parameter nrelative, replacing the
17469 local variable with the same name. Change name of the function
17470 to end in Rel or Rela (uppercase).
17471 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
17472 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
17473 elf_dynamic_do_##reloc function.
17474
fd5bdc09
UD
174752011-10-15 Ulrich Drepper <drepper@gmail.com>
17476
79b195b5
UD
17477 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
17478 is sufficient, at least on modern CPUs.
17479
d4a28569
UD
17480 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
17481
b61099b5
UD
17482 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
17483 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
17484
bcf01e6d
UD
17485 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
17486 __expl_finite.
17487 * math/bits/math-finite.h: Add entries for exp.
17488 * math/e_expl.c: Add __*_finite alias.
17489 * sysdeps/i386/fpu/e_exp.S: Likewise.
17490 * sysdeps/i386/fpu/e_expf.S: Likewise.
17491 * sysdeps/i386/fpu/e_expl.c: Likewise.
17492 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17493 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17494 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17495 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17496 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
17497 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
17498 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
17499
ba1a0d59
UD
17500 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
17501 is sufficient, at least on modern CPUs.
17502
fd5bdc09
UD
17503 * ctype/ctype-info.c (__ctype_init): Define.
17504 * include/ctype.h (__ctype_init): Declare.
17505 (__ctype_b_loc): The variable is always initialized.
17506 (__ctype_toupper_loc): Likewise.
17507 (__ctype_tolower_loc): Likewise.
17508 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
17509 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
17510
7872cfb0
AS
175112011-10-15 Andreas Schwab <schwab@linux-m68k.org>
17512
b468825a
AS
17513 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
17514
7872cfb0
AS
17515 * configure.in: Also look in $cxxmachine/include for C++ system
17516 headers.
17517
be13f7bf
LD
175182011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17519
17520 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
17521 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
17522 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
17523 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
17524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
17525 (USE_AS_WMEMCMP): New macro.
17526 Fixing indents.
17527 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
17528 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
17529 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
17530 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
17531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17532 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
17533 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
17534 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
17535 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
17536 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
17537 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
17538 (USE_AS_WMEMCMP): New macro.
17539 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
17540 * sysdeps/string/test-memcmp.c: Update.
17541 Fix simple_wmemcmp.
17542 Add new tests.
17543 * wcsmbs/wmemcmp.c: Update.
17544 (WMEMCMP): New macro.
17545 Fix overflow bug.
17546
556a2007
AJ
175472011-10-12 Andreas Jaeger <aj@suse.de>
17548
17549 [BZ #13268]
17550 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
17551
538faaa7
UD
175522011-10-15 Ulrich Drepper <drepper@gmail.com>
17553
ab6737ff
UD
17554 * libio/iofwide.c (do_length): Avoid warning.
17555
538faaa7
UD
17556 * ctype/ctype.h (__isctype_f): Add missing __THROW.
17557
396a21b1
UD
175582011-10-14 Ulrich Drepper <drepper@gmail.com>
17559
cdf2901f
UD
17560 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
17561
38ad40ce
UD
17562 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
17563 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
17564 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
17565 * sysdeps/i386/i686/fpu/e_log.S: New file.
17566 * sysdeps/i386/i686/fpu/e_logf.S: New file.
17567 * sysdeps/i386/i686/fpu/e_logl.S: New file.
17568
396a21b1
UD
17569 * ctype/ctype.h: Add support for inlined isXXX functions when
17570 compiling C++ code.
17571
6b1f68c9
AS
175722011-10-14 Andreas Schwab <schwab@redhat.com>
17573
349290c0
AS
17574 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
17575
6b1f68c9
AS
17576 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
17577
f2282d42
RM
175782011-10-13 Roland McGrath <roland@hack.frob.com>
17579
17580 [BZ #13291]
17581 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
17582
5298ffa8
AS
175832011-10-13 Andreas Schwab <schwab@redhat.com>
17584
714fad23
AS
17585 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
17586 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
17587 feraiseexcept.
17588
81dcc7fb
AS
17589 * sysdeps/x86_64/memrchr.S: Check for zero size.
17590
5298ffa8
AS
17591 * string/stratcliff.c: Add memrchr tests.
17592
951fbcec
LD
175932011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17594
17595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17596 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
17597 rawmemchr-sse2 rawmemchr-sse2-bsf.
17598 * sysdeps/i386/i686/multiarch/memchr.S: New file.
17599 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
17600 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
17601 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
17602 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
17603 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
17604 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
17605 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
17606 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
17607 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
17608 * string/memrchr.c (MEMRCHR): New macro.
17609
0ac5ae23
UD
176102011-10-12 Ulrich Drepper <drepper@gmail.com>
17611
17612 Add integration with gcc's -ffinite-math-only and optimize wrapper
17613 functions in libm.
17614 * Versions.def: Define GLIBC_2.15 version for libm.
17615 * math/Makefile (headers): Add bits/math-finite.h.
17616 * math/bits/math-finite.h: New file.
17617 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
17618 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
17619 * math/e_acoshl.c: Add __*_finite alias.
17620 * math/e_acosl.c: Likewise.
17621 * math/e_asinl.c: Likewise.
17622 * math/e_atan2l.c: Likewise.
17623 * math/e_atanhl.c: Likewise.
17624 * math/e_coshl.c: Likewise.
17625 * math/e_exp10.c: Likewise.
17626 * math/e_exp10f.c: Likewise.
17627 * math/e_exp10l.c: Likewise.
17628 * math/e_exp2l.c: Likewise.
17629 * math/e_fmodl.c: Likewise.
17630 * math/e_gammal_r.c: Likewise.
17631 * math/e_hypotl.c: Likewise.
17632 * math/e_j0l.c: Likewise.
17633 * math/e_j1l.c: Likewise.
17634 * math/e_jnl.c: Likewise.
17635 * math/e_lgammal_r.c: Likewise.
17636 * math/e_log10l.c: Likewise.
17637 * math/e_log2l.c: Likewise.
17638 * math/e_logl.c: Likewise.
17639 * math/e_powl.c: Likewise.
17640 * math/e_sinhl.c: Likewise.
17641 * math/e_sqrtl.c: Likewise.
17642 * math/e_scalb.c: Completely rewritten and optimized.
17643 * math/e_scalbf.c: Likewise.
17644 * math/e_scalbl.c: Likewise.
17645 * math/w_acos.c: Likewise.
17646 * math/w_acosf.c: Likewise.
17647 * math/w_acosl.c: Likewise.
17648 * math/w_acosh.c: Likewise.
17649 * math/w_acoshf.c: Likewise.
17650 * math/w_acoshl.c: Likewise.
17651 * math/w_asin.c: Likewise.
17652 * math/w_asinf.c: Likewise.
17653 * math/w_asinl.c: Likewise.
17654 * math/w_atan2.c: Likewise.
17655 * math/w_atan2f.c: Likewise.
17656 * math/w_atan2l.c: Likewise.
17657 * math/w_atanh.c: Likewise.
17658 * math/w_atanhf.c: Likewise.
17659 * math/w_atanhl.c: Likewise.
17660 * math/w_exp10.c: Likewise.
17661 * math/w_exp10f.c: Likewise.
17662 * math/w_exp10l.c: Likewise.
17663 * math/w_fmod.c: Likewise.
17664 * math/w_fmodf.c: Likewise.
17665 * math/w_fmodl.c: Likewise.
17666 * math/w_j0.c: Likewise.
17667 * math/w_j0f.c: Likewise.
17668 * math/w_j0l.c: Likewise.
17669 * math/w_j1.c: Likewise.
17670 * math/w_j1f.c: Likewise.
17671 * math/w_j1l.c: Likewise.
17672 * math/w_jn.c: Likewise.
17673 * math/w_jnf.c: Likewise.
17674 * math/w_log.c: Likewise.
17675 * math/w_logf.c: Likewise.
17676 * math/w_logl.c: Likewise.
17677 * math/w_log10.c: Likewise.
17678 * math/w_log10f.c: Likewise.
17679 * math/w_log10l.c: Likewise.
17680 * math/w_log2.c: Likewise.
17681 * math/w_log2f.c: Likewise.
17682 * math/w_log2l.c: Likewise.
17683 * math/w_pow.c: Likewise.
17684 * math/w_powf.c: Likewise.
17685 * math/w_powl.c: Likewise.
17686 * math/w_remainder.c: Likewise.
17687 * math/w_remainderf.c: Likewise.
17688 * math/w_remainderl.c: Likewise.
17689 * math/w_scalb.c: Likewise.
17690 * math/w_scalbf.c: Likewise.
17691 * math/w_scalbl.c: Likewise.
17692 * math/w_sqrt.c: Likewise.
17693 * math/w_sqrtf.c: Likewise.
17694 * math/w_sqrtl.c: Likewise.
17695 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
17696 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
17697 used.
17698 * math/math_private.h: Declare __kernel_standard_f.
17699 * math/w_cosh.c: Remove cruft and optimize a bit.
17700 * math/w_coshf.c: Likewise.
17701 * math/w_coshl.c: Likewise.
17702 * math/w_exp2.c: Likewise.
17703 * math/w_exp2f.c: Likewise.
17704 * math/w_exp2l.c: Likewise.
17705 * math/w_hypot.c: Likewise.
17706 * math/w_hypotf.c: Likewise.
17707 * math/w_hypotl.c: Likewise.
17708 * math/w_lgamma.c: Likewise.
17709 * math/w_lgamma_r.c: Likewise.
17710 * math/w_lgammaf.c: Likewise.
17711 * math/w_lgammaf_r.c: Likewise.
17712 * math/w_lgammal.c: Likewise.
17713 * math/w_lgammal_r.c: Likewise.
17714 * math/w_sinh.c: Likewise.
17715 * math/w_sinhf.c: Likewise.
17716 * math/w_sinhl.c: Likewise.
17717 * math/w_tgamma.c: Likewise.
17718 * math/w_tgammaf.c: Likewise.
17719 * math/w_tgammal.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17721 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17722 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
17723 Minor optimizations. Pretty printing. Remove cruft.
17724 * sysdeps/i386/fpu/e_acosf.S: Likewise.
17725 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17726 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17727 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17728 * sysdeps/i386/fpu/e_acosl.c: Likewise.
17729 * sysdeps/i386/fpu/e_asin.S: Likewise.
17730 * sysdeps/i386/fpu/e_asinf.S: Likewise.
17731 * sysdeps/i386/fpu/e_atan2.S: Likewise.
17732 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
17733 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
17734 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17735 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17736 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17737 * sysdeps/i386/fpu/e_exp10.S: Likewise.
17738 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
17739 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
17740 * sysdeps/i386/fpu/e_exp2.S: Likewise.
17741 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
17742 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
17743 * sysdeps/i386/fpu/e_fmod.S: Likewise.
17744 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
17745 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
17746 * sysdeps/i386/fpu/e_hypot.S: Likewise.
17747 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
17748 * sysdeps/i386/fpu/e_log.S: Likewise.
17749 * sysdeps/i386/fpu/e_log10.S: Likewise.
17750 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17751 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17752 * sysdeps/i386/fpu/e_log2.S: Likewise.
17753 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17754 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17755 * sysdeps/i386/fpu/e_logf.S: Likewise.
17756 * sysdeps/i386/fpu/e_logl.S: Likewise.
17757 * sysdeps/i386/fpu/e_pow.S: Likewise.
17758 * sysdeps/i386/fpu/e_powf.S: Likewise.
17759 * sysdeps/i386/fpu/e_powl.S: Likewise.
17760 * sysdeps/i386/fpu/e_remainder.S: Likewise.
17761 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
17762 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
17763 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17764 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17765 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17766 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
17767 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
17768 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17780 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17789 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17790 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17791 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17792 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17793 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17794 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17795 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17796 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17797 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
17798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17807 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17808 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17809 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17810 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17811 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17812 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17813 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17814 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17815 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17816 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17817 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17818 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17819 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17820 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17821 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17822 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17823 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17824 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17825 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17826 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17827 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17828 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17829 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17837 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
17838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17843 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17844 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17845 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17846 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17847 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17848 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17849 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17850 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17851 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
17852 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17853 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17854 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17855 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17856 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17857 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17858 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17859 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17860 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17861 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17862 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17863 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17864 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17865 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17866 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
17867 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
17868 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
17869 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
17870 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
17871 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
17872 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
17873 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17875 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17876 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17877 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
17878 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17879 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
17880 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
17881 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
17882 (__isnanf): Likewise.
17883 (__isinf_ns): Likewise.
17884 (__isinf_nsf): Likewise.
17885 (__finite): Likewise.
17886 (__finitef): Likewise.
17887 (__ieee754_sqrt): Define as macro.
17888 (__ieee754_sqrtf): Define as macro.
17889 (__ieee754_sqrtl): Define as macro.
17890 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
17891 inlined copy.
17892 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
17893 __FINITE_MATH_ONLY__ consistent.
17894 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
17895
12cc2fcd
AS
178962011-10-10 Andreas Schwab <schwab@linux-m68k.org>
17897
a843a204
AS
17898 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
17899 of rawmemchr.
17900
12cc2fcd
AS
17901 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
17902
c853acd5
UD
179032011-10-09 Ulrich Drepper <drepper@gmail.com>
17904
17905 * po/ja.po: Update from translation team.
17906
c658d255
RM
179072011-10-08 Roland McGrath <roland@hack.frob.com>
17908
110946e4
RM
17909 * locale/programs/locarchive.c (prepare_address_space): New function.
17910 (create_archive, enlarge_archive, open_archive): Use it.
17911
50604220
RM
17912 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
17913 inside [SHARED], where it is used.
17914
c658d255
RM
17915 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
17916
17917 * nss/getent.c (netgroup_keys): Remove unused variable.
17918 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17919
6a621eb7
UD
179202011-10-08 Ulrich Drepper <drepper@gmail.com>
17921
7edb55ce
UD
17922 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
17923 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
17924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
17925 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
17926 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
17927 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
17928 * math/Makefile (libm-calls): Add s_isinf_ns.
17929 * math/divtc3.c: Use __isinf_nsl instead of isinf.
17930 * math/multc3.c: Likewise.
17931 * math/s_casin.c: Likewise.
17932 * math/s_casinf.c: Likewise.
17933 * math/s_casinl.c: Likewise.
17934 * math/s_ccos.c: Likewise.
17935 * math/s_ccosf.c: Likewise.
17936 * math/s_ccosl.c: Likewise.
17937 * math/s_ctan.c: Likewise.
17938 * math/s_ctanf.c: Likewise.
17939 * math/s_ctanh.c: Likewise.
17940 * math/s_ctanhf.c: Likewise.
17941 * math/s_ctanhl.c: Likewise.
17942 * math/s_ctanl.c: Likewise.
17943 * math/w_fmod.c: Likewise.
17944 * math/w_fmodf.c: Likewise.
17945 * math/w_fmodl.c: Likewise.
17946 * math/w_remainder.c: Likewise.
17947 * math/w_remainderf.c: Likewise.
17948 * math/w_remainderl.c: Likewise.
17949 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
17950 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
17951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
17952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
17953 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
17954 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
17955 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
17956 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
17957
187da0ae
UD
17958 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
17959 of the number.
17960 * stdio-common/printf_fphex.c: Likewise.
17961 * stdio-common/printf_size.c: Likewise.
17962
9277c064
UD
17963 * math/e_exp10.c: Include math_private.h using <...> not "...".
17964 * math/e_exp10f.c: Likewise.
17965 * math/e_exp10l.c: Likewise.
17966 * math/e_exp2l.c: Likewise.
17967 * math/e_j0l.c: Likewise.
17968 * math/e_j1l.c: Likewise.
17969 * math/e_jnl.c: Likewise.
17970 * math/e_lgammal_r.c: Likewise.
17971 * math/e_rem_pio2l.c: Likewise.
17972 * math/e_scalb.c: Likewise.
17973 * math/e_scalbf.c: Likewise.
17974 * math/e_scalbl.c: Likewise.
17975 * math/k_cosl.c: Likewise.
17976 * math/k_sinl.c: Likewise.
17977 * math/k_tanl.c: Likewise.
17978 * math/s_cacoshf.c: Likewise.
17979 * math/s_catan.c: Likewise.
17980 * math/s_catanf.c: Likewise.
17981 * math/s_catanh.c: Likewise.
17982 * math/s_catanhf.c: Likewise.
17983 * math/s_catanhl.c: Likewise.
17984 * math/s_catanl.c: Likewise.
17985 * math/s_ccosh.c: Likewise.
17986 * math/s_ccoshf.c: Likewise.
17987 * math/s_ccoshl.c: Likewise.
17988 * math/s_cexp.c: Likewise.
17989 * math/s_cexpf.c: Likewise.
17990 * math/s_cexpl.c: Likewise.
17991 * math/s_clog.c: Likewise.
17992 * math/s_clog10.c: Likewise.
17993 * math/s_clog10f.c: Likewise.
17994 * math/s_clog10l.c: Likewise.
17995 * math/s_clogf.c: Likewise.
17996 * math/s_clogl.c: Likewise.
17997 * math/s_csin.c: Likewise.
17998 * math/s_csinf.c: Likewise.
17999 * math/s_csinh.c: Likewise.
18000 * math/s_csinhf.c: Likewise.
18001 * math/s_csinhl.c: Likewise.
18002 * math/s_csinl.c: Likewise.
18003 * math/s_csqrt.c: Likewise.
18004 * math/s_csqrtf.c: Likewise.
18005 * math/s_csqrtl.c: Likewise.
18006 * math/s_ctan.c: Likewise.
18007 * math/s_ctanf.c: Likewise.
18008 * math/s_ctanh.c: Likewise.
18009 * math/s_ctanhf.c: Likewise.
18010 * math/s_ctanhl.c: Likewise.
18011 * math/s_ctanl.c: Likewise.
18012 * math/s_ldexp.c: Likewise.
18013 * math/s_ldexpf.c: Likewise.
18014 * math/s_ldexpl.c: Likewise.
18015 * math/s_significand.c: Likewise.
18016 * math/s_significandf.c: Likewise.
18017 * math/s_significandl.c: Likewise.
18018 * math/w_acos.c: Likewise.
18019 * math/w_acosf.c: Likewise.
18020 * math/w_acosh.c: Likewise.
18021 * math/w_acoshf.c: Likewise.
18022 * math/w_acoshl.c: Likewise.
18023 * math/w_acosl.c: Likewise.
18024 * math/w_asin.c: Likewise.
18025 * math/w_asinf.c: Likewise.
18026 * math/w_asinl.c: Likewise.
18027 * math/w_atan2.c: Likewise.
18028 * math/w_atan2f.c: Likewise.
18029 * math/w_atan2l.c: Likewise.
18030 * math/w_atanh.c: Likewise.
18031 * math/w_atanhf.c: Likewise.
18032 * math/w_atanhl.c: Likewise.
18033 * math/w_cosh.c: Likewise.
18034 * math/w_coshf.c: Likewise.
18035 * math/w_coshl.c: Likewise.
18036 * math/w_dremf.c: Likewise.
18037 * math/w_exp10.c: Likewise.
18038 * math/w_exp10f.c: Likewise.
18039 * math/w_exp10l.c: Likewise.
18040 * math/w_exp2.c: Likewise.
18041 * math/w_exp2f.c: Likewise.
18042 * math/w_fmod.c: Likewise.
18043 * math/w_fmodf.c: Likewise.
18044 * math/w_fmodl.c: Likewise.
18045 * math/w_hypot.c: Likewise.
18046 * math/w_hypotf.c: Likewise.
18047 * math/w_hypotl.c: Likewise.
18048 * math/w_j0.c: Likewise.
18049 * math/w_j0f.c: Likewise.
18050 * math/w_j0l.c: Likewise.
18051 * math/w_j1.c: Likewise.
18052 * math/w_j1f.c: Likewise.
18053 * math/w_j1l.c: Likewise.
18054 * math/w_jn.c: Likewise.
18055 * math/w_jnf.c: Likewise.
18056 * math/w_jnl.c: Likewise.
18057 * math/w_lgamma.c: Likewise.
18058 * math/w_lgamma_r.c: Likewise.
18059 * math/w_lgammaf.c: Likewise.
18060 * math/w_lgammaf_r.c: Likewise.
18061 * math/w_lgammal.c: Likewise.
18062 * math/w_lgammal_r.c: Likewise.
18063 * math/w_log.c: Likewise.
18064 * math/w_log10.c: Likewise.
18065 * math/w_log10f.c: Likewise.
18066 * math/w_log10l.c: Likewise.
18067 * math/w_log2.c: Likewise.
18068 * math/w_log2f.c: Likewise.
18069 * math/w_log2l.c: Likewise.
18070 * math/w_logf.c: Likewise.
18071 * math/w_logl.c: Likewise.
18072 * math/w_pow.c: Likewise.
18073 * math/w_powf.c: Likewise.
18074 * math/w_powl.c: Likewise.
18075 * math/w_remainder.c: Likewise.
18076 * math/w_remainderf.c: Likewise.
18077 * math/w_remainderl.c: Likewise.
18078 * math/w_scalb.c: Likewise.
18079 * math/w_scalbf.c: Likewise.
18080 * math/w_scalbl.c: Likewise.
18081 * math/w_sinh.c: Likewise.
18082 * math/w_sinhf.c: Likewise.
18083 * math/w_sinhl.c: Likewise.
18084 * math/w_sqrt.c: Likewise.
18085 * math/w_sqrtf.c: Likewise.
18086 * math/w_sqrtl.c: Likewise.
18087 * math/w_tgamma.c: Likewise.
18088 * math/w_tgammaf.c: Likewise.
18089 * math/w_tgammal.c: Likewise.
18090
6a621eb7
UD
18091 * po/ja.po: Update from translation team.
18092
bf582445
AJ
180932011-09-29 Andreas Jaeger <aj@suse.de>
18094
f9efbf3a
AJ
18095 [BZ #13179]
18096 * sunrpc/netname.c (netname2host): Fix logic.
18097
bf582445
AJ
18098 [BZ #6779]
18099 [BZ #6783]
18100 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18101 correctly.
18102 * math/w_remainder.c (__remainder): Likewise.
18103 * math/w_remainderf.c (__remainderf): Likewise.
18104 * math/libm-test.inc (remainder_test): Add test cases.
18105
48693bea
AK
181062011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18107
18108 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18109 sdiv_qrnnd.
18110
42622229
LD
181112011-10-07 Ulrich Drepper <drepper@gmail.com>
18112
18113 * string/test-memcmp.c: Avoid unncessary #defines.
18114 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18115
093ecf92
LD
181162011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18117
18118 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18119 Use new sse2 version for core i3 - i7 as it's faster
18120 than sse42 version.
18121 (bit_Prefer_PMINUB_for_stringop): New.
18122 * sysdeps/x86_64/rawmemchr.S: Update.
18123 Replace with faster SSE2 version.
18124 * sysdeps/x86_64/memrchr.S: New file.
18125 * sysdeps/x86_64/memchr.S: Update.
18126 Replace with faster SSE2 version.
18127
fde56e5c
MP
181282011-09-12 Marek Polacek <mpolacek@redhat.com>
18129
18130 * elf/dl-load.c (lose): Add cast to avoid warning.
18131
21fd49a9
UD
181322011-10-07 Ulrich Drepper <drepper@gmail.com>
18133
5a06e643
UD
18134 * po/ca.po: Update from translation team.
18135
684ae515
UD
18136 * inet/getnetgrent_r.c: Hook up nscd.
18137 * nscd/Makefile (routines): Add nscd_netgroup.
18138 (nscd-modules): Add netgroupcache.
18139 (CFLAGS-netgroupcache.c): Define.
18140 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18141 (cache_search): Add const to second parameter.
18142 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18143 INNETGR.
18144 (dbs): Add netgrdb entry.
18145 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18146 (verify_persistent_db): Handle netgrdb.
18147 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18148 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18149 GETFDNETGR.
18150 (netgroup_response_header): Define.
18151 (innetgroup_response_header): Define.
18152 (datahead): Add netgroup_response_header and innetgroup_response_header
18153 elements.
18154 * nscd/nscd.conf: Add entries for netgroup cache.
18155 * nscd/nscd.h (dbtype): Add netgrdb.
18156 (_PATH_NSCD_NETGROUP_DB): Define.
18157 (netgroup_iov_disabled): Declare.
18158 (xmalloc, xcalloc, xrealloc): Move declarations here.
18159 (cache_search): Adjust prototype.
18160 Add netgroup-related prototypes.
18161 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18162 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18163 (__nscd_innetgr): Declare.
18164 * nscd/selinux.c (perms): Use access_vector_t as element type and
18165 add netgroup-related initializers.
18166 * nscd/netgroupcache.c: New file.
18167 * nscd/nscd_netgroup.c: New file.
18168 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18169 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18170 For four parameters use innetgr.
18171 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18172 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18173 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18174 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18175
21fd49a9
UD
18176 * nscd/connections.c (register_traced_file): Don't register file
18177 for disabled databases.
18178
054c0457
UD
181792011-10-06 Ulrich Drepper <drepper@gmail.com>
18180
32b63198
UD
18181 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18182
054c0457
UD
18183 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18184 from tree and freeing node.
18185
64031225
JO
181862011-09-25 Jiri Olsa <jolsa@redhat.com>
18187
18188 * nss/nsswitch.c (__nss_database_lookup): Handle
18189 nss_parse_service_list out of memory case.
18190
0490345c
JO
181912011-09-15 Jiri Olsa <jolsa@redhat.com>
18192
18193 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18194 out of memory case.
18195
3a62d00d
AS
181962011-10-04 Andreas Schwab <schwab@redhat.com>
18197
18198 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18199 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18200 pass it down.
18201 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18202 elf_machine_rela, elf_machine_lazy_rel.
18203 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18204 (ELF_DYNAMIC_DO_REL): Likewise.
18205 (ELF_DYNAMIC_DO_RELA): Likewise.
18206 (ELF_DYNAMIC_RELOCATE): Likewise.
18207 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18208 to ELF_DYNAMIC_DO_REL.
18209 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18210 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18211 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18212 elf_machine_rela.
18213 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18214 skip_ifunc, don't call ifunc function if non-zero.
18215 (elf_machine_rela): Likewise.
18216 (elf_machine_lazy_rel): Likewise.
18217 (elf_machine_lazy_rela): Likewise.
18218 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18219 (elf_machine_lazy_rel): Likewise.
18220 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18221 Likewise.
18222 (elf_machine_lazy_rel): Likewise.
18223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18224 Likewise.
18225 (elf_machine_lazy_rel): Likewise.
18226 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18227 (elf_machine_lazy_rel): Likewise.
18228 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18229 (elf_machine_lazy_rel): Likewise.
18230 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18231 (elf_machine_lazy_rel): Likewise.
18232 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18233 (elf_machine_lazy_rel): Likewise.
18234 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18235 (elf_machine_lazy_rel): Likewise.
18236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18237 (elf_machine_lazy_rel): Likewise.
18238
68577918
UD
182392011-09-28 Ulrich Drepper <drepper@gmail.com>
18240
18241 * nss/nss_files/files-init.c (_nss_files_init): Use static
18242 initialization for all the *_traced_file variables.
18243
68822d74
AS
182442011-09-28 Andreas Schwab <schwab@redhat.com>
18245
18246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18247
2056100b
RM
182482011-09-27 Roland McGrath <roland@hack.frob.com>
18249
18250 [BZ #13226]
18251 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18252
32c76b63
AS
182532011-09-27 Andreas Schwab <schwab@redhat.com>
18254
18255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18256 Reread the line before reparsing it.
18257
bf972c9d
AS
182582011-09-26 Andreas Schwab <schwab@redhat.com>
18259
18260 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18261
e057a1b5
JM
182622011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18263 Maxim Kuvyrkov <maxim@codesourcery.com>
18264 Joseph Myers <joseph@codesourcery.com>
18265
18266 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18267 if needed for __stack_chk_guard.
18268
bc7e1c36
RM
182692011-09-19 Roland McGrath <roland@hack.frob.com>
18270
ecb1482f
RM
18271 * sysdeps/posix/spawni.c (script_execute): Always define it.
18272 It will be optimized away if unused.
18273 (maybe_script_execute): New function.
18274 (__spawni): Call it.
18275
bc7e1c36
RM
18276 * Makerules: Don't include tls.make.
18277 (config-tls): Always set to thread.
18278 * tls.make.c: File removed.
18279
1c3b002b
MF
182802011-09-19 Mike Frysinger <vapier@gentoo.org>
18281
18282 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18283 * config.make.in (CPPFLAGS-config): New substituted variable.
18284
2840865d
UD
182852011-09-15 Ulrich Drepper <drepper@gmail.com>
18286
88738eb6
UD
18287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18288
cbf645a6 18289 [BZ #13192]
2840865d
UD
18290 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18291 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18292
b402e91a
RM
182932011-09-15 Roland McGrath <roland@hack.frob.com>
18294
18295 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18296 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18298 (CALL_FAIL): Likewise.
18299 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18300 (CALL_FAIL): Macro removed.
18301 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18302
4c1a1f71
UD
183032011-09-15 Ulrich Drepper <drepper@gmail.com>
18304
18305 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18306 for __FINITE_MATH_ONLY__ == 1.
18307
edc121be
AS
183082011-09-15 Andreas Schwab <schwab@redhat.com>
18309
18310 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18311 __ieee754_sqrt instead of sqrt.
18312 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18313 __ieee754_sqrtf instead of sqrtf.
18314 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18315 __floorf instead of floorf.
18316 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18317 __floorf, __truncf instead of floorf, truncf.
18318
cd205654
UD
183192011-09-14 Ulrich Drepper <drepper@gmail.com>
18320
ee4d0315
UD
18321 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18322
cd205654
UD
18323 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18324 __extern_always_inline.
18325 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18326 32-bit.
18327
48b67d71
AS
183282011-09-14 Andreas Schwab <schwab@redhat.com>
18329
18330 * elf/rtld.c (dl_main): Also relocate in dependency order when
18331 doing symbol dependency testing.
18332
1ae12c75
AS
183332011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18334
18335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18336 Always define `refsym'.
18337
995a80df
AS
183382011-09-13 Andreas Schwab <schwab@redhat.com>
18339
e529793b
AS
18340 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18341 (__FD_ELT): Renamed from __FDELT.
18342 * misc/bits/select2.h (__FD_ELT): Likewise.
18343 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18344 __FD_MASK instead of __FDELT, __FDMASK.
18345 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18346 Likewise.
18347 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18348 Likewise.
18349
52d4fef8
AS
18350 * elf/Makefile (gen-ldd): Fix pattern.
18351
995a80df
AS
18352 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18353 (init_tls): Likewise.
18354
8682f8b0
UD
183552011-09-12 Ulrich Drepper <drepper@gmail.com>
18356
18357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18358
de82006d
AS
183592011-09-12 Andreas Schwab <schwab@redhat.com>
18360
a7c8e6a1
AS
18361 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18362 `struct cmsghdr *' instead of `void *'.
18363 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18364 Likewise.
18365
0f31fe77
AS
183662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18367
18368 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18369 if non-absolute.
18370 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18371 ldd_rewrite_script.
0f31fe77 18372
32b4c839
UD
183732011-09-11 Ulrich Drepper <drepper@gmail.com>
18374
83cd1420
UD
18375 * configure.in: Remove --with-tls option.
18376 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18377 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18378 out in case it is missing.
18379 * sysdeps/ia64/elf/configure.in: Likewise.
18380 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18381 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18382 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18383 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18384 * sysdeps/sh/elf/configure.in: Likewise.
18385 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18386 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18387 * sysdeps/x86_64/elf/configure.in: Likewise.
18388 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18389 * sysdeps/mach/hurd/tls.h: Likewise.
18390
633f745d
UD
18391 [BZ #13067]
18392 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18393
f318beb8
UD
18394 [BZ #13090]
18395 * configure.in: Fix use of AC_INIT.
18396
32b4c839
UD
18397 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18398
3ce1f295
UD
183992011-09-10 Ulrich Drepper <drepper@gmail.com>
18400
bb016596
UD
18401 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18402 __set_errno.
8e58439c
UD
18403 * malloc/hooks.c: Likewise.
18404
aebae053 18405 [BZ #11929]
02d46fc4
UD
18406 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18407 variables statically.
18408 (narenas): Initialize.
18409 (list_lock): Initialize.
bb016596
UD
18410 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18411 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
18412 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18413 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18414 Add initializers to main_arena and mp_.
18415 (malloc_state): Remove pagesize member. Change all users to use
18416 GLRO(dl_pagesize).
18417
18418 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18419 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18420 is always initialized.
18421
22a89187
UD
18422 * malloc/malloc.c: Removed unused configurations and dead code.
18423 * malloc/arena.c: Likewise.
18424 * malloc/hooks.c: Likewise.
02d46fc4 18425 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 18426
d063d164
UD
18427 * include/tls.h: Removed. USE___THREAD must always be defined.
18428 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18429 * elf/dl-libc.c: Likewise.
18430 * elf/dl-tsd.c: Likewise.
18431 * include/errno.h: Likewise.
18432 * include/netdb.h: Likewise.
18433 * include/resolv.h: Likewise.
18434 * inet/herrno-loc.c: Likewise.
18435 * inet/herrno.c: Likewise.
18436 * malloc/arena.c: Likewise.
18437 * malloc/hooks.c: Likewise.
18438 * malloc/malloc.c: Likewise.
18439 * resolv/res-state.c: Likewise.
18440 * resolv/res_libc.c: Likewise.
18441 * sysdeps/i386/dl-machine.h: Likewise.
18442 * sysdeps/ia64/dl-machine.h: Likewise.
18443 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18444 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18445 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18446 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18447 * sysdeps/sh/dl-machine.h: Likewise.
18448 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18449 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18450 * sysdeps/unix/i386/sysdep.S: Likewise.
18451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18452 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18453 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18455 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18457 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18461 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18462 * sysdeps/x86_64/dl-machine.h: Likewise.
18463 * tls.make.c: Likewise.
18464
3ce1f295
UD
18465 * configure.in: Remove --with-__thread option. Make tests for
18466 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
18467 tls_model attribute fail if no support is available. Remove
18468 USE_IN_LIBIO.
18469 * Makeconfig: Adjust for dropped configure option. All features are
18470 now mandatory.
18471 * Makerules: Likewise.
18472 * Versions.def: Likewise.
18473 * argp/argp-fmtstream.c: Likewise.
18474 * argp/argp-fmtstream.h: Likewise.
18475 * argp/argp-help.c: Likewise.
18476 * assert/assert.c: Likewise.
18477 * config.h.in: Likewise.
18478 * config.make.in: Likewise.
18479 * configure: Likewise.
18480 * configure.in: Likewise.
18481 * csu/Versions: Likewise.
18482 * csu/init.c: Likewise.
18483 * elf/tst-audit2.c: Likewise.
18484 * elf/tst-tls10.c: Likewise.
18485 * elf/tst-tls10.h: Likewise.
18486 * elf/tst-tls11.c: Likewise.
18487 * elf/tst-tls12.c: Likewise.
18488 * elf/tst-tls14.c: Likewise.
18489 * elf/tst-tlsmod11.c: Likewise.
18490 * elf/tst-tlsmod12.c: Likewise.
18491 * elf/tst-tlsmod13.c: Likewise.
18492 * elf/tst-tlsmod13a.c: Likewise.
18493 * elf/tst-tlsmod14a.c: Likewise.
18494 * elf/tst-tlsmod15b.c: Likewise.
18495 * elf/tst-tlsmod16a.c: Likewise.
18496 * elf/tst-tlsmod16b.c: Likewise.
18497 * elf/tst-tlsmod7.c: Likewise.
18498 * elf/tst-tlsmod8.c: Likewise.
18499 * elf/tst-tlsmod9.c: Likewise.
18500 * gmon/gmon.c: Likewise.
18501 * grp/fgetgrent_r.c: Likewise.
18502 * grp/putgrent.c: Likewise.
18503 * hurd/fopenport.c: Likewise.
18504 * include/libc-symbols.h: Likewise.
18505 * include/tls.h: Likewise.
18506 * intl/gettextP.h: Likewise.
18507 * intl/loadinfo.h: Likewise.
18508 * locale/global-locale.c: Likewise.
18509 * locale/localeinfo.h: Likewise.
18510 * mach/devstream.c: Likewise.
18511 * malloc/arena.c: Likewise.
18512 * malloc/set-freeres.c: Likewise.
18513 * misc/err.c: Likewise.
18514 * misc/getttyent.c: Likewise.
18515 * misc/mntent_r.c: Likewise.
18516 * posix/getopt.c: Likewise.
18517 * posix/wordexp.c: Likewise.
18518 * pwd/fgetpwent_r.c: Likewise.
18519 * resolv/Versions: Likewise.
18520 * resolv/res_hconf.c: Likewise.
18521 * shadow/fgetspent_r.c: Likewise.
18522 * shadow/putspent.c: Likewise.
18523 * stdio-common/printf_fphex.c: Likewise.
18524 * stdio-common/tmpfile.c: Likewise.
18525 * stdlib/abort.c: Likewise.
18526 * stdlib/fmtmsg.c: Likewise.
18527 * sunrpc/auth_unix.c: Likewise.
18528 * sunrpc/clnt_perr.c: Likewise.
18529 * sunrpc/clnt_tcp.c: Likewise.
18530 * sunrpc/clnt_udp.c: Likewise.
18531 * sunrpc/clnt_unix.c: Likewise.
18532 * sunrpc/openchild.c: Likewise.
18533 * sunrpc/svc_simple.c: Likewise.
18534 * sunrpc/svc_tcp.c: Likewise.
18535 * sunrpc/svc_udp.c: Likewise.
18536 * sunrpc/svc_unix.c: Likewise.
18537 * sunrpc/xdr.c: Likewise.
18538 * sunrpc/xdr_array.c: Likewise.
18539 * sunrpc/xdr_rec.c: Likewise.
18540 * sunrpc/xdr_ref.c: Likewise.
18541 * sunrpc/xdr_stdio.c: Likewise.
18542
1248c1c4
PB
185432011-09-09 Ulrich Drepper <drepper@gmail.com>
18544
18545 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18546
185472011-07-03 Andreas Jaeger <aj@suse.de>
18548
18549 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
18550 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
18551 regenerate with gen-libm-tests.pl.
18552
185532010-05-12 Petr Baudis <pasky@suse.cz>
18554
18555 [BZ #11589]
18556 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
18557 around j0() zero points by switching to j1().
18558 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18559 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18561 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18562
f22e1074
UD
185632011-09-09 Ulrich Drepper <drepper@gmail.com>
18564
f19009c1
UD
18565 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
18566 instead of 0.
18567 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
18568 instead of 0. .
18569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18570 Patch in part by Pavel Roskin <proski@gnu.org>.
18571
3f8cc204
UD
18572 [BZ #13138]
18573 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
18574 realloc.
18575 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
18576 Free memory block if necessary.
18577
f22e1074
UD
18578 [BZ #12847]
18579 * libio/genops.c (INTDEF): For string streams the _lock pointer can
18580 be NULL. Don't lock in this case.
18581
0a2349f9
RM
185822011-09-09 Roland McGrath <roland@hack.frob.com>
18583
18584 * elf/elf.h (ELFOSABI_GNU): New macro.
18585 (ELFOSABI_LINUX): Define to that.
18586
f3cdd467
DZ
185872011-07-29 Denis Zaitceff <zaitceff@gmail.com>
18588
18589 * string/strncat.c (strncat): Undef the symbol in case it has been
18590 defined in bits/string.h.
18591
74718d13
UD
185922011-09-09 Ulrich Drepper <drepper@gmail.com>
18593
633e9e0f
UD
18594 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
18595
0a2349f9 18596 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
18597 link map.
18598
f9924780
AJ
185992011-08-17 Andreas Jaeger <aj@suse.de>
18600
18601 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
18602
7f5517aa
PP
186032011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
18604 Ian Lance Taylor <iant@google.com>
18605
18606 * math/libm-test.inc (lround_test): New testcase.
18607 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
18608
762011fe
UD
186092011-09-08 Ulrich Drepper <drepper@gmail.com>
18610
92963737
UD
18611 * Makefile: Remove support for automatic cvs check-ins.
18612 * Makerules: Likewise.
18613 * config.make.in: Likewise.
18614 * configure.in: Likewise.
18615 * intl/Makefile: Likewise.
18616 * locale/Makefile: Likewise.
18617 * po/Makefile: Likewise.
18618 * posix/Makefile: Likewise.
18619 * sysdeps/gnu/Makefile: Likewise.
18620 * sysdeps/mach/hurd/Makefile: Likewise.
18621 * sysdeps/sparc/sparc32/Makefile: Likewise.
18622
b0727fd8
JS
18623 [BZ #13118]
18624 * posix/Makefile (bug-regex32-ENV): Define.
18625 Patch by John Stanley <jpsinthemix@verizon.net>.
18626
a0f33f99
UD
18627 * misc/Makefile (headers): Add bits/select2.h.
18628 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
18629 * misc/bits/select2.h: New file.
18630 * include/bits/select2.h: New file.
18631 * debug/Makefile (routines): Add fdelt_chk.
18632 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
18633 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
18634 FD_ISSET.
18635 * debug/fdelt_chk.c: New file.
18636
762011fe
UD
18637 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
18638 * wcsmbs/test-wmemcmp.c: Likewise.
18639 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 18640 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
18641
186422011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18643
18644 * string/Makefile (strop-tests): Add memcmp.
18645 * string/test-wmemcmp.c: New file.
18646 * string/test-memcmp.c: Add wmemcmp support.
18647
7f513ec8
RM
186482011-09-08 Roland McGrath <roland@hack.frob.com>
18649
0442afb4
RM
18650 [BZ #13153]
18651 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
18652 2011-07-19 change.
18653
7f513ec8
RM
18654 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
18655 garbage value in a __mach_port_mod_refs call in the cases of the
18656 task-self and thread-self ports.
18657
a12b2239
ST
186582011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18659
18660 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
18661
610f9ab4
AS
186622011-09-08 Andreas Schwab <schwab@redhat.com>
18663
7f513ec8 18664 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 18665
48882a1a
LD
186662011-09-07 Ulrich Drepper <drepper@gmail.com>
18667
b49865be
UD
18668 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
18669
fdc86bc9
UD
18670 * elf/dl-libc.c (dlerror_run): Pass back error code from
18671 dl_catch_error.
18672
c966526a
UD
18673 [BZ #13123]
18674 * elf/dl-load.c (lose): Free l_origin if it is valid.
18675
48882a1a
LD
18676 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
18677 names.
18678 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18681 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18682 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18683 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
18684
77a2a8b4
AZ
186852011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18686
18687 * sysdeps/powerpc/fpu/e_hypot.c: New file.
18688 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
18689 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
18690 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
18691 * sysdeps/powerpc/fpu/k_cosf.c: New file.
18692 * sysdeps/powerpc/fpu/k_sinf.c: New file.
18693 * sysdeps/powerpc/fpu/s_cosf.c: New file.
18694 * sysdeps/powerpc/fpu/s_sinf.c: New file.
18695 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
18696 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
18697
24f579d8
AM
186982011-08-15 Alan Modra <amodra@gmail.com>
18699
18700 [BZ #13092]
18701 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
18702 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
18703 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
18704 ppc_mcount to static-only-routines.
18705 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
18706 __mcount_internal.
18707 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
18708 __mcount_internal with usual JUMPTARGET. Remove useless nop.
18709
3d4837df
UD
187102011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
18711
18712 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
18713 for finite and infinity parameters.
18714
22700377
WS
187152011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
18716
18717 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
18718 and add nop instructions for throughput optimization.
18719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18720
5025581e
WS
187212011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
18722
18723 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
18724 aligned copy for power7 with vector-scalar instructions.
18725 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18726
08a300c9
L
187272011-07-24 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
18730 AVX check.
18731
59178ef9
AS
187322011-09-07 Andreas Schwab <schwab@redhat.com>
18733
18734 [BZ #13144]
18735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
18736 last change.
18737
e38ba7ab
UD
187382011-09-07 Ulrich Drepper <drepper@gmail.com>
18739
18740 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18741 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
18742 syscall wrapper around clock_gettime in __vdso_clock_gettime.
18743 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
18744 clock_gettime.
18745
d53a73ac
UD
187462011-09-06 Ulrich Drepper <drepper@gmail.com>
18747
fc8bffcc
UD
18748 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
18749 Forgot to demangle the pointer.
18750
ceaa0c5d
UD
18751 * sysdeps/i386/sysdep.h: Define atom_text_section.
18752 * sysdeps/x86_64/sysdep.h: Likewise.
18753 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
18754 section with atom_text_section.
18755 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18757 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
18759 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
18760
a77d3c17
UD
18761 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
18762 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
18763 already be defined. Change to take two parameters and don't assign
18764 result to variable. Adjust all users.
18765 Define INTERNAL_GETTIME if not already defined.
18766 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
18767 call.
18768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
18769 HAVE_CLOCK_GETTIME_VSYSCALL.
18770 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
18771
d53a73ac
UD
18772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
18773 gettimeofday vsyscall, just use time.
18774
a8f84144
AS
187752011-09-06 Andreas Schwab <schwab@redhat.com>
18776
18777 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
18778 <errno.h>.
18779
ef606249
UD
187802011-09-06 Ulrich Drepper <drepper@gmail.com>
18781
18782 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
18783 syscall on x86-64.
18784 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
18785 syscall.
18786 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18787 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
18788 syscall if possible.
18789
6585cb60
UD
187902011-09-05 Ulrich Drepper <drepper@gmail.com>
18791
18792 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
18793 e_ident. Don't pass to find_mapsXX.
18794 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
18795
a5f524e4
LD
187962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18797
18798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18799 strchr-sse2-no-bsf strrchr-sse2-no-bsf
18800 * sysdeps/x86_64/multiarch/strchr.S: Update.
18801 Check bit_slow_BSF bit.
18802 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18803 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
18804 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
18805
554881ef
UD
188062011-09-05 Ulrich Drepper <drepper@gmail.com>
18807
d96de963
UD
18808 [BZ #13134]
18809 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
18810 before glibc 2.15.
18811 (tryshell): Define.
18812 (__spawni): Change last parameter to be flag. Test
18813 SPAWN_XFLAGS_USE_PATH flag to use path or not.
18814 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
18815 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
18816 * posix/spawni.c: Likewise.
18817 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
18818 * posix/spawnp.c: Likewise. Change normal version to use
18819 SPAWN_XFLAGS_USE_PATH.
18820 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
18821 SPAWN_XFLAGS_TRY_SHELL.
18822
d48e5868
UD
18823 [BZ #13150]
18824 * posix/glob.h: Remove gcc 1.x support.
18825
554881ef
UD
18826 [BZ #13068]
18827 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
18828
693fb948
LD
188292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18830
18831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18832 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
18833 strrchr-sse2-bsf
18834 * sysdeps/i386/i686/multiarch/strchr.S: New file.
18835 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
18836 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
18837 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
18838 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
18839 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
18840
1b48c537
UD
188412011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18842
49d42c37
UD
18843 * sysdeps/x86_64/wcscmp.S: New file.
18844
1b48c537
UD
18845 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
18846 wcscmp-c wcscmp-sse2
18847 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
18848 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
18849 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
18850 * wcsmbs/wcscmp.c: Allow renaming.
18851
15c95c5d
DM
188522011-09-05 David S. Miller <davem@davemloft.net>
18853
18854 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
18855 stack slot, rather than the struct return pointer slot.
18856 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
18857 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
18858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
18859 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
18860
2f0ad8f3
UD
188612011-09-05 Ulrich Drepper <drepper@gmail.com>
18862
d88ae418
UD
18863 * po/ja.po: Update from translation team.
18864
2f0ad8f3
UD
18865 [BZ #13144]
18866 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
18867 kernel in 64-bit binaries.
18868
5f4318d1
DM
188692011-09-01 David S. Miller <davem@davemloft.net>
18870
18871 * elf/elf.h (HWCAP_SPARC_*): Move to..
18872 * sysdeps/sparc/sysdep.h: this new file and add new values.
18873 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
18874 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
18875 _DL_HWCAP_COUNT to 24.
18876 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18877 entries.
18878 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
18879 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
18880 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
18881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
18882 instead of magic constants.
18883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18884
3ba57516
DM
188852011-08-31 David S. Miller <davem@davemloft.net>
18886
18887 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
18888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
18889 Reimplement to do errno handling inline.
18890 (SYSCALL_ERROR_HANDLER): New macro.
18891 (__SYSCALL_STRING): Do not do errno handling in asm.
18892 (__CLONE_SYSCALL_STRING): Delete.
18893 (__INTERNAL_SYSCALL_STRING): Delete.
18894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
18895 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
18896 (PSEUDO): Reimplement to do errno handling inline.
18897 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
18898 (SYSCALL_ERROR_HANDLER): New macro.
18899 (__SYSCALL_STRING): Do not do errno handling in asm.
18900 (__CLONE_SYSCALL_STRING): Delete.
18901 (__INTERNAL_SYSCALL_STRING): Delete.
18902 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
18903 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
18904 i386.
18905 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
18906 (inline_syscall*): Add 'err' argument.
18907 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
18908 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
18909 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
18910 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
18911
18912 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
18913 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18914
2bc17433
AS
189152011-08-30 Andreas Schwab <schwab@redhat.com>
18916
18917 * elf/rtld.c (dl_main): Relocate objects in dependency order.
18918
fbeb5f4d
JO
189192011-08-29 Jiri Olsa <jolsa@redhat.com>
18920
18921 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
18922 directive.
18923
ad69cc26
DM
189242011-08-24 David S. Miller <davem@davemloft.net>
18925
18926 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
18927
39dd69df
AS
189282011-08-24 Andreas Schwab <schwab@redhat.com>
18929
18930 * elf/Makefile: Add rules to build and run unload8 test.
18931 * elf/unload8.c: New file.
18932 * elf/unload8mod1.c: New file.
18933 * elf/unload8mod1x.c: New file.
18934 * elf/unload8mod2.c: New file.
18935 * elf/unload8mod3.c: New file.
18936
18937 * elf/dl-close.c (_dl_close_worker): Reset private search list if
18938 it wasn't used.
18939
2c0b250a
DM
189402011-08-23 David S. Miller <davem@davemloft.net>
18941
18942 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
18943 subtract stack bias.
18944 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
18945 %sp not %fp in calculations.
18946 (_JMPBUF_UNWINDS_ADJ): Likewise.
18947
22044b48
DM
18948 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
18949 (aio_suspend): Call it to force an exception region around the
18950 AIO_MISC_WAIT() invocation.
18951
2cae4995
AS
189522011-08-23 Andreas Schwab <schwab@redhat.com>
18953
18954 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
18955 backslash.
18956
873a772e
AJ
189572011-07-04 Aurelien Jarno <aurelien@aurel32.net>
18958
18959 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
18960 protection macro.
18961 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
18962 and <dl-machine.h>.
18963 (Elf64_FuncDesc): Remove.
18964
25ad0df1
DM
189652011-08-22 David S. Miller <davem@davemloft.net>
18966
18967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
18968 sigaltstack check, add missing cfi directives.
18969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
18970 missing cfi directives, and sigaltstack handling.
18971
e888bcbe
AS
189722011-08-16 Andreas Schwab <schwab@redhat.com>
18973
18974 [BZ #11724]
18975 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
18976 object is seen twice.
18977 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18978
18979 * elf/Makefile (distribute): Add tst-initorder2.c.
18980 (tests): Add tst-initorder2.
18981 (modules-names): Add tst-initorder2a tst-initorder2b
18982 tst-initorder2c tst-initorder2d. Add rules to build them.
18983 ($(objpfx)tst-initorder2.out): New rule.
18984 * elf/tst-initorder2.c: New file.
18985 * elf/tst-initorder2.exp: New file.
18986
87162f46
AS
189872011-08-22 Andreas Schwab <schwab@redhat.com>
18988
70538b7f
AS
18989 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
18990
f55ffe58
AS
18991 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
18992 dependencies back to end of function.
18993
87162f46
AS
18994 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18995 $(elfobjdir)/ld.so.
18996
91b392a4
UD
189972011-08-21 Ulrich Drepper <drepper@gmail.com>
18998
18999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19000 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19002 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19003 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19004 of __vdso_gettimeofday.
19005 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19006 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19007 attribute_hidden.
19008 (_libc_vdso_platform_setup): Remove initialization of
19009 __vdso_gettimeofday and __vdso_time.
19010
5c43483f
UD
190112011-08-20 Ulrich Drepper <drepper@gmail.com>
19012
775a77e7
UD
19013 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19014 and fgetc_unlocked.
19015 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19016 getc_unlocked.
89f447ed 19017
49c74ba9
UD
19018 * elf/dl-open.c (add_to_global): Report additions to the global scope
19019 for LD_DEBUG=scopes.
19020 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 19021 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 19022
5c43483f
UD
19023 [BZ #13114]
19024 * stdio-common/Makefile (tests): Add bug24.
19025 * stdio-common/bug24.c: New file.
19026
a101b025
AJ
190272011-08-19 Andreas Jaeger <aj@suse.de>
19028
19029 [BZ #13114]
19030 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19031 non-existant file when using close-on-exec mode.
19032
c88f1766
UD
190332011-08-20 Ulrich Drepper <drepper@gmail.com>
19034
0276a718
UD
19035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19036 the very first instruction.
19037
c88f1766
UD
19038 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19039 the CFI state in the end.
19040 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19041 inclusion of dl-trampoline.h.
19042 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19043
51ccffa0
AS
190442011-08-19 Andreas Schwab <schwab@redhat.com>
19045
94d7165f
AS
19046 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19047 expectations for long double.
19048
51ccffa0
AS
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19050 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19051
fd708658 190522011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
19053
19054 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19055 artificual limit depends upon the system page size.
19056
44f0a71e
UD
190572011-08-17 Ulrich Drepper <drepper@gmail.com>
19058
19059 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19060 * resolv/Makefile: Define CFLAGS-libresolv.
19061
8de79a24
AS
190622011-08-17 Andreas Schwab <schwab@redhat.com>
19063
19064 * nss/makedb.c (compute_tables): Make variables used in nested
19065 function static.
19066
27724598
UD
190672011-08-17 Ulrich Drepper <drepper@gmail.com>
19068
c5305d88
UD
19069 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19070 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19071 if buffer was too small.
19072
27724598
UD
19073 * elf/pldd.c (main): Attach to all threads in the process.
19074 Rewrite /proc handling to use *at functions.
19075
076fe015
UD
190762011-08-16 Ulrich Drepper <drepper@gmail.com>
19077
174baab3
UD
19078 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19079 specifies first scope to show.
19080 (dl_open_worker): Update callers. Move printing scope of new
19081 object to before the relocation.
44f0a71e 19082 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
19083 * sysdeps/generic/ldsodefs.h: Update declaration.
19084
076fe015
UD
19085 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19086 string for the scope number.
19087
a60df2c3
UD
190882011-08-14 Ulrich Drepper <drepper@gmail.com>
19089
19090 * nscd/servicescache.c (cache_addserv): Make sure written is always
19091 initialized.
19092
5e4287d1
RM
190932011-08-14 Roland McGrath <roland@hack.frob.com>
19094
85ae0589
RM
19095 * sysdeps/i386/i486/bits/atomic.h
19096 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19097 statement expression, so as to suppress "set but not used" warning.
19098 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19099
69f63097
RM
19100 * string/strncat.c (STRNCAT): Use prototype definition.
19101
675456ef
RM
19102 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19103 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19104 -Iprograms here.
19105 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19106 (localedef-modules): Add localedef.
19107 (locale-modules): Add locale.
19108
5e4287d1
RM
19109 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19110 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19111 to avoid a warning.
19112
9c96ff23
DM
191132011-08-14 David S. Miller <davem@davemloft.net>
19114
19115 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19116 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19117
f9ddf089
UD
191182011-08-13 Ulrich Drepper <drepper@gmail.com>
19119
44f0a71e 19120 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
19121 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19122 * elf/rtld.c (dl_main): Set l_name of vDSO.
19123 Call _dl_show_scope when DL_DEBUG_SCOPES.
19124 (process_dl_debug): Recognize scopes flag and also set it for all.
19125 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19126 Declare _dl_show_scope.
19127
1dc27704
UD
19128 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19129 (do_dlopen): Pass caller_dlopen to dl_open.
19130 (__libc_dlopen_mode): Initialize caller_dlopen.
19131
f9ddf089
UD
19132 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19133 of libc. Make tolower call locale-independent. Optimize a bit by
19134 using isdigit instead of isalnum.
19135 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19136
9ac533d3
UD
191372011-08-12 Ulrich Drepper <drepper@gmail.com>
19138
19139 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19140 was a dependency or dynamically loaded.
19141
89edf2e9
UD
191422011-08-11 Ulrich Drepper <drepper@gmail.com>
19143
8e999d29
UD
19144 * intl/l10nflist.c: Allow architecture-specific pop function.
19145 * sysdeps/x86_64/l10nflist.c: New file.
19146
89edf2e9
UD
19147 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19148 classification.
19149
14d96785
AS
191502011-08-10 Andreas Schwab <schwab@redhat.com>
19151
19152 * include/dirent.h: Add libc_hidden_proto for scandirat and
19153 scandirat64. Don't declare __scandirat64.
19154 * dirent/scandirat.c: Add libc_hidden_def.
19155 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19156 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19157
6761ac04
DM
191582011-08-10 David S. Miller <davem@davemloft.net>
19159
19160 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19161 enum.
19162 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19165
c55fbd1e
UD
191662011-08-09 Ulrich Drepper <drepper@gmail.com>
19167
19168 * Versions.def [libc]: Add GLIBC_2.15.
19169 * dirent/Makefile (routines): Add scandirat and scandirat64.
19170 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19171 GLIBC_2.15.
19172 * dirent/dirent.h: Declare scandirat and scandirat64.
19173 * dirent/scandirat.c: New file.
19174 * dirent/scandirat64.c: New file.
19175 * sysdeps/wordsize-64/scandirat.c: New file.
19176 * sysdeps/wordsize-64/scandirat64.c: New file.
19177 * dirent/opendir.c: Define opendirat.
19178 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19179 using scandirat.
19180 * dirent/scandir64.c: Adjust for scandir.c change.
19181 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19182 __scandirat64, and __scandir_cancel_handler.
19183 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19184 additional parameter and use openat instead of open (outside of ld.so).
19185 Add new __opendir as wrapper around __opendirat.
19186 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19187 here without requiring old scandirat implementation.
19188
879165f2
UD
191892011-08-08 Ulrich Drepper <drepper@gmail.com>
19190
19191 * dirent/scandir.c (cancel_handler): Renamed to
19192 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19193 defined. Adjust users.
19194 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19195 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19196
cb7e923b
UD
191972011-08-04 Ulrich Drepper <drepper@gmail.com>
19198
16292edd
UD
19199 * string/test-string.h (IMPL): Use __STRING to expand name and then
19200 stringify it.
19201
cb7e923b
UD
19202 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19203 of cleanups.
19204
cff82933
LD
192052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19206
19207 * string/Makefile: Update.
19208 (strop-tests): Append strncat.
19209 * string/test-wcscmp.c: New file.
19210 New comprehensive test for wcscmp.
19211 * string/test-strcmp.c: Update.
19212 (WIDE): New define.
19213
9be9bfcc
AS
192142011-07-22 Andreas Schwab <schwab@redhat.com>
19215
19216 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19217 line.
19218
2e96f1c7
AS
192192011-07-26 Andreas Schwab <schwab@redhat.com>
19220
19221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19222 encoding to ACE if AI_IDN.
19223
85188888
JJ
192242011-08-01 Jakub Jelinek <jakub@redhat.com>
19225
19226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19227 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19228
5fa16e9b
LD
192292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19230
19231 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19232 Fix overflow bug in strncat.
19233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19234
19235 * string/test-strncat.c: Update.
19236 Add new tests for checking overflow bugs.
19237
192382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19239
19240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19241 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19242 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19243 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19244 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19245 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19246 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19247 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19248 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19249
19250 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19251 (USE_AS_STRCAT): Define.
19252 Add strcat and strncat support.
19253 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19254
8c1a459f
AS
192552011-07-25 Andreas Schwab <schwab@redhat.com>
19256
19257 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19258 __n bigger than INT_MAX+1.
19259 (__strncmp_g): Likewise.
19260
bba33c28
UD
192612011-07-23 Ulrich Drepper <drepper@gmail.com>
19262
798be72d
UD
19263 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19264 * libio/stido.h: Likewise.
19265
8accd4dc
UD
19266 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19267 (AF_NFC): Define.
19268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19269 (AF_NFC): Define.
19270
cbff0d96
UD
19271 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19272 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19273 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19274 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19276
9191c04a
UD
19277 [BZ #13021]
19278 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19279 installed.
19280
bba33c28
UD
19281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19282 typo.
19283 (_dl_x86_64_save_sse): Likewise.
19284
90f139dd
UD
192852011-07-22 Ulrich Drepper <drepper@gmail.com>
19286
1aae088a
UD
19287 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19288 OSXSAVE.
19289 (_dl_x86_64_save_sse): Likewise.
19290
8e2045f5
UD
19291 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19292
90f139dd
UD
19293 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19294
1d002f25
AS
192952011-07-21 Andreas Schwab <schwab@redhat.com>
19296
19297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19298 change.
19299 (_dl_x86_64_save_sse): Use correct AVX check.
19300
21137f89
UD
193012011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19302
19303 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19304 bug in strncpy/strncat.
19305 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19306
a65c0b7a
UD
193072011-07-21 Ulrich Drepper <drepper@gmail.com>
19308
19309 * string/tester.c (test_strcat): Add tests for different alignments
19310 of source and destination.
19311 (test_strncat): Likewise.
19312
6986b98a
UD
193132011-07-20 Ulrich Drepper <drepper@gmail.com>
19314
90bb2039
UD
19315 [BZ #12852]
19316 * posix/glob.c (glob): Check passed in values before using them in
19317 expressions to avoid some overflows.
19318 (glob_in_dir): Likewise.
19319
5644ef54
UD
19320 [BZ #13007]
19321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19322 check for AVX enablement so that we don't crash with old kernels and
19323 new hardware.
19324 * elf/tst-audit4.c: Add same checks here.
19325 * elf/tst-audit6.c: Likewise.
19326
19327 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 19328
bfc9dc9b
AS
193292011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19330
19331 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19332
702e64bb
UD
193332011-07-20 Ulrich Drepper <drepper@gmail.com>
19334
19335 * po/cs.po: Update from translation team.
19336 * po/bg.po: Likewise.
19337
295e904f
MP
193382011-07-12 Marek Polacek <mpolacek@redhat.com>
19339
19340 * misc/sys/cdefs.h: Add support for const attribute.
19341 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19342 to gnu_dev_{major,minor,makedev} functions.
19343
3ff94596
MP
193442011-07-20 Marek Polacek <mpolacek@redhat.com>
19345
19346 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19347
28b59fca
AS
193482011-07-20 Andreas Schwab <schwab@redhat.com>
19349
19350 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19351 strlen results.
19352
19df733e
AK
193532011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19354
19355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19356 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19357 register in order to avoid conflicts with the soft frame pointer
19358 being held in r11 when necessary.
19359 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19360 (INTERNAL_VSYSCALL_NCS): Likewise.
19361
c8835729
MP
193622011-07-14 Marek Polacek <mpolacek@redhat.com>
19363
19364 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19365 * elf/dl-fini.c (_dl_fini): Adjust caller.
19366 * elf/dl-close.c (_dl_close_worker): Likewise.
19367 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19368
b902330c
MP
193692011-07-15 Marek Polacek <mpolacek@redhat.com>
19370
8991e135
MP
19371 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19372 "aux_cache->nlibs < 0".
19373
b902330c
MP
19374 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19375 in the reload-count case.
19376
99710781
LD
193772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19378
19379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19380 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19381 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19382 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19383 * sysdeps/x86_64/multiarch/strcat.S: New file.
19384 * sysdeps/x86_64/multiarch/strncat.S: New file.
19385 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19386 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19387 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19388 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19389 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19390 (USE_AS_STRCAT): Define.
19391 Add strcat and strncat support.
19392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19393 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19394 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19395 * string/strncat.c: Update.
19396 (USE_AS_STRNCAT): Define.
19397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19398 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19399 and i7.
19400 * sysdeps/x86_64/multiarch/init-arch.h
19401 (bit_Prefer_PMINUB_for_stringop): New.
19402 (index_Prefer_PMINUB_for_stringop): Likewise.
19403 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19404 bit_Prefer_PMINUB_for_stringop.
19405
7dc6bd90
UD
194062011-07-19 Ulrich Drepper <drepper@gmail.com>
19407
19408 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19409 buffer64.
19410 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19411 of casting of buffer.
19412 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19413 buffer32 and buffer64.
19414 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19415 writes instead of casting of buffer.
19416 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19417 buffer32.
19418 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19419 casting of buffer.
19420
e0e72284
AS
194212011-07-19 Andreas Schwab <schwab@redhat.com>
19422
19423 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19424
feb1eb0b
UD
194252011-07-19 Ulrich Drepper <drepper@gmail.com>
19426
19427 * nscd/nscd.c (termination_handler): Don't do anything for a database
19428 if it has not yet been initialized.
19429
298711ff
UD
194302011-07-18 Ulrich Drepper <drepper@gmail.com>
19431
19432 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19433
194342011-07-15 Marek Polacek <mpolacek@redhat.com>
19435
19436 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19437
f9d68389
UD
194382011-07-18 Ulrich Drepper <drepper@gmail.com>
19439
19440 * po/nl.po: Update from translation team.
19441 * po/sv.po: Likewise.
19442
db290cf5
RM
194432011-07-16 Roland McGrath <roland@hack.frob.com>
19444
19445 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19446 now disallowed by GCC.
5c550700 19447
fd5e21c7
RM
19448 * configure.in (use-default-link): Default to yes if a test -shared
19449 link meets our qualifications.
19450 * configure: Regenerated.
19451
5c550700
RM
19452 * config.make.in (output-format): New variable.
19453 * configure.in: Check for ld --print-output-format support.
19454 * configure: Regenerated.
19455 * Makerules ($(common-objpfx)format.lds)
19456 [$(output-format) != unknown]: Just use $(output-format),
19457 instead of the linker-script munging.
19458
9fa2c032
RM
194592011-07-14 Roland McGrath <roland@hack.frob.com>
19460
a6928d51
RM
19461 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19462 of $(common-objpfx)shlib.lds.
19463 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19464
661607b3
RM
19465 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19466 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
19467
9fa2c032
RM
19468 * configure.in (-z relro check): Adjust test code to add a large
19469 writable data section after it.
19470 * configure: Regenerated.
19471
defe9061
RM
194722011-07-11 Roland McGrath <roland@hack.frob.com>
19473
19474 * configure.in (-z relro check): Fix test code to make the variable
19475 truly const.
19476 * configure: Regenerated.
19477
319b9ad4
UD
194782011-07-11 Ulrich Drepper <drepper@gmail.com>
19479
19480 * nscd/nscd.h (struct traced_file): Define.
19481 (struct database_dyn): Remove inotify_descr, reset_res, and filename
19482 elements. Add traced_files.
19483 (inotify_fd): Declare.
19484 (register_traced_file): Declare.
19485 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
19486 (inotify_fd): Export.
19487 (resolv_conf_descr): Remove.
19488 (nscd_init): Move inotify descriptor creation to main.
19489 Don't register files for notification here.
19490 (register_traced_file): New function.
19491 (invalidate_cache): Don't use reset_res to determine whether to call
19492 res_init, go through the list of registered files.
19493 (main_loop_poll): The inotify descriptors are now stored in the
19494 structures for the traced files.
19495 (main_loop_epoll): Likewise
19496 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
19497 to __nss_disable_nscd.
19498 * nscd/cache.c (prune_cache): There is no single inotify descriptor
19499 for a database anymore. Check the records for all the registered
19500 files instead.
19501 * nss/Makefile (libnss_files-routines): Add files-init.
19502 (libnss_db-routines): Add db-init.
19503 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
19504 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
19505 * nss/nss_db/db-init.c: New file.
19506 * nss/nss_files/files-init.c: New file.
19507 * nss/nsswitch.c (nss_load_library): New function. Broken out of
19508 __nss_lookup_function.
19509 (__nss_lookup_function): Call nss_load_library.
19510 (nss_load_all_libraries): New function.
19511 (__nss_disable_nscd): Take parameter with callback function for files
19512 to register. Set is_nscd. Load all the DSOs for the NSS modules
19513 used for the cached services.
19514 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
19515 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
19516 options for features to all the files in nscd.
19517
19518 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
19519
23bee3e8
RM
195202011-07-10 Roland McGrath <roland@hack.frob.com>
19521
19522 * csu/elf-init.c (__libc_csu_init): Comment typo.
19523
46a5b7f0
UD
195242011-07-09 Ulrich Drepper <drepper@gmail.com>
19525
19526 * po/pl.po: Update from translation team.
19527 * po/ja.po: Likewise.
19528 * po/ru.po: Likewise.
19529 * po/ko.po: Likewise.
19530 * po/fr.po: Likewise.
19531
d30cf5bb
RM
195322011-07-09 Roland McGrath <roland@hack.frob.com>
19533
113ddea4
RM
19534 * configure.in (.ctors/.dtors header and trailer check):
19535 Use an empirical test on a built program.
19536 * configure: Regenerated.
19537
574920b4
RM
19538 * configure.in (-z relro check): Use an empirical test on a built DSO.
19539 Detect, but do not require, on ia64.
19540 * configure: Regenerated.
19541
d30cf5bb
RM
19542 * configure.in (READELF): Find it with AC_CHECK_TOOL.
19543 Update tests that use readelf to use $READELF instead.
19544 * configure: Regenerated.
19545
8538fdb3
UD
195462011-07-08 Ulrich Drepper <drepper@gmail.com>
19547
19548 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
19549 if the result is not used.
19550
04d08991
AJ
195512011-07-05 Andreas Jaeger <aj@suse.de>
19552
19553 [BZ#9696]
19554 * stdlib/tst-strtod.c: Add testcase.
19555
de283087
AD
195562011-07-07 Ulrich Drepper <drepper@gmail.com>
19557
4e5f31c8 19558 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 19559 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
19560 The latter has a higher limit. Take additional parameter to pass to
19561 the new function.
19562 (__pathconf): Pass file to __statfs_link_max.
19563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
19564 __statfs_link_max.
19565 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
19566 __statfs_link_max.
19567
de283087
AD
19568 [BZ #12868]
19569 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
19570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19571 Handle Lustre.
19572 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
19573 (__statfs_filesize_max): Likewise.
19574 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
19575
c75fa153
AJ
195762011-07-05 Andreas Jaeger <aj@suse.de>
19577
19578 * resolv/res_comp.c (dn_skipname): Remove unused variable.
19579
1a544854
UD
195802011-07-06 Marek Polacek <mpolacek@redhat.com>
19581
19582 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
19583 `status' variable.
19584 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
19585 Likewise.
19586
6f0eec67
UD
195872011-07-04 H.J. Lu <hongjiu.lu@intel.com>
19588
19589 * Makefile (strop-tests): Add strncat.
19590 * string/test-strncat.c: New file.
19591
aae30307
UD
195922011-06-30 Marek Polacek <mpolacek@redhat.com>
19593
19594 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
19595
c0cfb5eb
UD
195962011-06-21 Andreas Jaeger <aj@suse.de>
19597
19598 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
19599 Copy rule from iconvdata/Makefile.
19600
01636b21
UD
196012011-07-06 Ulrich Drepper <drepper@gmail.com>
19602
19603 [BZ #12922]
19604 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
19605 but no long options are defined, just return 'W'.
19606
9895c8bc
UD
196072011-06-22 Marek Polacek <mpolacek@redhat.com>
19608
19609 [BZ #9696]
19610 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
19611
5d4cf042
UD
196122011-07-06 Ulrich Drepper <drepper@gmail.com>
19613
19614 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
19615 netgroups to read.
960e5535 19616 (innetgr): Likewise.
5d4cf042 19617
751eb97e
RM
196182011-07-05 Roland McGrath <roland@hack.frob.com>
19619
19620 * config.make.in (install_root): Default to $(DESTDIR).
19621
f15f1e45
UD
196222011-07-05 Ulrich Drepper <drepper@gmail.com>
19623
19624 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
19625
4e34ac6a
RM
196262011-07-02 Roland McGrath <roland@hack.frob.com>
19627
5e9b6af4
RM
19628 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
19629
84f9ea0f
RM
19630 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
19631 containing directory rather than embedding absolute directory names.
19632
ea5ee9f7
RM
19633 * scripts/check-local-headers.sh: Rewritten using awk.
19634 Match by word, not by line. Print error messages for matches.
19635 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
19636
1b74661a
RM
19637 * Makerules [shlib-lds-flags empty]:
19638 ($(common-objpfx)libc_pic.opts): New target.
19639 ($(common-objpfx)libc_pic.os.clean): New target.
19640 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
19641
19642 * config.make.in (OBJCOPY): New variable.
19643 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
19644 * configure: Regenerated.
19645
f781ef40
RM
19646 * config.make.in (use-default-link): New variable.
19647 * configure.in (use_default_link): Grok --with-default-link to set it.
19648 * configure: Regenerated.
19649 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
19650 (shlib-lds, shlib-lds-flags): Define to empty.
19651
2d4fa81e
RM
19652 * Makerules (shlib-lds): New variable.
19653 (shlib-lds-flags): New variable.
19654 (build-shlib, build-moduile, build-module-asneeded): Use it.
19655 ($(common-objpfx)libc.so): Use $(shlib-lds).
19656 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
19657 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
19658
31fffa6b
RM
19659 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
19660 DT_FLAGS/DT_FLAGS_1 with zero flags.
19661
4e34ac6a
RM
19662 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
19663 linker script munging.
19664
fcfc776b
UD
196652011-07-02 Ulrich Drepper <drepper@gmail.com>
19666
19667 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
19668 as 128-bit value.
19669 * crypt/sha512.c (sha512_process_block): Perform total addition using
19670 128-bit if possible.
19671 (__sha512_finish_ctx): Likewise.
19672 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
19673 as 64-bit value.
19674 * crypt/sha256.c (SWAP64): Define.
19675 (sha256_process_block): Perform total addition using 64-bit if
19676 possible.
19677 (__sha256_finish_ctx): Likewise.
19678
99231d9a
UD
196792011-07-01 Ulrich Drepper <drepper@gmail.com>
19680
19681 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
19682 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19683 * nscd/hstcache.c (cache_addhst): Likewise.
19684 * nscd/grpcache.c (cache_addgr): Likewise.
19685 * nscd/aicache.c (addhstaiX): Likewise
19686 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
19687
445b4a53
TK
196882011-07-01 Thorsten Kukuk <kukuk@suse.de>
19689
19690 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
19691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19692 * nscd/hstcache.c (cache_addhst): Likewise.
19693 * nscd/grpcache.c (cache_addgr): Likewise.
19694 * nscd/aicache.c (addhstaiX): Likewise
19695
6d4d8e8e
AS
196962011-07-01 Andreas Schwab <schwab@redhat.com>
19697
19698 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
19699 domain only when needed.
19700
89f654c5
AS
197012011-06-30 Andreas Schwab <schwab@redhat.com>
19702
19703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
19704 is always restored.
19705
cf3b23ff
UD
197062011-06-29 Ulrich Drepper <drepper@gmail.com>
19707
19708 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
19709 are re-adding the entry.
19710 * nscd/servicescache.c (cache_addserv): Likewise.
19711
751626f9
AJ
197122011-06-30 Aurelien Jarno <aurelien@aurel32.net>
19713
19714 * sysdeps/generic/dl-irel.h: fix protection against multiple
19715 inclusions.
19716 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
19717
9113ea1f
UD
197182011-06-28 Ulrich Drepper <drepper@gmail.com>
19719
5c0b8d90
UD
19720 [BZ #12935]
19721 * malloc/memusage.sh: Fix quoting in message.
19722 * debug/xtrace.sh: Likewise.
19723
9113ea1f
UD
19724 * configure.in: Remove support for --experimental-malloc option, make
19725 it the default.
19726 * config.make.in: Likewise.
19727 * malloc/Makefile: Likewise.
19728
a4172181
AS
197292011-06-27 Andreas Schwab <schwab@redhat.com>
19730
19731 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
19732 two-byte characters.
19733
78a7eee7
RM
197342011-06-27 Roland McGrath <roland@hack.frob.com>
19735
62bede13
RM
19736 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
19737 AC_CACHE_CHECK invocation.
19738 * configure: Regenerated.
19739
78a7eee7
RM
19740 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
19741
5ce33a62
UD
197422011-06-27 Ulrich Drepper <drepper@gmail.com>
19743
034807a9
UD
19744 [BZ #12350]
19745 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
19746 bit from old_res_options.
19747
4902da17
UD
19748 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
19749
5ce33a62
UD
19750 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
19751 value type for setfct.
19752
c2344f56
L
197532011-06-23 H.J. Lu <hongjiu.lu@intel.com>
19754
19755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19756 __gettimeofday instead of gettimeofday.
19757
68468076
UD
197582011-06-26 Ulrich Drepper <drepper@gmail.com>
19759
19760 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
19761
acb0d739
L
197622011-06-24 H.J. Lu <hongjiu.lu@intel.com>
19763
19764 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
19765
19766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
19767 info.
19768
8912479f
L
197692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19770
19771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19772 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19773 strcpy-sse2-unaligned strncpy-sse2-unaligned
19774 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
19775 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
19776 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
19777 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
19778 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
19779 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
19780 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
19781 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
19782 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
19783 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
19784 (STRCPY): Support SSE2 and SSSE3 versions.
19785
d5495a11
UD
197862011-06-24 Ulrich Drepper <drepper@gmail.com>
19787
19788 [BZ #12874]
19789 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
19790 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
19791 kernels which artificially limit size of requests.
19792
0b1cbaae
L
197932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
19794
19795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19796 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
19797 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
19798 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
19799 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
19800 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
19801 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
19802 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
19803 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
19804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
19805 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
19806 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
19807 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
19808 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
19809 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
19810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19811 Enable unaligned load optimization for Intel Core i3, i5 and i7
19812 processors.
19813 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
19814 Define.
19815 (index_Fast_Unaligned_Load): Define.
19816 (HAS_FAST_UNALIGNED_LOAD): Define.
19817
07f494a0
MP
198182011-06-23 Marek Polacek <mpolacek@redhat.com>
19819
19820 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
19821
fa3fc0fe
UD
198222011-06-22 Ulrich Drepper <drepper@gmail.com>
19823
19824 [BZ #12907]
19825 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
19826 until it is clear that the information is realy needed.
19827 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
19828
e12df166
AS
198292011-06-22 Andreas Schwab <schwab@redhat.com>
19830
19831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
19832
852eb34d
UD
198332011-06-22 Ulrich Drepper <drepper@gmail.com>
19834
84e2a551
UD
19835 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
19836 /sys/devices/system/cpu/online if it is usable.
19837
852eb34d
UD
19838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
19839 reading the information from the /proc filesystem to once a second.
19840
6e502e19
UD
198412011-06-21 Andreas Jaeger <aj@suse.de>
19842
19843 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
19844 NULL after inclusion of kernel headers.
19845
75d39ff2
UD
198462011-06-21 Ulrich Drepper <drepper@gmail.com>
19847
51f9aa6a
UD
19848 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
19849 calls to internal_setent.
19850
c0244a9d
UD
19851 [BZ #12885]
19852 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
19853 addresses using gethostbyname4_r ignore IPv4 addresses.
19854
c5e3c2ae
UD
19855 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
19856 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
19857
75d39ff2
UD
19858 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
19859
42675c6f
DM
198602011-06-20 David S. Miller <davem@davemloft.net>
19861
19862 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
19863 inclusions.
19864 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
19865
19866 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
19867 (elf_irel): Use it.
19868 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
19869 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
19870 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
19871 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
19872 * sysdeps/x86_64/dl-irel.h: Likewise.
19873
19874 * elf/dl-runtime.c: Use elf_ifunc_invoke.
19875 * elf/dl-sym.c: Likewise.
19876
57912a71
UD
198772011-06-15 Ulrich Drepper <drepper@gmail.com>
19878
19879 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
19880 need to dereference resplen2.
19881
ee22793d
AS
198822011-06-14 Andreas Schwab <schwab@redhat.com>
19883
19884 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
19885
a9e836b0
UD
198862011-06-15 Ulrich Drepper <drepper@gmail.com>
19887
77fb9117
UD
19888 * Makeconfig: Define vardbdir and inst_vardbdir.
19889 * nss/Makefile: Add rules to install db-Makefile.
19890
40c1b22c
UD
19891 * nss/nss_db/db-XXX.c: Cleanup.
19892
9f2da732
UD
19893 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
19894 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
19895 GLIBC_PRIVATE.
19896 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
19897 * nss/makedb.c: Implement -g option to specify that value strings
19898 are generated and should not be added to table iterated over for
19899 get*ent calls.
19900 * nss/nss_db/db-initgroups.c: New file.
19901
82e9a1f7
UD
19902 * nss/getent.c: Add support for initgroups lookups through getgrouplist
19903 interface.
19904
c41af17e
UD
19905 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
19906 (internal_getgrouplist): Adjust to name change.
19907 Update use_initgroups_entry if this is not the first call.
19908 * nss/databases.def: Add initgroups entry.
19909
a9e836b0
UD
19910 * nss/makedb.c (compute_tables): Check result of multiple hash table
19911 sizes to minimize maximum chain length.
19912
2666d441
UD
199132011-06-14 Ulrich Drepper <drepper@gmail.com>
19914
19915 * Versions.def: Add entry for libnss_db.
19916 * shlib-versions: Likewise.
19917 * nss/Makefile: Add rules to build libnss_db.
19918 * nss/Versions: Add libnss_db information. Organize libnss_files
19919 entries better.
19920 * nss/db-Makefile: Add gshadow support. Change rules for the new
19921 makedb progra. Some minor improvements to generate smaller files.
19922 * nss/nss_db/nss_db.h: Move NSS database header data structures to
19923 here from...
19924 * nss/makedb.c: ...here.
19925 Improve database format to be smaller and require less memory at
19926 runtime.
19927 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
19928 db anymore.
19929 * nss/nss_db/db-netgrp.c: Likewise.
19930 * nss/nss_db/db-open.c: Likewise.
19931 * nss/nss_files/flies-XXX.x: Adjust comments.
19932 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
19933 * nss/nss_files/files-grp.c: Likewise.
19934 * nss/nss_files/files-hosts.c: Likewise.
19935 * nss/nss_files/files-network.c: Likewise.
19936 * nss/nss_files/files-proto.c: Likewise.
19937 * nss/nss_files/files-pwd.c: Likewise.
19938 * nss/nss_files/files-rpc.c: Likewise.
19939 * nss/nss_files/files-service.c: Likewise.
19940 * nss/nss_files/files-sgrp.c: Likewise.
19941 * nss/nss_files/files-spwd.c: Likewise.
19942 * nss/nss_db/db-alias.c: Removed.
19943 * nss/nss_db/dummy-db.h: Removed.
19944
9ee76b5a
UD
199452011-06-02 Ulrich Drepper <drepper@gmail.com>
19946
19947 * nss/makedb.c: Rewritten to not use database library.
19948 * nss/Makefile: Update to build new makedb program.
19949
c71ca1f8
AJ
199502011-06-14 Andreas Jaeger <aj@suse.de>
19951
19952 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
19953 memset declaration.
19954
3154bfb8
UD
199552011-06-10 Andreas Schwab <schwab@redhat.com>
19956
19957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
19958 tmpbuf.
19959
b350afab
RM
199602011-06-10 Roland McGrath <roland@hack.frob.com>
19961
decd4e50
RM
19962 * Makerules (shlib.lds): Fail if the linker script comes out empty.
19963 * elf/Makefile ($(objpfx)ld.so): Likewise.
19964
5615eaf2
RM
19965 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
19966 Don't list ld.so twice in dependencies.
19967
19968 * posix/bug-regex31.c: Include <stdlib.h>.
19969
19970 * nscd/hstcache.c (cache_addhst): Remove unused variable.
19971
19972 * nis/nss_compat/compat-spwd.c
19973 (getspent_next_nss_netgr): Remove unused variable.
19974 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
19975
19976 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
19977 nonmembers" output to use the right array.
19978
19979 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
19980
19981 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
19982
19983 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
19984 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
19985 * catgets/gencat.c (read_input_file): Likewise.
19986 * locale/programs/locarchive.c (enlarge_archive): Likewise.
19987
19988 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
19989 variable definition inside #if's controlling its use.
19990
19991 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
19992
19993 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
19994
19995 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
19996
19997 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
19998 unreachable code.
19999
20000 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20001
b68e08db
RM
20002 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20003 * configure: Regenerated.
20004
b350afab
RM
20005 * Makerules: Revert last change.
20006 * elf/Makefile: Likewise.
20007
28368601
RM
200082011-06-09 Roland McGrath <roland@hack.frob.com>
20009
20010 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20011 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20012 (reloc-link): Likewise.
20013
11988f8f
UD
200142011-06-09 Ulrich Drepper <drepper@gmail.com>
20015
20016 * elf/Makefile: Add rules to build pldd.
20017 * elf/pldd.c: New file.
20018 * elf/pldd-xx.c: New file.
20019
e80fab37
UD
200202011-06-07 Ulrich Drepper <drepper@gmail.com>
20021
20022 * version.h: Update for 2.15 development version.
20023
9b849836
DM
200242011-06-07 David S. Miller <davem@davemloft.net>
20025
20026 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20027 ifuncs.
20028 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20029 elf_machine_lazy_rel): Likewise.
20030 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20032 elf_machine_lazy_rel): Likewise.
20033 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20034 dl_hwcap via passed in argument.
20035 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20036 Likewise.
20037
5a31b283
AK
200382011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20039
20040 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20041
069e52f8
RM
200422011-06-06 Roland McGrath <roland@hack.frob.com>
20043
20044 [BZ #12849]
20045 * manual/fdl-1.1.texi: New file, verbatim from:
20046 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20047 * manual/lgpl-2.1.texi: New file, verbatim from:
20048 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20049 * manual/Makefile (licenses): New variable, list those new file names.
20050 (texis): Use it.
20051 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20052
20053 * manual/fdl.texi: File removed.
20054 * manual/lesser.texi: File removed.
20055 * manual/libc.texinfo (Copying, Documentation License):
20056 Use new @include file names, put @appendix directive before @include.
20057
f16846a5
JJ
200582011-06-04 Jakub Jelinek <jakub@redhat.com>
20059
20060 [BZ #12841]
20061 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20062 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20063 (mq_open): Add __NTH.
20064
3d29045b
L
200652011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20066
20067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20068 Assume Intel Core i3/i5/i7 processor if AVX is available.
20069
8c297311
UD
200702011-05-31 Ulrich Drepper <drepper@gmail.com>
20071
20072 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20073 typo.
20074
c8fc0c91
UD
200752011-05-31 Andreas Schwab <schwab@redhat.com>
20076
20077 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20078 memory. Use alloca_account. Fix memory leak when retrying.
20079
5b27a807
UD
200802011-05-31 Ulrich Drepper <drepper@gmail.com>
20081
356f8bc6
UD
20082 * version.h (RELEASE): Bump for 2.14 release.
20083 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20084
5b27a807
UD
20085 * config.make.in (RANLIB): Remove entry.
20086
01f16ab0
UD
200872011-05-30 Ulrich Drepper <drepper@gmail.com>
20088
41fce8bd
UD
20089 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20090 (libc.pot): Work around missing support for .ksh extension in xgettext.
20091
4769ae77
UD
20092 [BZ #12684]
20093 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20094 if both request failed.
20095 (send_dg): In case of server errors clear resplen or *resplen2.
20096
6b1e7d19
UD
20097 [BZ #12454]
20098 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20099 when there are multiple maps.
20100 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20101 (_dl_fini): Remove test here.
20102
01f16ab0
UD
20103 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20104
b1ebd700
UD
201052011-05-29 Ulrich Drepper <drepper@gmail.com>
20106
7ae22829
UD
20107 [BZ #12350]
20108 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20109 bit from old_res_options.
20110 (gaih_inet): Likewise.
20111
553149f6 20112 [BZ #11099]
18a84741 20113 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
20114 as signed.
20115
652ffab1
UD
20116 * resolv/res_init.c (res_setoptions): Make the code more compact.
20117
16985fd0
UD
20118 [BZ #11558]
20119 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20120 set RES_USEVC.
20121
0464f746
UD
20122 [BZ #11634]
20123 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20124
7d17596c
UD
20125 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20126
cf6bbbd7
UD
20127 [BZ #11781]
20128 * malloc/malloc.h: Declare malloc hook variables as volatile.
20129
13f1ab36
UD
20130 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20131 in last patch.
20132
b1ebd700
UD
20133 [BZ #11799]
20134 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 20135 raise in the comment.
80e2212d
UD
20136 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20137 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20138 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 20139
ce67228d
UD
201402011-05-28 Ulrich Drepper <drepper@gmail.com>
20141
8887a920
UD
20142 [BZ #12811]
20143 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20144 grow the buffers more if it already has to be sufficient.
20145 (build_wcs_upper_buffer): Likewise.
20146 * posix/regexec.c (check_matching): Likewise.
20147 (clean_state_log_if_needed): Likewise.
20148 (extend_buffers): Don't enlarge buffers beyond size of the input
20149 buffer.
20150 Patches mostly by Emil Wojak <emil@wojak.eu>.
20151 * posix/bug-regex32.c: New file.
20152 * posix/Makefile (tests): Add bug-regex32.
20153
4f031072
UD
20154 * locale/findlocale.c (_nl_find_locale): Return right away if
20155 _nl_explode_name failed.
20156 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20157
d0478f0c
UD
20158 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20159
de81b246
UD
20160 * debug/xtrace.sh: Unify messages.
20161 * malloc/memusage.sh: Likewise.
20162
c738465a
UD
20163 [BZ #12813]
20164 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20165 time symbol from vDSO. Substitute with vsyscall if not available.
20166 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20167 __vdso_time.
20168
f1f929d7
UD
20169 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20170 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20171 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20172 Add sendmmsg and internal_sendmmsg.
20173 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20174 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20175 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20176
ce67228d
UD
20177 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20178 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20179 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20180
e57420c6
UD
201812011-05-27 Ulrich Drepper <drepper@gmail.com>
20182
a8509ca5
UD
20183 [BZ #12813]
20184 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20185 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20186 available.
20187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20188 __vdso_getcpu.
20189
e57420c6
UD
20190 [BZ #12814]
20191 * iconvdata/Makefile (tests): Add bug-iconv9.
20192 * iconvdata/bug-iconv9.c: New file.
20193
4d07db15
AS
201942011-05-27 Andreas Schwab <schwab@redhat.com>
20195
20196 [BZ #12814]
20197 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20198
ea486f69
JJ
201992011-05-25 Jakub Jelinek <jakub@redhat.com>
20200
20201 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20202 (struct user_regs_struct): Change intcs field back to cs.
20203
6f038433
UD
202042011-05-25 Ulrich Drepper <drepper@gmail.com>
20205
20206 * po/ja.po: Update from translation team.
20207
67f86a25
UD
202082011-05-23 Ulrich Drepper <drepper@gmail.com>
20209
20210 [BZ #12795]
20211 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20212 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20213
def7fbd6
AS
202142011-05-20 Andreas Schwab <schwab@redhat.com>
20215
20216 * stdlib/longlong.h: Update from GCC.
20217
f50ef8f1
AS
202182011-05-23 Andreas Schwab <schwab@redhat.com>
20219
20220 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20221 parameter name.
20222 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20223 Add parameter name.
20224 (__sysconf): Pass it down.
20225
de7ce8f1
UD
202262011-05-22 Ulrich Drepper <drepper@gmail.com>
20227
f2962a71
UD
20228 [BZ #12671]
20229 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20230 some situations.
20231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20232 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20233 add in in __libc_use_alloca calls. Adjust callers.
20234 (glob): Use malloc in some situations.
20235
de7ce8f1
UD
20236 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20237 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20238 pltexit.
20239
aec84f53
UD
202402011-05-21 Ulrich Drepper <drepper@gmail.com>
20241
05bb4a68
UD
20242 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20243 and CLOCK_BOOTTIME_ALARM.
20244
7ea72f99
UD
20245 [BZ #12782]
20246 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20247 is returned.
20248
7e4afad5
UD
20249 * string/_strerror.c (__strerror_r): Print negative errors as signed
20250 numbers.
20251
8e211fec
UD
20252 [BZ #12777]
20253 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20254 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20255 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20256
f7d82dc9
UD
20257 * configure.in: Fix typo in redirection and correct removal of test
20258 files in two cases.
20259
cc9e536d
UD
20260 [BZ #12788]
20261 * locale/setlocale.c (new_composite_name): Fix test to check for
20262 identical name of all categories.
20263
aec84f53
UD
20264 [BZ #12792]
20265 * libio/filedoalloc.c (local_isatty): New function.
20266 (_IO_file_doallocate): Use local_isatty.
20267 * stdio-common/perror.c (perror): In case a new stream is used
20268 forward the stream error.
20269 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20270 error flag.
20271
78e64fdc
RT
202722011-05-20 Ulrich Drepper <drepper@gmail.com>
20273
34a9094f
UD
20274 [BZ #11869]
20275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20276 alloca.
20277 * include/alloca.h (extend_alloca_account): Define.
20278
78e64fdc
RT
20279 [BZ #11857]
20280 * posix/regex.h: Fix comments with documentation of user-accessible
20281 fields after compilation and describe correct free'ing of pattern
20282 after re_compile_pattern.
20283 Patch by Reuben Thomas <rrt@sc3d.org>.
20284
457bddfc
RA
202852011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20286
20287 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20288 and -mno-altivec to prevent the compiler from using Altivec and/or
20289 VSX instructions when the corresponding registers are not available.
20290
a4527b51
AS
202912011-05-19 Andreas Schwab <schwab@redhat.com>
20292
20293 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20294
ed690b2f
UD
202952011-05-19 Ulrich Drepper <drepper@gmail.com>
20296
20297 * libio/freopen.c (freopen): Use __dup2, not dup2.
20298 * libio/freopen64.c (freopen64): Likewise.
20299
8db73634
L
203002011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20301
20302 [BZ #12775]
20303 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20304 * math/Makefile (tests): Add test-powl.
20305 (CFLAGS-test-powl.c): Define.
20306 * math/test-powl.c: New file.
20307
0a197a9d
L
203082011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20309
20310 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20311
ee30c380
UD
203122011-05-17 Ulrich Drepper <drepper@gmail.com>
20313
20314 [BZ #11837]
20315 * iconvdata/gb18030.c: Update to GB18020-2005.
20316
6ce75379
UD
203172011-05-16 Ulrich Drepper <drepper@gmail.com>
20318
a4b89fd8
AR
20319 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20320 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20321 Patch by Aharon Robbins <arnold@skeeve.com>.
20322
ea389b12
UD
20323 [BZ #11892]
20324 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20325 on the stack.
20326
68a3f91f
UD
20327 [BZ #11895]
20328 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20329 through underflows.
20330
15cc7dd1
UD
20331 [BZ #12766]
20332 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20333 point to strings before performing equality test for error_one_per_line
20334 mode.
20335
f3799213
UD
20336 [BZ #11697]
20337 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20338
d79a9c94
UD
20339 [BZ #11820]
20340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20341 (struct user_fpregs_struct): Avoid __uint*_t types.
20342
56e5eb46
UD
20343 [BZ #6420]
20344 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20345 symbol info. Use it instead of calling _dl_addr locally.
20346 (lock_and_info): New function.
20347 (tr_freehook): Call lock_and_info and pass symbol info as additional
20348 parameter to tr_where.
20349 (tr_mallochook): Likewise.
20350 (tr_reallochook): Likewise.
20351 (tr_memalignhook): Likewise.
20352
6ce75379
UD
20353 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20354 used and couldn't be at all thread-safe.
20355
f8a3b5bf
UD
203562011-05-15 Ulrich Drepper <drepper@gmail.com>
20357
94b7cc37
UD
20358 * libio/freopen.c (freopen): Don't close old file descriptor
20359 before the new one is opened. Instead dup the new file descriptor
20360 to the old one after the new stream is created.
20361 * libio/freopen64.c (freopen64): Likewise.
20362 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20363 * libio/fileops.c (_IO_new_file_close_it): Handle new
20364 _IO_FLAGS2_NOCLOSE flag.
20365 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20366 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20367 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20368 _IO_FLAGS2_NOCLOSE flag.
20369 * include/unistd.h: Add hidden_proto for dup3.
20370 Define __have_dup3.
20371 * io/dup3.c: Define hidden symbol.
20372 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20373
bd25564e
UD
20374 [BZ #7101]
20375 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20376 when an incomplete long option is used.
20377 * posix/tst-getopt_long1.c: New file.
20378 * posix/Makefile (tests): Add tst-getopt_long1.
20379
c84cfef4
UD
20380 [BZ #10138]
20381 * scripts/config.guess: Update from autoconf-2.68.
20382 * scripts/config.sub: Likewise.
20383
3b85df27
UD
20384 [BZ #10157]
20385 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20386 tests into ...
20387 (has_cpuclock): ...this. New function.
20388 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20389 macro here based on has_cpuclock code.
20390
15a856b1
UD
20391 [BZ #10149]
20392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20393 First byte (not low byte) is now always NUL.
20394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20395
05f399e6
UD
20396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20397 Use non-cancelable interfaces.
20398
10a52685 20399 [BZ #9809]
94ecc67d
UD
20400 * locale/iso-639.def: Add entry for Sorani.
20401
f8a3b5bf
UD
20402 [BZ #11901]
20403 * include/stdlib.h: Move include protection to the right place.
20404 Define abort_msg_s. Declare __abort_msg with it.
20405 * stdlib/abort.c (__abort_msg): Adjust type.
20406 * assert/assert.c (__assert_fail_base): New function. Majority
20407 of code from __assert_fail. Allocate memory for __abort_msg with
20408 mmap.
20409 (__assert_fail): Now call __assert_fail_base.
20410 * assert/assert-perr.c: Remove bulk of implementation. Use
20411 __assert_fail_base.
20412 * include/assert.hL Declare __assert_fail_base.
20413 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20414 mmap.
20415 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20416
1af4e298
UD
204172011-05-14 Ulrich Drepper <drepper@gmail.com>
20418
f8a3b5bf 20419 [BZ #11952]
d26dfc60
MG
20420 [BZ #12453]
20421 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20422 until all modules are registered in the DTV.
20423 * elf/Makefile: Add rules to build and run tst-tls19.
20424 * elf/tst-tls19.c: New file.
20425 * elf/tst-tls19mod1.c: New file.
20426 * elf/tst-tls19mod2.c: New file.
20427 * elf/tst-tls19mod3.c: New file.
20428 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20429
2fc54d6f
UD
20430 [BZ #12083]
20431 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20432 correctly.
20433
98d76b46
UD
20434 [BZ #12601]
20435 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20436 two-byte sequence errors.
20437 * iconvdata/Makefile (tests): Add bug-iconv8.
20438 * iconvdata/bug-iconv8.c: New file.
20439
da3c19ef
UD
20440 [BZ #12626]
20441 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20442 buf2 definition.
20443
ca408c15
UD
20444 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20445
d6f67f7d
UD
20446 [BZ #12432]
20447 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20448 (dummy_getcfa): New function.
20449 (init): Get _Unwind_GetCFA address, use dummy if not found.
20450 (backtrace_helper): In recursion check, also check whether CFA changes.
20451 (__backtrace): Completely initialize arg.
20452
1af4e298 20453 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
20454 storing incomplete byte sequence in state object. Avoid testing for
20455 guaranteed too small input if we know there is enough data available.
1af4e298 20456
da62f81b
AS
204572011-05-11 Andreas Schwab <schwab@redhat.com>
20458
20459 * Makeconfig (+link-pie): Indent.
20460 * Rules (binaries-pie): Define if $(have-fpie) and
20461 $(build-shared).
20462 (binaries-shared): Also filter out $(binaries-pie).
20463 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20464 * nscd/Makefile (others-pie): Add nscd.
20465 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20466 ($(objpfx)nscd): Remove command override.
20467 * login/Makefile (others-pie): Add pt_chown.
20468 ($(objpfx)pt_chown): Remove command override.
20469 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
20470 remove command overrides.
20471
fcabc0f8
UD
204722011-05-13 Ulrich Drepper <drepper@gmail.com>
20473
20030ae6
UD
20474 * libio/tst_putwc.c: Fix error messages.
20475
fcabc0f8
UD
20476 [BZ #12724]
20477 * libio/fileops.c (_IO_new_file_close_it): Always flush when
20478 currently writing and seek to current position when not.
20479 * libio/Makefile (tests): Add bug-fclose1.
20480 * libio/bug-fclose1.c: New file.
20481
320a5dc0
PB
204822011-05-12 Ulrich Drepper <drepper@gmail.com>
20483
20484 [BZ #12511]
20485 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
20486 don't set DF_1_NODELETE here.
20487 (do_lookup_x): When entering new entry test for copy relocation
20488 and if necessary set DF_1_NODELETE flag.
20489 * elf/tst-unique4.cc: New file.
20490 * elf/tst-unique4.h: New file.
20491 * elf/tst-unique4lib.cc: New file.
20492 * elf/Makefile: Add rules to build and run tst-unique4.
20493 Patch by Piotr Bury <pbury@goahead.com>.
20494
22836f52
UD
204952011-05-11 Ulrich Drepper <drepper@gmail.com>
20496
f574184a
UD
20497 [BZ #12052]
20498 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
20499
e1fb097f
UD
20500 [BZ #12625]
20501 * misc/mntent_r.c (addmntent): Flush the stream after the output
20502
22836f52
UD
20503 [BZ #12393]
20504 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
20505 (is_trusted_path_normalize): Skip initial colon. Append slash
20506 to empty buffer. Duplicate is_trusted_path code but allow
20507 constructed patch to be prefix.
20508 (is_dst): Allow $ORIGIN followed by /.
20509 (_dl_dst_substitute): Correct clearing of check_for_trusted.
20510 Correct testing of result of is_trusted_path_normalize
20511 (decompose_rpath): Fix warning.
20512
7b3b0b2a
UD
205132011-05-10 Ulrich Drepper <drepper@gmail.com>
20514
20515 [BZ #11257]
20516 * grp/initgroups.c (internal_getgrouplist): When we found the service
20517 list through the initgroups entry in nsswitch.conf do not always
20518 continue on a successful lookup. Don't always use the
eac80ce2 20519 __nss_group_database value if it is set.
7b3b0b2a
UD
20520 * nss/nsswitch.conf (initgroups): Change action for successful db
20521 lookup to continue for compatibility.
20522
2a81eaa5
UD
205232011-05-09 Ulrich Drepper <drepper@gmail.com>
20524
be97a69e
UD
20525 [BZ #11532]
20526 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
20527 and CP774 modules.
20528 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
20529 and CP774 modules.
20530 * iconvdata/tst-tables.sh: Likewise.
20531 * iconvdata/cp770.c: New file.
20532 * iconvdata/cp771.c: New file.
20533 * iconvdata/cp772.c: New file.
20534 * iconvdata/cp773.c: New file.
20535 * iconvdata/cp774.c: New file.
20536 * iconvdata/testdata/CP770: New file.
20537 * iconvdata/testdata/CP770..UTF8: New file.
20538 * iconvdata/testdata/CP771: New file.
20539 * iconvdata/testdata/CP771..UTF8: New file.
20540 * iconvdata/testdata/CP772: New file.
20541 * iconvdata/testdata/CP772..UTF8: New file.
20542 * iconvdata/testdata/CP773: New file.
20543 * iconvdata/testdata/CP773..UTF8: New file.
20544 * iconvdata/testdata/CP774: New file.
20545 * iconvdata/testdata/CP774..UTF8: New file.
20546
20547 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
20548 END CHARMAP line.
20549 * iconvdata/gen-8bit-gap.sh: Likewise.
20550 * iconvdata/gen-8bit.sh: Likewise.
20551
c1e9e399
UD
20552 * locale/iso-639.def: Add ary entry.
20553
24c55fb3 20554 [BZ #11258]
96b4b1b0
UD
20555 * locale/C-translit.h.in: Add U20A1 transliteration.
20556
bdc2f971
KB
20557 [BZ #12178]
20558 * locale/iso-639.def: Add wae entry.
20559 Patch by Kevin Bortis <bortis@translate-wae.ch>.
20560
2952b117
UD
20561 [BZ #12545]
20562 * locale/programs/localedef.c (construct_output_path): Use ssize_t
20563 for n.
20564
2a81eaa5
UD
20565 [BZ #12711]
20566 * locale/C-translit.h.in: Add entry for U20B9.
20567 Patch by pravin.d.s@gmail.com.
20568
28377d1b
UD
205692011-05-08 Ulrich Drepper <drepper@gmail.com>
20570
7fb90fb8
UD
20571 [BZ #12713]
20572 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
20573 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
20574 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
20575 in rtld. Use *stat64.
7fb90fb8 20576 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 20577 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 20578 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
20579 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
20580 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
20581 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
20582 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
20583 __fstatat64 macros.
7fb90fb8
UD
20584 * include/dirent.h: Add libc_hidden_proto for rewinddir.
20585 * dirent/rewinddir.c: Add libc_hidden_def.
20586 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 20587 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 20588
28377d1b
UD
20589 * include/dirent.h (__alloc_dir): Add flags parameter.
20590 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
20591 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
20592 __alloc_dir.
20593 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
20594 from fdopendir if O_CLOEXEC is already set.
20595
66bdbaa4
AM
205962011-03-15 Alan Modra <amodra@gmail.com>
20597
20598 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
20599 l_tls_firstbyte_offset non-zero. Save padding offset in
20600 l_tls_firstbyte_offset for later use.
20601 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
20602 freeing static tls block.
20603
95721191
JN
206042011-03-05 Jonathan Nieder <jrnieder@gmail.com>
20605
20606 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
20607 where #ifdef was intended. The intent is to prevent ARG_MAX from
20608 being defined by the kernel headers.
20609
f87dfb1f
UD
206102011-05-07 Ulrich Drepper <drepper@gmail.com>
20611
20612 [BZ #12734]
20613 * resolv/resolv.h: Define RES_NOTLDQUERY.
20614 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
20615 no-tld-query and set RES_NOTLDQUERY.
20616 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
20617 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
20618 modern BIND to search name as TLD unless forbidden.
20619
47c3cd7a
UD
206202011-05-07 Petr Baudis <pasky@suse.cz>
20621 Ulrich Drepper <drepper@gmail.com>
20622
20623 [BZ #12393]
20624 * elf/dl-load.c (fillin_rpath): Move trusted path check...
20625 (is_trusted_path): ...to here.
c1e9ea35 20626 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 20627 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 20628 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 20629
8a35c912
PP
206302011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20631
20632 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
20633 __BEGIN/__END_DECLS.
20634
acd41f47
UD
206352011-05-06 Ulrich Drepper <drepper@gmail.com>
20636
20637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
20638 NSS_STATUS_NOTFOUND if no record was found.
20639
597df647
AS
206402011-05-05 Andreas Schwab <schwab@redhat.com>
20641
20642 * sunrpc/Makefile (headers): Add rpc/netdb.h.
20643 (headers-not-in-tirpc): Remove rpc/netdb.h
20644 * resolv/netdb.h: Revert last change.
20645
b9af1301
PP
206462011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20647
20648 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
20649 circular dependency between libgcc.a and libc.a.
20650
4e34d5f5
AS
206512011-05-05 Andreas Schwab <schwab@redhat.com>
20652
20653 * resolv/netdb.h: Don't include <rpc/netdb.h>.
20654 * nis/Makefile: Don't install rpcsvc/*.
20655 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
20656 instead of <rpc/types.h>.
20657 (MAXHOSTNAMELEN): Define.
20658
00ee369c
AS
206592011-05-03 Andreas Schwab <schwab@redhat.com>
20660
20661 * elf/ldconfig.c (add_dir): Don't crash on empty path.
20662
0b592a30
MB
206632011-04-28 Maciej Babinski <mbabinski@google.com>
20664
20665 [BZ #12714]
20666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
20667 gethostbyname4_r when IPv6 results are possible.
20668
6e04cbbe
UD
206692011-05-02 Ulrich Drepper <drepper@gmail.com>
20670
20671 [BZ #12723]
20672 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
20673 _PC_PIPE_BUF handling.
20674
e4ecafe0
BH
206752011-04-30 Bruno Haible <bruno@clisp.org>
20676
20677 [BZ #12717]
20678 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
20679 * resolv/netdb.h (getnameinfo): Change type of flags parameter
20680 to 'int'.
20681 * inet/getnameinfo.c (getnameinfo): Likewise.
20682
125ee683
UD
206832011-04-29 Ulrich Drepper <drepper@gmail.com>
20684
20685 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
20686 to groups setting in database lookup.
20687 * nss/nsswitch.conf: Add initgroups entry.
20688
b722481a
EB
206892011-04-22 Ulrich Drepper <drepper@gmail.com>
20690
20691 [BZ #12685]
20692 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
20693 mode string.
20694 Patch by Eric Blake <eblake@redhat.com>.
20695
4df46dbd
L
206962011-04-20 H.J. Lu <hongjiu.lu@intel.com>
20697
20698 * sunrpc/Makefile (need-export-routines): Add svc_run.
20699 (routines): Remove svc_run.
20700 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
20701 * sunrpc/clnt_perr.c (clnt_perrno): Export.
20702 * sunrpc/svc_run.c (svc_run): Likewise.
20703 * sunrpc/svc_udp.c (svcudp_create): Likewise.
20704
e84142d2
UD
207052011-04-21 Ulrich Drepper <drepper@gmail.com>
20706
20707 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
20708 problem in reallocation in last patch.
20709
877175d8
UD
207102011-04-20 Ulrich Drepper <drepper@gmail.com>
20711
20712 * sunrpc/Makefile: Move inclusion of Rules.
20713
ab8eed78
UD
207142011-04-19 Ulrich Drepper <drepper@gmail.com>
20715
20716 * nss/nss_files/files-initgroups.c: New file.
20717 * nss/Makefile (libnss_files-routines): Add files-initgroups.
20718 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
20719 _nss_files_initgroups_dyn.
20720
e3d8f584
RS
207212011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
20722
20723 * elf/elf.h (R_ARM_IRELATIVE): Define.
20724
af190f45
UD
207252011-04-19 Ulrich Drepper <drepper@gmail.com>
20726
20727 * po/ru.po: Update from translation team.
20728
53cf59ef
UD
207292011-04-17 Ulrich Drepper <drepper@gmail.com>
20730
20731 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
20732 dependencies.
20733
4c559bcd
MF
207342011-02-06 Mike Frysinger <vapier@gentoo.org>
20735
20736 [BZ #12653]
20737 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
20738 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
20739 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20740 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20742
4420675c
AS
207432011-03-28 Andreas Schwab <schwab@linux-m68k.org>
20744
20745 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
20746 differing bytes.
20747 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20748 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20749 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20750
75ea32ab
UD
207512011-04-17 Ulrich Drepper <drepper@gmail.com>
20752
20753 [BZ #12420]
20754 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
20755 storing it.
20756 * stdlib/bug-getcontext.c: New file.
20757 * stdlib/Makefile: Add rules to build and run bug-getcontext.
20758
27390476
AK
207592011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20760
20761 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
20762 instructions into .machine "z9-109".
20763 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20764 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20765
10442705
AK
207662011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20767
20768 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
20769 between environment variables and auxiliary vector.
20770
7b57bfe5
UD
207712011-04-16 Ulrich Drepper <drepper@gmail.com>
20772
20773 * Makefile: Add rules to build linkobj/libc.so.
20774 * include/libc-symbols.h: Define libc_hidden_nolink.
20775 * include/rpc/auth.h: Mark functions which are to be hidden.
20776 * include/rpc/auth_des.h: Likewise.
20777 * include/rpc/auth_unix.h: Likewise.
20778 * include/rpc/clnt.h: Likewise.
20779 * include/rpc/des_crypt.h: Likewise.
20780 * include/rpc/key_prot.h: Likewise.
20781 * include/rpc/pmap_clnt.h: Likewise.
20782 * include/rpc/pmap_prot.h: Likewise.
20783 * include/rpc/pmap_rmt.h: Likewise.
20784 * include/rpc/rpc_msg.h: Likewise.
20785 * include/rpc/svc.h: Likewise.
20786 * include/rpc/svc_auth.h: Likewise.
20787 * include/rpc/xdr.h: Likewise.
20788 * nis/Makefile: Link all DSOs against linkobj/libc.so.
20789 * nss/Makefile: Likewise.
20790 * sunrpc/Makefile: Don't install headers. Build library with normal
20791 entry points. Don't build rpcinfo. Link RPC tests appropriately.
20792 * sunrpc/auth_des.c: Hide exported symbols by default, export some
20793 for the compat linking library. Remove use of INTDEF/INTUSE.
20794 * sunrpc/auth_none.c: Likewise.
20795 * sunrpc/auth_unix.c: Likewise.
20796 * sunrpc/authdes_prot.c: Likewise.
20797 * sunrpc/authuxprot.c: Likewise.
20798 * sunrpc/clnt_gen.c: Likewise.
20799 * sunrpc/clnt_perr.c: Likewise.
20800 * sunrpc/clnt_raw.c: Likewise.
20801 * sunrpc/clnt_simp.c: Likewise.
20802 * sunrpc/clnt_tcp.c: Likewise.
20803 * sunrpc/clnt_udp.c: Likewise.
20804 * sunrpc/clnt_unix.c: Likewise.
20805 * sunrpc/des_crypt.c: Likewise.
20806 * sunrpc/des_soft.c: Likewise.
20807 * sunrpc/get_myaddr.c: Likewise.
20808 * sunrpc/key_call.c: Likewise.
20809 * sunrpc/key_prot.c: Likewise.
20810 * sunrpc/netname.c: Likewise.
20811 * sunrpc/pm_getmaps.c: Likewise.
20812 * sunrpc/pm_getport.c: Likewise.
20813 * sunrpc/pmap_clnt.c: Likewise.
20814 * sunrpc/pmap_prot.c: Likewise.
20815 * sunrpc/pmap_prot2.c: Likewise.
20816 * sunrpc/pmap_rmt.c: Likewise.
20817 * sunrpc/publickey.c: Likewise.
20818 * sunrpc/rpc_cmsg.c: Likewise.
20819 * sunrpc/rpc_common.c: Likewise.
20820 * sunrpc/rpc_dtable.c: Likewise.
20821 * sunrpc/rpc_prot.c: Likewise.
20822 * sunrpc/rpc_thread.c: Likewise.
20823 * sunrpc/rtime.c: Likewise.
20824 * sunrpc/svc.c: Likewise.
20825 * sunrpc/svc_auth.c: Likewise.
20826 * sunrpc/svc_authux.c: Likewise.
20827 * sunrpc/svc_raw.c: Likewise.
20828 * sunrpc/svc_run.c: Likewise.
20829 * sunrpc/svc_simple.c: Likewise.
20830 * sunrpc/svc_tcp.c: Likewise.
20831 * sunrpc/svc_udp.c: Likewise.
20832 * sunrpc/svc_unix.c: Likewise.
20833 * sunrpc/svcauth_des.c: Likewise.
20834 * sunrpc/xcrypt.c: Likewise.
20835 * sunrpc/xdr.c: Likewise.
20836 * sunrpc/xdr_array.c: Likewise.
20837 * sunrpc/xdr_float.c: Likewise.
20838 * sunrpc/xdr_intXX_t.c: Likewise.
20839 * sunrpc/xdr_mem.c: Likewise.
20840 * sunrpc/xdr_rec.c: Likewise.
20841 * sunrpc/xdr_ref.c: Likewise.
20842 * sunrpc/xdr_sizeof.c: Likewise.
20843 * sunrpc/xdr_stdio.c: Likewise.
20844
e6c61494
UD
208452011-04-10 Ulrich Drepper <drepper@gmail.com>
20846
20847 [BZ #12650]
20848 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
20849 * sysdeps/ia64/dl-tls.h: Likewise.
20850 * sysdeps/powerpc/dl-tls.h: Likewise.
20851 * sysdeps/s390/dl-tls.h: Likewise.
20852 * sysdeps/sh/dl-tls.h: Likewise.
20853 * sysdeps/sparc/dl-tls.h: Likewise.
20854 * sysdeps/x86_64/dl-tls.h: Likewise.
20855 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
20856
34fe483e
AS
208572011-03-14 Andreas Schwab <schwab@redhat.com>
20858
20859 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
20860 rpath element also skip the following colon.
20861 (expand_dynamic_string_token): Add is_path parameter and pass
20862 down to DL_DST_REQUIRED and _dl_dst_substitute.
20863 (decompose_rpath): Call expand_dynamic_string_token with
20864 non-zero is_path. Ignore empty rpaths.
20865 (_dl_map_object_from_fd): Call expand_dynamic_string_token
20866 with zero is_path.
20867
f12a32e6
AS
208682011-04-08 Andreas Schwab <schwab@linux-m68k.org>
20869
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20871 Make cancelable.
20872
38a7d692
UD
208732011-04-09 Ulrich Drepper <drepper@gmail.com>
20874
20875 [BZ #12655]
20876 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
20877 Patch by Filipe David Manana <fdmanana@apache.org>.
20878
e451d22b
AS
208792011-04-07 Andreas Schwab <schwab@redhat.com>
20880
20881 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
20882 Maintain aligned stack.
20883 (CHECK_RSP): Remove unused macro.
20884
dedc7c7b
UD
208852011-04-03 Ulrich Drepper <drepper@gmail.com>
20886
20887 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
20888 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
20889
94521213
UD
208902011-04-02 Ulrich Drepper <drepper@gmail.com>
20891
20892 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
20893
8cb700c0 20894 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 20895
0354e355
L
208962011-03-26 H.J. Lu <hongjiu.lu@intel.com>
20897
20898 [BZ #12518]
20899 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
20900 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
20901 * sysdeps/x86_64/memmove.c: New file.
20902 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
20903 (memcpy): Renamed to ...
20904 (__new_memcpy): This.
20905 (memcpy): Provide GLIBC_2_14 memcpy.
20906 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
20907 (memcpy): Provide GLIBC_2_2_5 memcpy.
20908
8593482f
UD
209092011-04-01 Ulrich Drepper <drepper@gmail.com>
20910
20911 [BZ #12631]
20912 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
20913
81a5726b
AS
209142011-03-30 Andreas Schwab <schwab@redhat.com>
20915
20916 * misc/syncfs.c: New file.
20917 * misc/Makefile (routines): Add syncfs.
20918 * posix/unistd.h: Declare syncfs.
20919 * sysdeps/unix/syscalls.list: Add syncfs.
20920
00e5419f
AS
209212011-04-01 Andreas Schwab <schwab@redhat.com>
20922
20923 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
20924 open_by_handle_at.
20925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20927 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20928 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20929 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20930 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
20931 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20932
748876bf
UD
209332011-04-01 Ulrich Drepper <drepper@gmail.com>
20934
658e451d
UD
20935 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
20936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20937 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
20938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20939 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20942
748876bf
UD
20943 * io/Makefile: Compile fallocate.c, fallocate64.c, and
20944 sync_file_range.c with -fexceptions.
20945 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
20946 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
20947 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20948 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20949 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
20950 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20951 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
20952 sync_file_range as cancellation point
20953 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
20954 now a wrapper around __call_sync_file_range with cancellation handling.
20955 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
20956 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
20957 function name to __call_sync_file_range.
20958 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
20959 Add call_sync_file_range.
748876bf 20960
6e63d5e1
AS
209612011-04-01 Andreas Schwab <schwab@redhat.com>
20962
20963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 20964 bits/timex.h.
6e63d5e1 20965
46998f74
UD
209662011-04-01 Ulrich Drepper <drepper@gmail.com>
20967
4c1423ed
UD
20968 * iconv/iconv.h: Fix typo in comment.
20969 * io/fcntl.h: Likewise.
20970 * libio/stdio.h: Likewise.
20971 * posix/spawn.h: Likewise.
20972 * posix/unistd.h: Likewise.
20973 * stdlib/stdlib.h: Likewise.
20974 * time/time.h: Likewise.
20975 * wcsmbs/wchar.h: Likewise.
20976
158648c0
UD
20977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
20978 open_by_handle): Add.
20979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
20980 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
20981 Augment a few comments.
20982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
20983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20984 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20986 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20987 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
20988 open_by_handle.
20989
46998f74
UD
20990 * io/fcntl.h (AT_EMPTY_PATH): Define.
20991
83fe108b
UD
209922011-03-30 Ulrich Drepper <drepper@gmail.com>
20993
20994 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
20995 * sysdeps/unix/sysv/linux/bits/time.h: New file.
20996 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
20997 to...
20998 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
20999 * Versions.def: Add GLIBC_2.14.
21000 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21001 Export.
83fe108b 21002
bb242059
UD
210032011-03-22 Ulrich Drepper <drepper@gmail.com>
21004
21005 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21006 round counter.
21007 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21008
c97a1282
L
210092011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21010
21011 [BZ #12597]
21012 * string/test-strncmp.c (do_page_test): New function.
21013 (check2): Likewise.
21014 (test_main): Call check2.
21015 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21016
2a115601
UD
210172011-03-20 Ulrich Drepper <drepper@gmail.com>
21018
21019 [BZ #12587]
21020 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21021 Handle cache information in CPU leaf 4.
21022 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21023
8126d904
UD
210242011-03-18 Ulrich Drepper <drepper@gmail.com>
21025
042c49c6 21026 [BZ #12583]
8126d904
UD
21027 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21028 character representation.
21029 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21030
ccfe366e
RA
210312011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21032
21033 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21034 END(__isnan) to END(__isnanf) to match function entry point/label
21035 EALIGN(__isnanf,...).
21036
c6e13027
JJ
210372011-03-10 Jakub Jelinek <jakub@redhat.com>
21038
21039 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21040
33f85a3f
UD
210412011-03-10 Ulrich Drepper <drepper@gmail.com>
21042
028478fa
UD
21043 [BZ #12510]
21044 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21045 copy from the symbol referenced in the relocation to initialize the
21046 used variable.
21047 Patch by Piotr Bury <pbury@goahead.com>.
21048 * elf/Makefile: Add rules to build and tst-unique3.
21049 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21050 * elf/tst-unique3.cc: New file.
21051 * elf/tst-unique3.h: New file.
21052 * elf/tst-unique3lib.cc: New file.
21053 * elf/tst-unique3lib2.cc: New file.
21054
33f85a3f
UD
21055 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21056
03592fc7
MF
210572011-03-10 Mike Frysinger <vapier@gentoo.org>
21058
21059 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21060 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21061 to _start.
03592fc7 21062
6a5ee102
UD
210632011-03-06 Ulrich Drepper <drepper@gmail.com>
21064
21065 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21066 to-be-loaded object along a path to loader is ld.so.
21067
7e4ba49c
HJ
210682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21069 Ulrich Drepper <drepper@gmail.com>
21070
21071 * sysdeps/x86_64/memset.S: After aligning destination, code
21072 branches to different locations depending on the value of
21073 misalignment, when multiarch is enabled. Fix this.
21074
210752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21076
21077 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21078 Set _x86_64_preferred_memory_instruction for AMD processsors.
21079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21080 Set bit_Prefer_SSE_for_memop for AMD processors.
21081
13a804de
UD
210822011-03-04 Ulrich Drepper <drepper@gmail.com>
21083
21084 * libio/fmemopen.c (fmemopen): Optimize a bit.
21085
9d25c392
AS
210862011-03-03 Andreas Schwab <schwab@redhat.com>
21087
21088 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21089
a5543c6a
RM
210902011-03-03 Roland McGrath <roland@redhat.com>
21091
21092 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21093
012d35f7
DM
210942011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21095
7e4ba49c 21096 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
21097 __bzero_ultra1 instead of __memset_ultra1.
21098
4bff6e01
AS
210992011-02-23 Andreas Schwab <schwab@redhat.com>
21100 Ulrich Drepper <drepper@gmail.com>
21101
21102 [BZ #12509]
21103 * include/link.h (struct link_map): Add l_orig_initfini.
21104 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21105 returning unsuccessfully.
21106 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21107 close of a file loaded at startup, restore the original l_initfini
21108 list.
21109 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21110 list, store the pointer.
21111 * elf/Makefile ($(objpfx)noload-mem): New rule.
21112 (noload-ENV): Define.
21113 (tests): Add $(objpfx)noload-mem.
21114 * elf/noload.c: Include <memcheck.h>.
21115 (main): Call mtrace. Close all opened handles.
21116
f2092faf
AS
211172011-02-17 Andreas Schwab <schwab@redhat.com>
21118
21119 [BZ #12454]
21120 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21121 dependencies are missing.
21122
6c8a2e88
ST
211232011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21124
f2092faf 21125 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
21126 Hurd needs munmap.
21127 * sysdeps/mach/hurd/ifreq.h: New file.
21128
84a42118
PB
211292011-01-27 Petr Baudis <pasky@suse.cz>
21130 Ulrich Drepper <drepper@gmail.com>
21131
071f805e 21132 [BZ 12445]#
84a42118
PB
21133 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21134 to extend_alloca().
21135 * stdio-common/bug23.c: New file.
21136 * stdio-common/Makefile (tests): Add bug23.
21137
e23fe25b
AS
211382010-09-28 Andreas Schwab <schwab@redhat.com>
21139 Ulrich Drepper <drepper@gmail.com>
21140
21141 [BZ #12489]
21142 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21143 before performing relro protection. At old place add assertion
21144 to make sure nothing changed.
21145
d3f02e10
NS
211462011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21147 Glauber de Oliveira Costa <glommer@gmail.com>
21148
21149 * elf/elf.h: Add new ARM TLS relocs.
21150
d55fd7a5
RA
211512011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21152
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21154 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21155 cast from r3.
21156 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21157 'tests' variable.
21158 * sysdeps/wordsize-64/tst-writev.c: New file.
21159
2206397e
RA
211602011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21161
21162 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21163 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21164 insns in _dl_start to prevent a TOC reference before relocs are
21165 resolved.
21166
e9433893
UD
211672011-02-15 Ulrich Drepper <drepper@gmail.com>
21168
21169 [BZ #12469]
21170 * Makeconfig: Remove RANLIB definition.
21171 * Makerules: Don't use RANLIB.
21172 * aclocal.m4: Remove ranlib test.
21173 * configure.in: No need to check for ranlib.
21174 * elf/rtld-Rules: Don't use RANLIB.
21175
f75286c6
ST
211762011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21177
8e31c82d
ST
21178 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21179 protection macro.
21180 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21181 inclusion protection macro.
21182
f75286c6
ST
21183 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21184 SIGRTMIN and SIGRTMAX and print information in that case only when
21185 SIGRTMIN is defined.
21186
c1d0e639
JJ
211872011-02-11 Jakub Jelinek <jakub@redhat.com>
21188
21189 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21190 arginfo fn returning -1.
21191
21192 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21193 and thousands string is zero terminated.
21194
edf9294e
AS
211952011-02-03 Andreas Schwab <schwab@redhat.com>
21196
21197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21198 sysdeps/unix/sysv/linux/bits/socket.h.
21199
2b7e92df
ST
212002011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21201
edf9294e
AS
21202 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21203 (__CPU_COUNT): Remove old macros.
21204 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21205 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21206 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
21207 (__sched_cpualloc, __sched_cpufree): Add declarations.
21208
a4c7ea7b
UD
212092011-02-05 Ulrich Drepper <drepper@gmail.com>
21210
21211 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21212 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21213 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21214 (readdhstai): Return value of addhstaiX call.
21215 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21216 (addgrbyX): Return value returned by cache_addgr.
21217 (readdgrbyname): Return value returned by addgrbyX.
21218 (readdgrbygid): Likewise.
21219 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21220 (addpwbyX): Return value returned by cache_addpw.
21221 (readdpwbyname): Return value returned by addhstbyX.
21222 (readdpwbyuid): Likewise.
21223 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21224 (addservbyX): Return value returned by cache_addserv.
21225 (readdservbyname): Return value returned by addservbyX:
21226 (readdservbyport): Likewise.
21227 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21228 (addhstbyX): Return value returned by cache_addhst.
21229 (readdhstbyname): Return value returned by addhstbyX.
21230 (readdhstbyaddr): Likewise.
21231 (readdhstbynamev6): Likewise.
21232 (readdhstbyaddrv6): Likewise.
21233 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21234 (readdinitgroups): Return value returned by addinitgroupsX.
21235 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21236 (prune_cache): Keep track of timeout value of re-added entries.
21237 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21238 * nscd/nscd.h: Adjust prototypes of readd* functions.
21239
a0bf67cc
RM
212402011-02-04 Roland McGrath <roland@redhat.com>
21241
21242 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21243 (nis_stats): Likewise.
21244 * nis/nis_modify.c (nis_modify): Likewise.
21245 * nis/nis_remove.c (nis_remove): Likewise.
21246 * nis/nis_add.c (nis_add): Likewise.
21247
21248 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21249
21250 * posix/fnmatch_loop.c: Add some consts.
21251
21252 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21253
435b95eb
L
212542011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21255
21256 [BZ #12460]
21257 * config.make.in (config-cflags-novzeroupper): Define.
21258 * configure.in: Substitute libc_cv_cc_novzeroupper.
21259 * elf/Makefile (AVX-CFLAGS): Define.
21260 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21261 (CFLAGS-tst-auditmod4a.c): Likewise.
21262 (CFLAGS-tst-auditmod4b.c): Likewise.
21263 (CFLAGS-tst-auditmod6b.c): Likewise.
21264 (CFLAGS-tst-auditmod6c.c): Likewise.
21265 (CFLAGS-tst-auditmod7b.c): Likewise.
21266 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21267
8517b15e
UD
212682011-02-02 Ulrich Drepper <drepper@gmail.com>
21269
21270 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21271 function to the callback.
21272 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21273
10a656fe
AS
212742011-02-02 Andreas Schwab <schwab@redhat.com>
21275
21276 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21277 of errno.
21278
968dad0a
UD
212792011-01-19 Ulrich Drepper <drepper@gmail.com>
21280
9f94d2ea 21281 [BZ #11724]
968dad0a
UD
21282 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21283 of constructors.
21284 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21285 of destructors.
21286 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21287
21288 [BZ #11724]
21289 * elf/Makefile: Add rules to build and run new test.
21290 * elf/tst-initorder.c: New file.
21291 * elf/tst-initorder.exp: New file.
21292 * elf/tst-initordera1.c: New file.
21293 * elf/tst-initordera2.c: New file.
21294 * elf/tst-initordera3.c: New file.
21295 * elf/tst-initordera4.c: New file.
21296 * elf/tst-initorderb1.c: New file.
21297 * elf/tst-initorderb2.c: New file.
21298 * elf/tst-order-a1.c: New file.
21299 * elf/tst-order-a2.c: New file.
21300 * elf/tst-order-a3.c: New file.
21301 * elf/tst-order-a4.c: New file.
21302 * elf/tst-order-b1.c: New file.
21303 * elf/tst-order-b2.c: New file.
21304 * elf/tst-order-main.c: New file.
21305 New test case by George Gensure <werkt0@gmail.com>.
21306
86e92359
UD
213072010-10-01 Andreas Schwab <schwab@redhat.com>
21308
21309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21310 decoding ACE if AI_CANONIDN.
21311
5d5732b0
UD
213122011-01-18 Ulrich Drepper <drepper@gmail.com>
21313
21314 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21315
a77e8cbc
UD
213162011-01-17 Ulrich Drepper <drepper@gmail.com>
21317
6392473f
UD
21318 * version.h (RELEASE): Bump for 2.13 release.
21319 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21320
620a0529
UD
21321 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21322
18ba70a5
UD
21323 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21324 MADV_NOHUGEPAGE.
32465c3e
UD
21325 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21326 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21328 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21331
c0dafcf1
UD
21332 * posix/getconf.c: Update copyright year.
21333 * catgets/gencat.c: Likewise.
21334 * csu/version.c: Likewise.
21335 * debug/catchsegv.sh: Likewise.
21336 * debug/xtrace.sh: Likewise.
21337 * elf/ldconfig.c: Likewise.
21338 * elf/ldd.bash.in: Likewise.
21339 * elf/sprof.c (print_version): Likewise.
21340 * iconv/iconv_prog.c: Likewise.
21341 * iconv/iconvconfig.c: Likewise.
21342 * locale/programs/locale.c: Likewise.
21343 * locale/programs/localedef.c: Likewise.
21344 * malloc/memusage.sh: Likewise.
21345 * malloc/mtrace.pl: Likewise.
21346 * nscd/nscd.c (print_version): Likewise.
21347 * nss/getent.c: Likewise.
21348
a77e8cbc
UD
21349 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21350 PF_CAIF, and PF_ALG.
21351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21352
77e8bddf
AS
213532011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21354
1f20b93a
AS
21355 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21356 (modules-names): Use them.
21357 (ifunc-test-modules, ifunc-pie-tests): Define.
21358 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21359 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21360 (test-extras): Likewise.
21361 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21362 $(compile-command.c).
21363 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21364 (all-built-dso): Define.
21365 (check-textrel.out, check-execstack.out): Depend on it.
21366
77e8bddf
AS
21367 * configure.in: Don't override --enable-multi-arch.
21368
bc425b33
UD
213692011-01-15 Ulrich Drepper <drepper@gmail.com>
21370
21371 [BZ #6812]
21372 * nscd/hstcache.c (tryagain): Define.
21373 (cache_addhst): Return tryagain not notfound for temporary errors.
21374 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21375 failed.
21376
794c3ad3
UD
213772011-01-14 Ulrich Drepper <drepper@gmail.com>
21378
70181fdd
UD
21379 [BZ #10563]
21380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21381 to make the syscall.
21382 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21383
794c3ad3
UD
21384 [BZ #12378]
21385 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21386 and fall back to matching as normal character if the string ends before
21387 the matching ']' is found. This is what POSIX requires.
21388 * posix/testfnm.c: Adjust test result.
21389 * posix/globtest.sh: Adjust test result. Add new test.
21390 * posix/tst-fnmatch.input: Likewise.
21391 * posix/tst-fnmatch2.c: Add new test.
21392
68dc9497
AS
213932010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21394
21395 * elf/Makefile (check-execstack): Revert last change. Depend on
21396 check-execstack.h.
21397 (check-execstack.h): New target.
21398 (generated): Add check-execstack.h.
21399 * elf/check-execstack.c: Include "check-execstack.h".
21400 (main): Revert last change.
21401 (handle_file): Return zero if GNU_STACK is absent and
21402 DEFAULT_STACK_PERMS doesn't include PF_X.
21403
451f001b
UD
214042011-01-13 Ulrich Drepper <drepper@gmail.com>
21405
cfa28e56
UD
21406 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21407 in child fails because the descriptor is already closed.
8cf8ce17
UD
21408 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21409 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21410 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 21411
1086d70d
UD
21412 [BZ #12397]
21413 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21414 syscall.
21415
451f001b
UD
21416 [BZ #10484]
21417 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21418 temporary buffer used to handle multi lookups locally.
a85b5cb4 21419 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 21420
08769175
UD
214212011-01-12 Ulrich Drepper <drepper@gmail.com>
21422
21423 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21424 loader is ld.so.
21425
5e49c52e
UD
214262011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21427
21428 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21429 alignment for SSE2.
21430
60522a5f
UD
214312011-01-12 Ulrich Drepper <drepper@gmail.com>
21432
21433 [BZ #12394]
21434 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21435 characters. When rounding increased number of integer digits recompute
21436 number of groups.
21437 * stdio-common/tst-grouping.c: New file.
21438 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21439
f257bbd7
UD
214402011-01-09 Ulrich Drepper <drepper@gmail.com>
21441
21442 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21443 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21444
21445 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21446 void.
21447 * bits/select.h: Likewise.
21448
fa9c15cb
UD
214492011-01-08 Ulrich Drepper <drepper@gmail.com>
21450
21451 * po/ja.po: Update from translation team.
21452
16c2895f
DM
214532011-01-04 David S. Miller <davem@sunset.davemloft.net>
21454
21455 [BZ #11155]
21456 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21457 implementation just like for lxstat, fxstatat, et al.
21458
2543fef2
JM
214592010-12-27 Jim Meyering <meyering@redhat.com>
21460
21461 [BZ #12348]
21462 * posix/regexec.c (build_trtable): Return failure indication upon
21463 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21464
98727dbe
UD
214652010-12-25 Ulrich Drepper <drepper@gmail.com>
21466
5bd6dc5c
UD
21467 [BZ #12201]
21468 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
21469 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
21470 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
21471 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
21472
97983464
UD
21473 [BZ #12207]
21474 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
21475
98727dbe
UD
21476 [BZ #12204]
21477 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
21478 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
21479
4a531bb0
L
214802010-12-15 H.J. Lu <hongjiu.lu@intel.com>
21481
21482 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
21483 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
21484 script has SORT_BY_INIT_PRIORITY.
21485 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
21486 NO_CTORS_DTORS_SECTIONS is defined.
21487 * elf/soinit.c: Likewise.
21488 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
21489 NO_CTORS_DTORS_SECTIONS is defined.
21490 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
21491 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
21492 * sysdeps/sh/init-first.c: Likewise.
21493 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
21494
07eb4b71
UD
214952010-12-24 Ulrich Drepper <drepper@gmail.com>
21496
21497 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
21498 always use the slow path.
21499
30950a5f
RA
215002010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
21501
21502 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
21503 similar rule which adds the sysdep directories to the header search in
21504 order to pick up the correct platform stackinfo.h.
21505 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
21506 perform test if it is, otherwise return successfully without testing.
21507 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
21508 DEFAULT_STACK_PERMS define in stackinfo.h.
21509 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
21510 defined in stackinfo.h.
21511 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
21512 DEFAULT_STACK_PERMS defined in stackinfo.h.
21513 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
21514 * sysdeps/ia64/stackinfo.h: Likewise.
21515 * sysdeps/s390/stackinfo.h: Likewise.
21516 * sysdeps/sh/stackinfo.h: Likewise.
21517 * sysdeps/sparc/stackinfo.h: Likewise.
21518 * sysdeps/x86_64/stackinfo.h: Likewise.
21519 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
21520 PF_X for powerpc64. Retain PF_X for powerpc32.
21521
db753e2c
UD
215222010-12-19 Ulrich Drepper <drepper@gmail.com>
21523
14b697f7
UD
21524 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
21525 accurately.
db753e2c
UD
21526 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
21527 GETDENTS_64BIT_ALIGNED.
21528
28300719
UD
215292010-12-14 Ulrich Drepper <dreper@gmail.com>
21530
14b697f7 21531 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 21532
4f197237
AS
215332010-12-10 Andreas Schwab <schwab@redhat.com>
21534
dbb0472f
AS
21535 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
21536 _GNU_SOURCE.
21537
4f197237
AS
21538 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
21539 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
21540 Remove __restrict.
21541 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
21542 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
21543
fb88ac72
UD
215442010-12-09 Ulrich Drepper <drepper@gmail.com>
21545
21546 [BZ #11655]
21547 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
21548 are initialized.
21549
42acbb92
JJ
215502010-12-09 Jakub Jelinek <jakub@redhat.com>
21551
21552 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
21553
c038d98d
UD
215542010-12-03 Ulrich Drepper <drepper@gmail.com>
21555
21556 * po/it.po: Update from translation team.
21557
3a4a2499
L
215582010-12-01 H.J. Lu <hongjiu.lu@intel.com>
21559
21560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
21561 unused codes.
21562
1e24cf6e
UD
215632010-11-30 Ulrich Drepper <drepper@gmail.com>
21564
21565 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
21566
a7690819
AS
215672010-11-24 Andreas Schwab <schwab@redhat.com>
21568
21569 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
21570 specially.
21571 (gaih_getanswer_slice): Likewise.
21572
3bf8d1b1
JJ
215732010-10-20 Jakub Jelinek <jakub@redhat.com>
21574
21575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
21576
6db52fbb
PB
215772010-05-31 Petr Baudis <pasky@suse.cz>
21578
21579 [BZ #11149]
21580 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
21581 silently even in the chroot mode.
21582
eaca7569
UD
215832010-11-22 Ulrich Drepper <drepper@gmail.com>
21584
21585 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
21586 last patch a bit. Pretty printing
21587
3056dcdb
UD
215882010-05-31 Petr Baudis <pasky@suse.cz>
21589
21590 [BZ #10085]
21591 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
21592 initialization of skip_initgroups_dyn.
21593
cf7c9078
UD
215942010-11-19 Ulrich Drepper <drepper@gmail.com>
21595
21596 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
21597 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21598
a1fb5e3e
UD
215992010-11-16 Ulrich Drepper <drepper@gmail.com>
21600
21601 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
21602
3540d66b
AS
216032010-11-11 Andreas Schwab <schwab@redhat.com>
21604
21605 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
21606 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
21607 (tst-fnmatch-ENV): Set MALLOC_TRACE.
21608 ($(objpfx)tst-fnmatch-mem): New rule.
21609 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
21610 * posix/tst-fnmatch.c (main): Call mtrace.
21611
13b69574
L
216122010-11-11 H.J. Lu <hongjiu.lu@intel.com>
21613
21614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21615 Support Intel processor model 6 and model 0x2c.
21616
da93d214
LM
216172010-11-10 Luis Machado <luisgpm@br.ibm.com>
21618
21619 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
21620 signed comparison.
21621
8ca52c6e
L
216222010-11-09 H.J. Lu <hongjiu.lu@intel.com>
21623
21624 [BZ #12205]
21625 * string/test-strncasecmp.c (check_result): New function.
21626 (do_one_test): Use it.
21627 (check1): New function.
21628 (test_main): Use it.
21629 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
21630 Support strcasecmp and strncasecmp.
21631
69da074d
UD
216322010-11-08 Ulrich Drepper <drepper@gmail.com>
21633
21634 [BZ #12194]
21635 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
21636 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21637
ff02d528
L
216382010-11-07 H.J. Lu <hongjiu.lu@intel.com>
21639
21640 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
21641 IFUNC support.
21642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21643 memset-x86-64.
21644 * sysdeps/x86_64/multiarch/bzero.S: New file.
21645 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
21646 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
21647 * sysdeps/x86_64/multiarch/memset.S: New file.
21648 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
21649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21650 Set bit_Prefer_SSE_for_memop for Intel processors.
21651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
21652 Define.
21653 (index_Prefer_SSE_for_memop): Define.
21654 (HAS_PREFER_SSE_FOR_MEMOP): Define.
21655
344d0b54
LM
216562010-11-04 Luis Machado <luisgpm@br.ibm.com>
21657
21658 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
21659 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
21660
c0dde15b
UD
216612010-11-03 H.J. Lu <hongjiu.lu@intel.com>
21662
21663 [BZ #12191]
21664 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21665 (__x86_64_raw_data_cache_size_half): Likewise.
21666 (__x86_64_raw_shared_cache_size): Likewise.
21667 (__x86_64_raw_shared_cache_size_half): Likewise.
21668
21669 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
21670 (__x86_64_raw_data_cache_size_half): Likewise.
21671 (__x86_64_raw_shared_cache_size): Likewise.
21672 (__x86_64_raw_shared_cache_size_half): Likewise.
21673 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
21674 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
21675 and __x86_64_raw_shared_cache_size_half. Round
21676 __x86_64_data_cache_size_half, __x86_64_data_cache_size
21677 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
21678 to multiple of 256 bytes.
21679
0e516e0e
MS
216802010-11-03 Ulrich Drepper <drepper@gmail.com>
21681
21682 [BZ #12167]
21683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
21684 of inacessible symlinks. Verify result of symlink before returning it.
21685 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21686 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
21687
0e012e87
ER
216882010-10-28 Erich Ritz <erichritz@gmail.com>
21689
21690 * math/math.h (isinf): Fix typo in comment.
21691
de0ff7bc
UD
216922010-11-01 Ulrich Drepper <drepper@gmail.com>
21693
21694 * po/da.po: Update from translation team.
21695
fa41c84d
UD
216962010-10-26 Ulrich Drepper <drepper@gmail.com>
21697
21698 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
21699 is added to the list.
21700
f0967738
AK
217012010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21702 Ulrich Drepper <drepper@gmail.com>
21703
21704 * elf/dl-object.c (_dl_new_object): Don't append the new object to
21705 the global list here. Move code to...
21706 (_dl_add_to_namespace_list): ...here. New function.
21707 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
21708 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
21709 * elf/dl-load.c (lose): Don't remove the element from the list.
21710 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
21711 (_dl_map_object): Likewise.
21712
217132010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
21714
21715 [BZ #12159]
21716 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
21717 into all bytes of SSE register.
21718 Patch by Richard Li <richardpku@gmail.com>.
21719
f0967738 217202010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
21721
21722 [BZ #12140]
21723 * malloc/malloc.c (_int_free): Fill correct number of bytes when
21724 perturbing.
21725
d0b9e94f
MB
217262010-10-20 Michael B. Brutman <brutman@us.ibm.com>
21727
21728 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
21729 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
21730 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
21731 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
21733 submachine.
21734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
21735
8e9f92e9
AS
217362010-10-22 Andreas Schwab <schwab@redhat.com>
21737
21738 * include/dlfcn.h (__RTLD_SECURE): Define.
21739 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
21740 mode & __RTLD_SECURE instead.
21741 (open_path): Rename preloaded parameter to secure.
21742 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
21743 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
21744 * elf/dl-deps.c (openaux): Likewise.
21745 * elf/rtld.c (struct map_args): Remove is_preloaded.
21746 (map_doit): Don't use it.
21747 (dl_main): Likewise.
21748 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
21749 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
21750
bc96fbda
AS
217512010-09-09 Andreas Schwab <schwab@redhat.com>
21752
21753 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
21754 (sysd-rules-targets): Remove duplicates.
21755 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
21756 rtld-%.$o dependency.
21757
22cd1c9b
AS
217582010-10-18 Andreas Schwab <schwab@redhat.com>
21759
21760 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
21761 _dl_map_object do it.
21762
18edac48
UD
217632010-10-19 Ulrich Drepper <drepper@gmail.com>
21764
21765 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
21766 fast fma builtins, define the macros in the C99 standard.
21767 (FP_FAST_FMAF): Likewise.
21768 (FP_FAST_FMAL): Likewise.
21769 * sysdeps/x86_64/bits/mathdef.h: Likewise.
21770
21771 * bits/mathdef.h: Update copyright year.
21772 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21773
d2050124
MM
217742010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
21775
21776 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
21777 builtins, define the macros in the C99 standard.
21778 (FP_FAST_FMAF): Likewise.
21779 (FP_FAST_FMAL): Likewise.
21780 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
21781 multiply/add.
21782 (FP_FAST_FMAF): Likewise.
21783
475facd1
JJ
217842010-10-15 Jakub Jelinek <jakub@redhat.com>
21785
21786 [BZ #3268]
21787 * math/libm-test.inc (fma_test): Some new testcases.
21788 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
21789 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
21790 y and infinite z. Do multiplication by C already in long double.
21791 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
21792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
21793 y and infinite z. Do bitwise or of inexact bit into u.d.
21794 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
21795 * sysdeps/i386/fpu/s_fmaf.S: Removed.
21796 * sysdeps/i386/fpu/s_fma.S: Removed.
21797 * sysdeps/i386/fpu/s_fmal.S: Removed.
21798
7c08a05c
JJ
217992010-10-16 Jakub Jelinek <jakub@redhat.com>
21800
21801 [BZ #3268]
21802 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
21803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
21804 computation is not scheduled after fetestexcept. Fix value
21805 of minimum denormal long double.
21806
f3f7372d
JJ
218072010-10-14 Jakub Jelinek <jakub@redhat.com>
21808
21809 [BZ #3268]
21810 * math/libm-test.inc (fma_test): Add some more tests.
21811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
21812 correctly.
21813
14d43591
AS
218142010-10-15 Andreas Schwab <schwab@redhat.com>
21815
21816 * scripts/data/localplt-s390-linux-gnu.data: New file.
21817 * scripts/data/localplt-s390x-linux-gnu.data: New file.
21818
5e908464
JJ
218192010-10-13 Jakub Jelinek <jakub@redhat.com>
21820
21821 [BZ #3268]
21822 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
21823 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
21824 instead of dbl-64.
21825 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
21826 inlines.
21827 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
21828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
21829 if one of x and y is very large and the other is subnormal.
21830 * sysdeps/s390/fpu/s_fmaf.c: New file.
21831 * sysdeps/s390/fpu/s_fma.c: New file.
21832 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
21833 * sysdeps/powerpc/fpu/s_fma.S: New file.
21834 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
21835 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
21836 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
21837
218382010-10-12 Jakub Jelinek <jakub@redhat.com>
21839
21840 [BZ #3268]
21841 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
21842 fma tests.
21843 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
21844 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
21845 * sysdeps/i386/i686/multiarch/s_fma.c: Include
21846 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
21847 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
21848 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
21849 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
21850
b833d51f
UD
218512010-10-12 Ulrich Drepper <drepper@redhat.com>
21852
21853 [BZ #12078]
21854 * posix/regcomp.c (parse_branch): One more memory leak plugged.
21855 * posix/bug-regex31.input: Add test case.
21856
1751705d
UD
218572010-10-11 Ulrich Drepper <drepper@gmail.com>
21858
e9b9cbf5
UD
21859 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
21860 * posix/bug-regex31.input: New file.
21861
21862 [BZ #12078]
21863 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
21864 (parse_sub_exp): Fix last change, use postorder.
21865
ef06edbe
UD
21866 * posix/bug-regex31.c: New file.
21867 * posix/Makefile: Add rules to build and run bug-regex31.
21868
a129c80d
UD
21869 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
21870
21871 [BZ #12078]
21872 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
21873
b76b818e
UD
21874 [BZ #12108]
21875 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
21876 to have entries in sys_siglist.
21877
1751705d
UD
21878 [BZ #12093]
21879 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
21880 be NULL.
21881
9ff8d36f
JJ
218822010-10-07 Jakub Jelinek <jakub@redhat.com>
21883
21884 [BZ #3268]
21885 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
21886 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
21887 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
21888 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
21889 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21890 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
21891 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
21892 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
21893 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
21894 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
21895 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
21896 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
21897 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
21898 * math/ftestexcept.c (fetestexcept): Likewise.
21899 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
21900 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
21901 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21902 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
21903 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
21904 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
21905 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21906
af325969
UD
219072010-10-11 Ulrich Drepper <drepper@gmail.com>
21908
c579b202 21909 [BZ #12107]
af325969
UD
21910 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
21911 newline.
21912
67a67b95
UD
219132010-10-06 Ulrich Drepper <drepper@gmail.com>
21914
21915 * string/bug-strstr1.c: New file.
21916 * string/Makefile: Add rules to build and run bug-strstr1.
21917
5fb308bc
EB
219182010-10-05 Eric Blake <eblake@redhat.com>
21919
21920 [BZ #12092]
21921 * string/str-two-way.h (two_way_long_needle): Always clear memory
21922 when skipping input due to the shift table.
21923
45db99c7
UD
219242010-10-03 Ulrich Drepper <drepper@gmail.com>
21925
3b111893
UD
21926 [BZ #12005]
21927 * malloc/mcheck.c: Handle large requests.
21928
45db99c7
UD
21929 [BZ #12077]
21930 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
21931 for strncmp and strncasecmp.
21932 * string/stratcliff.c: Add tests for strcmp and strncmp.
21933 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
21934
cf7a1eb8
NI
219352010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21936
21937 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
21938 __set_fpscr.
21939
6484ba5e
AJ
219402010-09-30 Andreas Jaeger <aj@suse.de>
21941
21942 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
21943 (CGROUP_SUPER_MAGIC): Define.
21944 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21945 Handle btrfs and cgroup file systems.
21946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21947 Likewise.
21948
91c42559
LM
219492010-09-27 Luis Machado <luisgpm@br.ibm.com>
21950
21951 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
21952 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
21953
87a97932
AK
219542010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21955
21956 [BZ #12067]
21957 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
21958 trying to locate the ELF header.
21959
c21cc9bc
AS
219602010-09-27 Andreas Schwab <schwab@redhat.com>
21961
21962 [BZ #11611]
21963 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
21964 Mask out sign-bit copies when constructing f_fsid.
21965
315970f6
PB
219662010-09-24 Petr Baudis <pasky@suse.cz>
21967
21968 * debug/stack_chk_fail_local.c: Add missing licence exception.
21969 * debug/warning-nop.c: Likewise.
21970
1ac7a2c7
JM
219712010-09-15 Joseph Myers <joseph@codesourcery.com>
21972
21973 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
21974 implementing getdents64 using getdents syscall, set d_type if
21975 __ASSUME_GETDENTS32_D_TYPE.
21976
56801c50
AS
219772010-09-16 Andreas Schwab <schwab@redhat.com>
21978
21979 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
21980 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
21981
dda51327
UD
219822010-09-21 Ulrich Drepper <drepper@redhat.com>
21983
21984 [BZ #12037]
21985 * posix/unistd.h: Undo change of feature selection for ftruncate from
21986 2010-01-11.
21987
8ffcee4a
UD
219882010-09-20 Ulrich Drepper <drepper@redhat.com>
21989
a545ecd9 21990 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
21991 detection.
21992
e24f0a8b
AS
219932010-09-20 Andreas Schwab <schwab@redhat.com>
21994
21995 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
21996 fanotify_mark.
21997 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
21998
7291c56f
AS
219992010-09-14 Andreas Schwab <schwab@redhat.com>
22000
22001 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22002 variables after CHECK_SP call.
22003 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22004
bc5fb037
AS
220052010-09-13 Andreas Schwab <schwab@redhat.com>
22006 Ulrich Drepper <drepper@redhat.com>
22007
22008 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22009 re-relocationg ld.so.
22010 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22011 _dl_init_paths call.
22012 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22013 here anymore.
22014
e66e7419
UD
220152010-09-14 Ulrich Drepper <drepper@redhat.com>
22016
22017 * resolv/res_init.c (__res_vinit): Count the default server we added.
22018
c044aa75
CLT
220192010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22020 Ulrich Drepper <drepper@redhat.com>
22021
22022 [BZ #11968]
22023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22024 (____longjmp_chk): Use %ebx for saving value across system call.
22025 Add unwind info.
22026
32cf4069
AS
220272010-09-06 Andreas Schwab <schwab@redhat.com>
22028
22029 * manual/Makefile: Don't mix pattern rules with normal rules.
22030
817328ee
AS
220312010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22032
22033 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22034 operation.
22035 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22036 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22037 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22038 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22039 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22040 Likewise.
22041
29fddf61
UD
220422010-09-04 Ulrich Drepper <drepper@redhat.com>
22043
22044 [BZ #11979]
22045 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22046 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22047
0959ffc9
UD
220482010-09-02 Ulrich Drepper <drepper@redhat.com>
22049
22050 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22051 * sysdeps/x86_64/addmul_1.S: Likewise.
22052 * sysdeps/x86_64/lshift.S: Likewise.
22053 * sysdeps/x86_64/mul_1.S: Likewise.
22054 * sysdeps/x86_64/rshift.S: Likewise.
22055 * sysdeps/x86_64/sub_n.S: Likewise.
22056 * sysdeps/x86_64/submul_1.S: Likewise.
22057
ece29840
ST
220582010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22059
0959ffc9
UD
22060 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22061 Define __sched_param instead of SCHED_* and sched_param when
ece29840 22062 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 22063 * bits/sched.h [__need_schedparam]
ece29840 22064 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
22065 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22066 (__defined_schedparam): Define to 1.
ece29840
ST
22067 (__sched_param): New structure, identical to sched_param.
22068 (__need_schedparam): Undefine.
22069
e53a31fe
MF
220702010-08-31 Mike Frysinger <vapier@gentoo.org>
22071
fdc0c10d
MF
22072 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22073 (epoll_create1): Declare.
22074
e53a31fe
MF
22075 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22076
a726d796
AS
220772010-08-31 Andreas Schwab <schwab@redhat.com>
22078
22079 [BZ #7066]
22080 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22081 shifting retval into place.
22082
2f3e3dc7
UD
220832010-09-01 Ulrich Drepper <drepper@redhat.com>
22084
f2933da9
UD
22085 * nis/rpcsvc/nis.h: Update copyright notice.
22086 * nis/rpcsvc/nis.x: Likewise.
22087 * nis/rpcsvc/nis_callback.h: Likewise.
22088 * nis/rpcsvc/nis_callback.x: Likewise.
22089 * nis/rpcsvc/nis_object.x: Likewise.
22090 * nis/rpcsvc/nis_tags.h: Likewise.
22091 * nis/rpcsvc/yp.h: Likewise.
22092 * nis/rpcsvc/yp.x: Likewise.
22093 * nis/rpcsvc/ypupd.h: Likewise.
22094 * nis/yp_xdr.c: Likewise.
22095 * nis/ypupdate_xdr.c: Likewise.
22096
2f3e3dc7
UD
22097 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22098 mainly the body of pmap_getport. Add parameters to specify timeouts.
22099 (pmap_getport): Use __libc_rpc_getport.
22100 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22101 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22102 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22103
f3dcc2f9
AS
221042010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22105
22106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22107 fanotify_mark.
22108
6d34eb5b
RM
221092010-08-27 Roland McGrath <roland@redhat.com>
22110
22111 * sysdeps/i386/i686/multiarch/Makefile
22112 (CFLAGS-varshift.c): New variable.
22113
9ea3de11
UD
221142010-08-27 Ulrich Drepper <drepper@redhat.com>
22115
c96d23fc
UD
22116 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22117 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22118
9ea3de11
UD
22119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22120
22121 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22122
623aac7f
L
221232010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 * sysdeps/x86_64/strlen.S: Unroll the loop.
22126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22127 strlen-sse2 strlen-sse2-bsf.
22128 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22129 __strlen_no_bsf if bit_Slow_BSF is set.
22130 (__strlen_sse42): Removed.
22131 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22132 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22133
8b2b7715
RM
221342010-08-25 Roland McGrath <roland@redhat.com>
22135
22136 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22137 * sysdeps/x86_64/multiarch/varshift.c: New file.
22138 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22139 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22140 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22141 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22142
e73015f2
L
221432010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22144
22145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22146 strlen-sse2 strlen-sse2-bsf.
22147 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22148 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22149 (__strlen_sse2): Removed.
22150 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22151 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22153 bit_Slow_BSF for Atom.
22154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22155 (index_Slow_BSF): Define.
22156 (HAS_SLOW_BSF): Define.
22157
df24a73e
UD
221582010-08-25 Ulrich Drepper <drepper@redhat.com>
22159
22160 [BZ #10851]
22161 * resolv/res_init.c (__res_vinit): When no server address at all
22162 is given default to loopback.
22163
f2ac4868
RM
221642010-08-24 Roland McGrath <roland@redhat.com>
22165
09055553
RM
22166 * configure.in: Remove config-name.h generation.
22167 * configure: Regenerated.
22168 * config-name.in: File removed.
22169 * scripts/config-uname.sh: New file.
22170 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22171 ($(objdir)config-name.h): New target.
22172
f2ac4868
RM
22173 * sunrpc/rpc_parse.h: Avoid nested comment.
22174
73f27d5e
RH
221752010-08-24 Richard Henderson <rth@redhat.com>
22176 Ulrich Drepper <drepper@redhat.com>
22177 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22181 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22182 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22183 _mm_alignr_epi8 with _mm_loadu_si128.
22184 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22185 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22186 (__m128i_shift_right): Removed.
22187 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22188 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22189 * sysdeps/x86_64/multiarch/varshift.h: New file.
22190 * sysdeps/x86_64/multiarch/varshift.S: New file.
22191
84b9230c
MF
221922010-08-21 Mike Frysinger <vapier@gentoo.org>
22193
22194 * configure.in: Move assembler checks to before sysdep dir checking.
22195
9bbd0ddc
PB
221962010-08-20 Petr Baudis <pasky@suse.cz>
22197
22198 * LICENSES: Sync the sunrpc license.
22199
9da4bb31
UD
222002010-08-19 Ulrich Drepper <drepper@redhat.com>
22201
a7ab6ec8
UD
22202 * sunrpc/auth_des.c: Update copyright notice once again.
22203 * sunrpc/auth_none.c: Likewise.
22204 * sunrpc/auth_unix.c: Likewise.
22205 * sunrpc/authdes_prot.c: Likewise.
22206 * sunrpc/authuxprot.c: Likewise.
22207 * sunrpc/bindrsvprt.c: Likewise.
22208 * sunrpc/clnt_gen.c: Likewise.
22209 * sunrpc/clnt_perr.c: Likewise.
22210 * sunrpc/clnt_raw.c: Likewise.
22211 * sunrpc/clnt_simp.c: Likewise.
22212 * sunrpc/clnt_tcp.c: Likewise.
22213 * sunrpc/clnt_udp.c: Likewise.
22214 * sunrpc/clnt_unix.c: Likewise.
22215 * sunrpc/des_crypt.c: Likewise.
22216 * sunrpc/des_soft.c: Likewise.
22217 * sunrpc/get_myaddr.c: Likewise.
22218 * sunrpc/getrpcport.c: Likewise.
22219 * sunrpc/key_call.c: Likewise.
22220 * sunrpc/key_prot.c: Likewise.
22221 * sunrpc/openchild.c: Likewise.
22222 * sunrpc/pm_getmaps.c: Likewise.
22223 * sunrpc/pm_getport.c: Likewise.
22224 * sunrpc/pmap_clnt.c: Likewise.
22225 * sunrpc/pmap_prot.c: Likewise.
22226 * sunrpc/pmap_prot2.c: Likewise.
22227 * sunrpc/pmap_rmt.c: Likewise.
22228 * sunrpc/rpc/auth.h: Likewise.
22229 * sunrpc/rpc/auth_unix.h: Likewise.
22230 * sunrpc/rpc/clnt.h: Likewise.
22231 * sunrpc/rpc/des_crypt.h: Likewise.
22232 * sunrpc/rpc/key_prot.h: Likewise.
22233 * sunrpc/rpc/netdb.h: Likewise.
22234 * sunrpc/rpc/pmap_clnt.h: Likewise.
22235 * sunrpc/rpc/pmap_prot.h: Likewise.
22236 * sunrpc/rpc/pmap_rmt.h: Likewise.
22237 * sunrpc/rpc/rpc.h: Likewise.
22238 * sunrpc/rpc/rpc_des.h: Likewise.
22239 * sunrpc/rpc/rpc_msg.h: Likewise.
22240 * sunrpc/rpc/svc.h: Likewise.
22241 * sunrpc/rpc/svc_auth.h: Likewise.
22242 * sunrpc/rpc/types.h: Likewise.
22243 * sunrpc/rpc/xdr.h: Likewise.
22244 * sunrpc/rpc_clntout.c: Likewise.
22245 * sunrpc/rpc_cmsg.c: Likewise.
22246 * sunrpc/rpc_common.c: Likewise.
22247 * sunrpc/rpc_cout.c: Likewise.
22248 * sunrpc/rpc_dtable.c: Likewise.
22249 * sunrpc/rpc_hout.c: Likewise.
22250 * sunrpc/rpc_main.c: Likewise.
22251 * sunrpc/rpc_parse.c: Likewise.
22252 * sunrpc/rpc_parse.h: Likewise.
22253 * sunrpc/rpc_prot.c: Likewise.
22254 * sunrpc/rpc_sample.c: Likewise.
22255 * sunrpc/rpc_scan.c: Likewise.
22256 * sunrpc/rpc_scan.h: Likewise.
22257 * sunrpc/rpc_svcout.c: Likewise.
22258 * sunrpc/rpc_tblout.c: Likewise.
22259 * sunrpc/rpc_util.c: Likewise.
22260 * sunrpc/rpc_util.h: Likewise.
22261 * sunrpc/rpcinfo.c: Likewise.
22262 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22263 * sunrpc/rpcsvc/key_prot.x: Likewise.
22264 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22265 * sunrpc/rpcsvc/mount.x: Likewise.
22266 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22267 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22268 * sunrpc/rpcsvc/rex.x: Likewise.
22269 * sunrpc/rpcsvc/rstat.x: Likewise.
22270 * sunrpc/rpcsvc/rusers.x: Likewise.
22271 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22272 * sunrpc/rpcsvc/spray.x: Likewise.
22273 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22274 * sunrpc/rtime.c: Likewise.
22275 * sunrpc/svc.c: Likewise.
22276 * sunrpc/svc_auth.c: Likewise.
22277 * sunrpc/svc_authux.c: Likewise.
22278 * sunrpc/svc_raw.c: Likewise.
22279 * sunrpc/svc_run.c: Likewise.
22280 * sunrpc/svc_simple.c: Likewise.
22281 * sunrpc/svc_tcp.c: Likewise.
22282 * sunrpc/svc_udp.c: Likewise.
22283 * sunrpc/svc_unix.c: Likewise.
22284 * sunrpc/svcauth_des.c: Likewise.
22285 * sunrpc/xcrypt.c: Likewise.
22286 * sunrpc/xdr.c: Likewise.
22287 * sunrpc/xdr_array.c: Likewise.
22288 * sunrpc/xdr_float.c: Likewise.
22289 * sunrpc/xdr_mem.c: Likewise.
22290 * sunrpc/xdr_rec.c: Likewise.
22291 * sunrpc/xdr_ref.c: Likewise.
22292 * sunrpc/xdr_sizeof.c: Likewise.
22293 * sunrpc/xdr_stdio.c: Likewise.
22294
9da4bb31
UD
22295 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22296 handling.
22297
bdaa77bc
AS
222982010-08-19 Andreas Schwab <schwab@redhat.com>
22299
22300 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22301
fe2f79db
LM
223022010-08-19 Luis Machado <luisgpm@br.ibm.com>
22303
22304 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22305 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22306 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22307 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22308 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22309 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22310 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22311 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22312 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22313 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22314 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22315 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22316 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22317 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22318
b9b42ee0
AB
223192010-07-26 Anton Blanchard <anton@samba.org>
22320
22321 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22322 * malloc/arena.c (heap_trim): Likewise.
22323
1c06ba31
UD
223242010-08-16 Ulrich Drepper <drepper@redhat.com>
22325
22326 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22327 here. Not...
22328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22329 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22330
f8392f40
L
223312010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22332
22333 * sysdeps/i386/elf/Makefile: New file.
22334
3162f12e
AS
223352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22336
22337 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22338 from fanotify_init.
22339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22341
28c90b2c
UD
223422010-08-15 Ulrich Drepper <drepper@redhat.com>
22343
22344 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22345 of strncasecmp_l.
1feccb6c 22346 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 22347
ca6bb004
UD
223482010-08-14 Ulrich Drepper <drepper@redhat.com>
22349
e9f82e0d
UD
22350 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22351 strncase_l-nonascii.
22352 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22353 Add strncase_l-ssse3.
22354 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22355 * sysdeps/x86_64/strcmp.S: Likewise.
22356 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22357 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22358 * sysdeps/x86_64/strncase.S: New file.
22359 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22360 * sysdeps/x86_64/strncase_l.S: New file.
22361 * string/Makefile (strop-tests): Add strncasecmp.
22362 * string/test-strncasecmp.c: New file.
22363
22364 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22365 warning.
22366
ca6bb004
UD
22367 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22368 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22369
052fa7b3
AS
223702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22371
22372 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22373
962dba78
UD
223742010-08-12 Ulrich Drepper <drepper@redhat.com>
22375
22376 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22377 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22379
bebff237
AM
223802010-05-01 Alan Modra <amodra@gmail.com>
22381
22382 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22383 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22384 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22385 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22386 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22387 tidying. Don't tail-call __sigjmp_save for static lib.
22388 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22389 save location.
22390 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22391 (CALL_MCOUNT): Add eh info, and nop after bl.
22392 (TAIL_CALL_SYSCALL_ERROR): New macro.
22393 (PSEUDO_RET): Use it.
22394 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22395 Correct save location of integer regs and cr.
22396 (_dl_profile_resolve): Correct cr save location. Delete nops
22397 after bl when SHARED. Reduce cfi size a little by better
22398 placement of cfi directives.
22399 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22400 make a stack frame. Instead use parm save area as a temp.
22401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22402 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22404 Don't make a stack frame for parent, use parm save area.
22405 Increase child stack frame to 112 bytes. Don't save unused reg,
22406 and adjust reg usage. Set up cfi on error recovery and
22407 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22409 (__makecontext): Add dummy nop after jump to exit.
22410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22411 Use correct parm save area and cr save, reduce stack frame.
22412 Correct cfi for possible PSEUDO_RET frame setup.
22413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22414 Branch to local label emitted by PSEUDO_RET rather than
22415 __syscall_error.
22416
02637374
AS
224172010-08-12 Andreas Schwab <schwab@redhat.com>
22418
22419 [BZ #11904]
22420 * locale/programs/locale.c (print_assignment): New function.
22421 (show_locale_vars): Use it.
22422
c3e2f19b
UD
224232010-08-11 Ulrich Drepper <drepper@redhat.com>
22424
3cdaa6ad
UD
22425 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22426 field.
22427 (struct statfs64): Likewise.
22428 (_STATFS_F_FLAGS): Define.
22429 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22431 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22432 (ST_VALID): Define locally.
22433 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22434 __statvfs_getflags, use the provided value.
22435 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22436 __ASSUME_STATFS_F_FLAGS.
22437
754f7da3
UD
22438 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22439
10b3bedc
UD
22440 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22441 Add sys/fanotify.h.
22442 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22443 fanotify_mask for GLIBC_2.13.
22444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22445 fanotify_init and fanotify_mark.
22446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22447 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22448
c08fb0d7
UD
22449 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22450 Add prlimit.
22451 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22452 prlimit64 for GLIBC_2.13.
22453 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22454 prlimit64.
22455 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22456 syscall.
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22459 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22460 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22462 add prlimit alias.
22463 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22464
15bac72b
UD
22465 [BZ #11903]
22466 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
22467 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
22468
c3e2f19b
UD
22469 * nss/Makefile: Add rules to build and run tst-nss-test1.
22470 * shlib-versions: Add entry for libnss_test1.
22471 * nss/nss_test1.c: New file.
22472 * nss/tst-nss-test1.c: New file.
22473
22474 * nss/nsswitch.c (__nss_database_custom): Define new variable.
22475 (__nss_configure_lookup): Set appropriate entry in
22476 __nss_configure_lookup to true.
22477 * nss/nsswitch.h: Define enum with indeces of databases in
22478 databases and __nss_database_custom arrays. Declare
22479 __nss_database_custom.
22480 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
22481 to avoid using nscd when custom rules are installed.
22482 * nss/getXXbyYY_r.c: Likewise.
22483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22484
22485 * nss/nss_files/files-parse.c: Whitespace fixes.
22486
f15ce4d8
UD
224872010-08-09 Ulrich Drepper <drepper@redhat.com>
22488
22489 [BZ #11883]
22490 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
22491 * posix/fnmatch_loop.c: Likewise.
22492
d22e4cc9
AK
224932010-07-17 Andi Kleen <ak@linux.intel.com>
22494
22495 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
22496 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
22497 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
22498 * Versions.def [GLIBC_2.13]: Add.
22499
805bc17d
UD
225002010-08-06 Ulrich Drepper <drepper@redhat.com>
22501
22502 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22503 Also fail if tpwd after pwuid call is NULL.
22504
5a42321d
ST
225052010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
22506
22507 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
22508 when converting to ms.
22509
fd3ebeda
ST
225102010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22511
22512 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
22513 EOPNOTSUPP errors with ENOTTY.
22514 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
22515 EOPNOTSUPP errors with ENOTTY.
22516
73507d3a
UD
225172010-07-31 Ulrich Drepper <drepper@redhat.com>
22518
22519 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22520 Add strcasecmp_l-ssse3.
22521 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
22522 strcasecmp.
22523 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
22524 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
22525 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
22526
fe36dd02
UD
225272010-07-30 Ulrich Drepper <drepper@redhat.com>
22528
66f6765a
UD
22529 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
22530
42e08a54
UD
22531 * string/Makefile (strop-tests): Add strcasecmp.
22532 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22533 strcasecmp_l-nonascii.
22534 (gen-as-const-headers): Add locale-defines.sym.
22535 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
22536 * sysdeps/x86_64/strcasecmp.S: New file.
22537 * sysdeps/x86_64/strcasecmp_l.S: New file.
22538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
22539 * sysdeps/x86_64/locale-defines.sym: New file.
22540 * string/test-strcasecmp.c: New file.
22541
fe36dd02
UD
22542 * string/test-strcasestr.c: Test both ends of the range of characters.
22543 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
22544
48cbc0d6
RM
225452010-07-29 Roland McGrath <roland@redhat.com>
22546
76e6d6bc 22547 [BZ #11856]
48cbc0d6
RM
22548 * manual/locale.texi (Yes-or-No Questions): Fix example code.
22549
880113d9
UD
225502010-07-27 Ulrich Drepper <drepper@redhat.com>
22551
22552 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
22553 for ld.so.
22554
deb9cabb
AS
225552010-07-27 Andreas Schwab <schwab@redhat.com>
22556
22557 * manual/memory.texi (Malloc Tunable Parameters): Document
22558 M_PERTURB.
22559
1c7570ff
RM
225602010-07-26 Roland McGrath <roland@redhat.com>
22561
22562 [BZ #11840]
22563 * configure.in (-fgnu89-inline check): Set and substitute
22564 gnu89_inline, not libc_cv_gnu89_inline.
22565 * configure: Regenerated.
22566 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
22567
24fb0f88
UD
225682010-07-26 Ulrich Drepper <drepper@redhat.com>
22569
22570 * string/test-strnlen.c: New file.
22571 * string/Makefile (strop-tests): Add strnlen.
22572 * string/tester.c (test_strnlen): Add a few more test cases.
22573 * string/tst-strlen.c: Better error reporting.
22574
22575 * sysdeps/x86_64/strnlen.S: New file.
22576
8e96b93a
UD
225772010-07-24 Ulrich Drepper <drepper@redhat.com>
22578
22579 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
22580 lower-latency instructions.
22581
dbc676d4
UD
225822010-07-23 Ulrich Drepper <drepper@redhat.com>
22583
22584 * string/test-strcasestr.c: New file.
22585 * string/test-strstr.c: New file.
22586 * string/Makefile (strop-tests): Add strstr and strcasestr.
22587 * string/str-two-way.h: Don't undefine MAX.
22588 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
22589
f6a31e0e
AS
225902010-07-21 Andreas Schwab <schwab@redhat.com>
22591
22592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22593 strcasestr-nonascii.
22594 (CFLAGS-strcasestr-nonascii.c): Define.
22595 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
22596 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
22597 Remove unused attribute.
22598
5dbc3b6c
RM
225992010-07-20 Roland McGrath <roland@redhat.com>
22600
22601 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
22602 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
22603 ld.so.cache was broken. With it, there is no way to disable dsocaps
22604 like LD_HWCAP_MASK can disable hwcaps.
22605
23d101d8
EPM
226062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22607
22608 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
22609
cc9f2e47
UD
226102010-07-16 Ulrich Drepper <drepper@redhat.com>
22611
22612 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
22613 call in strcasestr.
22614 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
22615 __strcasestr_sse42_nonascii.
22616 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
22617 strcasestr-nonascii.c.
22618 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
22619
77c1b069
LM
226202010-06-15 Luis Machado <luisgpm@br.ibm.com>
22621
22622 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
22623 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
22624 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
22625 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
22626
440566c3
UD
226272010-07-09 Ulrich Drepper <drepper@redhat.com>
22628
22629 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
22630 fcntl.
22631
5be9d05d
AS
226322010-07-06 Andreas Schwab <schwab@redhat.com>
22633
c30b7ee2 22634 [BZ #11577]
5be9d05d
AS
22635 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
22636 dl_signal_cerror.
22637
8a492a67
UD
226382010-07-06 Ulrich Drepper <drepper@redhat.com>
22639
22640 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
22641 _PC_PIPE_BUF using F_GETPIPE_SZ.
22642
713df3d5
RM
226432010-07-05 Roland McGrath <roland@redhat.com>
22644
22645 * manual/arith.texi (Rounding Functions): Fix rint description
22646 implicit in round description.
22647
702e8f14
UD
226482010-07-02 Ulrich Drepper <drepper@redhat.com>
22649
22650 * elf/Makefile: Fix linking for a few tests to make recent linker
22651 happy.
22652
52ed8be9
AS
226532010-06-30 Andreas Schwab <schwab@redhat.com>
22654
22655 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22656 $(common-objpfx)libc_nonshared.a.
22657
f47c9a11
LM
226582010-06-21 Luis Machado <luisgpm@br.ibm.com>
22659
22660 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
22661 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
22662 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22663 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22664 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
22665 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
22666 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22667 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
22670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
22671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
22672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
22674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
22677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
22680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
22682 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
22683 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
22684 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
22685 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
22686 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
22687 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
22688 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
22689 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
22690 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
22691 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
22692 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
22693 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
22695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
22696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
22698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
22699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
22700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
22702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
22703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
22704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
22706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
22708
6fb8cbcb
L
227092010-06-25 H.J. Lu <hongjiu.lu@intel.com>
22710
22711 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
22712 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
22713 * string/memmove.c (memmove): Renamed to ...
22714 (MEMMOVE): ...this. Default to memmove.
22715 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
22716 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
22717 (END_CHK): Define.
22718 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22719 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
22720 mempcpy-ssse3-back memmove-ssse3-back.
22721 * sysdeps/x86_64/multiarch/bcopy.S: New file .
22722 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
22723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
22724 * sysdeps/x86_64/multiarch/memcpy.S: New file.
22725 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
22726 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
22727 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
22728 * sysdeps/x86_64/multiarch/memmove.c: New file.
22729 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
22730 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
22731 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
22732 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
22733 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
22734 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
22735 Define.
22736 (index_Fast_Copy_Backward): Define.
22737 (HAS_ARCH_FEATURE): Define.
22738 (HAS_FAST_REP_STRING): Define.
22739 (HAS_FAST_COPY_BACKWARD): Define.
22740
4e733bac 227412010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
22742
22743 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22744 Restore proper fallback handling.
22745
63c4ed22
UD
227462010-06-19 Ulrich Drepper <drepper@redhat.com>
22747
ac2b484c
UD
22748 [BZ #11701]
22749 * posix/group_member.c (__group_member): Correct checking loop.
22750
63c4ed22
UD
22751 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
22752 OOM in getpwuid_r correctly. Return error number when the caller
22753 should return, otherwise -1.
22754 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
22755 call returning > 0 value.
22756 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
22757
765ade4b
AS
227582010-06-07 Andreas Schwab <schwab@redhat.com>
22759
22760 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
22761 libc_nonshared.a from targets in modules-names.
22762
80da2e09
KS
227632010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
22764
22765 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
22766 requires it.
22767
158db122
LM
227682010-06-10 Luis Machado <luisgpm@br.ibm.com>
22769
22770 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
22771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
22772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
22773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
22774
caa78cf8
AS
227752010-06-02 Andreas Schwab <schwab@redhat.com>
22776
22777 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
22778
b2ef2c01
UD
227792010-06-14 Ulrich Drepper <drepper@redhat.com>
22780
22781 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
22782 and F_GETPIPE_SZ.
22783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22786 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22787 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
22789
fbd643b6
RM
227902010-06-14 Roland McGrath <roland@redhat.com>
22791
22792 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
22793
f32f2869
JJ
227942010-06-07 Jakub Jelinek <jakub@redhat.com>
22795
22796 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
22797 __REDIRECT followed by __THROW.
22798 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
22799 * posix/getopt.h (getopt): Likewise.
22800
2a50c078
EPM
228012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
22802
22803 * hurd/lookup-at.c (__file_name_lookup_at): Accept
22804 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
22805 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
22806 in AT_FLAGS.
22807 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
22808 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
22809
eb5ad2eb
LM
228102010-05-28 Luis Machado <luisgpm@br.ibm.com>
22811
22812 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
22813
3c88fe1e
L
228142010-05-26 H.J. Lu <hongjiu.lu@intel.com>
22815
22816 [BZ #11640]
22817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22818 Properly check family and model.
22819
d2f73151
TY
228202010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
22821
22822 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
22823
ebd2e13d
LM
228242010-05-24 Luis Machado <luisgpm@br.ibm.com>
22825
22826 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
22827
b32b8b45
UD
228282010-05-21 Ulrich Drepper <drepper@redhat.com>
22829
22830 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
22831 symbol reference.
22832
9acbe24d
AS
228332010-05-19 Andreas Schwab <schwab@redhat.com>
22834
22835 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
22836 symbol reference.
22837
f0ccf6ea
AS
228382010-05-21 Andreas Schwab <schwab@redhat.com>
22839
3d04ff3a
AS
22840 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
22841 and internal_recvmmsg.
22842 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
22843 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
22844 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
22845 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
22846
f0ccf6ea
AS
22847 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
22848 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22849 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22850
5b08ac57
AS
228512010-05-20 Andreas Schwab <schwab@redhat.com>
22852
22853 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
22854
4828935d
LM
228552010-05-17 Luis Machado <luisgpm@br.ibm.com>
22856
22857 POWER7 optimizations.
22858 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
22859 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
22860
373d545e
UD
228612010-05-19 Ulrich Drepper <drepper@redhat.com>
22862
22863 * version.h: Update for 2.13 development version.
22864
21a2b1ae
AS
228652010-05-12 Andrew Stubbs <ams@codesourcery.com>
22866
22867 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
22868 exceptions. Return 0.
22869
3f7dcb2b
RM
228702010-05-07 Roland McGrath <roland@redhat.com>
22871
22872 * elf/ldconfig.c (main): Add a const.
22873
5f24d53a 228742010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 22875
a160f8d8
UD
22876 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
22877 (args_options): Add no-idn option.
22878 (ahosts_keys_int): Add idn_flags to ai_flags.
22879 (parse_option): Handle 'i' option to clear idn_flags.
22880
5f24d53a
UD
22881 * malloc/malloc.c (_int_free): Possible race in the most recently
22882 added check. Only act on the data if no current modification
22883 happened.
265bb1ce
UD
22884
22885See ChangeLog.17 for earlier changes.